Carl-Daniel Hailfinger
2016-Sep-26 15:14 UTC
[Libguestfs] [PATCH] nbdkit: Talk about Python in the Python plugin
diff -r 3decebe747cb -r fc247aa26d12 plugins/python/python.c
--- a/plugins/python/python.c Sat Sep 24 14:46:25 2016 +0200
+++ b/plugins/python/python.c Sat Sep 24 15:03:05 2016 +0200
@@ -437,7 +437,7 @@
Py_DECREF (r);
return ret;
}
- /* No Perl can_write callback, but there's a Perl pwrite callback
+ /* No Python can_write callback, but there's a Python pwrite callback
* defined, so return 1. (In C modules, nbdkit would do this).
*/
else if (callback_defined ("pwrite", NULL))
@@ -470,7 +470,7 @@
Py_DECREF (r);
return ret;
}
- /* No Perl can_flush callback, but there's a Perl flush callback
+ /* No Python can_flush callback, but there's a Python flush callback
* defined, so return 1. (In C modules, nbdkit would do this).
*/
else if (callback_defined ("flush", NULL))
@@ -531,7 +531,7 @@
Py_DECREF (r);
return ret;
}
- /* No Perl can_trim callback, but there's a Perl trim callback
+ /* No Python can_trim callback, but there's a Python trim callback
* defined, so return 1. (In C modules, nbdkit would do this).
*/
else if (callback_defined ("trim", NULL))
Possibly Parallel Threads
- [PATCH nbdkit v2 05/10] python: Share common code in boolean callbacks.
- [nbdkit PATCH v2 2/5] python: Expose can_zero callback
- [nbdkit PATCH v2 5/5] RFC: python: Track and cache per-connection state in C struct
- Re: [nbdkit PATCH v2 5/5] RFC: python: Track and cache per-connection state in C struct
- [nbdkit PATCH 2/2] python: Simplify calling into plugin
