]>
granicus.if.org Git - python/log
Christian Heimes [Thu, 28 Nov 2013 14:12:15 +0000 (15:12 +0100)]
SNI was added in OpenSSL 0.9.8f [11 Oct 2007], too
Christian Heimes [Thu, 28 Nov 2013 07:06:54 +0000 (08:06 +0100)]
ssl.create_default_context() sets OP_NO_COMPRESSION to prevent CRIME
Zachary Ware [Thu, 28 Nov 2013 05:56:04 +0000 (23:56 -0600)]
Issue #19595: Re-enable a long-disabled test in test_winsound
Alexandre Vassalotti [Thu, 28 Nov 2013 03:36:52 +0000 (19:36 -0800)]
Encapsulate cpickle global state in a dedicated object.
This implements PEP 3121 module finalization as well. This change does not
cause any significant impact on performance.
Ned Deily [Wed, 27 Nov 2013 22:42:55 +0000 (14:42 -0800)]
Change pathlib documentation to use "raise" instead of "throw".
Victor Stinner [Wed, 27 Nov 2013 22:39:55 +0000 (23:39 +0100)]
Issue #19818: tracemalloc, the number of frame limit cannot be zero anymore
Guido van Rossum [Wed, 27 Nov 2013 22:12:48 +0000 (14:12 -0800)]
asyncio: Change write buffer use to avoid O(N**2). Make write()/sendto() accept bytearray/memoryview too. Change some asserts with proper exceptions.
Victor Stinner [Wed, 27 Nov 2013 21:27:13 +0000 (22:27 +0100)]
Closes #19786: tracemalloc, remove the arbitrary limit of 100 frames
The limit is now 178,956,969 on 64 bit (it is greater on 32 bit because
structures are smaller).
Use int instead of Py_ssize_t to store the number of frames to have smaller
traceback_t objects.
Victor Stinner [Wed, 27 Nov 2013 20:39:49 +0000 (21:39 +0100)]
Close #19798: replace "maximum" term with "peak" in get_traced_memory()
documentation. Use also the term "current" for the current size.
Guido van Rossum [Wed, 27 Nov 2013 18:37:13 +0000 (10:37 -0800)]
asyncio: Fix get_event_loop() to call set_event_loop() when setting the loop. By Anthony Baire.
Benjamin Peterson [Wed, 27 Nov 2013 15:18:54 +0000 (09:18 -0600)]
add SO_PRIORITY (closes #19802)
Patch by Claudiu Popa.
Alexandre Vassalotti [Wed, 27 Nov 2013 10:26:54 +0000 (02:26 -0800)]
Combine the FastCall functions in cpickle.
I fixed the bug that was in my previous attempt of this cleanup. I ran
the full test suite to verify I didn't introduce any obvious bugs.
Serhiy Storchaka [Wed, 27 Nov 2013 06:58:13 +0000 (08:58 +0200)]
Skip test_find_mac on Windows (issue #19804).
This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.
Serhiy Storchaka [Wed, 27 Nov 2013 06:57:51 +0000 (08:57 +0200)]
Skip test_find_mac on Windows (issue #19804).
This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.
Benjamin Peterson [Wed, 27 Nov 2013 05:05:37 +0000 (23:05 -0600)]
merge 3.3 (#19805)
Benjamin Peterson [Wed, 27 Nov 2013 05:05:25 +0000 (23:05 -0600)]
recommend OrderedDict for this FAQ (closes #19805)
Benjamin Peterson [Wed, 27 Nov 2013 01:24:01 +0000 (19:24 -0600)]
merge 3.3 (#19729)
Benjamin Peterson [Wed, 27 Nov 2013 01:22:36 +0000 (19:22 -0600)]
fix format spec recursive expansion (closes #19729)
Zachary Ware [Tue, 26 Nov 2013 22:34:45 +0000 (16:34 -0600)]
Issue #19788: kill_python(_d).exe is now run as a PreBuildEvent on the
pythoncore sub-project. This should prevent build errors due a previous
build's python(_d).exe still running.
Zachary Ware [Tue, 26 Nov 2013 22:32:59 +0000 (16:32 -0600)]
Issue #19788: kill_python(_d).exe is now run as a PreBuildEvent on the
pythoncore sub-project. This should prevent build errors due a previous
build's python(_d).exe still running.
Zachary Ware [Tue, 26 Nov 2013 20:58:10 +0000 (14:58 -0600)]
Merge with 3.3
Zachary Ware [Tue, 26 Nov 2013 20:57:45 +0000 (14:57 -0600)]
Merge heads
Zachary Ware [Tue, 26 Nov 2013 20:57:10 +0000 (14:57 -0600)]
Merge heads
Zachary Ware [Tue, 26 Nov 2013 20:54:21 +0000 (14:54 -0600)]
Issue #19588: Merge with 3.3
Zachary Ware [Tue, 26 Nov 2013 20:50:10 +0000 (14:50 -0600)]
Issue #19588: Fixed tests in test_random that were silently skipped most
of the time. Patch by Julian Gindi.
Serhiy Storchaka [Tue, 26 Nov 2013 20:49:36 +0000 (22:49 +0200)]
Issue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment with
virtual interface. Original patch by Kent Frazier.
Serhiy Storchaka [Tue, 26 Nov 2013 20:47:16 +0000 (22:47 +0200)]
Issue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment with
virtual interface. Original patch by Kent Frazier.
Mark Dickinson [Tue, 26 Nov 2013 20:29:06 +0000 (20:29 +0000)]
Use @bigmemtest more accurately.
Mark Dickinson [Tue, 26 Nov 2013 20:28:29 +0000 (20:28 +0000)]
Use @bigmemtest more accurately.
Serhiy Storchaka [Tue, 26 Nov 2013 19:37:12 +0000 (21:37 +0200)]
Issue #19793: Improved markup for True/False constants in pathlib documentation.
Serhiy Storchaka [Tue, 26 Nov 2013 19:27:11 +0000 (21:27 +0200)]
Issue #11489: JSON decoder now accepts lone surrogates.
Serhiy Storchaka [Tue, 26 Nov 2013 19:25:28 +0000 (21:25 +0200)]
Issue #11489: JSON decoder now accepts lone surrogates.
Mark Dickinson [Tue, 26 Nov 2013 16:19:38 +0000 (16:19 +0000)]
Issue #19638: Merge from 3.3
Mark Dickinson [Tue, 26 Nov 2013 16:19:13 +0000 (16:19 +0000)]
Issue #19638: Raise ValueError instead of crashing when converting billion character strings to float.
Serhiy Storchaka [Tue, 26 Nov 2013 15:33:13 +0000 (17:33 +0200)]
Issue #19794: Improved markup for True/False constants.
Serhiy Storchaka [Tue, 26 Nov 2013 15:32:16 +0000 (17:32 +0200)]
Issue #19794: Improved markup for True/False constants.
Serhiy Storchaka [Tue, 26 Nov 2013 15:08:24 +0000 (17:08 +0200)]
Issue #19760: Silence sysconfig's 'SO' key deprecation warnings in tests.
Change stacklevel in warnings.warn() for 'SO' key to 2.
Victor Stinner [Tue, 26 Nov 2013 09:46:06 +0000 (10:46 +0100)]
tracemalloc: fix get_traced_memory() docstring for result type
Victor Stinner [Tue, 26 Nov 2013 09:16:25 +0000 (10:16 +0100)]
tracemalloc: Fix hash methods of Statistic and StatisticDiff
Georg Brandl [Tue, 26 Nov 2013 07:25:45 +0000 (08:25 +0100)]
merge with 3.3
Georg Brandl [Tue, 26 Nov 2013 07:25:24 +0000 (08:25 +0100)]
Markup fix.
Christian Heimes [Tue, 26 Nov 2013 00:32:15 +0000 (01:32 +0100)]
Fix suspicious test case
Victor Stinner [Tue, 26 Nov 2013 00:18:52 +0000 (01:18 +0100)]
Issue #18874: Fix typo
Victor Stinner [Tue, 26 Nov 2013 00:08:53 +0000 (01:08 +0100)]
Issue #18874: make it more explicit than set_reentrant() only accept 0 or 1
Victor Stinner [Tue, 26 Nov 2013 00:06:02 +0000 (01:06 +0100)]
Issue #18874: tracemalloc: Comment the trace_t structure
Victor Stinner [Mon, 25 Nov 2013 23:45:47 +0000 (00:45 +0100)]
Issue #18874: allow to call tracemalloc.Snapshot.statistics(cumulative=True)
with traceback_limit=1
Victor Stinner [Mon, 25 Nov 2013 23:40:10 +0000 (00:40 +0100)]
Issue #18874: apply Jim Jewett's patch on tracemalloc doc
Victor Stinner [Mon, 25 Nov 2013 23:26:23 +0000 (00:26 +0100)]
Issue #18874: tracemalloc: explain the purpose of get_traces.tracebacks in a comment
Guido van Rossum [Mon, 25 Nov 2013 23:07:18 +0000 (15:07 -0800)]
asyncio: Add StreamReaderProtocol to __all__.
Victor Stinner [Mon, 25 Nov 2013 22:19:58 +0000 (23:19 +0100)]
Issue #19752: Fix "HAVE_DEV_PTMX" implementation of os.openpty()
Regression introduced by the implementation of the PEP 446 (non-inheritable
file descriptors by default).
master_fd must be set non-inheritable after the creation of the slave_fd,
otherwise grantpt(master_fd) fails with EPERM (errno 13).
Alexandre Vassalotti [Mon, 25 Nov 2013 21:25:12 +0000 (13:25 -0800)]
Reverting
e39db21df580 eagerly due to buildbot failures.
Ezio Melotti [Mon, 25 Nov 2013 21:20:20 +0000 (23:20 +0200)]
#13592, #17087: add whatsnew entry about regex/match object repr improvements.
Alexandre Vassalotti [Mon, 25 Nov 2013 21:03:32 +0000 (13:03 -0800)]
Combine _Pickler_FastCall and _Unpickler_FastCall in cpickle.
Ezio Melotti [Mon, 25 Nov 2013 20:47:01 +0000 (22:47 +0200)]
#19778: fix a couple of re reprs in the documentation.
Alexandre Vassalotti [Mon, 25 Nov 2013 19:35:46 +0000 (11:35 -0800)]
Issue #19739: Try to fix compiler warnings on 32-bit Windows.
Antoine Pitrou [Mon, 25 Nov 2013 18:51:53 +0000 (19:51 +0100)]
Issue #19742: fix a test_pathlib failure when a file owner or group isn't in the system database
Antoine Pitrou [Mon, 25 Nov 2013 18:11:07 +0000 (19:11 +0100)]
Issue #19691: remove outdated mention about RuntimeError
Antoine Pitrou [Mon, 25 Nov 2013 18:08:32 +0000 (19:08 +0100)]
Issue #19691: remove outdated mention about RuntimeError
Guido van Rossum [Mon, 25 Nov 2013 18:06:34 +0000 (10:06 -0800)]
asyncio: Hopeful fix for issue 19765.
Guido van Rossum [Mon, 25 Nov 2013 17:43:52 +0000 (09:43 -0800)]
asyncio: Change mock pipe to mock socket. Hope to fix issue 19750.
Victor Stinner [Mon, 25 Nov 2013 09:43:59 +0000 (10:43 +0100)]
Issue #19753: New try to fix test_gdb on System Z buildbot
Victor Stinner [Mon, 25 Nov 2013 08:40:27 +0000 (09:40 +0100)]
Mention the new tracemalloc module in the What's New in Python 3.4 document
Victor Stinner [Mon, 25 Nov 2013 08:33:18 +0000 (09:33 +0100)]
Close #19762: Fix name of _get_traces() and _get_object_traceback() function
name in their docstring. Patch written by Vajrasky Kok.
Gregory P. Smith [Mon, 25 Nov 2013 08:32:20 +0000 (00:32 -0800)]
merge heads
Gregory P. Smith [Mon, 25 Nov 2013 08:31:31 +0000 (00:31 -0800)]
Remove an errant extra \ within a docstring.
Gregory P. Smith [Mon, 25 Nov 2013 08:30:56 +0000 (00:30 -0800)]
Remove an errant extra \ within a docstring.
Victor Stinner [Mon, 25 Nov 2013 08:29:45 +0000 (09:29 +0100)]
Cleanup test_tracemalloc.py. Patch written by Vajrasky Kok.
Georg Brandl [Mon, 25 Nov 2013 07:52:24 +0000 (08:52 +0100)]
merge with 3.3
Georg Brandl [Mon, 25 Nov 2013 07:48:37 +0000 (08:48 +0100)]
Closes #19622: clarify message about bufsize changes in 3.2.4 and 3.3.1.
Georg Brandl [Mon, 25 Nov 2013 07:29:54 +0000 (08:29 +0100)]
merge with 3.3
Georg Brandl [Mon, 25 Nov 2013 07:29:44 +0000 (08:29 +0100)]
Fix doc markup error.
Guido van Rossum [Mon, 25 Nov 2013 06:41:35 +0000 (22:41 -0800)]
asyncio: Fix docstring of get_nowait().
Alexandre Vassalotti [Mon, 25 Nov 2013 06:41:13 +0000 (22:41 -0800)]
Merge save_int into save_long in cpickle to remove redundant code.
Also, replace unnessary uses of the #if preprocessor directive.
Guido van Rossum [Mon, 25 Nov 2013 06:32:09 +0000 (22:32 -0800)]
asyncio: Add BoundedSemaphore to export list in locks.__all__.
Alexandre Vassalotti [Mon, 25 Nov 2013 05:40:18 +0000 (21:40 -0800)]
Simplify save_bool in cpickle.
Ezio Melotti [Mon, 25 Nov 2013 04:41:00 +0000 (06:41 +0200)]
Merge broken link fix from 3.3.
Ezio Melotti [Mon, 25 Nov 2013 04:40:12 +0000 (06:40 +0200)]
Fix broken link in html.entities docs.
Ezio Melotti [Mon, 25 Nov 2013 04:18:47 +0000 (06:18 +0200)]
Add whatsnew section about the html package.
Ezio Melotti [Mon, 25 Nov 2013 03:16:09 +0000 (05:16 +0200)]
#19620: merge with 3.3.
Ezio Melotti [Mon, 25 Nov 2013 03:14:51 +0000 (05:14 +0200)]
#19620: Fix typo in docstring (noticed by Christopher Welborn).
Raymond Hettinger [Sun, 24 Nov 2013 22:53:54 +0000 (14:53 -0800)]
merge
Raymond Hettinger [Sun, 24 Nov 2013 22:53:29 +0000 (14:53 -0800)]
Document that @property can incorporate a docstring from the getter method. Improve readabilty with additional whitespace.
Christian Heimes [Sun, 24 Nov 2013 22:14:16 +0000 (23:14 +0100)]
Issue #19758: silence PendingDeprecationWarnings in test_hmac
I also removed some bare excepts from the tests.
Larry Hastings [Sun, 24 Nov 2013 22:05:57 +0000 (14:05 -0800)]
Merged 3.4.0b1 release head back into trunk.
Serhiy Storchaka [Sun, 24 Nov 2013 21:13:26 +0000 (23:13 +0200)]
Issue #15204: Silence and check the 'U' mode deprecation warnings in tests.
Changed deprecation message in the fileinput module.
Alexandre Vassalotti [Sun, 24 Nov 2013 20:25:48 +0000 (12:25 -0800)]
Use Clinic to process arguments in cpickle.
This doesn't make any functional changes to the exisiting implementation. The
conversion did help however uncover documentation bugs. The best thing about
this conversion is less C code to maintain by hand.
Stefan Krah [Sun, 24 Nov 2013 18:56:23 +0000 (19:56 +0100)]
Merge from 3.3.
Stefan Krah [Sun, 24 Nov 2013 18:44:57 +0000 (19:44 +0100)]
1) Prepare libmpdec for the 2.4.0 release. None of the following changes affects
_decimal:
o Make all "mpd_t to C integer" conversion functions available in both the
64-bit and the 32-bit versions.
o Make all mixed mpd_t/C integer arithmetic functions available in the
32-bit version.
o Better handling of __STDC_LIMIT_MACROS for C++ users.
o Add struct tags (at the request of C++ users).
2) Check for libmpdec.so.2 if --with-system-libmpdec is used.
Victor Stinner [Sun, 24 Nov 2013 18:23:25 +0000 (19:23 +0100)]
Issue #19636: Fix usage of MAX_PATH in posixmodule.c
Victor Stinner [Sun, 24 Nov 2013 18:22:57 +0000 (19:22 +0100)]
Issue #19636: Fix posix__getvolumepathname(), raise an OverflowError if
the length doesn't fit in an DWORD
Victor Stinner [Sun, 24 Nov 2013 17:55:25 +0000 (18:55 +0100)]
Issue #19753: Try to fix test_gdb on SystemZ buildbot
Richard Oudkerk [Sun, 24 Nov 2013 17:50:40 +0000 (17:50 +0000)]
Issue #19740: Use WaitForSingleObject() instead of trusting TimerOrWaitFired.
Serhiy Storchaka [Sun, 24 Nov 2013 16:17:11 +0000 (18:17 +0200)]
Issue #19545: Avoid chained exceptions while passing stray % to
time.strptime(). Initial patch by Claudiu Popa.
Serhiy Storchaka [Sun, 24 Nov 2013 16:15:37 +0000 (18:15 +0200)]
Issue #19545: Avoid chained exceptions while passing stray % to
time.strptime(). Initial patch by Claudiu Popa.
Georg Brandl [Sun, 24 Nov 2013 15:18:23 +0000 (16:18 +0100)]
merge with 3.3
Georg Brandl [Sun, 24 Nov 2013 15:17:54 +0000 (16:17 +0100)]
Doc/Makefile: also do "make suspicious" during daily autobuild
Georg Brandl [Sun, 24 Nov 2013 15:09:26 +0000 (16:09 +0100)]
Fix suspicious markup in the docs.
Larry Hastings [Sun, 24 Nov 2013 15:01:59 +0000 (07:01 -0800)]
Added tag v3.4.0b1 for changeset
3405dc9a6afa
Larry Hastings [Sun, 24 Nov 2013 14:59:35 +0000 (06:59 -0800)]
Bump version number to 3.4.0b1.
Eli Bendersky [Sun, 24 Nov 2013 14:55:04 +0000 (06:55 -0800)]
Cosmetic fixes