[ python-Bugs-1535165 ] python segfaults when reading from closed stdin

SourceForge.net noreply at sourceforge.net
Sun Aug 6 10:24:15 CEST 2006


Bugs item #1535165, was opened at 2006-08-05 20:47
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1535165&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Patrick Mezard (trickos)
Assigned to: Nobody/Anonymous (nobody)
Summary: python segfaults when reading from closed stdin

Initial Comment:
""""
Python 2.5b3 (r25b3:51041, Aug  3 2006, 09:35:06) [MSC
v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for
more information.
>>> import sys
>>> sys.stdin.close()
>>> raw_input()
"""

segfaults on Windows XP.

Same thing happen with Python 2.4.2 (Build 248).

----------------------------------------------------------------------

>Comment By: Georg Brandl (gbrandl)
Date: 2006-08-06 08:24

Message:
Logged In: YES 
user_id=849994

Thanks for the report, fixed raw_input() and input() in rev.
51129, 51130 (2.4).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1535165&group_id=5470


More information about the Python-bugs-list mailing list