]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #7111: Python can now be run without a stdin, stdout or stderr stream.
authorAntoine Pitrou <solipsis@pitrou.net>
Mon, 28 Nov 2011 18:09:45 +0000 (19:09 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Mon, 28 Nov 2011 18:09:45 +0000 (19:09 +0100)
It was already the case with Python 2.  However, the corresponding
sys module entries are now set to None (instead of an unusable file object).

1  2 
Lib/test/test_cmd_line.py
Misc/NEWS
Python/pythonrun.c

Simple merge
diff --cc Misc/NEWS
index 8ef9e13bdf2c5ff0eb4163f474b96123226deba4,f79e57ac189ab19829b4034ce1f1e2d8a6cf3a4e..14bf253d7d3b931b763f81c6752957d5b983b245
+++ b/Misc/NEWS
@@@ -10,16 -10,10 +10,20 @@@ What's New in Python 3.3 Alpha 1
  Core and Builtins
  -----------------
  
+ - Issue #7111: Python can now be run without a stdin, stdout or stderr
+   stream.  It was already the case with Python 2.  However, the corresponding
+   sys module entries are now set to None (instead of an unusable file object).
 +- Issue #11849: Ensure that free()d memory arenas are really released
 +  on POSIX systems supporting anonymous memory mappings.  Patch by
 +  Charles-François Natali.
 +
 +- Issue #13452: PyUnicode_EncodeDecimal() doesn't support error handlers
 +  different than "strict" anymore. The caller was unable to compute the
 +  size of the output buffer: it depends on the error handler.
 +
 +- PEP 3155 / issue #13448: Qualified name for classes and functions.
 +
  - Issue #13436: Fix a bogus error message when an AST object was passed
    an invalid integer value.
  
Simple merge