]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
10 years agoIssue26748: Enum classes should evaluate as True
Ethan Furman [Thu, 14 Apr 2016 06:53:45 +0000 (23:53 -0700)] 
Issue26748: Enum classes should evaluate as True

10 years agoIssue26748: Enum classes should evaluate as True
Ethan Furman [Thu, 14 Apr 2016 06:52:09 +0000 (23:52 -0700)] 
Issue26748: Enum classes should evaluate as True

10 years agoIssue #26718: super.__init__ no longer leaks memory if called multiple times.
Serhiy Storchaka [Wed, 13 Apr 2016 12:27:33 +0000 (15:27 +0300)] 
Issue #26718: super.__init__ no longer leaks memory if called multiple times.
NOTE: A direct call of super.__init__ is not endorsed!

10 years ago[minor] - Correct the docstring of locale.str. Patch by poleto.
Senthil Kumaran [Wed, 13 Apr 2016 06:14:14 +0000 (23:14 -0700)] 
[minor] - Correct the docstring of locale.str. Patch by poleto.

10 years agoIssue #25496: Document compresslevel defaults to 9, by Hamza T Khan
Martin Panter [Wed, 13 Apr 2016 03:24:06 +0000 (03:24 +0000)] 
Issue #25496: Document compresslevel defaults to 9, by Hamza T Khan

10 years agoCloses #26624: Adds validation of ucrtbase[d].dll version with warning for old versions.
Steve Dower [Wed, 13 Apr 2016 03:11:25 +0000 (20:11 -0700)] 
Closes #26624: Adds validation of ucrtbase[d].dll version with warning for old versions.

10 years agoconfigure: fix HAVE_GETRANDOM_SYSCALL check
Victor Stinner [Tue, 12 Apr 2016 20:34:58 +0000 (22:34 +0200)] 
configure: fix HAVE_GETRANDOM_SYSCALL check

syscall() function requires #include <unistd.h>.

10 years agoFix os.urandom() on Solaris 11.3
Victor Stinner [Tue, 12 Apr 2016 20:28:49 +0000 (22:28 +0200)] 
Fix os.urandom() on Solaris 11.3

Issue #26735: Fix os.urandom() on Solaris 11.3 and newer when reading more than
1,024 bytes: call getrandom() multiple times with a limit of 1024 bytes per
call.

10 years agoIssue #26647: Fix typo in test_grammar
Victor Stinner [Tue, 12 Apr 2016 16:33:41 +0000 (18:33 +0200)] 
Issue #26647: Fix typo in test_grammar

Patch written by Demur Rumed.

10 years agoClarify greedy-qualifier example, avoid HTML.
Georg Brandl [Tue, 12 Apr 2016 05:51:41 +0000 (07:51 +0200)] 
Clarify greedy-qualifier example, avoid HTML.

10 years agoIssue #26733: Fixed formatting line numbers in test_dis.
Serhiy Storchaka [Tue, 12 Apr 2016 05:46:28 +0000 (08:46 +0300)] 
Issue #26733: Fixed formatting line numbers in test_dis.
Based on patch by Xiang Zhang.

10 years agoIssue #25910: Fixed more links in the docs.
Serhiy Storchaka [Mon, 11 Apr 2016 14:32:33 +0000 (17:32 +0300)] 
Issue #25910: Fixed more links in the docs.

10 years agotyping doc: add versionadded 3.5
Victor Stinner [Mon, 11 Apr 2016 14:23:22 +0000 (16:23 +0200)] 
typing doc: add versionadded 3.5

10 years agoAdd a versionchanged directive to document addition of the new 'namereplace' error...
Berker Peksag [Mon, 11 Apr 2016 10:49:46 +0000 (13:49 +0300)] 
Add a versionchanged directive to document addition of the new 'namereplace' error handler.

Reported by Robert on docs@p.o.

10 years agoMerge heads
Serhiy Storchaka [Mon, 11 Apr 2016 09:38:54 +0000 (12:38 +0300)] 
Merge heads

10 years agoFix typos in mock and exceptions docs
Berker Peksag [Mon, 11 Apr 2016 09:23:04 +0000 (12:23 +0300)] 
Fix typos in mock and exceptions docs

The default value of __len__ is 0, not 1:

    >>> from unittest.mock import MagicMock
    >>> mock = MagicMock()
    >>> len(mock)
    0

Reported by Alex on docs@p.o.

Remove the remaining VMSError reference. VMS support is gone.

10 years agoIssue #25910: Fixed dead links in the docs.
Serhiy Storchaka [Mon, 11 Apr 2016 09:18:56 +0000 (12:18 +0300)] 
Issue #25910: Fixed dead links in the docs.

10 years agoIssue #26200: Restored more safe usages of Py_SETREF.
Serhiy Storchaka [Mon, 11 Apr 2016 06:53:37 +0000 (09:53 +0300)] 
Issue #26200: Restored more safe usages of Py_SETREF.

10 years agoIssue #14456: Remove contradiction about blocking signals from bad merge
Martin Panter [Mon, 11 Apr 2016 02:44:34 +0000 (02:44 +0000)] 
Issue #14456: Remove contradiction about blocking signals from bad merge

10 years agoIssue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
Serhiy Storchaka [Sun, 10 Apr 2016 15:05:40 +0000 (18:05 +0300)] 
Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
in places where Py_DECREF was used.

10 years agoIssue #26719: More efficient formatting of ints and floats in json.
Serhiy Storchaka [Sun, 10 Apr 2016 11:41:19 +0000 (14:41 +0300)] 
Issue #26719: More efficient formatting of ints and floats in json.

10 years agoIssue #25339: PYTHONIOENCODING now has priority over locale in setting the
Serhiy Storchaka [Sun, 10 Apr 2016 11:34:13 +0000 (14:34 +0300)] 
Issue #25339: PYTHONIOENCODING now has priority over locale in setting the
error handler for stdin and stdout.

10 years agoRemove relics of str8 (became bytes) and buffer (bytearray) type tests
Martin Panter [Sun, 10 Apr 2016 08:48:51 +0000 (08:48 +0000)] 
Remove relics of str8 (became bytes) and buffer (bytearray) type tests

Remove redundant tests now that str is unicode.

10 years agoIssue #26712: Unify (r)split, (l/r)strip tests into string_tests
Martin Panter [Sun, 10 Apr 2016 08:45:26 +0000 (08:45 +0000)] 
Issue #26712: Unify (r)split, (l/r)strip tests into string_tests

This eliminates a few redundant test cases.

10 years agoIssue #21069: Move test_fileno() from test_urllibnet and rewrite it
Martin Panter [Sat, 9 Apr 2016 14:03:17 +0000 (14:03 +0000)] 
Issue #21069: Move test_fileno() from test_urllibnet and rewrite it

* No longer attempts to close already freed socket file descriptor
* Use socket object to be compatible with Windows
* Do not use a timeout to avoid complication with non-blocking mode
* Use internal localhost server rather than depending on a third party
* Avoid trouble with buffered HTTP data by testing tunnelled CONNECT data

10 years agoIssue #26609: Fix HTTP server tests to request an absolute URL path
Martin Panter [Sat, 9 Apr 2016 04:56:10 +0000 (04:56 +0000)] 
Issue #26609: Fix HTTP server tests to request an absolute URL path

10 years agoUpdate fcntl doc: replace IOError with OSError
Victor Stinner [Sat, 9 Apr 2016 09:32:58 +0000 (11:32 +0200)] 
Update fcntl doc: replace IOError with OSError

Issue #26716. IOError is a deprecated alias to OSError since Python 3.3.

10 years agoIssue #17264: Fix cross refs and a markup error in extending/building.rst
Berker Peksag [Sat, 9 Apr 2016 06:08:05 +0000 (09:08 +0300)] 
Issue #17264: Fix cross refs and a markup error in extending/building.rst

10 years agoIssue #16329: Add .webm to mimetypes.types_map
Berker Peksag [Sat, 9 Apr 2016 05:00:20 +0000 (08:00 +0300)] 
Issue #16329: Add .webm to mimetypes.types_map

Patch by Giampaolo Rodola'.

10 years agoIssue #13952: Add .csv to mimetypes.types_map
Berker Peksag [Sat, 9 Apr 2016 04:52:05 +0000 (07:52 +0300)] 
Issue #13952: Add .csv to mimetypes.types_map

Patch by Geoff Wilson.

10 years agoIssue #26587: Remove an incorrect statement from the docs
Brett Cannon [Fri, 8 Apr 2016 22:06:54 +0000 (15:06 -0700)] 
Issue #26587: Remove an incorrect statement from the docs

10 years agoIssue #26709: Fixed Y2038 problem in loading binary PLists.
Serhiy Storchaka [Fri, 8 Apr 2016 12:00:02 +0000 (15:00 +0300)] 
Issue #26709: Fixed Y2038 problem in loading binary PLists.

10 years agoIssue #26257: Eliminate buffer_tests.py and fix ByteArrayAsStringTest
Martin Panter [Wed, 6 Apr 2016 06:37:17 +0000 (06:37 +0000)] 
Issue #26257: Eliminate buffer_tests.py and fix ByteArrayAsStringTest

ByteArrayAsStringTest.fixtype() was converting test data to bytes, not byte-
array, therefore many of the test cases inherited in this class were not
actually being run on the bytearray type.

The tests in buffer_tests.py were redundant with methods in string_tests
.MixinStrUnicodeUserStringTest and string_tests.CommonTest. These methods are
now moved into string_tests.BaseTest, where they will also get run for bytes
and bytearray.

This change also moves test_additional_split(), test_additional_rsplit(), and
test_strip() from CommonTest to BaseTest, meaning these tests are now run for
bytes and bytearray. I plan to eliminate redundancies with existing tests in
test_bytes.py soon.

10 years agoAdds version info to all signed binaries on Windows.
Steve Dower [Wed, 6 Apr 2016 19:35:24 +0000 (12:35 -0700)] 
Adds version info to all signed binaries on Windows.

10 years agoIssue #22570: Renamed Py_SETREF to Py_XSETREF.
Serhiy Storchaka [Wed, 6 Apr 2016 06:45:48 +0000 (09:45 +0300)] 
Issue #22570: Renamed Py_SETREF to Py_XSETREF.

10 years agoAdd Text=str. Make ItemsView derive from AbstractSet, not Set (which is the concrete...
Guido van Rossum [Tue, 5 Apr 2016 21:54:25 +0000 (14:54 -0700)] 
Add Text=str. Make ItemsView derive from AbstractSet, not Set (which is the concrete set).

10 years agoMany changes from the upstream repo (https://github.com/python/typing).
Guido van Rossum [Tue, 5 Apr 2016 15:28:52 +0000 (08:28 -0700)] 
Many changes from the upstream repo (https://github.com/python/typing).

This syncs to rev 7b43ada77821d23e55e3a4b35f6055a59b9e1ad7 there.

Summary:

- Add typing.DefaultDict (as a generic variant of collections.defaultdict).

- Use collections.Reversible if it exists (only relevant for Python 3.6).

- Revamped generic class behavior to conform to updated PEP 484.

- Improve speed of Generic.__new__.

- Make sure __init__ is called for new Generic instances. Fix issue #26391.

- Refactor async support to be compatible with 3.2, 3.3, 3.4.

- Remove 'io' and 're' from __all__ (they still exist, just not
  included by "import *"). Fix issue #26234.

- Change @overload -- you can now use it outside stubs (you still
  cannot call the decorated function though).

10 years agoIssue #6953: Rearrange and expand Readline module documentation
Martin Panter [Tue, 5 Apr 2016 07:37:22 +0000 (07:37 +0000)] 
Issue #6953: Rearrange and expand Readline module documentation

* Group functions into six new subsections
* Document the underlying Readline function or variable accessed
* get_history_length() returns the history file limit
* clear_history() is conditionally compiled in
* Clarify zero and one bases for history item indexes
* parse_and_bind() uses its argument directly as an init line
* Change "command line" to "line buffer" for consistency
* read_init_file() also executes the file
* read_history_file() replaces the previous history
* write_history_file() overwrites any existing file
* Differentiate history file lines from history list items, which could be
  multi-line
* Add more information about completion, also addressing Issue #10796
* libedit (Editline) may be used on any platform; detection is OS X specific

10 years agoFix typos in documentation and comments
Martin Panter [Tue, 5 Apr 2016 06:19:42 +0000 (06:19 +0000)] 
Fix typos in documentation and comments

10 years agoIssue #23735: Avoid sighandler_t Gnu-ism
Martin Panter [Sun, 3 Apr 2016 08:00:49 +0000 (08:00 +0000)] 
Issue #23735: Avoid sighandler_t Gnu-ism

10 years agoIssue #23735: Add SIGWINCH handler for Readline 6.3+ support, by Eric Price
Martin Panter [Sun, 3 Apr 2016 02:54:58 +0000 (02:54 +0000)] 
Issue #23735: Add SIGWINCH handler for Readline 6.3+ support, by Eric Price

10 years agoIssue #26586: Handle excessive header fields in http.server, by Xiang Zhang
Martin Panter [Sun, 3 Apr 2016 00:45:46 +0000 (00:45 +0000)] 
Issue #26586: Handle excessive header fields in http.server, by Xiang Zhang

10 years agoIssue #26679: Fix description of KEY_PPAGE and KEY_NPAGE constants
Berker Peksag [Sat, 2 Apr 2016 01:48:27 +0000 (04:48 +0300)] 
Issue #26679: Fix description of KEY_PPAGE and KEY_NPAGE constants

Patch by Robert Bachmann and SilentGhost.

10 years agoIssue #26688: Fix module name in mock docs
Berker Peksag [Sat, 2 Apr 2016 01:32:06 +0000 (04:32 +0300)] 
Issue #26688: Fix module name in mock docs

Patch by Ashley Anderson.

10 years agoIssue #26678: Fix indexing of datetime.tzinfo and timezone classes
Martin Panter [Fri, 1 Apr 2016 21:48:24 +0000 (21:48 +0000)] 
Issue #26678: Fix indexing of datetime.tzinfo and timezone classes

Also fix links to the “tzinfo” class and attributes.

10 years agoAdded a cookbook recipe for a logging context manager.
Vinay Sajip [Fri, 1 Apr 2016 22:13:01 +0000 (23:13 +0100)] 
Added a cookbook recipe for a logging context manager.

10 years agoasyncio: Don't log ConnectionAbortedError
Victor Stinner [Fri, 1 Apr 2016 19:43:39 +0000 (21:43 +0200)] 
asyncio: Don't log ConnectionAbortedError

Issue #26509: In fatal error handlers, don't log ConnectionAbortedError which
occur on Windows.

10 years agoasyncio: allow None as wait timeout
Victor Stinner [Fri, 1 Apr 2016 19:39:09 +0000 (21:39 +0200)] 
asyncio: allow None as wait timeout

Fix GH#325: Allow to pass None as a timeout value to disable timeout logic.

Change written by Andrew Svetlov and merged by Guido van Rossum.

10 years agoasyncio: sync overlapped.c with GitHub
Victor Stinner [Fri, 1 Apr 2016 19:37:41 +0000 (21:37 +0200)] 
asyncio: sync overlapped.c with GitHub

On Python 3.3, use aliases:

* PyMem_RawMalloc = PyMem_Malloc
* PyMem_RawFree = PyMem_Free

These aliases are not need in Python 3.5, but this change makes synchronization
of code base simpler.

10 years agoIssue #22854: Fix logic for skipping test
Martin Panter [Thu, 31 Mar 2016 21:05:31 +0000 (21:05 +0000)] 
Issue #22854: Fix logic for skipping test

10 years agoRemove redundant leading zeroes in PEP references.
Serhiy Storchaka [Thu, 31 Mar 2016 12:30:54 +0000 (15:30 +0300)] 
Remove redundant leading zeroes in PEP references.

10 years agoIssue #22854: Skip pipe seek tests on Windows
Martin Panter [Thu, 31 Mar 2016 10:31:30 +0000 (10:31 +0000)] 
Issue #22854: Skip pipe seek tests on Windows

10 years agoIssue #22854: Clarify documentation about UnsupportedOperation and add tests
Martin Panter [Thu, 31 Mar 2016 07:21:56 +0000 (07:21 +0000)] 
Issue #22854: Clarify documentation about UnsupportedOperation and add tests

Also change BufferedReader.writable() and BufferedWriter.readable() to always
return False.

10 years agoIssue #26492: Added additional tests for exhausted iterators of mutable sequences.
Serhiy Storchaka [Wed, 30 Mar 2016 18:01:26 +0000 (21:01 +0300)] 
Issue #26492: Added additional tests for exhausted iterators of mutable sequences.

10 years agoIssue #26494: Fixed crash on iterating exhausting iterators.
Serhiy Storchaka [Wed, 30 Mar 2016 17:40:02 +0000 (20:40 +0300)] 
Issue #26494: Fixed crash on iterating exhausting iterators.

Affected classes are generic sequence iterators, iterators of str, bytes,
bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding
views and os.scandir() iterator.

10 years agoFix typo in xml.dom.pulldom.rst
Berker Peksag [Wed, 30 Mar 2016 13:28:43 +0000 (16:28 +0300)] 
Fix typo in xml.dom.pulldom.rst

Reported by Matthew Cole on docs@p.o.

10 years agotest_urllibnet: set timeout on test_fileno()
Victor Stinner [Wed, 30 Mar 2016 00:19:01 +0000 (02:19 +0200)] 
test_urllibnet: set timeout on test_fileno()

Use the default timeout of 30 seconds to avoid blocking forever.

10 years agoFix ResourceWarning in test_unittest when interrupted
Victor Stinner [Tue, 29 Mar 2016 23:15:28 +0000 (01:15 +0200)] 
Fix ResourceWarning in test_unittest when interrupted

10 years agoIssue #25911: Backport os._DummyDirEntry fixes
Victor Stinner [Tue, 29 Mar 2016 11:38:22 +0000 (13:38 +0200)] 
Issue #25911: Backport os._DummyDirEntry fixes

* Fix test_os.BytesWalkTests on Windows
* Mimick better the reference os.DirEntry on Windows
* _DummyDirEntry now caches os.stat() result
* _DummyDirEntry constructor now tries to get os.stat()
* Fix os._DummyDirEntry.is_symlink(), don't follow symbolic links:
  use os.stat(path, follow_symlinks=False).

10 years agoIssue #26643: Add missing shutil resources to regrtest.py
Victor Stinner [Tue, 29 Mar 2016 11:33:35 +0000 (13:33 +0200)] 
Issue #26643: Add missing shutil resources to regrtest.py

10 years agoDocument None as timeout for asyncio.timeout()
Andrew Svetlov [Tue, 29 Mar 2016 06:39:02 +0000 (09:39 +0300)] 
Document None as timeout for asyncio.timeout()

10 years agoremove useless $ keyword (closes #17167)
Benjamin Peterson [Tue, 22 Mar 2016 05:31:02 +0000 (22:31 -0700)] 
remove useless $ keyword (closes #17167)

10 years agoUpgrade ensurepip._bundled pip to 8.1.1 and setuptools to 20.3
Donald Stufft [Thu, 17 Mar 2016 15:00:08 +0000 (11:00 -0400)] 
Upgrade ensurepip._bundled pip to 8.1.1 and setuptools to 20.3

10 years agoBacked out changeset 19a3e0e664af
Serhiy Storchaka [Tue, 8 Mar 2016 19:13:35 +0000 (21:13 +0200)] 
Backed out changeset 19a3e0e664af

10 years agoIssues #23808, #25911: Trying to fix walk tests on Windows.
Serhiy Storchaka [Tue, 8 Mar 2016 14:11:26 +0000 (16:11 +0200)] 
Issues #23808, #25911: Trying to fix walk tests on Windows.

On Windows a symlink can has the FILE_ATTRIBUTE_DIRECTORY flag.

10 years agoproperly use the ObjArgs variant of CallMethod in dictview binary operations (closes...
Benjamin Peterson [Fri, 4 Mar 2016 06:05:36 +0000 (22:05 -0800)] 
properly use the ObjArgs variant of CallMethod in dictview binary operations (closes #26478)

10 years agoIssue #26246: Set initial value of the hidden attr when creating copy button.
Berker Peksag [Wed, 2 Mar 2016 17:40:08 +0000 (19:40 +0200)] 
Issue #26246: Set initial value of the hidden attr when creating copy button.

Patch by Liang-Bo Wang.

10 years agoasyncio: Update 3.4 asyncio/test_tasks to upstream version
Yury Selivanov [Wed, 2 Mar 2016 15:33:22 +0000 (10:33 -0500)] 
asyncio: Update 3.4 asyncio/test_tasks to upstream version

10 years ago#26246: update copybutton.js after JQuery update. Patch by Liang-Bo Wang.
Ezio Melotti [Sat, 27 Feb 2016 06:39:36 +0000 (08:39 +0200)] 
#26246: update copybutton.js after JQuery update.  Patch by Liang-Bo Wang.

10 years agoopen the cert store readonly
Benjamin Peterson [Thu, 18 Feb 2016 06:13:19 +0000 (22:13 -0800)] 
open the cert store readonly

Patch from Chi Hsuan Yen.

10 years agoreject negative data_size
Benjamin Peterson [Fri, 22 Jan 2016 06:02:46 +0000 (22:02 -0800)] 
reject negative data_size

10 years agoUpgrade pip to 8.0.2
Donald Stufft [Fri, 22 Jan 2016 02:55:32 +0000 (21:55 -0500)] 
Upgrade pip to 8.0.2

10 years agoprevent buffer overflow in get_data (closes #26171)
Benjamin Peterson [Thu, 21 Jan 2016 06:23:44 +0000 (22:23 -0800)] 
prevent buffer overflow in get_data (closes #26171)

10 years agofix refleak in error condition
Benjamin Peterson [Thu, 21 Jan 2016 06:06:43 +0000 (22:06 -0800)] 
fix refleak in error condition

10 years agoremove script from epub (closes #26172)
Benjamin Peterson [Thu, 21 Jan 2016 06:02:30 +0000 (22:02 -0800)] 
remove script from epub (closes #26172)

10 years agoUpdate pip to 8.0.0 and setuptools to 19.4
Donald Stufft [Wed, 20 Jan 2016 01:13:51 +0000 (20:13 -0500)] 
Update pip to 8.0.0 and setuptools to 19.4

10 years agoMake the error message regex more lenient so that it matches both
Gregory P. Smith [Sat, 16 Jan 2016 01:29:45 +0000 (17:29 -0800)] 
Make the error message regex more lenient so that it matches both
"certificate verify failed " and "CERTIFICATE_VERIFY_FAILED " as
some SSL libraries use different text than OpenSSL.

10 years agoIssue #25940: Merge ETIMEDOUT fix from 3.3 into 3.4
Martin Panter [Fri, 15 Jan 2016 02:18:31 +0000 (02:18 +0000)] 
Issue #25940: Merge ETIMEDOUT fix from 3.3 into 3.4

10 years agoIssue #25940: Merge ETIMEDOUT fix from 3.2 into 3.3
Martin Panter [Fri, 15 Jan 2016 02:08:13 +0000 (02:08 +0000)] 
Issue #25940: Merge ETIMEDOUT fix from 3.2 into 3.3

10 years agoIssue #25940: On Windows, connecting to port 444 returns ETIMEDOUT
Martin Panter [Fri, 15 Jan 2016 01:16:41 +0000 (01:16 +0000)] 
Issue #25940: On Windows, connecting to port 444 returns ETIMEDOUT

10 years agoIssue #25940: Update new SSL tests for self-signed.pythontest.net
Martin Panter [Thu, 14 Jan 2016 12:53:56 +0000 (12:53 +0000)] 
Issue #25940: Update new SSL tests for self-signed.pythontest.net

10 years agoIssue #25940: Merge self-signed.pythontest.net testing from 3.3 into 3.4
Martin Panter [Thu, 14 Jan 2016 12:46:49 +0000 (12:46 +0000)] 
Issue #25940: Merge self-signed.pythontest.net testing from 3.3 into 3.4

10 years agoIssue #25940: Merge self-signed.pythontest.net testing from 3.2 into 3.3
Martin Panter [Thu, 14 Jan 2016 12:21:02 +0000 (12:21 +0000)] 
Issue #25940: Merge self-signed.pythontest.net testing from 3.2 into 3.3

10 years agoIssue #25940: Use self-signed.pythontest.net in SSL tests
Martin Panter [Thu, 14 Jan 2016 09:36:00 +0000 (09:36 +0000)] 
Issue #25940: Use self-signed.pythontest.net in SSL tests

This is instead of svn.python.org, whose certificate recently expired, and
whose new certificate uses a different root certificate.

The certificate used at the pythontest server was modifed to set the "basic
constraints" CA flag. This flag seems to be required for test_get_ca_certs_
capath() to work (in Python 3.4+).

Added the new self-signed certificate to capath with the following commands:

cp Lib/test/{selfsigned_pythontestdotnet.pem,capath/}
c_rehash -v Lib/test/capath/
c_rehash -v -old Lib/test/capath/
# Note the generated file names
cp Lib/test/capath/{selfsigned_pythontestdotnet.pem,0e4015b9.0}
mv Lib/test/capath/{selfsigned_pythontestdotnet.pem,ce7b8643.0}

The new server responds with "No route to host" when connecting to port 444.

10 years agoIssue #26050: Add asyncio.StreamReader.readuntil() method.
Yury Selivanov [Mon, 11 Jan 2016 17:28:19 +0000 (12:28 -0500)] 
Issue #26050: Add asyncio.StreamReader.readuntil() method.

Patch by Марк Коренберг.

10 years agoDocument asyncio.timeout()
Andrew Svetlov [Mon, 11 Jan 2016 12:40:35 +0000 (14:40 +0200)] 
Document asyncio.timeout()

10 years agoSync with asyncio
Andrew Svetlov [Mon, 11 Jan 2016 10:25:23 +0000 (12:25 +0200)] 
Sync with asyncio

10 years agoSync with asyncio repo
Andrew Svetlov [Mon, 11 Jan 2016 06:42:49 +0000 (08:42 +0200)] 
Sync with asyncio repo

10 years agodelete old crypto prose (closes #26066)
Benjamin Peterson [Sun, 10 Jan 2016 07:55:47 +0000 (23:55 -0800)] 
delete old crypto prose (closes #26066)

10 years agofix typo in unittest docs (closes #26046)
Benjamin Peterson [Fri, 8 Jan 2016 06:01:26 +0000 (22:01 -0800)] 
fix typo in unittest docs (closes #26046)

Patch from Upendra Kumar.

10 years agoHopeful fix for test_rglob_common on Windows without symlinks.
Guido van Rossum [Thu, 7 Jan 2016 21:12:34 +0000 (13:12 -0800)] 
Hopeful fix for test_rglob_common on Windows without symlinks.

10 years agoAdd another try/except PermissionError to avoid depending on listdir order. Fix issue...
Guido van Rossum [Thu, 7 Jan 2016 18:56:36 +0000 (10:56 -0800)] 
Add another try/except PermissionError to avoid depending on listdir order. Fix issues #24120 and #26012.

10 years agoIssue16544 - Add a link to an external documentation resource in ast module docs.
Senthil Kumaran [Thu, 7 Jan 2016 05:26:53 +0000 (21:26 -0800)] 
Issue16544 - Add a link to an external documentation resource in ast module docs.

10 years agoAdd versionadded (3.4.5) to docs for issue #22570.
Guido van Rossum [Wed, 6 Jan 2016 19:23:31 +0000 (11:23 -0800)] 
Add versionadded (3.4.5) to docs for issue #22570.

10 years agoDocs for issue #22570.
Guido van Rossum [Wed, 6 Jan 2016 19:15:52 +0000 (11:15 -0800)] 
Docs for issue #22570.

10 years agoIssue #22570: Add 'path' attribute to pathlib.Path objects.
Guido van Rossum [Wed, 6 Jan 2016 19:01:42 +0000 (11:01 -0800)] 
Issue #22570: Add 'path' attribute to pathlib.Path objects.

10 years agoIssue #26012: Don't traverse into symlinks for ** pattern in pathlib.Path.[r]glob().
Guido van Rossum [Wed, 6 Jan 2016 18:31:33 +0000 (10:31 -0800)] 
Issue #26012: Don't traverse into symlinks for ** pattern in pathlib.Path.[r]glob().

10 years agoIssue #24120: Ignore PermissionError in pathlib.Path.[r]glob(). Ulrich Petri.
Guido van Rossum [Wed, 6 Jan 2016 17:42:07 +0000 (09:42 -0800)] 
Issue #24120: Ignore PermissionError in pathlib.Path.[r]glob(). Ulrich Petri.

10 years agoIssue24898 - Improve str.find documentation.
Senthil Kumaran [Mon, 4 Jan 2016 01:57:10 +0000 (17:57 -0800)] 
Issue24898 - Improve str.find documentation.

Simplify str.find explaination as per Georg Brandl's suggestion.

10 years agoIssue21221 - Explain the usage of tm_isdst attribute of mktime, with valid
Senthil Kumaran [Sun, 3 Jan 2016 08:40:03 +0000 (00:40 -0800)] 
Issue21221 - Explain the usage of tm_isdst attribute of mktime, with valid
values and meaning.

Patch contributed by Andrew Scheller.