[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2

2011-12-18 Thread Charles-François Natali
Charles-François Natali added the comment: Alright, thanks! -- resolution: -> out of date stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2

2011-12-18 Thread Yaşar Arabacı
Yaşar Arabacı added the comment: Current 2.7 branch is ok. This bug report can be closed. -- ___ Python tracker ___ ___ Python-bugs-l

[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2

2011-12-18 Thread Charles-François Natali
Charles-François Natali added the comment: > But I tried building this > http://www.python.org/ftp/python/2.7/Python-2.7.tar.bz2 and that > build worked successfully. This is 2.7, which is more than a year old. The most recent 2.7 version is http://www.python.org/ftp/python/2.7.2/Python-2.7.2.

[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2

2011-12-18 Thread Yaşar Arabacı
Yaşar Arabacı added the comment: Appereantly my distribution's build used this http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tar.xz, and that version was bugged. But I tried building this http://www.python.org/ftp/python/2.7/Python-2.7.tar.bz2 and that build worked successfully. I am j

[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2

2011-12-18 Thread Charles-François Natali
Charles-François Natali added the comment: Looking at the strace output: Successful test: sendmsg(11, {msg_name(0)=NULL, msg_iov(1)=[{"\267", 1}], msg_controllen=16, {cmsg_len=16, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {7}}, msg_flags=0}, 0) = 1 The FD sent is 7 ({7} field), which makes

[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2

2011-12-18 Thread Yaşar Arabacı
Changes by Yaşar Arabacı : Added file: http://bugs.python.org/file24027/9f4d72da69a8-output.txt ___ Python tracker ___ ___ Python-bugs-list ma

[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2

2011-12-18 Thread Yaşar Arabacı
Changes by Yaşar Arabacı : Added file: http://bugs.python.org/file24026/d4d9a3e71897-output.txt ___ Python tracker ___ ___ Python-bugs-list ma

[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2

2011-12-18 Thread Yaşar Arabacı
Yaşar Arabacı added the comment: Ok, I figured how to test for those patches. I just tested my code against those versions, and suprisingly I didn't get any errors. I am adding output of three different versions now. Each filename corresponds to regarded version. -- Added file: http:/

[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2

2011-12-18 Thread Yaşar Arabacı
Changes by Yaşar Arabacı : Added file: http://bugs.python.org/file24020/output-3.2.2.txt ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2

2011-12-18 Thread Yaşar Arabacı
Changes by Yaşar Arabacı : Added file: http://bugs.python.org/file24019/output-2.6.txt ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2

2011-12-18 Thread Yaşar Arabacı
Yaşar Arabacı added the comment: I would love to test which patch introduced the problem, but I am not sure how should I do that. (Get the python source, change it and recompile?). I am also adding output of strace here. -- Added file: http://bugs.python.org/file24018/output2.7.2.txt

[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2

2011-12-18 Thread Charles-François Natali
Charles-François Natali added the comment: Two patches have recently modified this part of the code: http://hg.python.org/cpython/rev/d4d9a3e71897 http://hg.python.org/cpython/rev/cd15473a9de2 I'm unable to reproduce the problem on Linux 3.1.0 x86 with branch 2.7 (for those who would like to t

[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2

2011-12-18 Thread Yaşar Arabacı
Yaşar Arabacı added the comment: I forgot to mention that I use Python 2.7.2 (default, Nov 21 2011, 17:24:32) [GCC 4.6.2] on linux2 Linux yasar-laptop 3.1.4-1-ARCH #1 SMP PREEMPT Tue Nov 29 09:08:04 UTC 2011 i686 Intel(R) Pentium(R) M processor 1.86GHz GenuineIntel GNU/Linux -- ___

[issue13625] multiprocessing.reduction gives OSError: [Errno 9] in 2.7.2

2011-12-18 Thread Yaşar Arabacı
New submission from Yaşar Arabacı : Even though same code works fine under Python 2.7(r27:82500, Aug 07 2010, 16:54:59) and Python 2.6.6 (r266:84292, Jun 12 2011, 20:37:17), I get following error using multiprocessing.reduction module no matter what I try. Complete code example that gives this