]>
granicus.if.org Git - python/log
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
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.
Brett Cannon [Fri, 18 Oct 2013 18:03:16 +0000 (14:03 -0400)]
Fix a refleak in _sre
Brett Cannon [Fri, 18 Oct 2013 17:29:04 +0000 (13:29 -0400)]
Add NEWS entry for issue #18810
Brett Cannon [Fri, 18 Oct 2013 17:24:13 +0000 (13:24 -0400)]
Issue #18810: Be optimistic with stat calls when seeing if a directory
exists when checking for a package.
Before there was an isdir check and then various isfile checks for
possible __init__ files when looking for a package.
This change drops the isdir check by leaning
on the assumption that a directory will not contain something named
after the module being imported which is not a directory. If the module
is a package then it saves a stat call. If there is nothing in the
directory with the potential package name it also saves a stat call.
Only if there is something in the directory named the same thing as
the potential package will the number of stat calls increase
(due to more wasteful __init__ checks).
Semantically there is no change as the isdir check moved
down so that namespace packages continue to have no chance of
accidentally collecting non-existent directories.
Guido van Rossum [Fri, 18 Oct 2013 17:10:36 +0000 (10:10 -0700)]
Important race condition fix for Tulip.
Benjamin Peterson [Fri, 18 Oct 2013 16:58:17 +0000 (12:58 -0400)]
merge 3.3
Benjamin Peterson [Fri, 18 Oct 2013 16:57:55 +0000 (12:57 -0400)]
fix description of super() behavior on descriptors
Richard Oudkerk [Fri, 18 Oct 2013 16:04:31 +0000 (17:04 +0100)]
Update more configurations in pcbuild.sln.
Brett Cannon [Fri, 18 Oct 2013 16:01:06 +0000 (12:01 -0400)]
Issue #18416: Fix various os calls in importlib.machinery.FileFinder
now that self.path is no longer forced to '.'.
Brett Cannon [Fri, 18 Oct 2013 15:39:32 +0000 (11:39 -0400)]
merge
Brett Cannon [Fri, 18 Oct 2013 15:39:04 +0000 (11:39 -0400)]
Issue #18416: Have importlib.machinery.PathFinder treat '' as the cwd
and stop importlib.machinery.FileFinder treating '' as '.'.
Previous PathFinder transformed '' into '.' which led to __file__ for
modules imported from the cwd to always be relative paths. This meant
the values of the attribute were wrong as soon as the cwd changed.
This change now means that as long as the site module is run (which
makes all entries in sys.path absolute) then all values for __file__
will also be absolute unless it's for __main__ when specified by file
path in a relative way (modules imported by runpy will have an
absolute path).
Now that PathFinder is no longer treating '' as '.' it only makes
sense for FileFinder to stop doing so as well. Now no transformation
is performed for the directory given to the __init__ method.
Thanks to Madison May for the initial patch.
Richard Oudkerk [Fri, 18 Oct 2013 15:23:01 +0000 (16:23 +0100)]
Update pcbuild.sln to build _overlapped.
Guido van Rossum [Fri, 18 Oct 2013 14:58:20 +0000 (07:58 -0700)]
Rename Transport.pause/resume to pause_reading/pause_writing. Also relax timeout in test_call_later().
Brett Cannon [Fri, 18 Oct 2013 14:45:59 +0000 (10:45 -0400)]
Issue #16803: test.test_importlib.test_api now runs under frozen and
source.
Serhiy Storchaka [Fri, 18 Oct 2013 14:17:31 +0000 (17:17 +0300)]
Remove redundant empty lines.
Serhiy Storchaka [Fri, 18 Oct 2013 14:16:40 +0000 (17:16 +0300)]
Remove redundant empty lines.
Serhiy Storchaka [Fri, 18 Oct 2013 14:05:41 +0000 (17:05 +0300)]
Remove a duplicate.
Nick Coghlan [Fri, 18 Oct 2013 13:59:58 +0000 (23:59 +1000)]
Issue #16129: this should appease the buildbots
Richard Oudkerk [Fri, 18 Oct 2013 13:42:56 +0000 (14:42 +0100)]
Remove test_sigterm().
Nick Coghlan [Fri, 18 Oct 2013 13:11:47 +0000 (23:11 +1000)]
Issue #16129: Py_SetStandardStreamEncoding cleanups
- don't call PyErr_NoMemory with interpreter is not initialised
- note that it's OK to call _PyMem_RawStrDup here
- don't include this in the limited API
- capitalise "IO"
- be explicit that a non-zero return indicates an error
- include versionadded marker in docs