Commit Graph

79745 Commits

Author SHA1 Message Date
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
Martin Panter
a70c3239a7 Issue #23735: Add SIGWINCH handler for Readline 6.3+ support, by Eric Price 2016-04-03 02:54:58 +00:00
Martin Panter
ce9f8e2492 Issue #26678: Fix datetime.tzinfo indexing and “tzinfo” attribute links 2016-04-01 21:48:24 +00:00