Commit Graph

78165 Commits

Author SHA1 Message Date
Benjamin Peterson daeb925cc8 backport many ssl features from Python 3 (closes #21308)
A contribution of Alex Gaynor and David Reid with the generous support of
Rackspace. May God have mercy on their souls.
2014-08-20 14:14:50 -05:00
Senthil Kumaran 0088b620c9 Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull. 2014-08-20 07:52:59 +05:30
Terry Jan Reedy 52ed755033 Idle ColorDelegator: remove special case code for 'as' in import statements.
'As' became a full keyword when with statements were added in 2.5/2.6.
2014-08-19 17:17:51 -04:00
Serhiy Storchaka 2426da898a Fixed typo. 2014-08-19 18:20:07 +03:00
Serhiy Storchaka cbee972e35 Issue #15696: Add a __sizeof__ implementation for mmap objects on Windows. 2014-08-19 17:03:42 +03:00
Serhiy Storchaka ede745a7ed Clean up test_user_command. 2014-08-18 17:46:34 +03:00
Serhiy Storchaka 44ae51347c Issue #22068: Avoided reference loops with Variables and Fonts in Tkinter. 2014-08-17 15:31:41 +03:00
Serhiy Storchaka c82c4c34d8 Issue #22201: Command-line interface of the zipfile module now correctly
extracts ZIP files with directory entries.  Patch by Ryan Wilson.
2014-08-17 15:11:06 +03:00
Serhiy Storchaka f880bff41a Removed useless Py_LIMITED_API checks.
Support for Py_LIMITED_API was introduced in Python 3.2.
Thanks Arfrever Frehtes Taifersar Arahesis.
2014-08-17 13:29:13 +03:00
Senthil Kumaran 19d07f29ce backout changeset e0510a3bdf8f - due to buildbot failures. Ref: Issue #8797 2014-08-16 22:51:33 +05:30
Victor Stinner 8bd3415aef Closes #22188: test_gdb now runs gdb with -nx: "Do not execute commands from
any .gdbinit initialization files".
2014-08-16 14:31:02 +02:00
Senthil Kumaran 7257b50e18 Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull. 2014-08-16 14:16:14 +05:30
Terry Jan Reedy c11633eaba Issue #17390: Adjust Editor window title. Remove 'Python', move version to end. 2014-08-14 21:54:38 -04:00
Serhiy Storchaka c95f51a953 Issue #22193: Added private function _PySys_GetSizeOf() needed to implement
some __sizeof__() methods.
2014-08-14 22:20:23 +03:00
Serhiy Storchaka ce0f744a60 Decreased memory requirements of new tests added in issue21448. 2014-08-12 20:22:27 +03:00
Serhiy Storchaka bc6f8de73b Issue #21448: Fixed FeedParser feed() to avoid O(N**2) behavior when parsing long line.
Original patch by Raymond Hettinger.
2014-08-12 13:58:23 +03:00
Serhiy Storchaka 3fdffc9fb6 Issue #17923: glob() patterns ending with a slash no longer match non-dirs on
AIX.  Based on patch by Delhallt.
2014-08-12 12:54:55 +03:00
Zachary Ware 67310859d1 Issue #22178: Fix the date of the Windows epoch (Jan 1, 1601). 2014-08-11 14:58:37 -05:00
Raymond Hettinger 575ee4c4c7 Issue #22174: Clean-up grammar and ambiguities in property() docs. 2014-08-10 10:44:21 -07:00
doko@ubuntu.com baa84b827b - Issue #22176: Update the ctypes module's libffi to v3.1. This release
adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian
  architectures.
2014-08-10 11:15:28 +02:00
Benjamin Peterson b6f0d0531b remove casts 2014-08-09 19:39:55 -07:00
Benjamin Peterson 4f09e615cd test for 2 arg exec case 2014-08-09 19:39:50 -07:00
Benjamin Peterson d2903bd682 restore runtime exec test (#21591) 2014-08-09 19:39:36 -07:00
Terry Jan Reedy 25327d4d3b Issue #14105: Stop removing breakpoints from Idle editors.
Move BREAK tag configuration to PyShellEditorWindow.
2014-08-08 23:33:11 -04:00
Zachary Ware 19e455f9cb Issue #22160: Update OpenSSL to 1.0.1i for the Windows build. 2014-08-06 23:17:20 -05:00
Ezio Melotti 906091b5d0 #22092: use absolute imports in unittest tests. Patch by Vajrasky Kok. 2014-08-07 03:20:22 +03:00
Serhiy Storchaka a33c8436cd Issue #18004: test_overflow in test_list by mistake consumed 40 GiB of memory
on 64-bit systems.
2014-08-06 18:31:54 +03:00
Serhiy Storchaka 501da1da03 Issue #21975: Fixed crash when using uninitialized sqlite3.Row (in particular
when unpickling pickled sqlite3.Row).  sqlite3.Row is now initialized in the
__new__() method.
2014-08-06 17:50:22 +03:00
Vinay Sajip 075588f1af Issue #22130: Corrected fileConfig() documentation. 2014-08-05 10:32:06 +01:00
Ezio Melotti 249fcf6261 #21928: clarify functools.wraps docs. 2014-08-05 08:14:28 +03:00
Berker Peksag b7414e0fdb Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more
than 100 headers are read.

Patch by Jyrki Pulliainen and Daniel Eriksson.
2014-08-05 07:15:57 +03:00
Ezio Melotti c468abafc7 #18034: update FAQ to suggest importlib.import_module instead of __import__. Patch by Wouter van Heyst. 2014-08-04 19:34:29 +03:00
Terry Jan Reedy ae4108612c PEP 8 spacing in idlelib.configDialog: mostly a = b in assignments,
a, b in arg lists, and hanging indents for long arg lists.
2014-08-03 23:02:53 -04:00
Jason R. Coombs c4a907dbc1 Issue #13540: Merge commits 2014-08-03 14:57:20 -04:00
Jason R. Coombs 2b492032f2 Issue #13540: Update references to Action class to match syntax used for other classes in this file. 2014-08-03 14:54:11 -04:00
Raymond Hettinger 9376c8b5e3 Fix typo in comment. 2014-08-01 23:51:51 -07:00
doko@ubuntu.com a16fd7a7ec - update config.guess and config.sub to support openrisc. 2014-08-01 17:48:17 +02:00
Serhiy Storchaka 04fa704161 Issue #21580: Now Tkinter correctly handles binary "data" and "maskdata"
configure options of tkinter.PhotoImage.

Added private Tkapp method _createbytearray().
2014-07-31 07:48:14 +03:00
Terry Jan Reedy 19b7a75abf Issue #22068: Don't create self reference cycles in idlelib.ConfigDialog.
In 2.7, these become leaks and cause test_gc to fail.
2014-07-30 19:24:26 -04:00
Serhiy Storchaka 77149a1c61 Issue #21951: Temporary skip crashing test_user_command on AIX. 2014-07-30 10:58:34 +03:00
Victor Stinner 2af8d2f698 Issue #22023: Fix %S, %R and %V formats of PyUnicode_FromFormat(). 2014-07-30 00:39:05 +02:00
Robert Jordens af09c774e5 Issue #21591: add test for qualified exec in tuple form. 2014-07-29 17:24:24 +02:00
Dirkjan Ochtman 9b1d670361 Issue #21591: Handle exec backwards compatibility in the AST builder.
Instead of deferring until runtime. This makes sure we hit the right
conditions in dealing with unqualified exec statements.

Reviewed by Victor Stinner. Test follows in a later commit.
2014-07-29 17:21:39 +02:00
Victor Stinner c382807559 Issue #19612: subprocess.communicate() now also ignores EINVAL when using at
least two pipes.
2014-07-29 00:04:54 +02:00
Terry Jan Reedy 110796fb15 Reduce unnecessary 2.7 versus 3.4+ differences in idlelib/configDialog.py.
Only change 2.7 version.
Remove ".keys()" from "x in y.keys()" (leave .keys() elsewhere alone).
Change "string.join" to "' '.join" (and string.join(s, ';') to ';'.join(s)).
Change spacing to match 3.4 (will later make spacing changes to both).
2014-07-27 04:07:18 -04:00
Terry Jan Reedy 87355a77db Modernize turtledemo with conditional expressions; remove duplicate line. 2014-07-27 03:00:47 -04:00
Victor Stinner 0a649c7bb1 Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError
on closed socket.
2014-07-26 14:52:55 +02:00
Victor Stinner 465db3c69a socketmodule.c: backport INVALID_SOCKET from Python 3.5 to simplify the code 2014-07-26 14:47:56 +02:00
Charles-François Natali 5a1427c8a3 Issue #19875: Fix random test_getsockaddrarg() failure. 2014-07-26 13:44:50 +01:00
Zachary Ware 6d8f29a623 Issue #21958: Define HAVE_ROUND when building with VS 2013 and above.
Patch by Zachary Turner.
2014-07-25 14:34:19 -05:00