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
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
Vinay Sajip
cb7fff5ee3
Added a cookbook recipe for a logging context manager.
2016-04-01 23:06:57 +01:00
Serhiy Storchaka
838b1339e8
Remove redundant leading zeroes in PEP references.
2016-03-31 15:31:04 +03:00
Martin Panter
68822a0d59
Issue #22854 : fileno() is always required in IOBase; remove test
...
Also change BufferedReader.writable() and BufferedWriter.readable() to always
return False.
2016-03-31 07:21:56 +00:00
Serhiy Storchaka
0ed3891915
Issue #26492 : Added additional tests for exhausted iterators of mutable sequences.
2016-03-30 21:02:00 +03:00
Serhiy Storchaka
14a7d6389f
Issue #26494 : Fixed crash on iterating exhausting iterators.
...
Affected classes are generic sequence iterators, iterators of bytearray,
list, tuple, set, frozenset, dict, OrderedDict and corresponding views.
2016-03-30 20:43:06 +03:00
Martin Panter
d524b705af
Issue #23804 : Fix SSL recv/read(0) to not return 1024 bytes
2016-03-28 00:22:09 +00:00
Martin Panter
b8089b4dde
Issue #26644 : Raise ValueError for negative SSLSocket.recv() and read()
2016-03-27 05:35:19 +00:00
doko@ubuntu.com
6ce9f4b9a4
Revert the last change:
...
Makefile.pre.in:
- Modules/_math.o: Build using PY_CORE_CFLAGS as every extension
2016-03-23 13:17:23 +01:00
doko@ubuntu.com
ed282af85f
Makefile.pre.in:
...
- Modules/_math.o: Build using PY_CORE_CFLAGS as every extension
- profile-opt: Fix bashism
2016-03-23 12:55:48 +01:00
Martin Panter
b7036114fe
Issue #24266 : Cancel history search mode with Ctrl+C in Readline 7
2016-03-22 07:24:05 +00:00
Benjamin Peterson
9b1549044c
remove useless $ keyword ( closes #17167 )
2016-03-21 22:31:02 -07:00
Terry Jan Reedy
127f0d85e4
Issue #15660 : Further clarify 0 prefix for width specifier in formats.
2016-03-20 21:05:50 -04:00
Terry Jan Reedy
9d9d99cbee
whitespace
2016-03-20 20:39:26 -04:00