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
Martin Panter
d47b99643b
Issue #25496 : Document compresslevel defaults to 9, by Hamza T Khan
2016-04-13 03:24:06 +00:00
Georg Brandl
5892ab1b4a
Clarify greedy-qualifier example, avoid HTML.
2016-04-12 07:51:41 +02:00
Serhiy Storchaka
997a1c88a8
Issue #26733 : Fixed formatting line numbers in test_dis.
...
Based on patch by Xiang Zhang.
2016-04-12 08:47:20 +03:00
Serhiy Storchaka
92a5f47d2c
Issue #25910 : Fixed more links in the docs.
2016-04-11 17:32:33 +03:00
Serhiy Storchaka
fdcb535893
Issue #25910 : Fixed dead links in the docs.
2016-04-11 12:18:56 +03:00
Georg Brandl
6e0b44ef9e
Closes #25910 : fix dead and permanently redirected links in the docs. Thanks to SilentGhost for the patch.
2016-02-26 19:37:12 +01:00
Serhiy Storchaka
bb650631f2
Issue #26200 : Restored more safe usages of Py_SETREF.
2016-04-11 09:53:37 +03:00
Serhiy Storchaka
763a61ca95
Issue #26200 : Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
...
in places where Py_DECREF was used.
2016-04-10 18:05:12 +03:00
Serhiy Storchaka
149d080871
Issue #13410 : Fixed a bug in PyUnicode_Format where it failed to properly
...
ignore errors from a __int__() method.
Patch based on the patch for issue #15516 .
2016-04-10 15:26:52 +03:00
Martin Panter
f1669a390d
Issue #26712 : Unify (r)split(), (l/r)strip() tests into string_tests
...
This eliminates a few redundant test cases.
2016-04-10 09:39:07 +00:00
Martin Panter
ec3c245c64
Issue #26609 : Fix up Python 2 port
2016-04-09 13:45:52 +00:00
Martin Panter
af58c857a8
Issue #26609 : Fix HTTP server tests to request an absolute URL path
2016-04-09 04:56:10 +00:00
Berker Peksag
7784888cce
Issue #19377 : Add .svg to mimetypes.types_map
...
This is a backport of caf89a6a17a7.
2016-04-09 08:17:53 +03:00
Berker Peksag
81f8d5771b
Issue #13952 : Add .csv to mimetypes.types_map
...
Patch by Geoff Wilson.
2016-04-09 08:06:15 +03:00
Berker Peksag
265bc81fa3
Issue #16329 : Add .webm to mimetypes.types_map
...
Patch by Giampaolo Rodola'.
2016-04-09 08:05:18 +03:00
Martin Panter
86e0d57611
Issue #26257 : Eliminate buffer_tests.py and fix ByteArrayAsStringTest
...
ByteArrayAsStringTest.fixtype() was converting test data to bytes, not byte-
array, therefore many of the test cases inherited in this class were not
actually being run on the bytearray type.
The tests in buffer_tests.py were redundant with methods in string_tests
.MixinStrUnicodeUserStringTest and string_tests.CommonTest. Moved some tests
into a new base class string_tests.NonStringModuleTest, and run them for
bytearray.
2016-04-06 06:37:17 +00:00
Serhiy Storchaka
bc62af1bbe
Issue #22570 : Renamed Py_SETREF to Py_XSETREF.
2016-04-06 09:51:18 +03:00
Martin Panter
aad86a6015
Issue #6953 : Rearrange and expand Readline module documentation
...
* Group functions into six new subsections
* Document the underlying Readline function or variable accessed
* get_history_length() returns the history file limit
* clear_history() is conditionally compiled in
* Clarify zero and one bases for history item indexes
* parse_and_bind() uses its argument directly as an init line
* Change "command line" to "line buffer" for consistency
* read_init_file() also executes the file
* read_history_file() replaces the previous history
* write_history_file() overwrites any existing file
* Differentiate history file lines from history list items, which could be
multi-line
* Add more information about completion, also addressing Issue #10796
* libedit (Editline) may be used on any platform; detection is OS X specific
2016-04-05 07:37:22 +00:00
Martin Panter
3c38dccf22
Fix typos in documentation and comments
2016-04-05 06:19:42 +00:00
Martin Panter
ed06e8fa50
Issue #23735 : Avoid sighandler_t Gnu-ism
2016-04-03 08:00:49 +00:00