[New-bugs-announce] [issue12969] Command 'open(0, "wb").close()' cause crash of Python interpreter [interactive mode]

Jiří Kučera report at bugs.python.org
Tue Sep 13 08:51:35 CEST 2011


New submission from Jiří Kučera <sanczes at gmail.com>:

Invoking the `close' method of `_io.BufferedWriter' instance created by `open(0,"wb")' command cause the Python interpreter crash.

Python interpreter info:
  mode: interactive
  version info: Python 3.2.1 (default, Jul 10 2011, 21:51:15) [MSC v.1500 32 bit (Intel)] on win32

Operanting system info:
  Microsoft Windows XP
  Home Edition
  Version 2002
  Service Pack 3

Commands:
>>> fd = open(0,"wb")
>>> fd.close()

----------
components: Interpreter Core
messages: 143951
nosy: i386x
priority: normal
severity: normal
status: open
title: Command 'open(0,"wb").close()' cause crash of Python interpreter [interactive mode]
type: crash
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12969>
_______________________________________


More information about the New-bugs-announce mailing list