Ned Deily
ac51e0dd82
Issue #22320 : Fix broken link in the General Python FAQ.
...
Original patch by Josh Lynn.
2014-08-31 23:57:13 -07:00
Benjamin Peterson
2ad5421dad
don't index outside of the path ( closes #22312 )
2014-08-31 09:34:09 -04:00
Benjamin Peterson
3f48d39493
getuid() returns real process id not effective ( closes #22307 )
2014-08-30 21:04:15 -04:00
R David Murray
7234e03cc9
#22215 : have the smtplib 'quit' command reset the state.
...
Without this reset, starttls would fail if a connect/starttls was done after a
quit, because smtplib assumed the existing value of emspt_features was
accurate, but it gets reset when starttls completes (and the new value does
not contain the starttls capability, since tls is already started at that
point). (There may be additional places where this lack of reset was an
issue as well.)
Patch by Milan Oberkirch.
2014-08-30 16:56:49 -04:00
Benjamin Peterson
57057a6624
PEP 466: backport persistent urandom fd ( closes #21305 )
...
Patch from Alex Gaynor.
2014-08-28 12:30:00 -04:00
Benjamin Peterson
0062d1e7f4
PEP 466: backport hashlib algorithm constants ( closes #21307 )
2014-08-28 09:41:29 -04:00
Benjamin Peterson
876473eba3
fix load_verify_locations on unicode paths ( closes #22244 )
2014-08-28 09:33:21 -04:00
Benjamin Peterson
13056bff66
correct call grammar error ( #3473 )
2014-08-28 00:05:52 -04:00
Benjamin Peterson
7fd59e09d2
properly handle file closing in error cases ( closes #22266 )
2014-08-27 20:31:21 -04:00
Stefan Krah
ce2ec49d92
Issue 22090: Fix '%' formatting for infinities and NaNs.
2014-08-26 20:49:57 +02:00
Benjamin Peterson
ec9d547edd
allow test to work on implementations not using ref-counting ( closes #22265 )
2014-08-24 18:07:28 -05:00
Benjamin Peterson
8a4448c8bb
fix some test_weakref tests to not rely on ref-counting ( closes #22267 )
2014-08-24 18:02:15 -05:00
Benjamin Peterson
e373754056
don't segfault when trying to fdopen() a fd for a dir ( closes #22259 )
...
Patch from Brian Kearns.
2014-08-24 10:37:12 -05:00
Serhiy Storchaka
d3ea06537c
Issue #22236 : Tkinter tests now don't reuse default root window. New root
...
window is created for every test class.
Fixed Tkinter images copying operations in NoDefaultRoot mode.
Tcl command names generated for "after" callbacks now contains a name of
original function.
2014-08-24 09:07:09 +03:00
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