Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #25496: Document compresslevel defaults to 9, by Hamza T Khan | Martin Panter | 2016-04-13 | 1 | -1/+1 |
| | |||||
* | Closes #26624: Adds validation of ucrtbase[d].dll version with warning for ↵ | Steve Dower | 2016-04-13 | 4 | -2/+99 |
| | | | | old versions. | ||||
* | configure: fix HAVE_GETRANDOM_SYSCALL check | Victor Stinner | 2016-04-12 | 2 | -83/+85 |
| | | | | syscall() function requires #include <unistd.h>. | ||||
* | Fix os.urandom() on Solaris 11.3 | Victor Stinner | 2016-04-12 | 2 | -5/+16 |
| | | | | | | Issue #26735: Fix os.urandom() on Solaris 11.3 and newer when reading more than 1,024 bytes: call getrandom() multiple times with a limit of 1024 bytes per call. | ||||
* | Issue #26647: Fix typo in test_grammar | Victor Stinner | 2016-04-12 | 1 | -1/+1 |
| | | | | Patch written by Demur Rumed. | ||||
* | Clarify greedy-qualifier example, avoid HTML. | Georg Brandl | 2016-04-12 | 1 | -4/+4 |
| | |||||
* | Issue #26733: Fixed formatting line numbers in test_dis. | Serhiy Storchaka | 2016-04-12 | 1 | -11/+11 |
| | | | | Based on patch by Xiang Zhang. | ||||
* | Issue #25910: Fixed more links in the docs. | Serhiy Storchaka | 2016-04-11 | 3 | -4/+4 |
| | |||||
* | typing doc: add versionadded 3.5 | Victor Stinner | 2016-04-11 | 1 | -0/+2 |
| | |||||
* | Add a versionchanged directive to document addition of the new 'namereplace' ↵ | Berker Peksag | 2016-04-11 | 1 | -0/+2 |
| | | | | | | error handler. Reported by Robert on docs@p.o. | ||||
* | Merge heads | Serhiy Storchaka | 2016-04-11 | 2 | -2/+2 |
|\ | |||||
| * | Fix typos in mock and exceptions docs | Berker Peksag | 2016-04-11 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | The default value of __len__ is 0, not 1: >>> from unittest.mock import MagicMock >>> mock = MagicMock() >>> len(mock) 0 Reported by Alex on docs@p.o. Remove the remaining VMSError reference. VMS support is gone. | ||||
* | | Issue #25910: Fixed dead links in the docs. | Serhiy Storchaka | 2016-04-11 | 5 | -8/+8 |
|/ | |||||
* | Issue #26200: Restored more safe usages of Py_SETREF. | Serhiy Storchaka | 2016-04-11 | 1 | -3/+3 |
| | |||||
* | Issue #14456: Remove contradiction about blocking signals from bad merge | Martin Panter | 2016-04-11 | 1 | -3/+0 |
| | |||||
* | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 20 | -42/+52 |
| | | | | in places where Py_DECREF was used. | ||||
* | Issue #26719: More efficient formatting of ints and floats in json. | Serhiy Storchaka | 2016-04-10 | 2 | -62/+14 |
| | |||||
* | Issue #25339: PYTHONIOENCODING now has priority over locale in setting the | Serhiy Storchaka | 2016-04-10 | 3 | -14/+35 |
| | | | | error handler for stdin and stdout. | ||||
* | Remove relics of str8 (became bytes) and buffer (bytearray) type tests | Martin Panter | 2016-04-10 | 1 | -33/+0 |
| | | | | Remove redundant tests now that str is unicode. | ||||
* | Issue #26712: Unify (r)split, (l/r)strip tests into string_tests | Martin Panter | 2016-04-10 | 3 | -96/+35 |
| | | | | This eliminates a few redundant test cases. | ||||
* | Issue #21069: Move test_fileno() from test_urllibnet and rewrite it | Martin Panter | 2016-04-09 | 2 | -11/+41 |
| | | | | | | | | * No longer attempts to close already freed socket file descriptor * Use socket object to be compatible with Windows * Do not use a timeout to avoid complication with non-blocking mode * Use internal localhost server rather than depending on a third party * Avoid trouble with buffered HTTP data by testing tunnelled CONNECT data | ||||
* | Issue #26609: Fix HTTP server tests to request an absolute URL path | Martin Panter | 2016-04-09 | 1 | -12/+29 |
| | |||||
* | Update fcntl doc: replace IOError with OSError | Victor Stinner | 2016-04-09 | 2 | -3/+3 |
| | | | | Issue #26716. IOError is a deprecated alias to OSError since Python 3.3. | ||||
* | Issue #17264: Fix cross refs and a markup error in extending/building.rst | Berker Peksag | 2016-04-09 | 1 | -5/+6 |
| | |||||
* | Issue #16329: Add .webm to mimetypes.types_map | Berker Peksag | 2016-04-09 | 2 | -0/+3 |
| | | | | Patch by Giampaolo Rodola'. | ||||
* | Issue #13952: Add .csv to mimetypes.types_map | Berker Peksag | 2016-04-09 | 2 | -0/+3 |
| | | | | Patch by Geoff Wilson. | ||||
* | Issue #26587: Remove an incorrect statement from the docs | Brett Cannon | 2016-04-08 | 1 | -2/+1 |
| | |||||
* | Issue #26709: Fixed Y2038 problem in loading binary PLists. | Serhiy Storchaka | 2016-04-08 | 3 | -1/+12 |
| | |||||
* | Issue #26257: Eliminate buffer_tests.py and fix ByteArrayAsStringTest | Martin Panter | 2016-04-06 | 4 | -229/+54 |
| | | | | | | | | | | | | | | | | 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. These methods are now moved into string_tests.BaseTest, where they will also get run for bytes and bytearray. This change also moves test_additional_split(), test_additional_rsplit(), and test_strip() from CommonTest to BaseTest, meaning these tests are now run for bytes and bytearray. I plan to eliminate redundancies with existing tests in test_bytes.py soon. | ||||
* | Adds version info to all signed binaries on Windows. | Steve Dower | 2016-04-06 | 34 | -16/+139 |
| | |||||
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 37 | -132/+132 |
| | |||||
* | Add Text=str. Make ItemsView derive from AbstractSet, not Set (which is the ↵ | Guido van Rossum | 2016-04-05 | 1 | -1/+6 |
| | | | | concrete set). | ||||
* | Many changes from the upstream repo (https://github.com/python/typing). | Guido van Rossum | 2016-04-05 | 2 | -179/+371 |
| | | | | | | | | | | | | | | | | | | | | | | | | This syncs to rev 7b43ada77821d23e55e3a4b35f6055a59b9e1ad7 there. Summary: - Add typing.DefaultDict (as a generic variant of collections.defaultdict). - Use collections.Reversible if it exists (only relevant for Python 3.6). - Revamped generic class behavior to conform to updated PEP 484. - Improve speed of Generic.__new__. - Make sure __init__ is called for new Generic instances. Fix issue #26391. - Refactor async support to be compatible with 3.2, 3.3, 3.4. - Remove 'io' and 're' from __all__ (they still exist, just not included by "import *"). Fix issue #26234. - Change @overload -- you can now use it outside stubs (you still cannot call the decorated function though). | ||||
* | Issue #6953: Rearrange and expand Readline module documentation | Martin Panter | 2016-04-05 | 3 | -75/+136 |
| | | | | | | | | | | | | | | | | | * 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 | ||||
* | Fix typos in documentation and comments | Martin Panter | 2016-04-05 | 7 | -13/+13 |
| | |||||
* | Issue #23735: Avoid sighandler_t Gnu-ism | Martin Panter | 2016-04-03 | 1 | -1/+1 |
| | |||||
* | Issue #23735: Add SIGWINCH handler for Readline 6.3+ support, by Eric Price | Martin Panter | 2016-04-03 | 6 | -0/+87 |
| | |||||
* | Issue #26586: Handle excessive header fields in http.server, by Xiang Zhang | Martin Panter | 2016-04-03 | 3 | -0/+18 |
| | |||||
* | Issue #26679: Fix description of KEY_PPAGE and KEY_NPAGE constants | Berker Peksag | 2016-04-02 | 1 | -2/+2 |
| | | | | Patch by Robert Bachmann and SilentGhost. | ||||
* | Issue #26688: Fix module name in mock docs | Berker Peksag | 2016-04-02 | 1 | -3/+3 |
| | | | | Patch by Ashley Anderson. | ||||
* | Issue #26678: Fix indexing of datetime.tzinfo and timezone classes | Martin Panter | 2016-04-01 | 1 | -59/+63 |
| | | | | Also fix links to the “tzinfo” class and attributes. | ||||
* | Added a cookbook recipe for a logging context manager. | Vinay Sajip | 2016-04-01 | 1 | -0/+102 |
| | |||||
* | asyncio: Don't log ConnectionAbortedError | Victor Stinner | 2016-04-01 | 5 | -5/+10 |
| | | | | | Issue #26509: In fatal error handlers, don't log ConnectionAbortedError which occur on Windows. | ||||
* | asyncio: allow None as wait timeout | Victor Stinner | 2016-04-01 | 2 | -6/+24 |
| | | | | | | Fix GH#325: Allow to pass None as a timeout value to disable timeout logic. Change written by Andrew Svetlov and merged by Guido van Rossum. | ||||
* | asyncio: sync overlapped.c with GitHub | Victor Stinner | 2016-04-01 | 1 | -0/+6 |
| | | | | | | | | | | On Python 3.3, use aliases: * PyMem_RawMalloc = PyMem_Malloc * PyMem_RawFree = PyMem_Free These aliases are not need in Python 3.5, but this change makes synchronization of code base simpler. | ||||
* | Issue #22854: Fix logic for skipping test | Martin Panter | 2016-03-31 | 1 | -1/+1 |
| | |||||
* | Remove redundant leading zeroes in PEP references. | Serhiy Storchaka | 2016-03-31 | 6 | -15/+15 |
| | |||||
* | Issue #22854: Skip pipe seek tests on Windows | Martin Panter | 2016-03-31 | 1 | -2/+7 |
| | |||||
* | Issue #22854: Clarify documentation about UnsupportedOperation and add tests | Martin Panter | 2016-03-31 | 6 | -35/+130 |
| | | | | | Also change BufferedReader.writable() and BufferedWriter.readable() to always return False. | ||||
* | Issue #26492: Added additional tests for exhausted iterators of mutable ↵ | Serhiy Storchaka | 2016-03-30 | 3 | -0/+24 |
| | | | | sequences. |