Commit graph

83950 commits

Author SHA1 Message Date
Serhiy Storchaka
3ffd913d66 Issue #20151: The binascii module now uses Argument Clinic. 2014-01-25 11:21:23 +02:00
Georg Brandl
92b1382c77 Added tag v3.3.4rc1 for changeset 7f32e55f161b 2014-01-25 09:49:22 +01:00
Georg Brandl
18f2ce9e7d Bump to 3.3.4rc1. 2014-01-25 09:19:50 +01:00
Georg Brandl
12e18c3d01 Update IDLE news from Misc/NEWS. 2014-01-25 09:19:36 +01:00
Georg Brandl
bcf692417f doc: pydoc topic and suspicious markup update 2014-01-25 09:15:44 +01:00
Georg Brandl
381c280815 #20311: revert changes to 3.3 branch for now until experts have decided how to resolve the issue. 2014-01-25 09:11:13 +01:00
Georg Brandl
c11435399e #16042: CVE-2013-1752: smtplib fix for unlimited readline() from socket 2014-01-25 09:02:18 +01:00
Benjamin Peterson
e4e7199c50 merge 3.3 2014-01-25 00:00:28 -05:00
Benjamin Peterson
f580d5b6f7 update hosting faq 2014-01-24 23:59:57 -05:00
Zachary Ware
021bb87845 Issue #20381: Fix sanity checking on default arguments when c_default is
also specified.
2014-01-24 22:52:30 -06:00
Serhiy Storchaka
66964cd477 Null merge 2014-01-24 22:28:42 +02:00
Serhiy Storchaka
a7184e617a Fix typo. 2014-01-24 22:28:06 +02:00
Serhiy Storchaka
53bce92775 Null merge 2014-01-24 22:20:05 +02:00
Serhiy Storchaka
2d5a0928f1 Issue #20384: Fix the test_tarfile test on Windows.
On Windows os.open() error message doesn't contain file name.
2014-01-24 22:19:23 +02:00
Victor Stinner
62f8eccdbf asyncio doc: document StreamWriter.drain() 2014-01-24 18:47:26 +01:00
Victor Stinner
8c462c5a80 asyncio doc: move AbstractServer to the event loop page
Add also entries in the table of content for each synchronization primitive
class.
2014-01-24 18:11:43 +01:00
Benjamin Peterson
c3bf14d1eb merge 3.3 (#20374) 2014-01-24 11:44:40 -05:00
Benjamin Peterson
f0b463ad84 new plan: just remove typecasts (closes #20374) 2014-01-24 11:44:16 -05:00
Victor Stinner
4b4f9ebfea asyncio doc: add a "Coroutines and protocols" section 2014-01-24 17:33:20 +01:00
Victor Stinner
1374bd41b1 asyncio: mention that transports/protocols are low-level, streams are high-level 2014-01-24 15:34:19 +01:00
Larry Hastings
5c66189e88 Issue #20189: Four additional builtin types (PyTypeObject,
PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type)
have been modified to provide introspection information for builtins.
Also: many additional Lib, test suite, and Argument Clinic fixes.
2014-01-24 06:17:25 -08:00
Nick Coghlan
b3c0f4067d Merge removal of issue 20317 debugging code from 3.3 2014-01-24 23:07:16 +10:00
Nick Coghlan
add94c9d82 Issue 20317: Remove debugging code from contextlib
- Alex J Burke noticed a debugging raise in the commit that
  fixed the original bug reported in issue 20317
- this showed that multiple iterations through the affected
  loop wasn't actually being tested
2014-01-24 23:05:45 +10:00
Benjamin Peterson
8f81c3cf3f merge 3.3 (#20374) 2014-01-24 00:33:25 -05:00
Benjamin Peterson
5f6bf55965 use new readline function types (closes #20374) 2014-01-24 00:32:12 -05:00
Victor Stinner
421e49b5c1 asyncio: wait_for() now cancels the future on timeout. Patch written by Gustavo
Carneiro.
2014-01-23 17:40:59 +01:00
Victor Stinner
183e347796 asyncio (Tulip issue 110): StreamReader.read() and StreamReader.readline() now
raise a RuntimeError, instead of using an assertion, if another coroutine is
already waiting for incoming data
2014-01-23 17:40:03 +01:00
Victor Stinner
8ce6e1100e Close #20365: Skip test_asyncio.test_events.test_read_pty_output() on Mac OS X
older than 10.9 (Maverick). kqueue doesn't support character devices (PTY) on
Mac OS X older than 10.9.
2014-01-23 17:26:06 +01:00
Serhiy Storchaka
418e80ba00 Fixed test_user_command on OpenSolaris where floats can have different string
representation in Tcl and Python.
2014-01-23 16:49:22 +02:00
Serhiy Storchaka
bdf0cb52eb Fixed test_user_command on OpenSolaris where floats can have different string
representation in Tcl and Python.
2014-01-23 16:48:44 +02:00
Serhiy Storchaka
fe5fff6305 Issue #19936: Restored executable bits for several libffi files.
These files have shebangs and executable bits in the libffi distribution.
2014-01-23 16:23:50 +02:00
Serhiy Storchaka
744135d7bb Issue #19936: Restored executable bits for several libffi files.
These files have shebangs and executable bits in the libffi distribution.
2014-01-23 16:22:55 +02:00
Victor Stinner
da94b9ebeb Issue #20311: add debug help in test_selectors 2014-01-23 15:07:26 +01:00
Victor Stinner
c520edc08b asyncio doc: add an client example using streams 2014-01-23 11:25:48 +01:00
Victor Stinner
24f8ebf4c5 asyncio doc: Move streams to their own dedicated page 2014-01-23 11:05:01 +01:00
Victor Stinner
c8ea81330c asyncio doc: link create_connection() to open_connection() and create_server()
to start_server()

Rename also the "Network functions" section to "Stream functions" and move it to the Stream section.
2014-01-23 11:02:09 +01:00
Victor Stinner
7235c05085 asyncio doc: move stream classes to their own class 2014-01-23 10:54:57 +01:00
Victor Stinner
3eb45d3eae asyncio: Fix open_connection() documentation, writer is a StreamWriter 2014-01-23 10:20:18 +01:00
Serhiy Storchaka
d869a0b132 Added test_user_command in test_tcl.
It tests the convertion Tcl values to Python values when Tcl calls a command
implemented on Python. Currently all values are passed as strings.
2014-01-23 09:49:42 +02:00
Serhiy Storchaka
4b730161fd Added test_user_command in test_tcl.
It tests the convertion Tcl values to Python values when Tcl calls a command
implemented on Python. Currently all values are passed as strings.
2014-01-23 09:44:05 +02:00
Terry Jan Reedy
8860443749 Merge with 3.3 2014-01-23 00:39:11 -05:00
Terry Jan Reedy
94338de49b Issue #17390: Add Python version to Idle editor window title bar.
Original patches by Edmond Burnett and Kent Johnson.
2014-01-23 00:36:46 -05:00
Larry Hastings
42d9e1b9f3 Doc fixes for Argument Clinic. 2014-01-22 05:49:11 -08:00
Nick Coghlan
d58831e688 Merge #20317 from 3.3 2014-01-22 23:04:37 +10:00
Nick Coghlan
09761e7c9c Issue #20317: Don't create a reference loop in ExitStack 2014-01-22 22:24:46 +10:00
Victor Stinner
4a2dbeb0d3 asyncio: Cleanup logging in BaseEventLoop._run_once()
logger.log() is now responsible to format the timeout. It might be faster if
the log is disabled for DEBUG level, but it's also more readable and fix
an issue with Python 2.6 in the Trollius project.
2014-01-22 12:26:01 +01:00
Larry Hastings
462582651c Two minor Argument Clinic bugfixes: use the name of the class in the
docstring for __new__ and __init__, and always use "goto exit" instead of
returning "NULL" for failure to parse (as _new__ and __init__ return ints).
2014-01-22 03:05:49 -08:00
Zachary Ware
071baa63c4 Argument Clinic: make 'destination' directive work. 2014-01-21 23:07:12 -06:00
Terry Jan Reedy
45726d3011 Merge with 3.3 2014-01-21 21:13:25 -05:00
Terry Jan Reedy
0e3b0e397e Issue #20818: Remove code from idlelib.CallTipWindow.showtip that is now
completely redundant. After 16638 patch, CallTips.get_argspec trims over-long
signature strings as well as docstring lines.
2014-01-21 21:12:24 -05:00