]> granicus.if.org Git - python/log
python
9 years agoIssue #24272: Initial docs for typing.py (PEP 484). (Merge from 3.5.)
Guido van Rossum [Mon, 3 Aug 2015 20:39:12 +0000 (22:39 +0200)]
Issue #24272: Initial docs for typing.py (PEP 484). (Merge from 3.5.)

By Daniel Andrade Groppe and Ivan Levkivskyi.

9 years agoIssue #24272: Initial docs for typing.py (PEP 484).
Guido van Rossum [Mon, 3 Aug 2015 20:35:46 +0000 (22:35 +0200)]
Issue #24272: Initial docs for typing.py (PEP 484).

By Daniel Andrade Groppe and Ivan Levkivskyi.

9 years agowhatsnew/3.5,3.6: Mention that 'async' is a bad name for modules
Yury Selivanov [Mon, 3 Aug 2015 18:57:21 +0000 (14:57 -0400)]
whatsnew/3.5,3.6: Mention that 'async' is a bad name for modules

9 years agowhatsnew/3.5: Mention that 'async' is a bad name for modules
Yury Selivanov [Mon, 3 Aug 2015 18:55:58 +0000 (14:55 -0400)]
whatsnew/3.5: Mention that 'async' is a bad name for modules

9 years agoIssue #22397: Skip failing tests on AIX
Robert Collins [Sun, 2 Aug 2015 22:39:09 +0000 (10:39 +1200)]
Issue #22397: Skip failing tests on AIX

Patch from David Edelsohn.

9 years agoIssue #22397: Skip failing tests on AIX
Robert Collins [Sun, 2 Aug 2015 22:38:39 +0000 (10:38 +1200)]
Issue #22397: Skip failing tests on AIX

Patch from David Edelsohn.

9 years agoIssue #22397: Skip failing tests on AIX
Robert Collins [Sun, 2 Aug 2015 22:36:04 +0000 (10:36 +1200)]
Issue #22397: Skip failing tests on AIX

Patch from David Edelsohn.

9 years agoMerge 3.5
Yury Selivanov [Sun, 2 Aug 2015 20:49:56 +0000 (16:49 -0400)]
Merge 3.5

9 years agoMerge 3.4
Yury Selivanov [Sun, 2 Aug 2015 20:49:44 +0000 (16:49 -0400)]
Merge 3.4

9 years agoRevert da29a94367b2
Yury Selivanov [Sun, 2 Aug 2015 20:49:31 +0000 (16:49 -0400)]
Revert da29a94367b2

9 years agomerge 3.5 (#24217)
Benjamin Peterson [Sun, 2 Aug 2015 19:16:54 +0000 (12:16 -0700)]
merge 3.5 (#24217)

9 years agoMerge 3.4 (#24217)
Benjamin Peterson [Sun, 2 Aug 2015 19:16:45 +0000 (12:16 -0700)]
Merge 3.4 (#24217)

9 years agoinclude fcntl.h on all *nix platforms (closes #24217)
Benjamin Peterson [Sun, 2 Aug 2015 19:15:30 +0000 (12:15 -0700)]
include fcntl.h on all *nix platforms (closes #24217)

Patch by Jeffrey Armstrong.

9 years agoMerge 3.5
Yury Selivanov [Sun, 2 Aug 2015 14:25:06 +0000 (10:25 -0400)]
Merge 3.5

9 years agoMerge 3.4
Yury Selivanov [Sun, 2 Aug 2015 14:24:49 +0000 (10:24 -0400)]
Merge 3.4

9 years agoasyncio: Fix code style
Yury Selivanov [Sun, 2 Aug 2015 14:24:34 +0000 (10:24 -0400)]
asyncio: Fix code style

9 years agoRemove warning about asyncio being provisional (it's not in 3.5 and up; merge from...
Guido van Rossum [Sun, 2 Aug 2015 13:51:46 +0000 (15:51 +0200)]
Remove warning about asyncio being provisional (it's not in 3.5 and up; merge from 3.5).

9 years agoRemove warning about asyncio being provisional (it's not in 3.5 and up).
Guido van Rossum [Sun, 2 Aug 2015 13:50:27 +0000 (15:50 +0200)]
Remove warning about asyncio being provisional (it's not in 3.5 and up).

9 years agoIssue #20557: Use specific asserts in io tests.
Serhiy Storchaka [Sun, 2 Aug 2015 12:18:53 +0000 (15:18 +0300)]
Issue #20557: Use specific asserts in io tests.

9 years agoIssue #20557: Use specific asserts in io tests.
Serhiy Storchaka [Sun, 2 Aug 2015 12:18:28 +0000 (15:18 +0300)]
Issue #20557: Use specific asserts in io tests.

9 years agoIssue #20557: Use specific asserts in io tests.
Serhiy Storchaka [Sun, 2 Aug 2015 12:17:49 +0000 (15:17 +0300)]
Issue #20557: Use specific asserts in io tests.

9 years agoCloses #23182: Merge with 3.5
Zachary Ware [Sun, 2 Aug 2015 03:00:17 +0000 (22:00 -0500)]
Closes #23182: Merge with 3.5

9 years agoIssue #23182: Merge with 3.4
Zachary Ware [Sun, 2 Aug 2015 02:57:22 +0000 (21:57 -0500)]
Issue #23182: Merge with 3.4

9 years agoIssue #23182: PEP8-ify the annotation grammar tests. Patch by Ian Lee.
Zachary Ware [Sun, 2 Aug 2015 02:55:36 +0000 (21:55 -0500)]
Issue #23182: PEP8-ify the annotation grammar tests.  Patch by Ian Lee.

9 years agoCloses #23652: Merge with 3.5
Zachary Ware [Sun, 2 Aug 2015 02:38:53 +0000 (21:38 -0500)]
Closes #23652: Merge with 3.5

9 years agoIssue #23652: Merge with 3.4
Zachary Ware [Sun, 2 Aug 2015 02:38:04 +0000 (21:38 -0500)]
Issue #23652: Merge with 3.4

9 years agoIssue #23652: Make the select module compile against LSB headers.
Zachary Ware [Sun, 2 Aug 2015 02:34:05 +0000 (21:34 -0500)]
Issue #23652: Make the select module compile against LSB headers.
Patch by Matt Frank.

9 years agoMerge with 3.5
Terry Jan Reedy [Sat, 1 Aug 2015 23:15:28 +0000 (19:15 -0400)]
Merge with 3.5

9 years agoIssue 24745: Add ACKS entry.
Terry Jan Reedy [Sat, 1 Aug 2015 23:15:11 +0000 (19:15 -0400)]
Issue 24745: Add ACKS entry.

9 years agoIssue 24745: Add ACKS entry.
Terry Jan Reedy [Sat, 1 Aug 2015 23:12:37 +0000 (19:12 -0400)]
Issue 24745: Add ACKS entry.

9 years agoIssue 24745: Merge with 3.5
Terry Jan Reedy [Sat, 1 Aug 2015 22:58:42 +0000 (18:58 -0400)]
Issue 24745: Merge with 3.5

9 years agoIssue 24745: Merge with 3.4
Terry Jan Reedy [Sat, 1 Aug 2015 22:58:23 +0000 (18:58 -0400)]
Issue 24745: Merge with 3.4

9 years agoIssue 24745: Switch from Courier to platform-sensitive TkFixedFont as default
Terry Jan Reedy [Sat, 1 Aug 2015 22:57:33 +0000 (18:57 -0400)]
Issue 24745: Switch from Courier to platform-sensitive TkFixedFont as default
editor font.  This should not affect current customized font selections.
Patch by Mark Roseman.

9 years agoClarify comments on setentry invariants.
Raymond Hettinger [Sat, 1 Aug 2015 22:21:41 +0000 (15:21 -0700)]
Clarify comments on setentry invariants.

9 years agoMerge 3.5
Yury Selivanov [Sat, 1 Aug 2015 20:19:49 +0000 (16:19 -0400)]
Merge 3.5

9 years agodocs: Fix productionlist for async def functions
Yury Selivanov [Sat, 1 Aug 2015 20:19:36 +0000 (16:19 -0400)]
docs: Fix productionlist for async def functions

9 years agoFix comment typo
Raymond Hettinger [Sat, 1 Aug 2015 18:07:11 +0000 (11:07 -0700)]
Fix comment typo

9 years agoTweak the comments
Raymond Hettinger [Sat, 1 Aug 2015 17:57:42 +0000 (10:57 -0700)]
Tweak the comments

9 years agoIssue #24762: Speed-up frozenset_hash() and greatly beef-up the comments.
Raymond Hettinger [Sat, 1 Aug 2015 16:53:00 +0000 (09:53 -0700)]
Issue #24762:  Speed-up frozenset_hash() and greatly beef-up the comments.

9 years agoMerge with 3.5
Terry Jan Reedy [Sat, 1 Aug 2015 02:35:15 +0000 (22:35 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Sat, 1 Aug 2015 02:35:00 +0000 (22:35 -0400)]
Merge with 3.4

9 years agoIssue #21192: Idle Editor. When a file is run, put its name in the restart bar.
Terry Jan Reedy [Sat, 1 Aug 2015 02:34:37 +0000 (22:34 -0400)]
Issue #21192: Idle Editor. When a file is run, put its name in the restart bar.
Do not print false prompts. Original patch by Adnan Umer.

9 years agoMerge 3.5 (asyncio tests)
Victor Stinner [Fri, 31 Jul 2015 21:36:28 +0000 (23:36 +0200)]
Merge 3.5 (asyncio tests)

9 years agoMerge 3.4 (asyncio test)
Victor Stinner [Fri, 31 Jul 2015 21:36:15 +0000 (23:36 +0200)]
Merge 3.4 (asyncio test)

9 years agoIssue #24763: Fix asyncio test on Windows
Victor Stinner [Fri, 31 Jul 2015 21:36:00 +0000 (23:36 +0200)]
Issue #24763: Fix asyncio test on Windows

9 years agoIssue #22932: Fix timezones in email.utils.formatdate.
Robert Collins [Fri, 31 Jul 2015 20:20:04 +0000 (08:20 +1200)]
Issue #22932: Fix timezones in email.utils.formatdate.

Patch from Dmitry Shachnev.

9 years agoIssue #22932: Fix timezones in email.utils.formatdate.
Robert Collins [Fri, 31 Jul 2015 20:19:06 +0000 (08:19 +1200)]
Issue #22932: Fix timezones in email.utils.formatdate.

Patch from Dmitry Shachnev.

9 years agoIssue #22932: Fix timezones in email.utils.formatdate.
Robert Collins [Fri, 31 Jul 2015 20:18:22 +0000 (08:18 +1200)]
Issue #22932: Fix timezones in email.utils.formatdate.

Patch from Dmitry Shachnev.

9 years agoFix minor typo in a comment
Raymond Hettinger [Fri, 31 Jul 2015 19:03:20 +0000 (12:03 -0700)]
Fix minor typo in a comment

9 years agoMerge 3.5 (asyncio)
Victor Stinner [Fri, 31 Jul 2015 15:50:29 +0000 (17:50 +0200)]
Merge 3.5 (asyncio)

9 years agoMerge 3.4 (asyncio)
Victor Stinner [Fri, 31 Jul 2015 15:50:13 +0000 (17:50 +0200)]
Merge 3.4 (asyncio)

9 years agoFix ResourceWarning in asyncio.BaseSubprocessTransport
Victor Stinner [Fri, 31 Jul 2015 15:49:43 +0000 (17:49 +0200)]
Fix ResourceWarning in asyncio.BaseSubprocessTransport

Issue #24763: Fix resource warnings when asyncio.BaseSubprocessTransport
constructor fails, if subprocess.Popen raises an exception for example.

Patch written by Martin Richard, test written by me.

9 years agoIssue #24681: Move the most likely test first in set_add_entry().
Raymond Hettinger [Fri, 31 Jul 2015 14:58:56 +0000 (07:58 -0700)]
Issue #24681:  Move the most likely test first in set_add_entry().

9 years agoMerge with 3.5
Terry Jan Reedy [Fri, 31 Jul 2015 01:16:44 +0000 (21:16 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Fri, 31 Jul 2015 01:16:29 +0000 (21:16 -0400)]
Merge with 3.4

9 years agoIssue 24759: Gracefull exit Idle if ttk import fails.
Terry Jan Reedy [Fri, 31 Jul 2015 01:16:16 +0000 (21:16 -0400)]
Issue 24759: Gracefull exit Idle if ttk import fails.

9 years agoIssue #13248: Delete remaining references of inspect.getargspec().
Berker Peksag [Fri, 31 Jul 2015 01:11:29 +0000 (04:11 +0300)]
Issue #13248: Delete remaining references of inspect.getargspec().

Noticed by Yaroslav Halchenko.

9 years agoIssue #23779: imaplib raises TypeError if authenticator tries to abort.
Robert Collins [Thu, 30 Jul 2015 21:02:09 +0000 (09:02 +1200)]
Issue #23779: imaplib raises TypeError if authenticator tries to abort.

Patch from Craig Holmquist.

9 years agoIssue #23779: imaplib raises TypeError if authenticator tries to abort.
Robert Collins [Thu, 30 Jul 2015 21:01:38 +0000 (09:01 +1200)]
Issue #23779: imaplib raises TypeError if authenticator tries to abort.

Patch from Craig Holmquist.

9 years agoIssue #23779: imaplib raises TypeError if authenticator tries to abort.
Robert Collins [Thu, 30 Jul 2015 20:59:02 +0000 (08:59 +1200)]
Issue #23779: imaplib raises TypeError if authenticator tries to abort.

Patch from Craig Holmquist.

9 years agoMerge with 3.5
Terry Jan Reedy [Thu, 30 Jul 2015 20:44:55 +0000 (16:44 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Thu, 30 Jul 2015 20:44:41 +0000 (16:44 -0400)]
Merge with 3.4

9 years agoIssue #13884: Idle: Remove tearoff lines from menus. Patch by Roger Serwy.
Terry Jan Reedy [Thu, 30 Jul 2015 20:44:22 +0000 (16:44 -0400)]
Issue #13884: Idle: Remove tearoff lines from menus. Patch by Roger Serwy.

9 years agoUpdate default msvccompiler link options to match the options used for core builds.
Steve Dower [Thu, 30 Jul 2015 18:51:30 +0000 (11:51 -0700)]
Update default msvccompiler link options to match the options used for core builds.

9 years agoUpdate default msvccompiler link options to match the options used for core builds.
Steve Dower [Thu, 30 Jul 2015 18:51:06 +0000 (11:51 -0700)]
Update default msvccompiler link options to match the options used for core builds.
This ensures that wheels will work when moved to machines that have the same subset of the MSVC libraries as a regular CPython install. Specifically, vcruntime##0.dll may not be installed, and should not be a dependency.

9 years agoIssue #12160: Fix incorrect StreamCodec references in Codec.encode() and Codec.decode...
Berker Peksag [Thu, 30 Jul 2015 15:27:04 +0000 (18:27 +0300)]
Issue #12160: Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs.

It should StreamWriter for Codecs.encode() and StreamReader for Codec.decode().

Patch by Nick Weinhold.

9 years agoIssue #12160: Fix incorrect StreamCodec references in Codec.encode() and Codec.decode...
Berker Peksag [Thu, 30 Jul 2015 15:26:35 +0000 (18:26 +0300)]
Issue #12160: Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs.

It should StreamWriter for Codecs.encode() and StreamReader for Codec.decode().

Patch by Nick Weinhold.

9 years agoIssue #12160: Fix incorrect StreamCodec references in Codec.encode() and Codec.decode...
Berker Peksag [Thu, 30 Jul 2015 15:26:10 +0000 (18:26 +0300)]
Issue #12160: Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs.

It should StreamWriter for Codecs.encode() and StreamReader for Codec.decode().

Patch by Nick Weinhold.

9 years agoIssue #15582: Add a whatsnew entry for inspect.getdoc() changes in 3.5.
Berker Peksag [Thu, 30 Jul 2015 15:06:30 +0000 (18:06 +0300)]
Issue #15582: Add a whatsnew entry for inspect.getdoc() changes in 3.5.

Patch by Martin Panter.

9 years agoIssue #15582: Add a whatsnew entry for inspect.getdoc() changes in 3.5.
Berker Peksag [Thu, 30 Jul 2015 15:06:09 +0000 (18:06 +0300)]
Issue #15582: Add a whatsnew entry for inspect.getdoc() changes in 3.5.

Patch by Martin Panter.

9 years agoMerge 3.5 (os.urandom)
Victor Stinner [Thu, 30 Jul 2015 08:14:52 +0000 (10:14 +0200)]
Merge 3.5 (os.urandom)

9 years agopy_getrandom(): getrandom() *can* return EINTR
Victor Stinner [Thu, 30 Jul 2015 08:13:52 +0000 (10:13 +0200)]
py_getrandom(): getrandom() *can* return EINTR

See the latest version of getrandom() manual page:
http://man7.org/linux/man-pages/man2/getrandom.2.html#NOTES

    The behavior when a call to getrandom() that is blocked while reading from
    /dev/urandom is interrupted by a signal handler depends on the
    initialization state of the entropy buffer and on the request size, buflen.
    If the entropy is not yet initialized, then the call will fail with the
    EINTR error.  If the entropy pool has been initialized and the request size
    is large (buflen > 256), the call either succeeds, returning a partially
    filled buffer, or fails with the error EINTR.  If the entropy pool has been
    initialized and the request size is small (buflen <= 256), then getrandom()
    will not fail with EINTR.  Instead, it will return all of the bytes that
    have been requested.

Note: py_getrandom() calls getrandom() with flags=0.

9 years agoIssue #24109: Include Tools/scripts/diff.py instead of duplicating it in difflib...
Berker Peksag [Wed, 29 Jul 2015 21:04:11 +0000 (00:04 +0300)]
Issue #24109: Include Tools/scripts/diff.py instead of duplicating it in difflib documentation.

Patch by Keith Gray.

9 years agoIssue #24109: Include Tools/scripts/diff.py instead of duplicating it in difflib...
Berker Peksag [Wed, 29 Jul 2015 21:03:48 +0000 (00:03 +0300)]
Issue #24109: Include Tools/scripts/diff.py instead of duplicating it in difflib documentation.

Patch by Keith Gray.

9 years agoIssue #24360: Improve __repr__ of argparse.Namespace() for invalid identifiers.
Berker Peksag [Wed, 29 Jul 2015 20:51:47 +0000 (23:51 +0300)]
Issue #24360: Improve __repr__ of argparse.Namespace() for invalid identifiers.

Patch by Matthias Bussonnier.

9 years agoMerge with 3.5 for Issue #24729
Jason R. Coombs [Wed, 29 Jul 2015 18:29:47 +0000 (14:29 -0400)]
Merge with 3.5 for Issue #24729

9 years agoMerge with 3.4 for Issue #24729
Jason R. Coombs [Wed, 29 Jul 2015 18:29:26 +0000 (14:29 -0400)]
Merge with 3.4 for Issue #24729

9 years agoMerge
Jason R. Coombs [Wed, 29 Jul 2015 18:25:58 +0000 (14:25 -0400)]
Merge

9 years agoIssue #23589: Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan.
Robert Collins [Wed, 29 Jul 2015 18:20:21 +0000 (06:20 +1200)]
Issue #23589: Remove duplicate sentence from the FAQ.  Patch by Yongzhi Pan.

9 years agoIssue #23589: Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan.
Robert Collins [Wed, 29 Jul 2015 18:16:46 +0000 (06:16 +1200)]
Issue #23589: Remove duplicate sentence from the FAQ.  Patch by Yongzhi Pan.

9 years agoIssue #23589: Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan.
Robert Collins [Wed, 29 Jul 2015 18:14:32 +0000 (06:14 +1200)]
Issue #23589: Remove duplicate sentence from the FAQ.  Patch by Yongzhi Pan.

9 years agoIssue #24729: Correct reference to open function.
Jason R. Coombs [Wed, 29 Jul 2015 18:04:36 +0000 (14:04 -0400)]
Issue #24729: Correct reference to open function.

9 years agoMerge 3.5 (Misc/ACKS)
Victor Stinner [Wed, 29 Jul 2015 12:41:02 +0000 (14:41 +0200)]
Merge 3.5 (Misc/ACKS)

9 years agoMerge 3.4 (Misc/ACKS)
Victor Stinner [Wed, 29 Jul 2015 12:40:53 +0000 (14:40 +0200)]
Merge 3.4 (Misc/ACKS)

9 years agoIssue #23319: Add Matthieu Gautier to Misc/ACKS
Victor Stinner [Wed, 29 Jul 2015 12:40:38 +0000 (14:40 +0200)]
Issue #23319: Add Matthieu Gautier to Misc/ACKS

9 years agoMerge 3.5 (ctypes)
Victor Stinner [Wed, 29 Jul 2015 12:36:03 +0000 (14:36 +0200)]
Merge 3.5 (ctypes)

9 years agoMerge 3.4 (ctypes)
Victor Stinner [Wed, 29 Jul 2015 12:35:12 +0000 (14:35 +0200)]
Merge 3.4 (ctypes)

9 years agoIssue #23319: Fix ctypes.BigEndianStructure, swap correctly bytes. Patch
Victor Stinner [Wed, 29 Jul 2015 12:33:52 +0000 (14:33 +0200)]
Issue #23319: Fix ctypes.BigEndianStructure, swap correctly bytes. Patch
written by Matthieu Gautier.

9 years agoIssue #19450: merge from 3.5
Ned Deily [Wed, 29 Jul 2015 06:29:51 +0000 (23:29 -0700)]
Issue #19450: merge from 3.5

9 years agoIssue #19450: merge from 3.4
Ned Deily [Wed, 29 Jul 2015 06:25:41 +0000 (23:25 -0700)]
Issue #19450: merge from 3.4

9 years agoIssue #19450: Update OS X installer builds to use SQLite 3.8.11.
Ned Deily [Wed, 29 Jul 2015 06:22:23 +0000 (23:22 -0700)]
Issue #19450: Update OS X installer builds to use SQLite 3.8.11.

9 years agoIssue #23254: Document how to close the TCPServer listening socket.
Robert Collins [Wed, 29 Jul 2015 00:55:33 +0000 (12:55 +1200)]
Issue #23254: Document how to close the TCPServer listening socket.

Patch from Martin Panter.

9 years agoIssue #23254: Document how to close the TCPServer listening socket.
Robert Collins [Wed, 29 Jul 2015 00:53:30 +0000 (12:53 +1200)]
Issue #23254: Document how to close the TCPServer listening socket.

Patch from Martin Panter.

9 years agoIssue #23254: Document how to close the TCPServer listening socket.
Robert Collins [Wed, 29 Jul 2015 00:52:40 +0000 (12:52 +1200)]
Issue #23254: Document how to close the TCPServer listening socket.

Patch from Martin Panter.

9 years agoMerge 3.5 (doc)
Victor Stinner [Wed, 29 Jul 2015 00:29:54 +0000 (02:29 +0200)]
Merge 3.5 (doc)

9 years agoWhat's New in Python 3.5: document os.urandom() changes
Victor Stinner [Wed, 29 Jul 2015 00:28:32 +0000 (02:28 +0200)]
What's New in Python 3.5: document os.urandom() changes

9 years agoMerge 3.5 (doc)
Victor Stinner [Tue, 28 Jul 2015 23:41:34 +0000 (01:41 +0200)]
Merge 3.5 (doc)

9 years agoWhat's New in Python 3.5: document socket.sendall() change on timeout
Victor Stinner [Tue, 28 Jul 2015 23:41:25 +0000 (01:41 +0200)]
What's New in Python 3.5: document socket.sendall() change on timeout

9 years agoMerge 3.5 (doc)
Victor Stinner [Tue, 28 Jul 2015 23:39:30 +0000 (01:39 +0200)]
Merge 3.5 (doc)

9 years agoWhat's New in Python 3.5: Document ssl methods change on timeout
Victor Stinner [Tue, 28 Jul 2015 23:39:13 +0000 (01:39 +0200)]
What's New in Python 3.5: Document ssl methods change on timeout