]>
granicus.if.org Git - python/log
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
Georg Brandl [Mon, 21 Oct 2013 07:08:39 +0000 (09:08 +0200)]
Closes #19323: fix typo. Thanks to Michael Merickel.
Georg Brandl [Mon, 21 Oct 2013 07:07:31 +0000 (09:07 +0200)]
Simplify markup.
Georg Brandl [Mon, 21 Oct 2013 06:57:26 +0000 (08:57 +0200)]
Reformat statistics.rst and remove unnecessary headings for each function.
Georg Brandl [Mon, 21 Oct 2013 06:29:29 +0000 (08:29 +0200)]
#19274: use captured_stdout() in the test suite; add NEWS entry.
Ethan Furman [Mon, 21 Oct 2013 05:37:39 +0000 (22:37 -0700)]
Issue #19030: final pieces for proper location of various class attributes located in the metaclass.
Okay, hopefully the very last patch for this issue. :/
I realized when playing with Enum that the metaclass attributes weren't always displayed properly.
New patch properly locates DynamicClassAttributes, virtual class attributes (returned by __getattr__ and friends), and metaclass class attributes (if they are also in the metaclass __dir__ method).
Also had to change one line in pydoc to get this to work.
Added tests in test_inspect and test_pydoc to cover these situations.
Raymond Hettinger [Mon, 21 Oct 2013 03:42:07 +0000 (20:42 -0700)]
Issue #19271: By Python3.4, the Python 2.4 backport links are no longer of much interest.
Guido van Rossum [Mon, 21 Oct 2013 02:15:19 +0000 (19:15 -0700)]
Update faulthandler docs.
Christian Tismer [Mon, 21 Oct 2013 01:59:23 +0000 (03:59 +0200)]
add a filterfunc to zip file.PyZipFile.writepy, issue 19274
Ezio Melotti [Mon, 21 Oct 2013 01:42:12 +0000 (04:42 +0300)]
#19319: merge with 3.3.
Ezio Melotti [Mon, 21 Oct 2013 01:41:40 +0000 (04:41 +0300)]
#19319: fix ctypes docs: sizeof is an operator in C, not a function.
Guido van Rossum [Mon, 21 Oct 2013 01:21:02 +0000 (18:21 -0700)]
Issue 19306: Add extra hints to faulthandler stack dumps that they are upside down.
Ezio Melotti [Mon, 21 Oct 2013 00:05:46 +0000 (03:05 +0300)]
#8964: merge with 3.3.
Ezio Melotti [Mon, 21 Oct 2013 00:03:32 +0000 (03:03 +0300)]
#8964: fix platform._sys_version to handle IronPython 2.6+.
Ezio Melotti [Sun, 20 Oct 2013 23:53:30 +0000 (02:53 +0300)]
#19238, #19289: merge with 3.3.
Ezio Melotti [Sun, 20 Oct 2013 23:53:07 +0000 (02:53 +0300)]
#19238, #19289: fix description of the align and fill values of the format specification.
Ezio Melotti [Sun, 20 Oct 2013 23:10:55 +0000 (02:10 +0300)]
#18958: Improve error message for json.load(s) while passing a string that starts with a UTF-8 BOM.
Ezio Melotti [Sun, 20 Oct 2013 22:52:33 +0000 (01:52 +0300)]
#19307: Improve error message for json.load(s) while passing objects of the wrong type.
Benjamin Peterson [Sun, 20 Oct 2013 21:52:54 +0000 (17:52 -0400)]
remove backticks
Benjamin Peterson [Sun, 20 Oct 2013 21:52:09 +0000 (17:52 -0400)]
fix declaration of StatisticsError
Benjamin Peterson [Sun, 20 Oct 2013 21:50:28 +0000 (17:50 -0400)]
cleanup the construction of __qualname__ (closes #19301 again)
Antoine Pitrou [Sun, 20 Oct 2013 21:26:23 +0000 (23:26 +0200)]
Close #19297: fix resource warnings in test_asyncio. Patch by Vajrasky Kok.
Charles-François Natali [Sun, 20 Oct 2013 21:23:44 +0000 (23:23 +0200)]
Issue #19310: asyncio: fix child processes reaping logic.
Andrew Kuchling [Sun, 20 Oct 2013 19:53:08 +0000 (15:53 -0400)]
Grammar fix
Antoine Pitrou [Sun, 20 Oct 2013 19:45:29 +0000 (21:45 +0200)]
Skip one asyncio test when IPv6 isn't supported (Windows buildbots)
Antoine Pitrou [Sun, 20 Oct 2013 19:02:53 +0000 (21:02 +0200)]
Make various asyncio test files individually runnable
Charles-François Natali [Sun, 20 Oct 2013 18:31:43 +0000 (20:31 +0200)]
Issue #19309: asyncio: make waitpid() wait for all child processes, not only
those in the same process group.
Serhiy Storchaka [Sun, 20 Oct 2013 14:25:34 +0000 (17:25 +0300)]
Make test_audioop discoverable by unittest.
Serhiy Storchaka [Sun, 20 Oct 2013 14:24:42 +0000 (17:24 +0300)]
Make test_audioop discoverable by unittest.
Serhiy Storchaka [Sun, 20 Oct 2013 14:02:10 +0000 (17:02 +0300)]
Issue #16038: CVE-2013-1752: ftplib: Limit amount of data read by
limiting the call to readline(). Original patch by Michał
Jastrzębski and Giampaolo Rodola.
Serhiy Storchaka [Sun, 20 Oct 2013 13:58:27 +0000 (16:58 +0300)]
Issue #16038: CVE-2013-1752: ftplib: Limit amount of data read by
limiting the call to readline(). Original patch by Michał
Jastrzębski and Giampaolo Rodola.
Nick Coghlan [Sun, 20 Oct 2013 12:43:53 +0000 (22:43 +1000)]
Close #19313: remove no longer needed Py_XINCREF
Eliminates a refleak introduced in commit
b4a325275fb0
Christian Heimes [Sun, 20 Oct 2013 11:23:03 +0000 (13:23 +0200)]
Make PKCS5_PBKDF2_HMAC_fast() a static function
Serhiy Storchaka [Sun, 20 Oct 2013 10:13:31 +0000 (13:13 +0300)]
Issue #17087: Improved the repr for regular expression match objects.
Serhiy Storchaka [Sun, 20 Oct 2013 09:49:04 +0000 (12:49 +0300)]
Add yet some 24-bit tests.
Serhiy Storchaka [Sun, 20 Oct 2013 06:42:26 +0000 (09:42 +0300)]
Issue #12866: Fix bias() for 24-bit. Add more tests.
Guido van Rossum [Sun, 20 Oct 2013 04:26:34 +0000 (21:26 -0700)]
Break out of loop on EOF in asyncio echo test programs.
Nick Coghlan [Sun, 20 Oct 2013 03:22:21 +0000 (13:22 +1000)]
What's New updates prior to alpha
Nick Coghlan [Sun, 20 Oct 2013 03:22:04 +0000 (13:22 +1000)]
Tweak 'provisional' in glossary
Antoine Pitrou [Sun, 20 Oct 2013 00:16:40 +0000 (02:16 +0200)]
Un-backout
e3ec6b17260c - the test fix was actually also necessary
Antoine Pitrou [Sun, 20 Oct 2013 00:09:08 +0000 (02:09 +0200)]
Backout
e3ec6b17260c after Guido's fix
Guido van Rossum [Sun, 20 Oct 2013 00:04:25 +0000 (17:04 -0700)]
(Hopefully) proper fix for gentoo buildbot failure due to lacking AF_INET6 support.
This should supersede revision
e3ec6b17260c (but please test before removing that).
Antoine Pitrou [Sat, 19 Oct 2013 23:51:25 +0000 (01:51 +0200)]
Issue #19305: try to fix sporadic test_asyncio failure on FreeBSD 10.0
Antoine Pitrou [Sat, 19 Oct 2013 23:10:52 +0000 (01:10 +0200)]
Try to fix test_asyncio dual stack test when creating an IPv6 socket fails
Antoine Pitrou [Sat, 19 Oct 2013 22:54:10 +0000 (00:54 +0200)]
Issue #19299: fix refleak test failures in test_asyncio
Benjamin Peterson [Sat, 19 Oct 2013 20:15:58 +0000 (16:15 -0400)]
removal u_qualname, since compiler_scope_qualname is only ever called once
Benjamin Peterson [Sat, 19 Oct 2013 20:14:39 +0000 (16:14 -0400)]
strengthen condition and add assertion
Christian Heimes [Sat, 19 Oct 2013 20:36:17 +0000 (22:36 +0200)]
fix compile issue on windows. path is now a struct ptr
Antoine Pitrou [Sat, 19 Oct 2013 20:06:26 +0000 (22:06 +0200)]
Issue #18235: Fix the sysconfig variables LDSHARED and BLDSHARED under AIX.
Patch by David Edelsohn.
Antoine Pitrou [Sat, 19 Oct 2013 20:05:05 +0000 (22:05 +0200)]
Issue #18235: Fix the sysconfig variables LDSHARED and BLDSHARED under AIX.
Patch by David Edelsohn.
Benjamin Peterson [Sat, 19 Oct 2013 20:01:13 +0000 (16:01 -0400)]
give explicitly global functions and classes a global __qualname__ (closes #19301)
Ned Deily [Sat, 19 Oct 2013 19:10:01 +0000 (12:10 -0700)]
Issue #19304: Fix typos noted by Claudiu Popa.
Larry Hastings [Sat, 19 Oct 2013 18:50:09 +0000 (11:50 -0700)]
Issue #18606: Add the new "statistics" module (PEP 450). Contributed
by Steven D'Aprano.
Serhiy Storchaka [Sat, 19 Oct 2013 18:39:31 +0000 (21:39 +0300)]
Restore prototypes for the 'openpty' and 'forkpty' on BSDI (broken in issue #
1772673 ).
Serhiy Storchaka [Sat, 19 Oct 2013 18:15:55 +0000 (21:15 +0300)]
Null merge
Serhiy Storchaka [Sat, 19 Oct 2013 18:14:57 +0000 (21:14 +0300)]
Fixed tests for issue #19279.
Serhiy Storchaka [Sat, 19 Oct 2013 18:10:46 +0000 (21:10 +0300)]
Issue #12866: The audioop module now supports 24-bit samples.
Serhiy Storchaka [Sat, 19 Oct 2013 18:03:34 +0000 (21:03 +0300)]
Issue #
1772673 : The type of `char*` arguments now changed to `const char*`.
Christian Heimes [Sat, 19 Oct 2013 17:55:38 +0000 (19:55 +0200)]
Ignore PyCharm project directory
Christian Heimes [Sat, 19 Oct 2013 17:55:27 +0000 (19:55 +0200)]
Ignore PyCharm project directory
Christian Heimes [Sat, 19 Oct 2013 17:40:49 +0000 (19:40 +0200)]
Issue #18582: skip test of _hashlib.pbkdf2_hmac if OpenSSL is not available or too old
Serhiy Storchaka [Sat, 19 Oct 2013 17:39:28 +0000 (20:39 +0300)]
Issue #19279: UTF-7 decoder no more produces illegal strings.
Serhiy Storchaka [Sat, 19 Oct 2013 17:38:19 +0000 (20:38 +0300)]
Issue #19279: UTF-7 decoder no more produces illegal strings.
Guido van Rossum [Sat, 19 Oct 2013 16:52:09 +0000 (09:52 -0700)]
Verify hostname if verify_mode is CERT_OPTIONAL too.
Guido van Rossum [Sat, 19 Oct 2013 16:10:13 +0000 (09:10 -0700)]
Disable some subprocess tests that hang on AIX.
See http://bugs.python.org/issue19293
Christian Heimes [Sat, 19 Oct 2013 15:59:48 +0000 (17:59 +0200)]
Issue #18582: HMAC_CTX_copy() is not available on OpenSSL < 1.0
Guido van Rossum [Sat, 19 Oct 2013 15:47:26 +0000 (08:47 -0700)]
Skip the asyncio tests when threads are not available.
See http://bugs.python.org/issue19295
Georg Brandl [Sat, 19 Oct 2013 15:46:38 +0000 (17:46 +0200)]
Doc markup fixes.
Nick Coghlan [Sat, 19 Oct 2013 14:30:51 +0000 (00:30 +1000)]
contextlib doc updates and refactoring
- explain single use, reusable and reentrant in docs
- converted suppress to a reentrant class based impl
- converted redirect_stdout to a reusable impl
- moved both suppress and redirect_stdout behind a functional
facade
- added reentrancy tests for the updated suppress
- added reusability tests for the updated redirect_stdio
- slightly cleaned up an exception from contextmanager
Christian Heimes [Sat, 19 Oct 2013 12:24:44 +0000 (14:24 +0200)]
Issue #18582: provide a faster C implementation of pbkdf2_hmac that works with OpenSSL < 1.0
Christian Heimes [Sat, 19 Oct 2013 12:24:03 +0000 (14:24 +0200)]
lower case pbkdf2_hmac
Christian Heimes [Sat, 19 Oct 2013 12:12:02 +0000 (14:12 +0200)]
Issue #19254: Provide an optimized Python implementation of PBKDF2_HMAC
Serhiy Storchaka [Sat, 19 Oct 2013 07:45:48 +0000 (10:45 +0300)]
Fix compilation of the curses module (broken by issue #16612).
Larry Hastings [Sat, 19 Oct 2013 07:09:25 +0000 (00:09 -0700)]
Issue #16612: Add "Argument Clinic", a compile-time preprocessor
for C files to generate argument parsing code. (See PEP 436.)
Ned Deily [Sat, 19 Oct 2013 04:34:58 +0000 (21:34 -0700)]
Ensure setup.py looks for zlib.h in an OS X SDK.
Ned Deily [Sat, 19 Oct 2013 04:32:00 +0000 (21:32 -0700)]
Ensure setup.py looks for zlib.h in an OS X SDK.
Ned Deily [Sat, 19 Oct 2013 04:16:05 +0000 (21:16 -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 [Sat, 19 Oct 2013 04:09:56 +0000 (21:09 -0700)]
Issue #14499: Fix several problems with OS X universal build support:
1. ppc arch detection for extension module builds broke with Xcode 5
2. ppc arch detection in configure did not work on OS X 10.4
3. -sysroot and -arch flags were unnecessarily duplicated
4. there was no obvious way to configure an intel-32 only build.
Ned Deily [Sat, 19 Oct 2013 03:49:27 +0000 (20:49 -0700)]
Issue #15663: Update OS X installer to use Tcl/Tk 8.5.15.
Ned Deily [Sat, 19 Oct 2013 03:42:32 +0000 (20:42 -0700)]
Update OS X installer for building on 10.9.
Ned Deily [Sat, 19 Oct 2013 03:41:16 +0000 (20:41 -0700)]
Update OS X installer for building on 10.9.
Victor Stinner [Sat, 19 Oct 2013 00:40:16 +0000 (02:40 +0200)]
Issue #16742: My fix on PyOS_StdioReadline() was incomplete, PyMem_FREE() was
not patched
Guido van Rossum [Fri, 18 Oct 2013 22:17:11 +0000 (15:17 -0700)]
Write flow control for asyncio (includes asyncio.streams overhaul).
Guido van Rossum [Fri, 18 Oct 2013 22:15:56 +0000 (15:15 -0700)]
Relax some asyncio test timeouts (http://bugs.python.org/issue19285).
Nadeem Vawda [Fri, 18 Oct 2013 22:11:13 +0000 (00:11 +0200)]
Issue #19222: Add support for the 'x' mode to the gzip module.
Original patch by Tim Heaney.
Nadeem Vawda [Fri, 18 Oct 2013 22:11:06 +0000 (00:11 +0200)]
Issue #19223: Add support for the 'x' mode to the bz2 module.
Patch by Tim Heaney and Vajrasky Kok.
Nadeem Vawda [Fri, 18 Oct 2013 22:06:19 +0000 (00:06 +0200)]
Issue #19201: Add support for the 'x' mode to the lzma module.
Patch by Tim Heaney and Vajrasky Kok.
Brett Cannon [Fri, 18 Oct 2013 20:55:15 +0000 (16:55 -0400)]
Fix test to not consider mixin a standalone test
Brett Cannon [Fri, 18 Oct 2013 19:40:11 +0000 (15:40 -0400)]
Issue #16803: Move test_importlib.test_util to use both frozen and
source code.
Brett Cannon [Fri, 18 Oct 2013 19:12:21 +0000 (15:12 -0400)]
Issue #16803: Have test_importlib.test_locks use frozen and source
code.