[issue12098] Child process running as debug on Windows

2011-05-20 Thread Sergey Mezentsev
Sergey Mezentsev added the comment: I updated the patch. Added a test and remove arguments for frozen interpreter. -- ___ Python tracker <http://bugs.python.org/issue12

[issue12098] Child process running as debug on Windows

2011-05-20 Thread Sergey Mezentsev
Changes by Sergey Mezentsev : Added file: http://bugs.python.org/file22042/Issue12098.branch-default.patch ___ Python tracker <http://bugs.python.org/issue12098> ___ ___

[issue12098] Child process running as debug on Windows

2011-05-20 Thread Sergey Mezentsev
Changes by Sergey Mezentsev : Added file: http://bugs.python.org/file22041/Issue12098.branch-2.6.patch ___ Python tracker <http://bugs.python.org/issue12098> ___ ___ Pytho

[issue12098] Child process running as debug on Windows

2011-05-20 Thread Sergey Mezentsev
Changes by Sergey Mezentsev : Removed file: http://bugs.python.org/file22022/Issue12098.branch-default.patch ___ Python tracker <http://bugs.python.org/issue12

[issue12098] Child process running as debug on Windows

2011-05-20 Thread Sergey Mezentsev
Changes by Sergey Mezentsev : Removed file: http://bugs.python.org/file22021/Issue12098.branch-2.6.patch ___ Python tracker <http://bugs.python.org/issue12098> ___ ___

[issue12098] Child process running as debug on Windows

2011-05-18 Thread Sergey Mezentsev
Changes by Sergey Mezentsev : Added file: http://bugs.python.org/file22022/Issue12098.branch-default.patch ___ Python tracker <http://bugs.python.org/issue12098> ___ ___

[issue12098] Child process running as debug on Windows

2011-05-18 Thread Sergey Mezentsev
Sergey Mezentsev added the comment: I create patch for Popen.get_command_line() ('2.6' and 'default' branches). I don't know how to write the test. The sys.flags structure are read only. -- keywords: +patch Added file: http://bugs.python.org/file22021/Is

[issue12098] Child process running as debug

2011-05-17 Thread Sergey Mezentsev
Sergey Mezentsev added the comment: In my system (Windows 7 (64) SP1, Python 2.6.6 32-bit) I have: """ d:\temp>python -O pool.py ('parent optimize?', 1) ('child', 4712, 'optimize?', 0) (Traceback (most recent call last): ' File "new.p

[issue12098] Child process running as debug

2011-05-17 Thread Sergey Mezentsev
New submission from Sergey Mezentsev : I run this code: """ from multiprocessing import Pool def myfunc(x): assert False #if __debug__: print 'debug' return x - 1 if __name__ == '__main__': pool = Pool(processes=1) it = pool.imap(myfunc,