New submission from Aaron Brady:
Hi, I asked about the inconsistency of the "RuntimeError" being raised when
mutating a container while iterating over it here [1], "set and dict iteration"
on Aug 16, 2012.
[1] http://www.gossamer-threads.com/lists/python/python/1004659
Aaron Brady added the comment:
This is currently accomplished in 'multiprocessing.forking' with a
'duplicate' function.
Use (line #213):
rfd, wfd = os.pipe()
# get handle for read end of the pipe and make it inheritable
rhandle = duplicate(msvc
New submission from Aaron Brady :
os.pipe should return inheritable descriptors on Windows.
Patch below, test attached. New pipe() returns descriptors, which
cannot be inherited. However, their permissions are set correctly, so
msvcrt.get_osfhandle and msvcrt.open_osfhandle can be used to
New submission from Aaron Brady <[EMAIL PROTECTED]>:
Nested 'BigEndianStructure' fails in 2.5 and 2.6.:
TypeError: This type does not support other endian
Example and traceback in attached file.
--
assignee: theller
components: ctypes
files: ng36.py
messages: 76171
New submission from Aaron Brady <[EMAIL PROTECTED]>:
Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit
(Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import inspect
>>>