Commit Graph

87427 Commits

Author SHA1 Message Date
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
Yury Selivanov
d60ef4aa9d selectors: Make sure EpollSelecrtor.select() works when no FD is registered.
Closes issue #23009.
2014-12-08 12:21:58 -05:00
Benjamin Peterson
e3e8b07bcb merge 3.4 2014-12-07 17:26:43 -05:00
Benjamin Peterson
e3b743cd3e fix reference by adding module name 2014-12-07 17:26:38 -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
Benjamin Peterson
b666697fa8 use context's check_hostname attribute rather than the HTTPSHandler check_hostname parameter 2014-12-07 13:46:02 -05:00
Benjamin Peterson
a090f01bb6 HTTPSConnection: prefer the context's check_hostname attribute over the constructor parameter (#22959) 2014-12-07 13:18:25 -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
b92fd01189 note that sslv3 may not be available 2014-12-06 11:36:32 -05:00
Benjamin Peterson
22293df016 merge 3.4 (#22935) 2014-12-05 22:11:33 -05:00
Benjamin Peterson
e32467cf6a allow ssl module to compile if openssl doesn't support SSL 3 (closes #22935)
Patch by Kurt Roeckx.
2014-12-05 21:59:35 -05:00
Terry Jan Reedy
4becc38ad1 Update idlelib/NEWS.txt. 2014-12-05 20:51:08 -05:00
Terry Jan Reedy
81f01fb104 Update idlelib/NEWS.txt. 2014-12-05 20:49:32 -05:00
Benjamin Peterson
7eda940e1f merge 3.4 (#16043) 2014-12-05 20:36:07 -05:00
Benjamin Peterson
eca72d47f5 merge 3.3 (#16043) 2014-12-05 20:34:56 -05:00
Benjamin Peterson
81b7374fbe merge 3.2 (#16043) 2014-12-05 20:30:54 -05:00
Terry Jan Reedy
3a12282ace Merge with 3.4. 2014-12-05 20:26:23 -05:00
Terry Jan Reedy
f990e7f1f0 Issue #16893: Update Idle doc chapter to match current Idle and add new
information.
2014-12-05 20:25:30 -05:00
Benjamin Peterson
4e9cefaf86 add a default limit for the amount of data xmlrpclib.gzip_decode will return (closes #16043) 2014-12-05 20:15:15 -05:00
Brett Cannon
9f7c7924c3 Merge with 3.4 2014-12-05 18:11:15 -05:00
Brett Cannon
17be09c475 Fix a bad link 2014-12-05 18:11:05 -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
Serhiy Storchaka
b757c83ec6 Issue #22581: Use more "bytes-like object" throughout the docs and comments. 2014-12-05 22:25:22 +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
Brett Cannon
6b335196c5 Issue #22914: Update the Python 2/3 porting HOWTO to describe a more
automated process.
2014-12-05 10:56:12 -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
Victor Stinner
969175091c 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:17:10 +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
3ab745e386 Edit Menus section of Idle doc. Make menu entries match current Idle in order
and case.  Edit some of the explanatory sentences and end all with a period.
2014-12-05 02:43:07 -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
Yury Selivanov
a5ef83244b docs.inspect: Fix BoundArguments example. Issue #22998. 2014-12-04 22:47:44 -05:00
Victor Stinner
96a4b5adfc Merge 3.4 (asyncio) 2014-12-05 01:44:31 +01:00
Victor Stinner
f3e2e09213 Closes #22429, asyncio: Fix EventLoop.run_until_complete(), don't stop the
event loop if a BaseException is raised, because the event loop is already
stopped.
2014-12-05 01:44:10 +01:00
Victor Stinner
4c85ec99f3 Issue #22922: Fix ProactorEventLoop.close()
Call _stop_accept_futures() before sestting the _closed attribute, otherwise
call_soon() raises an error.
2014-12-05 01:43:42 +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
Victor Stinner
e80bf0d4a9 Closes #22922: More EventLoop methods fail if the loop is closed. Initial patch
written by Torsten Landschoff.

create_task(), call_at(), call_soon(), call_soon_threadsafe() and
run_in_executor() now raise an error if the event loop is closed.
2014-12-04 23:07:47 +01:00
Victor Stinner
dd8224e6a4 Issue #22685: Fix test_pause_reading() of asyncio test_subprocess
* mock also resume_reading()
* ensure that resume_reading() is called
2014-12-04 23:06:13 +01:00
Victor Stinner
fe22e0985a asyncio: Initialize more Future and Task attributes in the class definition to
avoid attribute errors in destructors.
2014-12-04 23:00:13 +01:00
Terry Jan Reedy
74aee426c1 Merge with 3.4 2014-12-04 01:26:35 -05:00
Terry Jan Reedy
bb37b4ca73 Issue #3068: Document the new Configure Extensions dialog and menu entry. 2014-12-04 01:26:04 -05:00
Terry Jan Reedy
c50041880d Merge with 3.4 2014-12-04 00:55:16 -05:00
Terry Jan Reedy
f56849486b Issue #16893: For Idle doc, move index entries, copy no-subprocess section
from idlelib/help.txt, add 'C' comment, and remove obsolete ^Z comment
Original patch by Zach Ware.
2014-12-04 00:54:59 -05:00
Antoine Pitrou
af12676659 Fix #22987: update the compatibility matrix for a SSLv23 client. 2014-12-03 20:03:11 +01:00