Commit Graph

87536 Commits

Author SHA1 Message Date
Victor Stinner ba7c181513 Issue #22922: Fix ProactorEventLoop.close()
Call _stop_accept_futures() before sestting the _closed attribute, otherwise
call_soon() raises an error.
2014-12-05 01:25:21 +01:00
Victor Stinner d5ea5d528a Merge 3.4 (asyncio) 2014-12-04 23:08:37 +01:00
Terry Jan Reedy 74aee426c1 Merge with 3.4 2014-12-04 01:26:35 -05:00
Terry Jan Reedy c50041880d Merge with 3.4 2014-12-04 00:55:16 -05:00
Antoine Pitrou af12676659 Fix #22987: update the compatibility matrix for a SSLv23 client. 2014-12-03 20:03:11 +01:00
Serhiy Storchaka f4adbae927 Issue #14099: ZipFile.open() no longer reopen the underlying file. Objects
returned by ZipFile.open() can now operate independently of the ZipFile even
if the ZipFile was created by passing in a file-like object as the first
argument to the constructor.
2014-12-03 09:14:36 +02:00
Serhiy Storchaka 4954f9fcab Issue #17401: Output the closefd attribute as boolean. 2014-12-02 23:39:56 +02:00
Victor Stinner b16edc8087 Merge 3.4 (asyncio doc) 2014-12-02 18:01:07 +01:00
Victor Stinner 3bf4647152 Merge 3.4 (asyncio doc) 2014-12-02 17:52:57 +01:00
Barry Warsaw de010a9685 Merge 3.4. 2014-12-02 11:31:10 -05:00
Serhiy Storchaka 0b2cacb42a Issue #20335: bytes constructor now raises TypeError when encoding or errors
is specified with non-string argument.  Based on patch by Renaud Blanch.
2014-12-02 09:26:14 +02:00
Serhiy Storchaka 5d64858ac8 Moved Misc/NEWS entry to right section. 2014-12-02 09:13:10 +02:00
Antoine Pitrou 6cd5eda0dd Fix uninitialized variable after #22676. 2014-12-02 00:20:03 +01:00
Barry Warsaw 6f3eb39968 Trunk merge. 2014-12-01 18:17:29 -05:00
Barry Warsaw cfad816e40 Merge 3.4. 2014-12-01 18:16:12 -05:00
Barry Warsaw d32d4ae4ca - Issue #22966: Fix __pycache__ pyc file name clobber when pyc_compile is
asked to compile a source file containing multiple dots in the source file
  name.
2014-12-01 17:52:43 -05:00
Terry Jan Reedy d4c00d3a5c Remove spurious header in middle of Library section.
I suspect this was leftover from a merge conflict resolution.
2014-12-01 17:16:43 -05:00
Terry Jan Reedy 95df265e3a Merge with 3.4 2014-12-01 17:08:53 -05:00
Serhiy Storchaka 407249c62b Issue #22975: Close block at right place. 2014-12-01 18:56:54 +02:00
Serhiy Storchaka 83000a490a Removed duplicated words in in comments and docs. 2014-12-01 18:30:14 +02:00
Serhiy Storchaka 2205da43a6 Issue #21032. Fixed socket leak if HTTPConnection.getresponse() fails.
Original patch by Martin Panter.
2014-12-01 13:10:12 +02:00
Serhiy Storchaka 988e2cfb2b Fixed issue number in Misc/NEWS for issue #22407. 2014-12-01 12:47:16 +02:00
Serhiy Storchaka 22a309a434 Issue #21032: Deprecated the use of re.LOCALE flag with str patterns or
re.ASCII. It was newer worked.
2014-12-01 11:50:07 +02:00
Serhiy Storchaka 720b8c9dd7 Removed unused function linecol() (added in issue #22578 by mistake). 2014-12-01 11:25:21 +02:00
Serhiy Storchaka fb028336f9 Issue #22838: All test_re tests now work with unittest test discovery. 2014-12-01 11:08:27 +02:00
Serhiy Storchaka cac7ec485b Issue #22924: Scripts gprof2html.py and highlight.py now use html.escape()
instead of deperecated cgi.escape().  Original patch by Raymond Hettinger.
2014-12-01 10:51:37 +02:00
Serhiy Storchaka ac4aa7b6aa Issue #22902: The "ip" command is now used on Linux to determine MAC address
in uuid.getnode().  Pach by Bruno Cauet.
2014-11-30 20:39:04 +02:00
Benjamin Peterson 16e802f4ae merge 3.4 (#9179) 2014-11-30 11:51:16 -05:00
Benjamin Peterson 27ee75f191 merge 3.4 2014-11-29 23:38:23 -05:00
Benjamin Peterson e39bba2ab1 merge 3.4 (#22960) 2014-11-29 23:34:30 -05:00
Antoine Pitrou 3a9c68e608 Close issue #22895: fix test failure introduced by the fix for issue #22462. 2014-11-29 15:56:38 +01:00
Ned Deily df46e2a43b Issue #16113: Also remove test_case_sha3_224_huge 2014-11-28 15:22:15 -08:00
Raymond Hettinger 0badfd5989 Minor code cleanup. 2014-11-28 14:52:14 -08:00
Victor Stinner 73866efc34 Issue #22685, asyncio: resume_reading() must also be called in test_pause_reading() 2014-11-28 22:42:06 +01:00
Victor Stinner ddf3bc9078 Issue #22685, asyncio: mock also resume_reading in test_pause_reading() 2014-11-28 22:37:16 +01:00
Berker Peksag bb44fe0a0b Issue #22389: Add contextlib.redirect_stderr(). 2014-11-28 23:28:06 +02:00
Victor Stinner ae553eb794 Merge 3.4 (asyncio) 2014-11-28 18:02:16 +01:00
Victor Stinner 79d784ab7b (Merge 3.4) Closes #22348: Rephrase asyncio.StreamWriter.drain() documentation
Patch written by Martin Richard.
2014-11-28 17:46:05 +01:00
Victor Stinner 74210e1e0f (Merge 3.4) asyncio doc: reformat event loop policy doc 2014-11-28 13:58:53 +01:00
Victor Stinner beeb512fe1 Issue #21356: Make ssl.RAND_egd() optional to support LibreSSL. The
availability of the function is checked during the compilation.

Patch written by Bernard Spil.
2014-11-28 13:28:25 +01:00
Victor Stinner 07ff92a0d2 (Merge 3.4) asyncio doc: explain how to pass keywords to callbacks
(functools.partial)
2014-11-28 13:16:03 +01:00
Benjamin Peterson 2292defb3d merge 3.4 (#16561) 2014-11-27 20:41:36 -06:00
Serhiy Storchaka 0a99b2ab61 Issue #21280: Fixed a bug in shutil.make_archive() when create an archive of
current directory in current directory.
2014-11-28 00:49:50 +02:00
Serhiy Storchaka f1fc9fb33d Issue #22314: pydoc now works when the LINES environment variable is set. 2014-11-28 00:11:07 +02:00
Serhiy Storchaka 5916d53032 Issue #22915: SAX parser now supports files opened with file descriptor or
bytes path.
2014-11-27 22:14:30 +02:00
Serhiy Storchaka 715f01b565 Issue #21514: The documentation of the json module now refers to new JSON RFC
7159 instead of obsoleted RFC 4627.
2014-11-27 19:45:31 +02:00
Serhiy Storchaka f51f713f30 Issue #22609: Revert changes in UserDict. They conflicted with existing tests. 2014-11-27 17:46:15 +02:00
Serhiy Storchaka 8943ecfab2 Issue #22609: Constructors and update methods of mapping classes in the
collections module now accept the self keyword argument.
2014-11-27 16:35:26 +02:00
Zachary Ware f25e3bfefa Merge with 3.4 2014-11-26 23:56:10 -06:00
Ethan Furman 9b55089999 Issue22780: reword NotImplemented docs to emphasise should 2014-11-26 21:17:53 -08:00