Commit Graph

78183 Commits

Author SHA1 Message Date
Ned Deily 8cb673816b Issue #21166: fix typo in comment 2014-08-23 18:09:25 -07:00
Terry Jan Reedy a58b255a8e Issue #22243: fix except grammar in reference. 2014-08-23 19:29:40 -04:00
Terry Jan Reedy 4426870275 Merge heads. 2014-08-23 18:20:00 -04:00
Nick Coghlan 62990a42ae Update PEP 466 What's New in 2.7 section 2014-08-23 14:45:44 +10:00
Ned Deily bd73ae27e8 Issue #22199: update Misc/NEWS 2014-08-22 13:53:30 -07:00
Ned Deily 9d6488a1f0 Issue #22199: Make get_makefile_filename() available in Lib/sysconfig.py
for 2.7 to match other versions of sysconfig.
2014-08-22 13:48:06 -07:00
Ned Deily 983df8688d Issue #21166: Prevent possible segfaults and other random failures of
python --generate-posix-vars in pybuilddir.txt build target by ensuring
that pybuilddir.txt is always regenerated when configure is run and
that the newly built skeleton python does not inadvertently import
modules from previously installed instances.
2014-08-22 13:30:59 -07:00
Brett Cannon 01408453f1 Issue #22191: Fix warnings.__all__.
Thanks to Jon Poler for the patch.
2014-08-22 10:50:47 -04:00
Serhiy Storchaka 95cf98625b Import Tkinter as tkinter to help merging and avoid backporting errors. 2014-08-21 10:00:41 +03:00
Ned Deily c208fe6789 Issue #1730136: Fix backported exception name. 2014-08-20 22:59:21 -07:00
Benjamin Peterson 7ed3e29723 fix error message for invalid curve name 2014-08-20 21:37:01 -05:00
Benjamin Peterson b47b54c7f8 Backed out changeset 7c19f1f792c6 2014-08-20 17:30:40 -05:00
Benjamin Peterson 64c1215b5d don't call rl_initialize when stdout is not a tty 2014-08-20 16:03:43 -05:00
Benjamin Peterson 68482fb53b expect socket.error instead of the py3ism OSError 2014-08-20 14:51:11 -05:00
Benjamin Peterson e208b57078 allow any socket error for rude shutdown test 2014-08-20 14:49:08 -05:00
Benjamin Peterson 80bdeaba3e link _ssl to crypt32.lib on windoze 2014-08-20 14:34:26 -05:00
Benjamin Peterson cbb144afc0 PyUnicode -> PyString and PyLong -> PyInt 2014-08-20 14:25:32 -05:00
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 855a1e9d6b Idle ColorDelegator: finish removing code for 'as'. 2014-08-19 19:47:33 -04:00
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