[issue12098] Child process running as debug on Windows

2011-05-20 Thread Sergey Mezentsev
Changes by Sergey Mezentsev theb...@yandex.ru: Removed file: http://bugs.python.org/file22021/Issue12098.branch-2.6.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12098

[issue12098] Child process running as debug on Windows

2011-05-20 Thread Sergey Mezentsev
Changes by Sergey Mezentsev theb...@yandex.ru: Removed file: http://bugs.python.org/file22022/Issue12098.branch-default.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12098

[issue12098] Child process running as debug on Windows

2011-05-20 Thread Sergey Mezentsev
Changes by Sergey Mezentsev theb...@yandex.ru: Added file: http://bugs.python.org/file22041/Issue12098.branch-2.6.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12098

[issue12098] Child process running as debug on Windows

2011-05-20 Thread Sergey Mezentsev
Changes by Sergey Mezentsev theb...@yandex.ru: Added file: http://bugs.python.org/file22042/Issue12098.branch-default.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12098

[issue12098] Child process running as debug on Windows

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

[issue12098] Child process running as debug on Windows

2011-05-18 Thread Sergey Mezentsev
Sergey Mezentsev theb...@yandex.ru 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/Issue12098

[issue12098] Child process running as debug on Windows

2011-05-18 Thread Sergey Mezentsev
Changes by Sergey Mezentsev theb...@yandex.ru: Added file: http://bugs.python.org/file22022/Issue12098.branch-default.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12098

[issue12098] Child process running as debug

2011-05-17 Thread Sergey Mezentsev
New submission from Sergey Mezentsev theb...@yandex.ru: 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, xrange(5

[issue12098] Child process running as debug

2011-05-17 Thread Sergey Mezentsev
Sergey Mezentsev theb...@yandex.ru added the comment: In my system (Windows 7 (64) SP1, Python 2.6.6 32-bit) I have: d:\temppython -O pool.py ('parent optimize?', 1) ('child', 4712, 'optimize?', 0) (Traceback (most recent call last): ' File new.py, line 14, in module childpool.map(myfunc