Commit Graph

79517 Commits

Author SHA1 Message Date
Senthil Kumaran b5a67dec98 Closes issue26960.
Backport issue16270: Fix for urllib hanging with ftp urls.
2016-05-10 01:12:55 -07:00
Serhiy Storchaka 22d8942b8d Issue #25745: Fixed leaking a userptr in curses panel destructor. 2016-05-09 00:11:59 +03:00
Serhiy Storchaka 3111c94b16 Issue #26881: modulefinder now works with bytecode with extended args. 2016-05-09 00:02:06 +03:00
Martin Panter 4f23cabc16 Corrections for a/an in code comments and documentation 2016-05-08 13:45:55 +00:00
Martin Panter f2f1c57b7e Fix typos in comments, documentation and test method names 2016-05-08 13:18:25 +00:00
Martin Panter cdbf38cbd6 Issue #26512: Clarify Integral; tidy up table of rounding functions
Based on patch by Julien.
2016-05-08 12:47:37 +00:00
Berker Peksag cacbc17d67 Replace example.com with pythontest.net in test_getcode of test_urllibnet 2016-05-07 16:41:39 +03:00
Serhiy Storchaka 816a5ff3b2 Issue #17765: weakref.ref() no longer silently ignores keyword arguments.
Patch by Georg Brandl.
2016-05-07 15:41:09 +03:00
Serhiy Storchaka b4905efe23 Issue #26736: Used HTTPS for external links in the documentation if possible. 2016-05-07 10:50:12 +03:00
Serhiy Storchaka c145da0751 Issue #26889: Fixed hyperlinks formatting. 2016-05-07 10:06:53 +03:00
Serhiy Storchaka 63d2fca866 Issue #26889: Tweaked xmlrpclib documentation. 2016-05-07 08:44:58 +03:00
Berker Peksag 1ca93b621c Issue #26962: Backport 23d986228c6b to 2.7 2016-05-05 11:05:49 +03:00
Serhiy Storchaka 073418af05 Issue #26873: xmlrpclib now raises ResponseError on unsupported type tags
instead of silently return incorrect result.
2016-05-04 11:28:09 +03:00
Serhiy Storchaka 7dc8e1e95e Backported test for posixpath.expanduser(). 2016-05-03 22:15:29 +03:00
Terry Jan Reedy 7d03c84634 Clarify IDLE-console differences with respect to the sys module.
The reload(sys) effect was the crux of a Stackoverflow question.
2016-05-02 18:17:19 -04:00
Donald Stufft 84050c5434 Upgrade ensurepip bundled setuptools to 20.10.1 2016-05-02 07:02:30 -04:00
Meador Inge ae21a8a555 Issue #24114: Fix an uninitialized variable in `ctypes.util`.
The bug only occurs on SunOS when the ctypes implementation searches
for the `crle` program.  Patch by Xiang Zhang.  Tested on SunOS by
Kees Bos.
2016-04-30 21:56:59 -05:00
Berker Peksag 065b40c0bd Issue #21746: Remove BaseResult reference from urlparse documentation
BaseResult no longer exists and it has been replaced by namedtuple.

Patch by Matthew Gilson.
2016-04-30 18:36:31 +03:00
Martin Panter 064ee4d28c Issue #26864: Fix case insensitivity and suffix comparison with no_proxy
Patch by Xiang Zhang.
2016-04-30 01:03:40 +00:00
Serhiy Storchaka 4ef4edaa9f Issue #26822: Decreased an overhead of using _PyArg_NoKeywords() in calls of
itemgetter, attrgetter and methodcaller objects.
2016-04-29 09:12:38 +03:00
Zachary Ware fd58349556 Issue #26874: Simplify the divmod docstring.
Now it actually matches the prose docs.
2016-04-28 14:38:48 -05:00
Zachary Ware 64f8c7ec4f Issue #26874: Make divmod docstring and full doc match 2016-04-28 14:23:48 -05:00
Serhiy Storchaka 44f99d0aaf fileinput.hook_encoded() uses io.open(), not codecs.open(). 2016-04-27 23:07:25 +03:00
Berker Peksag b6886505a6 Issue #26672: Fix regrtest example in test.rst
Reported by Axel Luttgens.
2016-04-27 08:58:32 +03:00
Martin Panter 11cc513e8b Issue #20598: Replace trivial split() calls with lists in argparse docs 2016-04-26 11:33:46 +00:00
Raymond Hettinger ff64b3a532 Issue #24715: Improve sort stability example 2016-04-26 01:09:32 -07:00
Raymond Hettinger 167c81d5ed Issue #23986: Note that the in-operator for lists and tuples check identity before equality. 2016-04-26 00:59:16 -07:00
Senthil Kumaran b31c87bfcf backport fix for Issue #26804.
urllib.request will prefer lower_case proxy environment variables over
UPPER_CASE or Mixed_Case ones.
2016-04-25 09:17:54 -07:00
Serhiy Storchaka d4442ae53a Issue #26837: assertSequenceEqual() now correctly outputs non-stringified
differing items.  This affects assertListEqual() and assertTupleEqual().
2016-04-25 08:59:35 +03:00
Serhiy Storchaka 0207e7699b Issue #26822: itemgetter, attrgetter and methodcaller objects no longer
silently ignore keyword arguments.
2016-04-23 10:53:28 +03:00
Benjamin Peterson bca06ccb3e fix python 3 mod init function declaration (closes #26827) 2016-04-22 23:43:10 -07:00
Martin Panter e9ee317062 Issue #22359: Avoid recursive $(MAKE); disable running cross-compiled pgen
Patches by Jonas Wagner and Xavier de Gaye.
2016-04-23 00:58:44 +00:00
Victor Stinner f6f617c5f7 Fix python-gdb.py: get C types on demand
Issue #26799: Fix python-gdb.py: don't get C types once when the Python code is
loaded, but get C types on demand. The C types can change if python-gdb.py is
loaded before the Python executable. Patch written by Thomas Ilsche.
2016-04-20 18:23:13 +02:00
Martin Panter 5b48fa9fa4 Fix spelling (inital), grammar (may translates) in documentation, comments 2016-04-19 04:03:41 +00:00
Martin Panter 0cf2cf2b7d Issue #26657: Fix SimpleHTTPServer Windows directory traversal vulnerability
Based on patch by Philipp Hagemeister.  This fixes a regression caused by
revision 6b314f5c9404.
2016-04-18 03:45:18 +00:00
Serhiy Storchaka 9a118f1dc3 Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 09:37:36 +03:00
Martin Panter 0bb165ecc1 Issue #4806: Avoid masking TypeError when *-unpacking a generator
Based on patch by Hagen Fürstenau.
2016-01-31 06:30:56 +00:00
Benjamin Peterson 414f8b937f add gc support to slice (closes #26659) 2016-04-16 14:47:12 -07:00
Berker Peksag 16b83b1f66 Issue #24173: Fix curses.wrapper link in curses HOWTO 2016-04-16 23:15:39 +03:00
Berker Peksag ccff2bbd3b Issue #23029: Fix catch_warnings() in test_filename_none
It was printed UserWarning output because catch_warnings() was missing
record=True.
2016-04-16 22:16:05 +03:00
Senthil Kumaran aeff57d34a Improve the coverage of urlparse module. Backport to 2.7 branch. 2016-04-16 07:15:38 -07:00
Martin Panter bf02d18844 Fix typos in code comment and documentation 2016-04-16 09:28:57 +00:00
Martin Panter fb45216da8 Issue #26638: Fix links to some CLI options
Disable inappropriate links to Python interpreter options. Also make CLI
section label in timeit less ambiguous.
2016-04-16 04:59:38 +00:00
Martin Panter 87d9de6354 Issue #25314: Remove confused statement about const argument 2016-04-09 03:49:48 +00:00
Martin Panter 6a8163a928 Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
This affects documentation and code comments.
2016-04-15 02:14:19 +00:00
Zachary Ware 8feff8f1dd Issue #26465: Update VS9.0 build files for OpenSSL 1.0.2g 2016-04-14 10:18:27 -05:00
Berker Peksag a364c12042 Issue #26747: Document that InstanceTypes only works for old-style classes
Patch by Nan Wu.
2016-04-14 15:51:22 +03:00
Serhiy Storchaka 9ec6464008 Issue #26718: super.__init__ no longer leaks memory if called multiple times.
NOTE: A direct call of super.__init__ is not endorsed!
2016-04-13 15:27:33 +03:00
Senthil Kumaran f1023bad2e [minor] - Correct the docstring of locale.str. Patch by poleto. 2016-04-12 23:13:33 -07:00
Georg Brandl b9b98c81fd Update susp-ignore file (#25910). 2016-02-28 21:13:23 +01:00