[issue5619] Pass MS CRT debug flags into subprocesses

2014-06-30 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +steve.dower, tim.golden, zach.ware type: - behavior versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5619

[issue5619] Pass MS CRT debug flags into subprocesses

2014-05-13 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: -skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5619 ___ ___ Python-bugs-list

[issue5619] Pass MS CRT debug flags into subprocesses

2012-07-24 Thread Atsuo Ishimoto
Changes by Atsuo Ishimoto ishim...@gembook.org: -- nosy: +ishimoto ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5619 ___ ___ Python-bugs-list

[issue5619] Pass MS CRT debug flags into subprocesses

2011-11-27 Thread Catalin Iacob
Changes by Catalin Iacob iacobcata...@gmail.com: -- nosy: +catalin.iacob ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5619 ___ ___

[issue5619] Pass MS CRT debug flags into subprocesses

2011-07-03 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Related issues with patches: #9116 and #11732 -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5619 ___

[issue5619] Pass MS CRT debug flags into subprocesses

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5619 ___

[issue5619] Pass MS CRT debug flags into subprocesses

2009-04-02 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Since you object to a command line parameter, how about an environment variable? PYTHONUNATTENDED could be used in the library startup to turn off any conceivable dialogue boxes and would be passed on to child processes. This could

[issue5619] Pass MS CRT debug flags into subprocesses

2009-04-01 Thread Jesse Noller
Changes by Jesse Noller jnol...@gmail.com: -- nosy: +ocean-city ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5619 ___ ___ Python-bugs-list

[issue5619] Pass MS CRT debug flags into subprocesses

2009-04-01 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: Note Hiro added r70953 as well to wrap the include in an ifdef -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5619 ___

[issue5619] Pass MS CRT debug flags into subprocesses

2009-04-01 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: I'll reopen, but I am going to defer to Martin on this -- resolution: fixed - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5619

[issue5619] Pass MS CRT debug flags into subprocesses

2009-04-01 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: We absolutely must turn off GUI notifications if this runs on the buildbot. If this means to turn off GUI notications for non-buildbot usage also, so be it. -- ___ Python tracker

[issue5619] Pass MS CRT debug flags into subprocesses

2009-04-01 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Problem in _multiprocessing is: FILE* fp = _fdopen(...); int fd = _fileno(fp); _close(fd); _fclose(fp); // raises assertion At process exit system tries to close all opened FILE* by _fcloseall, but file closed by descriptor _close has

[issue5619] Pass MS CRT debug flags into subprocesses

2009-04-01 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I suggest that with the issue fixed, we remove those lines again, since they go against the spirit of defect http://bugs.python.org/issue4804 I'm opposed, for the very same reasons I stated over and over again. --

[issue5619] Pass MS CRT debug flags into subprocesses

2009-04-01 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: But what is so special about the win32_ExitProcess() function, the changes apply only for the actual ExitProcess() call (not the duration of the rest of the forked job. Two things: a) it's not really likely that it uncovers an

[issue5619] Pass MS CRT debug flags into subprocesses

2009-04-01 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Problem in _multiprocessing is: FILE* fp = _fdopen(...); int fd = _fileno(fp); _close(fd); _fclose(fp); // raises assertion Actually, Kristjan fixed the *real* bug, which was more like FILE* f2=fdopen(fileno(f1)); fclose(f1);

[issue5619] Pass MS CRT debug flags into subprocesses

2009-03-31 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: Patch for multiprocessing added. Using with regrtest -n option now allows to pass all regression test stack without any popup assertion dialog on Windows box. Probably have to be backported to Python 2.7 branch -- components:

[issue5619] Pass MS CRT debug flags into subprocesses

2009-03-31 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: Committed to py3k, 26 maint, trunk, 3k maint r70908 -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5619

[issue5619] Pass MS CRT debug flags into subprocesses

2009-03-30 Thread Martin v. Löwis
New submission from Martin v. Löwis mar...@v.loewis.de: To avoid bringing up CRT assert message dialogs, the CRT debug flags need to be passed into subprocesses for multiprocessing. CRT doesn't have getters. Instead, you have to set to 0, get the current value, then restore it. This can be