|
|
@ -147,9 +147,12 @@ else:
|
|
|
|
|
|
|
|
|
|
|
|
AnyTextType = (BytesType, UnicodeType)
|
|
|
|
AnyTextType = (BytesType, UnicodeType)
|
|
|
|
|
|
|
|
|
|
|
|
if sys.version_info < (2, 5):
|
|
|
|
try:
|
|
|
|
|
|
|
|
next
|
|
|
|
|
|
|
|
except NameError:
|
|
|
|
next = lambda it: it.next()
|
|
|
|
next = lambda it: it.next()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#: Default size for calls to :meth:`Side.read` or :meth:`Side.write`, and the
|
|
|
|
#: Default size for calls to :meth:`Side.read` or :meth:`Side.write`, and the
|
|
|
|
#: size of buffers configured by :func:`mitogen.parent.create_socketpair`. This
|
|
|
|
#: size of buffers configured by :func:`mitogen.parent.create_socketpair`. This
|
|
|
|
#: value has many performance implications, 128KiB seems to be a sweet spot.
|
|
|
|
#: value has many performance implications, 128KiB seems to be a sweet spot.
|
|
|
|