Commit graph

97420 commits

Author SHA1 Message Date
R David Murray
892dbd18e1 Merge: #22918: Drop obsolete mention of 'keys' in datamodel __iter__ docs. 2014-12-10 09:51:27 -05: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
Berker Peksag
0ecd7ba968 Issue #12602: Add missing cross-references to runpy and using/cmdline docs.
Patch by Éric Araujo.
2014-12-10 01:47:50 +02:00
Yury Selivanov
bd8d68cdc1 null merge with 3.4 2014-12-08 18:01:15 -05: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
a49d6a213e null merge with 3.4. 2014-12-08 12:40:53 -05:00
Yury Selivanov
e5dc1ce1d8 NEWS: Add news entry for issue #23009. 2014-12-08 12:37:47 -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
e3e8b07bcb merge 3.4 2014-12-07 17:26:43 -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
b9859daeeb merge 3.4 2014-12-06 11:37:18 -05: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
Terry Jan Reedy
3a12282ace Merge with 3.4. 2014-12-05 20:26:23 -05:00
Brett Cannon
9f7c7924c3 Merge with 3.4 2014-12-05 18:11:15 -05:00
Victor Stinner
cbc18f328c Issue #9647: os.confstr() ensures that the second call to confstr() returns the
same length.
2014-12-05 22:51:51 +01:00
Serhiy Storchaka
efb4835f36 Merge heads 2014-12-05 22:28:27 +02:00
Serhiy Storchaka
92bf919ed0 Issue #22581: Use more "bytes-like object" throughout the docs and comments. 2014-12-05 22:26:10 +02:00
Brett Cannon
d5ea39d1b8 Issue #22394: Add a 'venv' command to Doc/Makefile.
This will create a venv using the interpreter specified by the PYTHON
variable for the Makefile that also install Sphinx. Typical usage is
expected to be:

  cd Doc
  make venv PYTHON=../python
  make html PYTHON=venv/bin/python3
2014-12-05 15:17:31 -05:00
Brett Cannon
1a7b8d1439 Merge with 3.4 2014-12-05 11:01:30 -05: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
Terry Jan Reedy
02d37d5dd2 Merge with 3.4. Edit Menus section of Idle doc. 2014-12-05 02:43:29 -05:00
Terry Jan Reedy
5843a4b23d Merge from 3.4 after patch separately committed as 697adefaba6b. 2014-12-04 23:29:07 -05:00
Yury Selivanov
ed648a35ec docs.inspect: Fix BoundArguments example. Issue #22998. 2014-12-04 22:48:47 -05: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
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