]>
granicus.if.org Git - python/log
Martin Panter [Sat, 21 Nov 2015 10:57:15 +0000 (10:57 +0000)]
Issue #25626: Merge zlib fix from 3.5
Terry Jan Reedy [Sat, 21 Nov 2015 05:05:35 +0000 (00:05 -0500)]
Merge with 3.5
Terry Jan Reedy [Sat, 21 Nov 2015 05:05:17 +0000 (00:05 -0500)]
Merge with 3.4
Terry Jan Reedy [Sat, 21 Nov 2015 05:05:03 +0000 (00:05 -0500)]
Issue 15348: Stop debugger engine (normally in user process)
before closing debugger window in IDLE process.
Terry Jan Reedy [Sat, 21 Nov 2015 00:37:14 +0000 (19:37 -0500)]
Merge with 3.5
Terry Jan Reedy [Sat, 21 Nov 2015 00:37:00 +0000 (19:37 -0500)]
Merge with 3.4
Terry Jan Reedy [Sat, 21 Nov 2015 00:36:43 +0000 (19:36 -0500)]
Issue #24455: Prevent IDLE from hanging when a) closing the shell while the
debugger is active (15347); b) closing the debugger with the [X] button
(15348); and c) activating the debugger when already active (24455).
The patch by Mark Roseman does this by making two changes.
1. To suspend and resume the gui.interaction method, use the tcl vwait
mechanism interded for this purpose instead of root.mainloop & .quit.
2. In gui.run, allow any existing interaction to terminate first.
Ethan Furman [Fri, 20 Nov 2015 21:19:35 +0000 (13:19 -0800)]
null merge
Ethan Furman [Fri, 20 Nov 2015 21:17:27 +0000 (13:17 -0800)]
Close issue25594: advise against accessing Enum members from other members
Ethan Furman [Fri, 20 Nov 2015 21:12:26 +0000 (13:12 -0800)]
Close 25594: advise against accessing Enum members from other members
Yury Selivanov [Fri, 20 Nov 2015 17:58:00 +0000 (12:58 -0500)]
Merge 3.5
Yury Selivanov [Fri, 20 Nov 2015 17:57:47 +0000 (12:57 -0500)]
Merge 3.4
Yury Selivanov [Fri, 20 Nov 2015 17:57:34 +0000 (12:57 -0500)]
asyncio: Fix with github
See https://github.com/python/asyncio/pull/295 for details
Yury Selivanov [Fri, 20 Nov 2015 17:44:12 +0000 (12:44 -0500)]
Merge 3.5
Yury Selivanov [Fri, 20 Nov 2015 17:44:03 +0000 (12:44 -0500)]
Merge 3.4
Yury Selivanov [Fri, 20 Nov 2015 17:43:52 +0000 (12:43 -0500)]
asyncio.tests: Fix whitespace
Yury Selivanov [Fri, 20 Nov 2015 17:41:53 +0000 (12:41 -0500)]
Merge 3.5
Yury Selivanov [Fri, 20 Nov 2015 17:41:43 +0000 (12:41 -0500)]
Merge 3.4
Yury Selivanov [Fri, 20 Nov 2015 17:41:03 +0000 (12:41 -0500)]
asyncio: Drop "value" parameter from Task._step method.
Yury Selivanov [Fri, 20 Nov 2015 17:40:02 +0000 (12:40 -0500)]
Merge 3.5
Yury Selivanov [Fri, 20 Nov 2015 17:39:51 +0000 (12:39 -0500)]
Merge 3.4
Yury Selivanov [Fri, 20 Nov 2015 17:39:43 +0000 (12:39 -0500)]
asyncio: Sync with github
Terry Jan Reedy [Fri, 20 Nov 2015 17:22:18 +0000 (12:22 -0500)]
Merge with 3.5
Terry Jan Reedy [Fri, 20 Nov 2015 17:22:06 +0000 (12:22 -0500)]
Merge with 3.4
Terry Jan Reedy [Fri, 20 Nov 2015 17:21:48 +0000 (12:21 -0500)]
Make it slightly clearer that IDLE close message is referring to user program,
not to IDLE itself.
Serhiy Storchaka [Fri, 20 Nov 2015 16:33:33 +0000 (18:33 +0200)]
Issue #25665: Test pickling with all protocols in test_typing.
Serhiy Storchaka [Fri, 20 Nov 2015 16:33:02 +0000 (18:33 +0200)]
Issue #25665: Test pickling with all protocols in test_typing.
R David Murray [Fri, 20 Nov 2015 14:59:19 +0000 (09:59 -0500)]
Merge: #25679: spelling fix
R David Murray [Fri, 20 Nov 2015 14:58:51 +0000 (09:58 -0500)]
Merge: #25679: spelling fix
R David Murray [Fri, 20 Nov 2015 14:57:20 +0000 (09:57 -0500)]
#25679: spelling fix
Victor Stinner [Fri, 20 Nov 2015 08:24:02 +0000 (09:24 +0100)]
Issue #25557: Refactor _PyDict_LoadGlobal()
Don't fallback to PyDict_GetItemWithError() if the hash is unknown: compute the
hash instead. Add also comments to explain the optimization a little bit.
Martin Panter [Fri, 20 Nov 2015 08:13:35 +0000 (08:13 +0000)]
Issue #25626: Change zlib to accept Py_ssize_t and cap to UINT_MAX
The underlying zlib library stores sizes in “unsigned int”. The corresponding
Python parameters are all sizes of buffers filled in by zlib, so it is okay
to reduce higher values to the UINT_MAX internal cap. OverflowError is still
raised for sizes that do not fit in Py_ssize_t.
Sizes are now limited to Py_ssize_t rather than unsigned long, because Python
byte strings cannot be larger than Py_ssize_t. Previously this could result
in a SystemError on 32-bit platforms.
This resolves a regression in the gzip module when reading more than UINT_MAX
or LONG_MAX bytes in one call, introduced by revision
62723172412c .
Victor Stinner [Fri, 20 Nov 2015 07:50:17 +0000 (08:50 +0100)]
Merge 3.5 (issue #25670)
Victor Stinner [Fri, 20 Nov 2015 07:49:58 +0000 (08:49 +0100)]
Issue #25670: Remove duplicate getattr() from ast.NodeTransformer
Martin Panter [Fri, 20 Nov 2015 02:37:57 +0000 (02:37 +0000)]
Issue #25583: Add news to 3.6 section
Martin Panter [Fri, 20 Nov 2015 02:37:29 +0000 (02:37 +0000)]
Issue #25583: Merge makedirs fix from 3.5
Martin Panter [Fri, 20 Nov 2015 02:35:46 +0000 (02:35 +0000)]
Issue #25583: Merge makedirs fix from 3.4 into 3.5
Guido van Rossum [Thu, 19 Nov 2015 21:34:24 +0000 (13:34 -0800)]
Issue #25593: Change semantics of EventLoop.stop(). (Merge 3.5->3.6)
Guido van Rossum [Thu, 19 Nov 2015 21:33:34 +0000 (13:33 -0800)]
Issue #25593: Change semantics of EventLoop.stop(). (Merge 3.4->3.5)
Guido van Rossum [Thu, 19 Nov 2015 21:28:47 +0000 (13:28 -0800)]
Issue #25593: Change semantics of EventLoop.stop().
Guido van Rossum [Thu, 19 Nov 2015 16:16:52 +0000 (08:16 -0800)]
Issue #25665: Make NamedTuple picklable. (Merge 3.5->3.6)
Guido van Rossum [Thu, 19 Nov 2015 16:16:31 +0000 (08:16 -0800)]
Issue #25665: Make NamedTuple picklable.
Guido van Rossum [Thu, 19 Nov 2015 05:19:18 +0000 (21:19 -0800)]
Remove unused imports from test_typing.py. (Merge 3.5->3.6)
Guido van Rossum [Thu, 19 Nov 2015 05:18:51 +0000 (21:18 -0800)]
Remove unused imports from test_typing.py.
Guido van Rossum [Thu, 19 Nov 2015 05:13:42 +0000 (21:13 -0800)]
Issue #25472: In B[<type>], insert B in front of __bases__, to make the __dict__ descriptor work. (Merge 3.5->3.6)
Guido van Rossum [Thu, 19 Nov 2015 05:12:58 +0000 (21:12 -0800)]
Issue #25472: In B[<type>], insert B in front of __bases__, to make the __dict__ descriptor work.
Martin Panter [Thu, 19 Nov 2015 04:48:44 +0000 (04:48 +0000)]
Issue #25583: Avoid incorrect errors raised by os.makedirs(exist_ok=True)
Yury Selivanov [Wed, 18 Nov 2015 17:44:59 +0000 (12:44 -0500)]
Merge 3.5
Yury Selivanov [Wed, 18 Nov 2015 17:44:49 +0000 (12:44 -0500)]
Merge 3.4
Yury Selivanov [Wed, 18 Nov 2015 17:44:31 +0000 (12:44 -0500)]
asyncio.docs: Fix versionadded
Yury Selivanov [Wed, 18 Nov 2015 17:40:41 +0000 (12:40 -0500)]
Merge 3.5
Yury Selivanov [Wed, 18 Nov 2015 17:40:26 +0000 (12:40 -0500)]
asyncio: Error if awaiting in parallel on the same coroutine
See https://github.com/python/asyncio/pull/293 for details.
Yury Selivanov [Wed, 18 Nov 2015 17:39:45 +0000 (12:39 -0500)]
asyncio: Error if awaiting in parallel on the same coroutine
This change won't do anything in CPython 3.4
See https://github.com/python/asyncio/pull/293 for details.
Raymond Hettinger [Wed, 18 Nov 2015 04:58:43 +0000 (20:58 -0800)]
Add assertion to verify the pre-condition in the comments.
Martin Panter [Wed, 18 Nov 2015 02:46:16 +0000 (02:46 +0000)]
Issue #23200: Merge zlib doc from 3.5
Martin Panter [Wed, 18 Nov 2015 02:45:51 +0000 (02:45 +0000)]
Issue #23200: Merge zlib doc from 3.4 into 3.5
Martin Panter [Wed, 18 Nov 2015 00:59:17 +0000 (00:59 +0000)]
Issue #23200: Document that max_length=0 is not supported
Martin Panter [Tue, 17 Nov 2015 22:26:23 +0000 (22:26 +0000)]
Issue #20468: Merge getpagesize doc from 3.5
Martin Panter [Tue, 17 Nov 2015 22:23:21 +0000 (22:23 +0000)]
Issue #20468: Merge getpagesize doc from 3.4 into 3.5
Martin Panter [Tue, 17 Nov 2015 22:13:47 +0000 (22:13 +0000)]
Issue #20468: Remove incorrect information about maxrss and page size
Extract of patch by Ronald Oussoren.
Yury Selivanov [Tue, 17 Nov 2015 17:20:26 +0000 (12:20 -0500)]
Merge 3.5
Yury Selivanov [Tue, 17 Nov 2015 17:20:02 +0000 (12:20 -0500)]
Merge 3.4
Yury Selivanov [Tue, 17 Nov 2015 17:19:41 +0000 (12:19 -0500)]
asyncio: Cleanup Future API
See https://github.com/python/asyncio/pull/292 for details.
Yury Selivanov [Tue, 17 Nov 2015 17:02:44 +0000 (12:02 -0500)]
Merge 3.5
Yury Selivanov [Tue, 17 Nov 2015 17:02:32 +0000 (12:02 -0500)]
Merge 3.4
Yury Selivanov [Tue, 17 Nov 2015 17:02:21 +0000 (12:02 -0500)]
asyncio: Sync with github
Raymond Hettinger [Tue, 17 Nov 2015 16:28:07 +0000 (08:28 -0800)]
Issue #25629: Move set fill/used updates out of inner loop
Victor Stinner [Tue, 17 Nov 2015 11:15:07 +0000 (12:15 +0100)]
Closes #25645: Fix a reference leak introduced by change
bc5894a3a0e6 of the
issue #24164.
Martin Panter [Tue, 17 Nov 2015 00:19:27 +0000 (00:19 +0000)]
Issue #25615: Merge glob doc from 3.5
Martin Panter [Tue, 17 Nov 2015 00:19:10 +0000 (00:19 +0000)]
Issue #25615: Merge glob doc from 3.4 into 3.5
Martin Panter [Mon, 16 Nov 2015 23:46:22 +0000 (23:46 +0000)]
Issue #25615: Document unsorted behaviour of glob; patch by Dave Jones
Yury Selivanov [Mon, 16 Nov 2015 20:12:54 +0000 (15:12 -0500)]
Merge 3.5
Yury Selivanov [Mon, 16 Nov 2015 20:12:44 +0000 (15:12 -0500)]
Merge 3.4
Yury Selivanov [Mon, 16 Nov 2015 20:12:10 +0000 (15:12 -0500)]
asyncio: Optimize Task._wakeup
See https://github.com/python/asyncio/pull/289 for details.
Yury Selivanov [Mon, 16 Nov 2015 17:47:25 +0000 (12:47 -0500)]
Merge 3.5
Yury Selivanov [Mon, 16 Nov 2015 17:47:15 +0000 (12:47 -0500)]
asyncio.docs: Document Transport.is_closing (merge 3.4)
Yury Selivanov [Mon, 16 Nov 2015 17:46:41 +0000 (12:46 -0500)]
asyncio.docs: Document Transport.is_closing
Yury Selivanov [Mon, 16 Nov 2015 17:43:46 +0000 (12:43 -0500)]
Merge 3.5
Yury Selivanov [Mon, 16 Nov 2015 17:43:35 +0000 (12:43 -0500)]
Merge 3.4
Yury Selivanov [Mon, 16 Nov 2015 17:43:21 +0000 (12:43 -0500)]
asyncio: Add Transport.is_closing()
See https://github.com/python/asyncio/pull/291 for details.
Serhiy Storchaka [Mon, 16 Nov 2015 16:46:05 +0000 (18:46 +0200)]
Issue #25498: Fixed contributors name.
Serhiy Storchaka [Mon, 16 Nov 2015 16:45:39 +0000 (18:45 +0200)]
Issue #25498: Fixed contributors name.
Serhiy Storchaka [Mon, 16 Nov 2015 16:45:23 +0000 (18:45 +0200)]
Issue #25498: Fixed contributors name.
Terry Jan Reedy [Mon, 16 Nov 2015 12:36:44 +0000 (07:36 -0500)]
Merge with 3.5
Terry Jan Reedy [Mon, 16 Nov 2015 12:36:33 +0000 (07:36 -0500)]
Merge with 3.4
Terry Jan Reedy [Mon, 16 Nov 2015 12:36:22 +0000 (07:36 -0500)]
Issue #24750: whitespace
Terry Jan Reedy [Mon, 16 Nov 2015 12:33:01 +0000 (07:33 -0500)]
Merge with 3.5
Terry Jan Reedy [Mon, 16 Nov 2015 12:32:46 +0000 (07:32 -0500)]
Merge with 3.4
Terry Jan Reedy [Mon, 16 Nov 2015 12:32:26 +0000 (07:32 -0500)]
Issue #24750: Improve appearance of IDLE editor window status bar.
Patch by Mark Roseman.
Martin Panter [Mon, 16 Nov 2015 09:43:05 +0000 (09:43 +0000)]
Issue #20220: Merge time zone workaround from 3.5
Martin Panter [Mon, 16 Nov 2015 09:42:41 +0000 (09:42 +0000)]
Issue #20220: Merge time zone workaround from 3.4 into 3.5
Martin Panter [Mon, 16 Nov 2015 09:22:19 +0000 (09:22 +0000)]
Issue #20220: Revert time zone test debugging, revision
139c18943d9b
Serhiy Storchaka [Mon, 16 Nov 2015 09:20:17 +0000 (11:20 +0200)]
Issue #9051: Added tests for pickling and copying the timezone objects.
Serhiy Storchaka [Mon, 16 Nov 2015 09:19:31 +0000 (11:19 +0200)]
Issue #9051: Added tests for pickling and copying the timezone objects.
Serhiy Storchaka [Mon, 16 Nov 2015 09:12:58 +0000 (11:12 +0200)]
Issue #9051: Added tests for pickling and copying the timezone objects.
Martin Panter [Mon, 16 Nov 2015 07:21:38 +0000 (07:21 +0000)]
Issue #20220: Add DST rules to work around glibc quirk
This was triggering intermittent failures in unrelated tests.
Benjamin Peterson [Mon, 16 Nov 2015 05:57:50 +0000 (21:57 -0800)]
merge 3.5 (#25630)
Benjamin Peterson [Mon, 16 Nov 2015 05:57:39 +0000 (21:57 -0800)]
make the PyUnicode_FSConverter cleanup set the decrefed argument to NULL (closes #25630)
Gregory P. Smith [Mon, 16 Nov 2015 05:29:43 +0000 (21:29 -0800)]
Fixes #23564: Fix a partially broken sanity check in the _posixsubprocess
internals regarding how fds_to_pass were passed to the child. The bug
had no actual impact as subprocess.py already avoided it.
Gregory P. Smith [Mon, 16 Nov 2015 05:15:26 +0000 (21:15 -0800)]
Fixes #23564: Fix a partially broken sanity check in the _posixsubprocess
internals regarding how fds_to_pass were passed to the child. The bug
had no actual impact as subprocess.py already avoided it.