]> granicus.if.org Git - python/log
python
9 years agoMerge with 3.4
Terry Jan Reedy [Sat, 21 Nov 2015 00:37:00 +0000 (19:37 -0500)]
Merge with 3.4

9 years agoIssue #24455: Prevent IDLE from hanging when a) closing the shell while the
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.

9 years agoClose issue25594: advise against accessing Enum members from other members
Ethan Furman [Fri, 20 Nov 2015 21:17:27 +0000 (13:17 -0800)]
Close issue25594: advise against accessing Enum members from other members

9 years agoMerge 3.4
Yury Selivanov [Fri, 20 Nov 2015 17:57:47 +0000 (12:57 -0500)]
Merge 3.4

9 years agoasyncio: Fix with github
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

9 years agoMerge 3.4
Yury Selivanov [Fri, 20 Nov 2015 17:44:03 +0000 (12:44 -0500)]
Merge 3.4

9 years agoasyncio.tests: Fix whitespace
Yury Selivanov [Fri, 20 Nov 2015 17:43:52 +0000 (12:43 -0500)]
asyncio.tests: Fix whitespace

9 years agoMerge 3.4
Yury Selivanov [Fri, 20 Nov 2015 17:41:43 +0000 (12:41 -0500)]
Merge 3.4

9 years agoasyncio: Drop "value" parameter from Task._step method.
Yury Selivanov [Fri, 20 Nov 2015 17:41:03 +0000 (12:41 -0500)]
asyncio: Drop "value" parameter from Task._step method.

9 years agoMerge 3.4
Yury Selivanov [Fri, 20 Nov 2015 17:39:51 +0000 (12:39 -0500)]
Merge 3.4

9 years agoasyncio: Sync with github
Yury Selivanov [Fri, 20 Nov 2015 17:39:43 +0000 (12:39 -0500)]
asyncio: Sync with github

9 years agoMerge with 3.4
Terry Jan Reedy [Fri, 20 Nov 2015 17:22:06 +0000 (12:22 -0500)]
Merge with 3.4

9 years agoMake it slightly clearer that IDLE close message is referring to user program,
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.

9 years agoIssue #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.

9 years agoMerge: #25679: spelling fix
R David Murray [Fri, 20 Nov 2015 14:58:51 +0000 (09:58 -0500)]
Merge: #25679: spelling fix

9 years ago#25679: spelling fix
R David Murray [Fri, 20 Nov 2015 14:57:20 +0000 (09:57 -0500)]
#25679: spelling fix

9 years agoIssue #25670: Remove duplicate getattr() from ast.NodeTransformer
Victor Stinner [Fri, 20 Nov 2015 07:49:58 +0000 (08:49 +0100)]
Issue #25670: Remove duplicate getattr() from ast.NodeTransformer

9 years agoIssue #25583: Merge makedirs fix from 3.4 into 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

9 years agoIssue #25593: Change semantics of EventLoop.stop(). (Merge 3.4->3.5)
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)

9 years agoIssue #25593: Change semantics of EventLoop.stop().
Guido van Rossum [Thu, 19 Nov 2015 21:28:47 +0000 (13:28 -0800)]
Issue #25593: Change semantics of EventLoop.stop().

9 years agoIssue #25665: Make NamedTuple picklable.
Guido van Rossum [Thu, 19 Nov 2015 16:16:31 +0000 (08:16 -0800)]
Issue #25665: Make NamedTuple picklable.

9 years agoRemove unused imports from test_typing.py.
Guido van Rossum [Thu, 19 Nov 2015 05:18:51 +0000 (21:18 -0800)]
Remove unused imports from test_typing.py.

9 years agoIssue #25472: In B[<type>], insert B in front of __bases__, to make the __dict__...
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.

9 years agoIssue #25583: Avoid incorrect errors raised by os.makedirs(exist_ok=True)
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)

9 years agoMerge 3.4
Yury Selivanov [Wed, 18 Nov 2015 17:44:49 +0000 (12:44 -0500)]
Merge 3.4

9 years agoasyncio.docs: Fix versionadded
Yury Selivanov [Wed, 18 Nov 2015 17:44:31 +0000 (12:44 -0500)]
asyncio.docs: Fix versionadded

9 years agoasyncio: Error if awaiting in parallel on the same coroutine
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.

9 years agoasyncio: Error if awaiting in parallel on the same coroutine
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.

9 years agoIssue #23200: Merge zlib doc from 3.4 into 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

9 years agoIssue #23200: Document that max_length=0 is not supported
Martin Panter [Wed, 18 Nov 2015 00:59:17 +0000 (00:59 +0000)]
Issue #23200: Document that max_length=0 is not supported

9 years agoIssue #20468: Merge getpagesize doc from 3.4 into 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

9 years agoIssue #20468: Remove incorrect information about maxrss and page size
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.

9 years agoMerge 3.4
Yury Selivanov [Tue, 17 Nov 2015 17:20:02 +0000 (12:20 -0500)]
Merge 3.4

9 years agoasyncio: Cleanup Future API
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.

9 years agoMerge 3.4
Yury Selivanov [Tue, 17 Nov 2015 17:02:32 +0000 (12:02 -0500)]
Merge 3.4

9 years agoasyncio: Sync with github
Yury Selivanov [Tue, 17 Nov 2015 17:02:21 +0000 (12:02 -0500)]
asyncio: Sync with github

9 years agoIssue #25615: Merge glob doc from 3.4 into 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

9 years agoIssue #25615: Document unsorted behaviour of glob; patch by Dave Jones
Martin Panter [Mon, 16 Nov 2015 23:46:22 +0000 (23:46 +0000)]
Issue #25615: Document unsorted behaviour of glob; patch by Dave Jones

9 years agoMerge 3.4
Yury Selivanov [Mon, 16 Nov 2015 20:12:44 +0000 (15:12 -0500)]
Merge 3.4

9 years agoasyncio: Optimize Task._wakeup
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.

9 years agoasyncio.docs: Document Transport.is_closing (merge 3.4)
Yury Selivanov [Mon, 16 Nov 2015 17:47:15 +0000 (12:47 -0500)]
asyncio.docs: Document Transport.is_closing (merge 3.4)

9 years agoasyncio.docs: Document Transport.is_closing
Yury Selivanov [Mon, 16 Nov 2015 17:46:41 +0000 (12:46 -0500)]
asyncio.docs: Document Transport.is_closing

9 years agoMerge 3.4
Yury Selivanov [Mon, 16 Nov 2015 17:43:35 +0000 (12:43 -0500)]
Merge 3.4

9 years agoasyncio: Add Transport.is_closing()
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.

9 years agoIssue #25498: Fixed contributors name.
Serhiy Storchaka [Mon, 16 Nov 2015 16:45:39 +0000 (18:45 +0200)]
Issue #25498: Fixed contributors name.

9 years agoIssue #25498: Fixed contributors name.
Serhiy Storchaka [Mon, 16 Nov 2015 16:45:23 +0000 (18:45 +0200)]
Issue #25498: Fixed contributors name.

9 years agoMerge with 3.4
Terry Jan Reedy [Mon, 16 Nov 2015 12:36:33 +0000 (07:36 -0500)]
Merge with 3.4

9 years agoIssue #24750: whitespace
Terry Jan Reedy [Mon, 16 Nov 2015 12:36:22 +0000 (07:36 -0500)]
Issue #24750: whitespace

9 years agoMerge with 3.4
Terry Jan Reedy [Mon, 16 Nov 2015 12:32:46 +0000 (07:32 -0500)]
Merge with 3.4

9 years agoIssue #24750: Improve appearance of IDLE editor window status bar.
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.

9 years agoIssue #20220: Merge time zone workaround from 3.4 into 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

9 years agoIssue #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.

9 years agoIssue #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.

9 years agoIssue #20220: Add DST rules to work around glibc quirk
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.

9 years agomake the PyUnicode_FSConverter cleanup set the decrefed argument to NULL (closes...
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)

9 years agoFixes #23564: Fix a partially broken sanity check in the _posixsubprocess
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.

9 years agoFix issue #6973: When we know a subprocess.Popen process has died, do
Gregory P. Smith [Mon, 16 Nov 2015 02:26:11 +0000 (18:26 -0800)]
Fix issue #6973: When we know a subprocess.Popen process has died, do
not allow the send_signal(), terminate(), or kill() methods to do
anything as they could potentially signal a different process.

9 years agoFix issue #6973: When we know a subprocess.Popen process has died, do
Gregory P. Smith [Mon, 16 Nov 2015 02:19:10 +0000 (18:19 -0800)]
Fix issue #6973: When we know a subprocess.Popen process has died, do
not allow the send_signal(), terminate(), or kill() methods to do
anything as they could potentially signal a different process.

9 years agomerge 3.4 (#25578)
Benjamin Peterson [Sat, 14 Nov 2015 23:14:42 +0000 (15:14 -0800)]
merge 3.4 (#25578)

9 years agorm trailing ws
Benjamin Peterson [Sat, 14 Nov 2015 23:12:38 +0000 (15:12 -0800)]
rm trailing ws

9 years agofix possible memory lea k in _get_aia_uri (closes #25578)
Benjamin Peterson [Sat, 14 Nov 2015 23:12:18 +0000 (15:12 -0800)]
fix possible memory lea k in _get_aia_uri (closes #25578)

9 years agoIssue #25388: Fixed tokenizer crash when processing undecodable source code
Serhiy Storchaka [Sat, 14 Nov 2015 13:11:17 +0000 (15:11 +0200)]
Issue #25388: Fixed tokenizer crash when processing undecodable source code
with a null byte.

9 years agoIssue #25388: Fixed tokenizer crash when processing undecodable source code
Serhiy Storchaka [Sat, 14 Nov 2015 13:10:35 +0000 (15:10 +0200)]
Issue #25388: Fixed tokenizer crash when processing undecodable source code
with a null byte.

9 years agomerge 3.4 (#25569)
Benjamin Peterson [Sat, 14 Nov 2015 08:11:09 +0000 (00:11 -0800)]
merge 3.4 (#25569)

9 years agofix build with older openssl (#25569)
Benjamin Peterson [Sat, 14 Nov 2015 08:09:22 +0000 (00:09 -0800)]
fix build with older openssl (#25569)

9 years agoFix grammar in whatsnew/3.5.rst and elsewhere
Martin Panter [Sat, 14 Nov 2015 01:14:54 +0000 (01:14 +0000)]
Fix grammar in whatsnew/3.5.rst and elsewhere

Mainly missing grammatical articles (the, a).

9 years agoMerge typo and grammar fixes from 3.4 into 3.5
Martin Panter [Sat, 14 Nov 2015 01:14:25 +0000 (01:14 +0000)]
Merge typo and grammar fixes from 3.4 into 3.5

9 years agoFix a few grammar problems in the documentation and comments
Martin Panter [Sat, 14 Nov 2015 01:07:43 +0000 (01:07 +0000)]
Fix a few grammar problems in the documentation and comments

9 years agoCorrect Content-Type syntax in documentation
Martin Panter [Sat, 14 Nov 2015 00:58:32 +0000 (00:58 +0000)]
Correct Content-Type syntax in documentation

9 years agoIssue #25590: Merge rlcompleter change from 3.4 into 3.5
Martin Panter [Fri, 13 Nov 2015 23:10:39 +0000 (23:10 +0000)]
Issue #25590: Merge rlcompleter change from 3.4 into 3.5

9 years agoIssue #25590: Make rlcompleter only call getattr() once per attribute
Martin Panter [Fri, 13 Nov 2015 22:47:00 +0000 (22:47 +0000)]
Issue #25590: Make rlcompleter only call getattr() once per attribute

Previously it was called another time via hasattr(), and both calls were
made once for dir(f) and again for dir(f.__class__).  This includes a
backport of changing from a list to a set from revision 4dbb315fe667.

9 years agoIssue #25498: Update error message for 3.5
Martin Panter [Fri, 13 Nov 2015 22:12:58 +0000 (22:12 +0000)]
Issue #25498: Update error message for 3.5

9 years agoIssue #25498: Merge ctypes crash fix from 3.4 into 3.5
Martin Panter [Fri, 13 Nov 2015 22:12:12 +0000 (22:12 +0000)]
Issue #25498: Merge ctypes crash fix from 3.4 into 3.5

9 years agoIssue #25498: Fix GC crash due to ctypes objects wrapping a memoryview
Martin Panter [Fri, 13 Nov 2015 21:43:39 +0000 (21:43 +0000)]
Issue #25498: Fix GC crash due to ctypes objects wrapping a memoryview

This was a regression caused by revision 1da9630e9b7f.  Based on patch by
Eryksun.

9 years agoMerge 3.4
Yury Selivanov [Fri, 13 Nov 2015 17:29:03 +0000 (12:29 -0500)]
Merge 3.4

9 years agoasyncio: Fix sporadic failing unittests in debug mode
Yury Selivanov [Fri, 13 Nov 2015 17:28:48 +0000 (12:28 -0500)]
asyncio: Fix sporadic failing unittests in debug mode

9 years agoIssue #25462: The hash of the key now is calculated only once in most
Serhiy Storchaka [Fri, 13 Nov 2015 12:48:36 +0000 (14:48 +0200)]
Issue #25462: The hash of the key now is calculated only once in most
operations in C implementation of OrderedDict.

9 years agoMerge 3.4 (issue #25605)
Victor Stinner [Fri, 13 Nov 2015 08:14:05 +0000 (09:14 +0100)]
Merge 3.4 (issue #25605)

9 years agoIssue #25605: Document exceptions raised by fcntl.ioctl() and fcntl.flock()
Victor Stinner [Fri, 13 Nov 2015 08:13:48 +0000 (09:13 +0100)]
Issue #25605: Document exceptions raised by fcntl.ioctl() and fcntl.flock()

9 years agoMerge with 3.4
Terry Jan Reedy [Thu, 12 Nov 2015 20:24:50 +0000 (15:24 -0500)]
Merge with 3.4

9 years agoIndent
Terry Jan Reedy [Thu, 12 Nov 2015 20:24:33 +0000 (15:24 -0500)]
Indent

9 years agoMerge with 3.4
Terry Jan Reedy [Thu, 12 Nov 2015 20:06:20 +0000 (15:06 -0500)]
Merge with 3.4

9 years agoWhitespace
Terry Jan Reedy [Thu, 12 Nov 2015 20:06:07 +0000 (15:06 -0500)]
Whitespace

9 years agoMerge with 3.4
Terry Jan Reedy [Thu, 12 Nov 2015 20:03:17 +0000 (15:03 -0500)]
Merge with 3.4

9 years agoIssue #25313: Change the handling of new built-in text color themes to better
Terry Jan Reedy [Thu, 12 Nov 2015 20:02:57 +0000 (15:02 -0500)]
Issue #25313: Change the handling of new built-in text color themes to better
address the compatibility problem introduced by the addition of IDLE Dark.
Consistently use the revised idleConf.CurrentTheme everywhere in idlelib.

9 years agoIssue #25607: Restore old distutils logging threshold after running tests that
Serhiy Storchaka [Thu, 12 Nov 2015 17:47:14 +0000 (19:47 +0200)]
Issue #25607: Restore old distutils logging threshold after running tests that
parse command line arguments.

9 years agoIssue #25607: Restore old distutils logging threshold after running tests that
Serhiy Storchaka [Thu, 12 Nov 2015 17:46:23 +0000 (19:46 +0200)]
Issue #25607: Restore old distutils logging threshold after running tests that
parse command line arguments.

9 years agoRestore old distutils logging threshold after running test_log.
Serhiy Storchaka [Thu, 12 Nov 2015 11:15:56 +0000 (13:15 +0200)]
Restore old distutils logging threshold after running test_log.

9 years agoRestore old distutils logging threshold after running test_log.
Serhiy Storchaka [Thu, 12 Nov 2015 11:15:41 +0000 (13:15 +0200)]
Restore old distutils logging threshold after running test_log.

9 years agoIssue #22995: Default implementation of __reduce__ and __reduce_ex__ now
Serhiy Storchaka [Thu, 12 Nov 2015 09:31:51 +0000 (11:31 +0200)]
Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now
rejects builtin types with not defined __new__.
Added tests for non-pickleable types.

9 years agoIssue #22995: Default implementation of __reduce__ and __reduce_ex__ now
Serhiy Storchaka [Thu, 12 Nov 2015 09:23:04 +0000 (11:23 +0200)]
Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now
rejects builtin types with not defined __new__.
Added tests for non-pickleable types.

9 years agomerge 3.4 (#25530)
Benjamin Peterson [Thu, 12 Nov 2015 06:45:22 +0000 (22:45 -0800)]
merge 3.4 (#25530)

9 years agoalways set OP_NO_SSLv3 by default (closes #25530)
Benjamin Peterson [Thu, 12 Nov 2015 06:38:41 +0000 (22:38 -0800)]
always set OP_NO_SSLv3 by default (closes #25530)

9 years agomerge 3.5 (#25569)
Benjamin Peterson [Thu, 12 Nov 2015 06:14:08 +0000 (22:14 -0800)]
merge 3.5 (#25569)

9 years agofix memory leak in _get_crl_dp (closes #25569)
Benjamin Peterson [Thu, 12 Nov 2015 06:07:38 +0000 (22:07 -0800)]
fix memory leak in _get_crl_dp (closes #25569)

Patch started by Stéphane Wirtel.

9 years agoMerge with 3.4
Zachary Ware [Thu, 12 Nov 2015 05:33:50 +0000 (23:33 -0600)]
Merge with 3.4

9 years agoRewrite re.VERBOSE section.
Zachary Ware [Thu, 12 Nov 2015 05:32:14 +0000 (23:32 -0600)]
Rewrite re.VERBOSE section.

It now has slightly better rationale and a less awkward wording in the
explanation.

Inspired by a report of a neither/or conflict by 'animalize' on docs@.

9 years agoIssue #25603: Add missing parenthesis.
Zachary Ware [Thu, 12 Nov 2015 04:59:44 +0000 (22:59 -0600)]
Issue #25603: Add missing parenthesis.

9 years agoFix awkward grammar in whatsnew.
Zachary Ware [Thu, 12 Nov 2015 04:53:47 +0000 (22:53 -0600)]
Fix awkward grammar in whatsnew.

Reported on docs@ by Keith Briggs.

9 years agoIssue #25595: Fixed test_deleted_cwd in test_importlib on AIX.
Serhiy Storchaka [Wed, 11 Nov 2015 06:26:59 +0000 (08:26 +0200)]
Issue #25595: Fixed test_deleted_cwd in test_importlib on AIX.