Commit graph

43198 commits

Author SHA1 Message Date
Steve Dower
65e4cb10d9 Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), which will be used for the official 3.5 release. 2014-11-22 12:54:57 -08:00
Brett Cannon
92716777b8 Stop using a deprecated unittest.TestCase method. 2014-12-12 12:00:02 -05:00
Victor Stinner
ee2b237464 Merge 3.4 (test_selectors) 2014-12-12 12:58:45 +01:00
Victor Stinner
648b862017 Issue #22935: Fix test_ssl when the SSLv3 protocol is not supported 2014-12-12 12:23:59 +01:00
Serhiy Storchaka
d4a001b23c Issue #22095: Fixed HTTPConnection.set_tunnel with default port. The port
value in the host header was set to "None".  Patch by Demian Brecht.
2014-12-12 09:30:18 +02:00
Victor Stinner
d625a1819d Merge 3.4 (asyncio) 2014-12-11 23:30:31 +01:00
Victor Stinner
eb1a995a7c Issue #22823: Fix typo in unittest/mock.py 2014-12-11 22:25:49 +01:00
Victor Stinner
49784f4d14 Merge 3.4 (asyncio) 2014-12-11 22:23:28 +01:00
Terry Jan Reedy
6627902e0f Merge with 3.4 2014-12-11 05:33:49 -05:00
Serhiy Storchaka
c02d188a84 Issue #22823: Use set literals instead of creating a set from a list.
Fixed an output of sets in examples.
2014-12-11 10:28:14 +02:00
Serhiy Storchaka
927131e050 Issue #23016: A warning no longer produces an AttributeError when the program
is run with pythonw.exe.
2014-12-10 23:04:47 +02:00
Berker Peksag
5de4a3cfc5 Issue #21775: shutil.copytree(): fix crash when copying to VFAT
An exception handler assumed that that OSError objects always have a
'winerror' attribute. That is not the case, so the exception handler
itself raised AttributeError when run on Linux (and, presumably, any
other non-Windows OS).

Patch by Greg Ward.
2014-12-10 02:51:36 +02:00
Berker Peksag
0a2e874eea Issue #17554: Print "fetching <url> ..." messages only in verbose mode.
Patch by Ezio Melotti.
2014-12-10 02:34:11 +02:00
Yury Selivanov
ef1e750225 inspect: Fix getsource() to load updated source of reloaded module
Issue #1218234. Initial patch by Berker Peksag.
2014-12-08 16:05:34 -05:00
Yury Selivanov
b532df62b9 Issue #21740: Support wrapped callables in pydoc. Patch by Claudiu Popa. 2014-12-08 15:00:05 -05:00
Yury Selivanov
c57ca93a78 selectors: Fix typo in comment. 2014-12-08 12:30:28 -05:00
Yury Selivanov
7f98d3ecb8 selectors: Make sure EpollSelecrtor.select() works when no FD is registered.
Closes issue #23009.
2014-12-08 12:22:33 -05:00
Benjamin Peterson
074b95da48 merge 3.4 2014-12-07 13:47:39 -05:00
Benjamin Peterson
b46247bee5 merge 3.4 (#22959) 2014-12-07 13:47:34 -05:00
Antoine Pitrou
5db1bb81ff Issue #22696: Add function :func:sys.is_finalizing to know about interpreter shutdown. 2014-12-07 01:28:27 +01:00
Benjamin Peterson
22293df016 merge 3.4 (#22935) 2014-12-05 22:11:33 -05:00
Terry Jan Reedy
4becc38ad1 Update idlelib/NEWS.txt. 2014-12-05 20:51:08 -05:00
Benjamin Peterson
7eda940e1f merge 3.4 (#16043) 2014-12-05 20:36:07 -05:00
Serhiy Storchaka
92bf919ed0 Issue #22581: Use more "bytes-like object" throughout the docs and comments. 2014-12-05 22:26:10 +02:00
Victor Stinner
9d279b87d8 (Merge 3.4) Issue #22599: Enhance tokenize.open() to be able to call it during
Python finalization.

Before the module kept a reference to the builtins module, but the module
attributes are cleared during Python finalization. Instead, keep directly a
reference to the open() function.

This enhancement is not perfect, calling tokenize.open() can still fail if
called very late during Python finalization.  Usually, the function is called
by the linecache module which is called to display a traceback or emit a
warning.
2014-12-05 10:18:30 +01:00
Victor Stinner
96a4b5adfc Merge 3.4 (asyncio) 2014-12-05 01:44:31 +01:00
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
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
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
Antoine Pitrou
6cd5eda0dd Fix uninitialized variable after #22676. 2014-12-02 00:20:03 +01: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
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
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
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
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