Commit Graph

79653 Commits

Author SHA1 Message Date
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
Donald Stufft 115d858644 Upgrade ensurepip._bundled pip to 8.1.1 and setuptools to 20.3 2016-03-17 11:05:35 -04:00
Martin Panter a45120db96 Issue #17603: Check for st_blocks field without requiring fileblocks.o 2016-03-18 02:36:41 +00:00
Victor Stinner ec8d6c2d93 Skip test_site if USER_SITE cannot be created
Issue #17758: Skip test_site if site.USER_SITE directory doesn't exist and
cannot be created.
2016-03-14 17:49:46 +01:00
Serhiy Storchaka d351827b0b Issue #20556: Used specific assert methods in threading tests. 2016-03-14 10:28:59 +02:00
Ezio Melotti aac1dd0429 #24918: fix CSS for code blocks when a side box is present. Patch by Manvi B. 2016-03-13 11:42:05 +02:00
Ezio Melotti 6066257c38 #25687: clarify that errors in tearDown increase the total number of reported errors. Initial patch by HyeSoo Park. 2016-03-13 09:40:09 +02:00
Steve Dower deb1a90f2c Issue #26513: Fixes platform module detection of Windows Server 2016-03-12 08:07:04 -08:00
Serhiy Storchaka 5c2cb824f4 Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch by
Tamás Bence Gedai.
2016-03-12 10:51:16 +02:00
Terry Jan Reedy ca76100205 Issue 25959: Explain in docstring that PhotoImage.zoom arguments are
multipliers, not final sizes.  Explain y default for .zoom and .subsample.
Initial patch by Serhiy Storchaka.
2016-03-11 15:30:27 -05:00
Ezio Melotti 3d3a8f6c7b #26247: document Chrome/Chromium addition to webbrowser. Patch by Manvi B. 2016-03-11 21:32:12 +02:00
Victor Stinner 8285a70672 Issue #16851: Add Anna Koroliuk to Misc/ACKS 2016-03-11 11:28:41 +01:00
Victor Stinner 498834b7b9 Fix inspect.ismethod() doc
Closes #16851: Fix inspect.ismethod() doc, return also True if object is an
unbound method.

Patch written by Anna Koroliuk.
2016-03-11 11:27:46 +01:00
Serhiy Storchaka 0fd213c5d7 Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets. 2016-03-09 10:51:41 +02:00
Serhiy Storchaka 2c311f937e Issue #15068: Avoid creating a reference loop in fileinput. 2016-03-08 23:34:28 +02:00
Steve Dower b6d633ce33 Backed out changeset: e7065fc4a6c2 2016-03-08 13:09:32 -08:00
Steve Dower 2f7570f094 Force clean externals on buildbots. 2016-03-08 12:51:59 -08:00
Steve Dower b3fbbf4b35 Issue #26465: Update Windows builds to use OpenSSL 1.0.2g. 2016-03-08 10:26:39 -08:00
Serhiy Storchaka 69b7f812fa Issue #15068: Got rid of excessive buffering in the fileinput module.
The bufsize parameter is no longer used.
2016-03-08 18:35:45 +02:00
Serhiy Storchaka 2d80fb3905 Issue #26486: Removed pickle test that doesn't work in 2.7 on 64-bit platform. 2016-03-08 11:04:22 +02:00