[issue5619] Pass MS CRT debug flags into subprocesses

2014-06-30 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +steve.dower, tim.golden, zach.ware type: -> behavior versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ ___

[issue5619] Pass MS CRT debug flags into subprocesses

2014-05-13 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: -skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue5619] Pass MS CRT debug flags into subprocesses

2012-07-24 Thread Atsuo Ishimoto
Changes by Atsuo Ishimoto : -- nosy: +ishimoto ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue5619] Pass MS CRT debug flags into subprocesses

2011-11-27 Thread Catalin Iacob
Changes by Catalin Iacob : -- nosy: +catalin.iacob ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue5619] Pass MS CRT debug flags into subprocesses

2011-07-03 Thread Stefan Krah
Stefan Krah added the comment: Related issues with patches: #9116 and #11732 -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-li

[issue5619] Pass MS CRT debug flags into subprocesses

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue5619] Pass MS CRT debug flags into subprocesses

2009-04-02 Thread Martin v. Löwis
Martin v. Löwis 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 then also easily

[issue5619] Pass MS CRT debug flags into subprocesses

2009-04-01 Thread Martin v. Löwis
Martin v. Löwis 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); fclose(f2); --

[issue5619] Pass MS CRT debug flags into subprocesses

2009-04-01 Thread Martin v. Löwis
Martin v. Löwis 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 application bug that peop

[issue5619] Pass MS CRT debug flags into subprocesses

2009-04-01 Thread Martin v. Löwis
Martin v. Löwis 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 Andrew Svetlov
Andrew Svetlov 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 invalid state and _fclose

[issue5619] Pass MS CRT debug flags into subprocesses

2009-04-01 Thread Martin v. Löwis
Martin v. Löwis 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 Jesse Noller
Jesse Noller added the comment: I'll reopen, but I am going to defer to Martin on this -- resolution: fixed -> status: closed -> open ___ Python tracker ___

[issue5619] Pass MS CRT debug flags into subprocesses

2009-04-01 Thread Jesse Noller
Jesse Noller added the comment: Note Hiro added r70953 as well to wrap the include in an ifdef -- ___ Python tracker ___ ___ Python-bu

[issue5619] Pass MS CRT debug flags into subprocesses

2009-04-01 Thread Jesse Noller
Changes by Jesse Noller : -- nosy: +ocean-city ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue5619] Pass MS CRT debug flags into subprocesses

2009-03-31 Thread Jesse Noller
Jesse Noller added the comment: Committed to py3k, 26 maint, trunk, 3k maint r70908 -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue5619] Pass MS CRT debug flags into subprocesses

2009-03-31 Thread Andrew Svetlov
Andrew Svetlov 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: +Tests versions: +Python

[issue5619] Pass MS CRT debug flags into subprocesses

2009-03-30 Thread Martin v. Löwis
New submission from Martin v. Löwis : 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 done with modes = []