Commit Graph

79745 Commits

Author SHA1 Message Date
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