Commit Graph

78205 Commits

Author SHA1 Message Date
Benjamin Peterson beda11047c fix malformed use cmdoption directive 2014-09-04 22:40:34 -04:00
Alex Gaynor 162126d567 Fixed the versionadded in the docs for the backport in 16c86a6bdbe2 2014-09-04 13:37:07 -07:00
Alex Gaynor e98205d798 Issue #20421: Add a .version() method to SSL sockets exposing the actual protocol version in use.
Backport from default.
2014-09-04 13:33:22 -07:00
Benjamin Peterson ceb0e1d751 the correct role is :meth: not :method: 2014-09-04 11:50:14 -04:00
Benjamin Peterson 4ec38f6b54 remove script that now lives at https://github.com/python/docsbuild-scripts 2014-09-01 23:00:11 -04:00
Terry Jan Reedy 5fa7f0c252 NEWS items for Idle. 2014-09-03 19:52:39 -04:00
Terry Jan Reedy 1e87ac6b9a NEWS items for turtledemo. 2014-09-03 19:39:18 -04:00
Terry Jan Reedy d85a9ef376 Issue #22051: remove unneeded reload that allowed bad code. 2014-09-03 19:29:11 -04:00
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