Commit Graph

79472 Commits

Author SHA1 Message Date
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
Terry Jan Reedy d0c21de54d Document maintenance of idlelib/help.html in idlelib. 2016-03-01 01:13:07 -05:00
Terry Jan Reedy a9c24a610b Rebase 2.7 idlelib/idle.html on current 2.7.11 docs with tag changes.
These changes should not be visible to the user.
2016-03-20 20:28:23 -04:00
Serhiy Storchaka 6d297cbec4 Issue #26581: Use the first coding cookie on a line, not the last one. 2016-03-20 23:36:29 +02:00
Serhiy Storchaka cac1d236a2 Added new tests for detecting Python source code encoding. 2016-03-20 22:29:40 +02:00
Serhiy Storchaka 67818a1d70 Issue #18048: Merge test_pep263.py and test_coding.py into test_source_encoding.py. 2016-03-20 21:20:07 +02:00
Serhiy Storchaka 6765015f6c Issue #18048: Rename test_coding.py to test_source_encoding.py. 2013-06-13 09:50:42 +03:00
Nick Coghlan dbcd457624 Issue #23857: Implement PEP 493
Adds a Python-2-only ssl module API and environment variable to
configure the default handling of SSL/TLS certificates for
HTTPS connections.
2016-03-20 22:39:15 +10:00
Ezio Melotti 3a4bdb6322 #26250: document the sqlite3.Cursor.connection attribute. Initial patches by Aviv Palivoda and Varpu Rantala. 2016-03-18 20:10:36 +02:00
Steve Dower 9cb2074fe4 Issue #26313: ssl.py _load_windows_store_certs fails if windows cert store is empty. Patch by Baji. 2016-03-17 15:02:19 -07:00
Steve Dower 2bf60cb020 Issue #19450: Update Windows builds to use SQLite 3.8.11.0. 2016-03-17 14:41:36 -07:00