[Python-Dev] Backporting multiprocessing?

Christian Heimes lists at cheimes.de
Wed Oct 22 17:07:02 CEST 2008


skip at pobox.com wrote:
> Using Python v < 2.6?  So I don't need to horse around making
> test_multiprocessing.py API compatible with processing 0.52?

With Python 2.5.2 and 2.6.0 all tests are passing with any error. With 
Python 2.4.5 seven tests are failing because 2.4 doesn't support mmap 
with a negative file number.

File ".../python-multiprocessing/Lib/multiprocessing/heap.py", line 56, 
in __init__
     self.buffer = mmap.mmap(-1, size)
EnvironmentError: [Errno 9] Bad file descriptor

Christian


More information about the Python-Dev mailing list