]>
granicus.if.org Git - python/log
Nick Coghlan [Sat, 26 Oct 2013 15:57:34 +0000 (01:57 +1000)]
Assorted 3.4 What's New updates
- cross-references and attributions for inspect changes
- note improvements to inspect and pydoc handling of
metaclasses and dynamic attributes (courtesy of the
enum PEP)
- group all CPython implementation specific changes
into a common section
- add see also links for most of the PEPs
- fix the see also link for the release PEP
- add suitable caveats on Argument Clinic inclusion
- clarify the change to __wrapped__ handling
Nick Coghlan [Sat, 26 Oct 2013 14:27:39 +0000 (00:27 +1000)]
Close #19409: add missing import in pkgutil
Nick Coghlan [Sat, 26 Oct 2013 12:20:43 +0000 (22:20 +1000)]
Issue #19330: Handle the no-docstrings case in tests
Ned Deily [Sat, 26 Oct 2013 10:27:24 +0000 (03:27 -0700)]
null merge
Ned Deily [Sat, 26 Oct 2013 10:17:44 +0000 (03:17 -0700)]
Issue #15663: OS X installer builtin Tcl/Tk support
Make it easier for users to make use of the backup _tkinter linked
with the third-party Tcl and Tk frameworks in /Library/Frameworks.
The two tkinter variants are now installed in separate directories
under a new lib-tkinter. This allows per-user selection by
manipulating sys.path, directly or with PYTHONPATH. If this
proves useful, we can supply a more convenient user interface
to supply the paths. For now, this remains somewhat experimental.
Ned Deily [Sat, 26 Oct 2013 10:16:44 +0000 (03:16 -0700)]
Issue #15663: OS X installer builtin Tcl/Tk support
Make it easier for users to make use of the backup _tkinter linked
with the third-party Tcl and Tk frameworks in /Library/Frameworks.
The two tkinter variants are now installed in separate directories
under a new lib-tkinter. This allows per-user selection by
manipulating sys.path, directly or with PYTHONPATH. If this
proves useful, we can supply a more convenient user interface
to supply the paths. For now, this remains somewhat experimental.
Serhiy Storchaka [Sat, 26 Oct 2013 08:18:42 +0000 (11:18 +0300)]
Issue #18685: Extract template part of _sre.c into separated sre_lib.h file.
Nick Coghlan [Sat, 26 Oct 2013 08:08:15 +0000 (18:08 +1000)]
Close #19330 by using public classes in contextlib
- added test cases to ensure docstrings are reasonable
- also updates various comments in contextlib for accuracy
- identifed #19404 as an issue making it difficult to provide
good help output on generator based context manager instances
Serhiy Storchaka [Sat, 26 Oct 2013 07:45:48 +0000 (10:45 +0300)]
Issue #18685: Restore re performance to pre-PEP 393 levels.
Serhiy Storchaka [Sat, 26 Oct 2013 07:42:09 +0000 (10:42 +0300)]
Move Misc/NEWS entries in correct secton.
Victor Stinner [Sat, 26 Oct 2013 07:20:38 +0000 (09:20 +0200)]
(Merge 3.3) Close #19339: telnetlib module is now using time.monotonic() when
available to compute timeout.
Victor Stinner [Sat, 26 Oct 2013 07:16:29 +0000 (09:16 +0200)]
Close #19339: telnetlib module is now using time.monotonic() when available to
compute timeout.
Nick Coghlan [Sat, 26 Oct 2013 06:37:47 +0000 (16:37 +1000)]
Close #19396: make test_contextlib tolerate -S
Tim Peters [Sat, 26 Oct 2013 03:33:52 +0000 (22:33 -0500)]
Fiddled Thread.join() to be a little simpler. Kinda ;-)
Tim Peters [Sat, 26 Oct 2013 01:46:51 +0000 (20:46 -0500)]
Issue #19399: fix sporadic test_subprocess failure.
Change Thread.join() with a negative timeout to just return. The
behavior isn't documented then, but this restores previous
behavior.
Ned Deily [Fri, 25 Oct 2013 23:05:08 +0000 (16:05 -0700)]
null merge
Ned Deily [Fri, 25 Oct 2013 23:03:35 +0000 (16:03 -0700)]
Issue #19400: Prevent extension module build failures with Xcode 5 on OS X
10.8+ when using a universal Python that included a PPC architecture,
such as with a python.org 32-bit-only binary installer.
Tim Golden [Fri, 25 Oct 2013 20:26:06 +0000 (21:26 +0100)]
Correct whitespace in test_os
Tim Golden [Fri, 25 Oct 2013 20:21:20 +0000 (21:21 +0100)]
Issue13234 Credit Santoso for the patch and add NEWS item
Tim Golden [Fri, 25 Oct 2013 19:24:06 +0000 (20:24 +0100)]
Issue13234 Allow listdir to handle extended paths on Windows (Patch by Santoso Wijaya)
Brett Cannon [Fri, 25 Oct 2013 19:45:42 +0000 (15:45 -0400)]
merge
Brett Cannon [Fri, 25 Oct 2013 19:45:25 +0000 (15:45 -0400)]
test_resource should not assume all attributes are available when they
are individually controlled by #ifdef statements in the extension
code.
Antoine Pitrou [Fri, 25 Oct 2013 19:39:26 +0000 (21:39 +0200)]
Issue #19375: The site module adding a "site-python" directory to sys.path, if it exists, is now deprecated.
Brett Cannon [Fri, 25 Oct 2013 19:39:02 +0000 (15:39 -0400)]
Issue #16803: Move test.test_importlib.extension to use both frozen and source importlib code
Antoine Pitrou [Fri, 25 Oct 2013 19:36:10 +0000 (21:36 +0200)]
Issue #19387: explain and test the sre overlap table
Brett Cannon [Fri, 25 Oct 2013 17:53:06 +0000 (13:53 -0400)]
merge
Brett Cannon [Fri, 25 Oct 2013 17:52:46 +0000 (13:52 -0400)]
Tweak some doc wording for importlib.reload
bquinlan [Fri, 25 Oct 2013 17:51:18 +0000 (04:51 +1100)]
Merge.
bquinlan [Fri, 25 Oct 2013 17:49:55 +0000 (04:49 +1100)]
Issue #11161: Update the documentation for ProcessPoolExecutor to note that it will not work in the interactive shell.
Brett Cannon [Fri, 25 Oct 2013 17:49:20 +0000 (13:49 -0400)]
merge from 3.3
Brett Cannon [Fri, 25 Oct 2013 17:46:15 +0000 (13:46 -0400)]
Issue #19392: Document that imp.reload() now relies on __loader__
being defined on top of __name__.
Brett Cannon [Fri, 25 Oct 2013 16:44:36 +0000 (12:44 -0400)]
Issue #16803: Have test.test_importlib.builtin test both frozen and
source importlib.
Brett Cannon [Fri, 25 Oct 2013 16:33:59 +0000 (12:33 -0400)]
Issue #16803: Stop having test.test_importlib.abc ABCs inherit from
unittest.TestCase in prep of running tests under frozen and source
importlib.
Charles-François Natali [Fri, 25 Oct 2013 15:56:00 +0000 (17:56 +0200)]
test_selectors: make timeout-related errors report the actual elapsed timeout.
Charles-François Natali [Fri, 25 Oct 2013 15:49:47 +0000 (17:49 +0200)]
test_selectors: rename test_interrupted_retry() (since it doesn't actually
retry on EINTR).
Tim Golden [Fri, 25 Oct 2013 10:22:37 +0000 (11:22 +0100)]
Issue4905: use INVALID_FILE_ATTRIBUTES where appropriate. (Patch by Ulrich Eckhardt)
Tim Golden [Fri, 25 Oct 2013 07:58:16 +0000 (08:58 +0100)]
Closes issue #19273: clean up the pcbuild readme.txt (Patch by Zachary Ware)
Ned Deily [Fri, 25 Oct 2013 07:52:26 +0000 (00:52 -0700)]
null merge with 3.3
Ned Deily [Fri, 25 Oct 2013 07:47:38 +0000 (00:47 -0700)]
Sync 2.7.x, 3.3.x, and 3.4.x versions of OS X build-installer.py.
Ned Deily [Fri, 25 Oct 2013 07:46:02 +0000 (00:46 -0700)]
Issue #19019: Change the OS X installer build script to use CFLAGS instead
of OPT for special build options. By setting OPT, some compiler-specific
options like -fwrapv were overridden and thus not used, which could result
in broken interpreters when building with clang.
Ned Deily [Fri, 25 Oct 2013 07:41:46 +0000 (00:41 -0700)]
Issue #15663: Tcl/Tk 8.5.15 is now included with the OS X 10.6+
64-bit/32-bit installer for 10.6+. It is no longer necessary
to install a third-party version of Tcl/Tk 8.5 to work around the
problems in the Apple-supplied Tcl/Tk 8.5 shipped in OS X 10.6
and later releases.
Ned Deily [Fri, 25 Oct 2013 07:34:44 +0000 (00:34 -0700)]
Issue #1584: Provide options to override default search paths for Tcl and Tk
when building _tkinter. configure has two new options; if used, both must
be specified:
./configure \
--with-tcltk-includes="-I/opt/local/include" \
--with-tcltk-libs="-L/opt/local/lib -ltcl8.5 -ltk8.5"
In addition, the options can be overridden with make:
make \
TCLTK_INCLUDES="-I/opt/local/include" \
TCLTK_LIBS="-L/opt/local/lib -ltcl8.6 -ltk8.6"
Christian Heimes [Fri, 25 Oct 2013 07:21:51 +0000 (09:21 +0200)]
Issue 19384: Fix test_py_compile for root user, patch by Claudiu Popa.
Christian Heimes [Fri, 25 Oct 2013 06:31:19 +0000 (08:31 +0200)]
Issue #16595: prlimit() needs Linux kernel 2.6.36+
Christian Heimes [Fri, 25 Oct 2013 00:11:17 +0000 (02:11 +0200)]
remove unused imports from statistics module
Serhiy Storchaka [Thu, 24 Oct 2013 21:08:13 +0000 (00:08 +0300)]
Issue #19288: Fixed the "in" operator of dbm.gnu databases for string
argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
Serhiy Storchaka [Thu, 24 Oct 2013 21:06:52 +0000 (00:06 +0300)]
Issue #19288: Fixed the "in" operator of dbm.gnu databases for string
argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
Serhiy Storchaka [Thu, 24 Oct 2013 21:01:25 +0000 (00:01 +0300)]
Issue #19287: Fixed the "in" operator of dbm.ndbm databases for string
argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
Serhiy Storchaka [Thu, 24 Oct 2013 20:59:28 +0000 (23:59 +0300)]
Issue #19287: Fixed the "in" operator of dbm.ndbm databases for string
argument. Original patch by Arfrever Frehtes Taifersar Arahesis.
Antoine Pitrou [Thu, 24 Oct 2013 20:23:42 +0000 (22:23 +0200)]
Close #19379: Lazily import linecache in the warnings module, to make startup with warnings faster until a warning gets printed.
Serhiy Storchaka [Thu, 24 Oct 2013 20:19:51 +0000 (23:19 +0300)]
Issue #19369: Optimized the usage of __length_hint__().
Serhiy Storchaka [Thu, 24 Oct 2013 19:04:37 +0000 (22:04 +0300)]
Issue #19327: Fixed the working of regular expressions with too big charset.
Serhiy Storchaka [Thu, 24 Oct 2013 19:02:58 +0000 (22:02 +0300)]
Issue #19327: Fixed the working of regular expressions with too big charset.
Peter Moody [Thu, 24 Oct 2013 16:47:10 +0000 (09:47 -0700)]
#17400: correct handling of 100.64.0.0/10, fixing the docs and updating NEWS
Senthil Kumaran [Thu, 24 Oct 2013 04:55:35 +0000 (21:55 -0700)]
merge from 3.3: Increase the test coverage of macurl2path module. Patch by Colin Williams.
Senthil Kumaran [Thu, 24 Oct 2013 04:50:56 +0000 (21:50 -0700)]
Increase the coverage of macurl2path. Patch by Colin Williams.
Antoine Pitrou [Wed, 23 Oct 2013 20:03:45 +0000 (22:03 +0200)]
Issue #19360: fix test_site when Python is installed into $HOME/.local
Antoine Pitrou [Wed, 23 Oct 2013 20:03:22 +0000 (22:03 +0200)]
Issue #19360: fix test_site when Python is installed into $HOME/.local
Serhiy Storchaka [Wed, 23 Oct 2013 19:27:52 +0000 (22:27 +0300)]
Issue #19365: Optimized the parsing of long replacement string in re.sub*()
functions.
Antoine Pitrou [Wed, 23 Oct 2013 17:21:55 +0000 (19:21 +0200)]
Issue #19356: Avoid using a C variabled named "_self", it's a reserved word in some C compilers.
Antoine Pitrou [Wed, 23 Oct 2013 17:20:21 +0000 (19:20 +0200)]
Issue #19356: Avoid using a C variabled named "_self", it's a reserved word in some C compilers.
Antoine Pitrou [Wed, 23 Oct 2013 17:15:05 +0000 (19:15 +0200)]
Issue #19352: Fix unittest discovery when a module can be reached through several paths (e.g. under Debian/Ubuntu with virtualenv).
Antoine Pitrou [Wed, 23 Oct 2013 17:11:29 +0000 (19:11 +0200)]
Issue #19352: Fix unittest discovery when a module can be reached through several paths (e.g. under Debian/Ubuntu with virtualenv).
Antoine Pitrou [Wed, 23 Oct 2013 17:08:07 +0000 (19:08 +0200)]
Issue #19340: Fix test_sysconfig when Python is built with an empty prefix.
Patch by Sunny K.
Antoine Pitrou [Wed, 23 Oct 2013 17:07:40 +0000 (19:07 +0200)]
Issue #19340: Fix test_sysconfig when Python is built with an empty prefix.
Patch by Sunny K.
Victor Stinner [Wed, 23 Oct 2013 16:54:43 +0000 (18:54 +0200)]
Close #19345: fix typo
Larry Hastings [Wed, 23 Oct 2013 06:26:23 +0000 (23:26 -0700)]
Two small, quick bugfixes for Argument Clinic.
Eric Snow [Wed, 23 Oct 2013 05:46:53 +0000 (23:46 -0600)]
[Issue #19357] Ensure module "loaded" during tests gets forgotten.
Eric Snow [Wed, 23 Oct 2013 05:27:42 +0000 (23:27 -0600)]
[Issue #19357] Ensure module "loaded" during tests gets forgotten.
Peter Moody [Tue, 22 Oct 2013 19:36:21 +0000 (12:36 -0700)]
#17400: fix documentation, add cache to is_global and correctly handle 100.64.0.0/10
Tim Golden [Tue, 22 Oct 2013 19:03:47 +0000 (20:03 +0100)]
Issue #15207: Fix mimetypes to read from correct area in Windows registry (Original patch by Dave Chambers)
Tim Golden [Tue, 22 Oct 2013 18:27:34 +0000 (19:27 +0100)]
Issue #15207: Fix mimetypes to read from correct area in Windows registry (Original patch by Dave Chambers)
Larry Hastings [Tue, 22 Oct 2013 17:49:20 +0000 (10:49 -0700)]
Merge 3.4.0a4 release head back into trunk.
Larry Hastings [Tue, 22 Oct 2013 17:44:35 +0000 (10:44 -0700)]
Post-release updates for 3.4.0a4.
Ethan Furman [Tue, 22 Oct 2013 14:30:24 +0000 (07:30 -0700)]
Issue #19030: fix new pydoc tests for --without-doc-strings
Christian Heimes [Tue, 22 Oct 2013 13:05:23 +0000 (15:05 +0200)]
Issue #18742: Expose the internal hash type object for ABCs.
Christian Heimes [Tue, 22 Oct 2013 12:59:12 +0000 (14:59 +0200)]
Issue #18742: Rework the internal hashlib construtor to pave the road for ABCs.
Christian Heimes [Tue, 22 Oct 2013 09:49:34 +0000 (11:49 +0200)]
Issue #19344: fix markup error in whatsnew
Thanks to Marius Gedminas
Christian Heimes [Tue, 22 Oct 2013 09:45:30 +0000 (11:45 +0200)]
Make resource tests more robust.
Christian Heimes [Tue, 22 Oct 2013 09:21:54 +0000 (11:21 +0200)]
Issue #16595: Add prlimit() to resource module
prlimit() is a Linux specific command that combines setrlimit, getrlimit and can set the limit
of other processes.
Christian Heimes [Tue, 22 Oct 2013 09:09:27 +0000 (11:09 +0200)]
Issue #19324: Expose Linux-specific constants in resource module
Christian Heimes [Tue, 22 Oct 2013 08:45:31 +0000 (10:45 +0200)]
Fix Misc/NEWS merge conflict, hurray
Christian Heimes [Tue, 22 Oct 2013 08:23:12 +0000 (10:23 +0200)]
Issue #18603: Ensure that PyOS_mystricmp and PyOS_mystrnicmp are in the
Python executable and not removed by the linker's optimizer.
Christian Heimes [Tue, 22 Oct 2013 08:22:29 +0000 (10:22 +0200)]
Issue #18603: Ensure that PyOS_mystricmp and PyOS_mystrnicmp are in the
Python executable and not removed by the linker's optimizer.
Guido van Rossum [Tue, 22 Oct 2013 04:28:45 +0000 (21:28 -0700)]
Fix asyncio issue #19293 (hangs on AIX).
Guido van Rossum [Tue, 22 Oct 2013 03:57:25 +0000 (20:57 -0700)]
Unsilence several asyncio AIX tests that no longer hang, and silence a new hang.
Ethan Furman [Tue, 22 Oct 2013 03:45:55 +0000 (20:45 -0700)]
Close #19263: add tests to ensure __objclass__ correctly set.
Guido van Rossum [Tue, 22 Oct 2013 03:37:14 +0000 (20:37 -0700)]
Switch subprocess stdin to a socketpair, attempting to fix issue #19293 (AIX hang).
Guido van Rossum [Tue, 22 Oct 2013 03:26:12 +0000 (20:26 -0700)]
Avoid test_asyncio hang on AIX.
Christian Tismer [Tue, 22 Oct 2013 02:09:28 +0000 (04:09 +0200)]
add filtering of individual files to PyZipFile
changed output of debug messages to say "path" or "file"
extended test for filtering certain files in a package
added test for filtering files in a python dir (no package)
Peter Moody [Mon, 21 Oct 2013 23:16:51 +0000 (16:16 -0700)]
#17400; NEWS and ipaddress.rst change
Guido van Rossum [Mon, 21 Oct 2013 22:00:44 +0000 (15:00 -0700)]
asyncio: be more lenient if we don't understand status returned by waitpid().
This should have no effect, it's a "shouldn't happe" case.
Also tidied up some comments.
Peter Moody [Mon, 21 Oct 2013 20:58:06 +0000 (13:58 -0700)]
#17400; ipaddress should make it easy to identify rfc6598 addresses
Christian Heimes [Mon, 21 Oct 2013 17:48:22 +0000 (19:48 +0200)]
Load SSL's error strings in hashlib.
Without ERR_load_crypto_strings() functions like ERR_lib_error_string() return NULL.
Charles-François Natali [Mon, 21 Oct 2013 12:46:34 +0000 (14:46 +0200)]
Fix test_pydoc failure introduced by
2f09a6980e1a (issue #19030).
Charles-François Natali [Mon, 21 Oct 2013 12:02:12 +0000 (14:02 +0200)]
Issue #19170: telnetlib: use selectors.
Victor Stinner [Mon, 21 Oct 2013 11:27:11 +0000 (13:27 +0200)]
fix typo in what's new in 3.4
Christian Heimes [Mon, 21 Oct 2013 10:32:21 +0000 (12:32 +0200)]
Fix typo in whatsnew
Christian Heimes [Mon, 21 Oct 2013 10:03:09 +0000 (12:03 +0200)]
Issue #18527: Upgrade internal copy of zlib to 1.2.8
Christian Heimes [Mon, 21 Oct 2013 09:59:34 +0000 (11:59 +0200)]
merge