From: Ned Deily Date: Sat, 3 Aug 2013 01:05:31 +0000 (-0700) Subject: Issue #17046: merge from 3.3 X-Git-Tag: v3.4.0a1~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=582583bc41523e13a295da9b8ea4dfe784b5071e;p=python Issue #17046: merge from 3.3 --- 582583bc41523e13a295da9b8ea4dfe784b5071e diff --cc Misc/NEWS index 027f5a72d8,98357a4411..868fb9ee69 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -566,67 -441,58 +566,69 @@@ Librar - Issue #17666: Fix reading gzip files with an extra field. -- Issue #17502: Process DEFAULT values in mock side_effect that returns iterator. - Patch by Michael Foord. +- Issue #16475: Support object instancing, recursion and interned strings + in marshal -- Issue #17572: Avoid chained exceptions while passing bad directives to - time.strptime(). Initial patch by Claudiu Popa. +- Issue #17502: Process DEFAULT values in mock side_effect that returns iterator. -- Issue #17435: threading.Timer's __init__ method no longer uses mutable - default values for the args and kwargs parameters. +- Issue #16795: On the ast.arguments object, unify vararg with varargannotation + and kwarg and kwargannotation. Change the column offset of ast.Attribute to be + at the attribute name. -- Issue #17526: fix an IndexError raised while passing code without filename to - inspect.findsource(). Initial patch by Tyler Doyle. +- Issue #17434: Properly raise a SyntaxError when a string occurs between future + imports. -- Issue #16550: Update the opcode descriptions of pickletools to use unsigned - integers where appropriate. Initial patch by Serhiy Storchaka. +- Issue #17117: Import and @importlib.util.set_loader now set __loader__ when + it has a value of None or the attribute doesn't exist. -IDLE ----- +- Issue #17032: The "global" in the "NameError: global name 'x' is not defined" + error message has been removed. Patch by Ram Rachum. -- Issue #17838: Allow sys.stdin to be reassigned. +- Issue #18080: When building a C extension module on OS X, if the compiler + is overriden with the CC environment variable, use the new compiler as + the default for linking if LDSHARED is not also overriden. This restores + Distutils behavior introduced in 3.2.3 and inadvertently dropped in 3.3.0. -- Issue #13495: Avoid loading the color delegator twice in IDLE. +- Issue #18113: Fixed a refcount leak in the curses.panel module's + set_userptr() method. Reported by Atsuo Ishimoto. -- Issue #17798: Allow IDLE to edit new files when specified on command line. +- Implement PEP 443 "Single-dispatch generic functions". -- Issue #14735: Update IDLE docs to omit "Control-z on Windows". +- Implement PEP 435 "Adding an Enum type to the Python standard library". -- Issue #17585: Fixed IDLE regression. Now closes when using exit() or quit(). +Tests +----- -- Issue #17657: Show full Tk version in IDLE's about dialog. - Patch by Todd Rovito. ++- Issue #17046: Fix broken test_executable_without_cwd in test_subprocess. + -- Issue #17613: Prevent traceback when removing syntax colorizer in IDLE. +- Issue #15415: Add new temp_dir() and change_cwd() context managers to + test.support, and refactor temp_cwd() to use them. Patch by Chris Jerdonek. -- Issue #1207589: Backwards-compatibility patch for right-click menu in IDLE. +- Issue #15494: test.support is now a package rather than a module (Initial + patch by Indra Talip) -- Issue #16887: IDLE now accepts Cancel in tabify/untabify dialog box. +- Issue #17944: test_zipfile now discoverable and uses subclassing to + generate tests for different compression types. Fixed a bug with skipping + some tests due to use of exhausted iterators. -- Issue #17625: In IDLE, close the replace dialog after it is used. +- Issue #18266: test_largefile now works with unittest test discovery and + supports running only selected tests. Patch by Zachary Ware. -- Issue #14254: IDLE now handles readline correctly across shell restarts. +- Issue #17767: test_locale now works with unittest test discovery. + Original patch by Zachary Ware. -- Issue #17614: IDLE no longer raises exception when quickly closing a file. +- Issue #18375: Assume --randomize when --randseed is used for running the + testsuite. -- Issue #6698: IDLE now opens just an editor window when configured to do so. +- Issue #11185: Fix test_wait4 under AIX. Patch by Sébastien Sablé. -- Issue #8900: Using keyboard shortcuts in IDLE to open a file no longer - raises an exception. +- Issue #18207: Fix test_ssl for some versions of OpenSSL that ignore seconds + in ASN1_TIME fields. -- Issue #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo. +- Issue #18094: test_uuid no more reports skipped tests as passed. -Tests ------ +- Issue #17992: Add timeouts to asyncore and asynchat tests so that they won't + accidentally hang. - Issue #17833: Fix test_gdb failures seen on machines where debug symbols for glibc are available (seen on PPC64 Linux).