[issue14433] Python 3 interpreter crash on windows when stdin closed in Python shell

2012-04-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: Out of the original report, ISTM that: a) the exit of the interpreter on closing stdin is considered correct behavior, and b) the crash on Windows is now fixed for 3.2, and 3.3 Hence I'm closing this issue as fixed. -- resolution: -> fixed status: o

[issue14433] Python 3 interpreter crash on windows when stdin closed in Python shell

2012-04-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2de5e9715fe9 by Martin v. Löwis in branch '3.2': Issue #14433: Prevent msvcrt crash in interactive prompt when stdin is closed. http://hg.python.org/cpython/rev/2de5e9715fe9 New changeset 2c27093fd11f by Martin v. Löwis in branch 'default': Merge w

[issue14433] Python 3 interpreter crash on windows when stdin closed in Python shell

2012-04-29 Thread Charles-François Natali
Charles-François Natali added the comment: Martin, is there any reason not to commit your patch? -- ___ Python tracker ___ ___ Python

[issue14433] Python 3 interpreter crash on windows when stdin closed in Python shell

2012-03-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: 64 bit win 7, 3.3.0a1 crashes also. Idle shell just says that fd 0 is not valid, which I expect is correct for the socket replacement for sys.stdout. -- nosy: +terry.reedy ___ Python tracker

[issue14433] Python 3 interpreter crash on windows when stdin closed in Python shell

2012-03-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: The crash occurs in the my_fgets implementation, namely when the CRT performs its (standards-violating) parameter validation. The attached patch works around this CRT bug (as has been done in other places already). -- keywords: +patch nosy: +loewis A

[issue14433] Python 3 interpreter crash on windows when stdin closed in Python shell

2012-03-29 Thread Alexis Daboville
Alexis Daboville added the comment: @Amaury: ok thanks, I never heard of this argument before. I tried to reproduce the crash in the Python shell embedded in IDLE and there's no crash (same version 3.2.2, Windows 7): http://i.imgur.com/ayT96.png -- ___

[issue14433] Python 3 interpreter crash on windows when stdin closed in Python shell

2012-03-29 Thread R. David Murray
Changes by R. David Murray : -- title: Python 3 interpreter crash on windows when stdin closed -> Python 3 interpreter crash on windows when stdin closed in Python shell ___ Python tracker

[issue14433] Python 3 interpreter crash on windows when stdin closed

2012-03-29 Thread R. David Murray
R. David Murray added the comment: OK, let's reopen this for someone to investigate that Windows crash. -- resolution: invalid -> stage: committed/rejected -> needs patch status: closed -> open title: Python 3 interpreter crash with memoryview and os.fdopen -> Python 3 interpreter cra