]>
granicus.if.org Git - python/log
Larry Hastings [Tue, 22 Oct 2013 17:44:35 +0000 (10:44 -0700)]
Post-release updates for 3.4.0a4.
Larry Hastings [Sun, 20 Oct 2013 09:02:01 +0000 (02:02 -0700)]
Added tag v3.4.0a4 for changeset
e245b0d7209b
Larry Hastings [Sun, 20 Oct 2013 09:01:29 +0000 (02:01 -0700)]
Version bump for 3.4.0a4.
Larry Hastings [Sun, 20 Oct 2013 08:59:09 +0000 (01:59 -0700)]
Rebuild pydoc topics for 3.4.0a4 release.
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
Nick Coghlan [Fri, 18 Oct 2013 12:39:50 +0000 (22:39 +1000)]
Close #19284: Handle -R properly in flag helper
Previously, the -R option would be specified multiple times
if PYTHONHASHSEED was set.
Serhiy Storchaka [Fri, 18 Oct 2013 08:55:30 +0000 (11:55 +0300)]
Fix markup.
Serhiy Storchaka [Fri, 18 Oct 2013 08:55:02 +0000 (11:55 +0300)]
Fix markup.
Ethan Furman [Fri, 18 Oct 2013 08:22:08 +0000 (01:22 -0700)]
Issue #19030: special-cased __dict__ as the actual dict is not returned, a proxy is.
Ethan Furman [Fri, 18 Oct 2013 07:45:40 +0000 (00:45 -0700)]
Issue #19272: slight clarification of pickle docs with regard to lambda.
Ethan Furman [Fri, 18 Oct 2013 07:27:39 +0000 (00:27 -0700)]
Close #19030: inspect.getmembers and inspect.classify_class_attrs
Order of search is now:
1. Try getattr
2. If that throws an exception, check __dict__ directly
3. If still not found, walk the mro looking for the eldest class that has
the attribute (e.g. things returned by __getattr__)
4. If none of that works (e.g. due to a buggy __dir__, __getattr__, etc.
method or missing __slot__ attribute), ignore the attribute entirely.
Ethan Furman [Fri, 18 Oct 2013 02:34:12 +0000 (19:34 -0700)]
Catching up on NEWS entries.
I'll make sure and include them in future patches.
Ned Deily [Fri, 18 Oct 2013 01:08:00 +0000 (18:08 -0700)]
Issue #19262: Install asyncio and test_asyncio directories.
Guido van Rossum [Thu, 17 Oct 2013 22:39:45 +0000 (15:39 -0700)]
Rename the logger to plain "logger".
Ned Deily [Thu, 17 Oct 2013 22:21:40 +0000 (15:21 -0700)]
Issue #19275: Fix test_site failure on OS X due to typo.
Guido van Rossum [Thu, 17 Oct 2013 21:23:17 +0000 (14:23 -0700)]
Make asyncio tests run on Windows.
Guido van Rossum [Thu, 17 Oct 2013 20:40:50 +0000 (13:40 -0700)]
Initial checkin of asyncio package (== Tulip, == PEP 3156).
Serhiy Storchaka [Thu, 17 Oct 2013 20:05:19 +0000 (23:05 +0300)]
Issue #19276: Fixed the wave module on 64-bit big-endian platforms.
Serhiy Storchaka [Thu, 17 Oct 2013 20:04:04 +0000 (23:04 +0300)]
Issue #19276: Fixed the wave module on 64-bit big-endian platforms.
Georg Brandl [Thu, 17 Oct 2013 17:52:33 +0000 (19:52 +0200)]
merge with 3.3
Georg Brandl [Thu, 17 Oct 2013 17:51:34 +0000 (19:51 +0200)]
Fix inaccurate versionchanged tag for compressobj(): most parameter were there, just got kwarg support.
Nick Coghlan [Thu, 17 Oct 2013 15:46:19 +0000 (01:46 +1000)]
Skip #16129 test until I debug cross-platform issues
Nick Coghlan [Thu, 17 Oct 2013 15:44:22 +0000 (01:44 +1000)]
Try to debug overspecified test :(
Richard Oudkerk [Thu, 17 Oct 2013 14:22:10 +0000 (15:22 +0100)]
Fix signal handler in test.
Nick Coghlan [Thu, 17 Oct 2013 13:40:57 +0000 (23:40 +1000)]
Close #19266: contextlib.ignore -> contextlib.suppress
Patch by Zero Piraeus.
Richard Oudkerk [Thu, 17 Oct 2013 13:31:51 +0000 (14:31 +0100)]
Merge.
Nick Coghlan [Thu, 17 Oct 2013 13:27:17 +0000 (23:27 +1000)]
Issue #16129: Move Py_SetStandardStreamEncoding declaration