diff options
author | Georg Brandl <georg@python.org> | 2008-12-07 15:30:06 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-12-07 15:30:06 (GMT) |
commit | f9734076cf12444fb1b5e4296993bf6df3b1e7f2 (patch) | |
tree | 1a07422957dfa4cafe9868efd8965ab9abd6cf86 /Misc | |
parent | 2080ea5f4b7ab8bd9ab0385c7ac925731d78405e (diff) | |
download | cpython-f9734076cf12444fb1b5e4296993bf6df3b1e7f2.zip cpython-f9734076cf12444fb1b5e4296993bf6df3b1e7f2.tar.gz cpython-f9734076cf12444fb1b5e4296993bf6df3b1e7f2.tar.bz2 |
Merged revisions 67511,67536-67537,67543 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67511 | vinay.sajip | 2008-12-04 00:22:58 +0100 (Thu, 04 Dec 2008) | 1 line
Issue #4384: Added logging integration with warnings module using captureWarnings(). This change includes a NullHandler which does nothing; it will be of use to library developers who want to avoid the "No handlers could be found for logger XXX" message which can appear if the library user doesn't configure logging.
........
r67536 | gregory.p.smith | 2008-12-04 21:21:09 +0100 (Thu, 04 Dec 2008) | 3 lines
Adds a subprocess.check_call_output() function to return the output from a
process on success or raise an exception on error.
........
r67537 | vinay.sajip | 2008-12-04 21:32:18 +0100 (Thu, 04 Dec 2008) | 1 line
Took Nick Coghlan's advice about importing warnings globally in logging, to avoid the possibility of race conditions: "This could deadlock if a thread spawned as a side effect of importing a module happens to trigger a warning. warnings is pulled into sys.modules as part of the interpreter startup - having a global 'import warnings' shouldn't have any real effect on logging's import time."
........
r67543 | gregory.p.smith | 2008-12-05 03:27:01 +0100 (Fri, 05 Dec 2008) | 2 lines
rename the new check_call_output to check_output. its less ugly.
........
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -24,6 +24,10 @@ Core and Builtins - Issue #4509: Various issues surrounding resize of bytearray objects to which there are buffer exports (e.g. memoryview instances). +- Issue #4233: Changed semantic of ``_fileio.FileIO``'s ``close()`` + method on file objects with closefd=False. The file descriptor is still + kept open but the file object behaves like a closed file. The ``FileIO`` + object also got a new readonly attribute ``closefd``. Library ------- @@ -31,6 +35,22 @@ Library - Issue #4483: _dbm module now builds on systems with gdbm & gdbm_compat libs. +- Added the subprocess.check_call_output() convenience function to get output + from a subprocess on success or raise an exception on error. + +- Issue #1055234: cgi.parse_header(): Fixed parsing of header parameters to + support unusual filenames (such as those containing semi-colons) in + Content-Disposition headers. + +- Issue #4384: Added logging integration with warnings module using + captureWarnings(). This change includes a NullHandler which does nothing; + it will be of use to library developers who want to avoid the "No handlers + could be found for logger XXX" message which can appear if the library user + doesn't configure logging. + +- Issue #3741: DISTUTILS_USE_SDK set causes msvc9compiler.py to raise an + exception. + - Issue #4529: fix the parser module's validation of try-except-finally statements. |