Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 3.6 | Victor Stinner | 2017-02-10 | 1 | -2/+3 |
|\ | |||||
| * | Fix test_datetime on Windows | Victor Stinner | 2017-02-10 | 1 | -2/+3 |
| | | | | | | | | | | Issue #29100: On Windows, datetime.datetime.fromtimestamp(min_ts) fails with an OSError in test_timestamp_limits(). | ||||
* | | Merge 3.6 | Victor Stinner | 2017-02-10 | 1 | -3/+7 |
|\ \ | |/ | |||||
| * | Fix test_datetime on system with 32-bit time_t | Victor Stinner | 2017-02-10 | 1 | -3/+7 |
| | | | | | | | | Issue #29100: Catch OverflowError in the new test_timestamp_limits() test. | ||||
* | | Merge 3.6 | Victor Stinner | 2017-02-10 | 1 | -0/+36 |
|\ \ | |/ | |||||
| * | Fix datetime.fromtimestamp(): check bounds | Victor Stinner | 2017-02-10 | 1 | -0/+36 |
| | | | | | | | | | | Issue #29100: Fix datetime.fromtimestamp() regression introduced in Python 3.6.0: check minimum and maximum years. | ||||
* | | Merge 3.6 (fix #29519) | Łukasz Langa | 2017-02-10 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Merge 3.5 (fix #29519) | Łukasz Langa | 2017-02-10 | 1 | -2/+2 |
| |\ | |||||
| | * | Fix #29519: weakref spewing exceptions during interp finalization | Łukasz Langa | 2017-02-10 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #29507: Update test_exceptions | Victor Stinner | 2017-02-09 | 1 | -9/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test_unraisable() of test_exceptions expects that PyErr_WriteUnraisable(method) fails on repr(method). Before the previous change (7b8df4a5d81d), slot_tp_finalize() called PyErr_WriteUnraisable() with a PyMethodObject. In this case, repr(method) calls repr(self) which is BrokenRepr.__repr__() and the calls raises a new exception. After the previous change, slot_tp_finalize() uses an unbound method: repr() is called on a regular __del__() method which doesn't call repr(self). repr() doesn't fail anymore. PyErr_WriteUnraisable() doesn't call __repr__() anymore, so remove BrokenRepr unit test. | ||||
* | | | support: temp_dir() and change_cwd() uses repr() in error message | Victor Stinner | 2017-02-08 | 2 | -5/+5 |
| | | | | | | | | | | | | | | | Serhiy Storshaka pointed me that str(path) can emit a BytesWarning: use repr(path) instead. | ||||
* | | | Fix regrtest -j0 -R output | Victor Stinner | 2017-02-08 | 1 | -1/+1 |
| | | | | | | | | | | | | Write also dots into stderr, instead of stdout. | ||||
* | | | Update test_support for my temp_dir/change_cwd changes | Victor Stinner | 2017-02-08 | 2 | -6/+19 |
| | | | |||||
* | | | support: add more info on temp_dir() and change_cwd() failure | Victor Stinner | 2017-02-08 | 1 | -4/+6 |
| | | | | | | | | | | | | Log the OSError exception message. | ||||
* | | | Issue #29314: Merge with 3.6 | Mariatta Wijaya | 2017-02-07 | 1 | -1/+2 |
|\ \ \ | |/ / | |||||
| * | | Issue #29314: Merge with 3.5 | Mariatta Wijaya | 2017-02-07 | 1 | -1/+2 |
| |\ \ | | |/ | |||||
| | * | Issue #29314: Set the stacklevel to two in asyncio.async() Deprecation Warning | Mariatta Wijaya | 2017-02-07 | 1 | -1/+2 |
| | | | |||||
* | | | Issue #28164: Improves test on Windows 7 | Steve Dower | 2017-02-06 | 1 | -16/+22 |
|\ \ \ | |/ / | |||||
| * | | Issue #28164: Improves test on Windows 7 | Steve Dower | 2017-02-06 | 1 | -16/+22 |
| | | | |||||
* | | | regrtest: don't fail immediately if a child does crash | Victor Stinner | 2017-02-06 | 3 | -6/+16 |
| | | | | | | | | | | | | | | | | | | Issue #29362: Catch a crash of a worker process as a normal failure and continue to run next tests. It allows to get the usual test summary: single line result (OK/FAIL), total duration, etc. | ||||
* | | | Issue #29405: Make total calculation in _guess_delimiter more accurate. | Xiang Zhang | 2017-02-06 | 1 | -2/+2 |
| | | | |||||
* | | | Merge from 3.6 | Steve Dower | 2017-02-05 | 1 | -15/+27 |
|\ \ \ | |/ / | |||||
| * | | Updates test_winconsoleio to better show the source of its issues. | Steve Dower | 2017-02-05 | 1 | -15/+27 |
| | | | |||||
* | | | Issue #29326: Ignores blank lines in ._pth files (Patch by Alexey Izbyshev) | Steve Dower | 2017-02-04 | 1 | -13/+27 |
|\ \ \ | |/ / | |||||
| * | | Issue #29326: Ignores blank lines in ._pth files (Patch by Alexey Izbyshev) | Steve Dower | 2017-02-04 | 1 | -13/+27 |
| | | | |||||
* | | | Merge issue #28164 and issue #29409 | Steve Dower | 2017-02-04 | 2 | -2/+46 |
|\ \ \ | |/ / | |||||
| * | | Issue #28164: Correctly handle special console filenames (patch by Eryk Sun) | Steve Dower | 2017-02-04 | 1 | -1/+27 |
| | | | |||||
| * | | Issue #29409: Implement PEP 529 for io.FileIO (Patch by Eryk Sun) | Steve Dower | 2017-02-04 | 1 | -1/+19 |
| | | | |||||
* | | | Issue #29416: Prevent infinite loop in pathlib.Path.mkdir | Steve Dower | 2017-02-04 | 2 | -1/+12 |
|\ \ \ | |/ / | |||||
| * | | Issue #29416: Prevent infinite loop in pathlib.Path.mkdir | Steve Dower | 2017-02-04 | 2 | -1/+12 |
| |\ \ | | |/ | |||||
| | * | Issue #29416: Prevent infinite loop in pathlib.Path.mkdir | Steve Dower | 2017-02-04 | 2 | -1/+12 |
| | | | |||||
* | | | Issue #29444: Fixed out-of-bounds buffer access in the group() method of | Serhiy Storchaka | 2017-02-04 | 1 | -0/+10 |
|\ \ \ | |/ / | | | | | | | the match object. Based on patch by WGH. | ||||
| * | | Issue #29444: Fixed out-of-bounds buffer access in the group() method of | Serhiy Storchaka | 2017-02-04 | 1 | -0/+10 |
| |\ \ | | |/ | | | | | | | the match object. Based on patch by WGH. | ||||
| | * | Issue #29444: Fixed out-of-bounds buffer access in the group() method of | Serhiy Storchaka | 2017-02-04 | 1 | -0/+10 |
| | | | | | | | | | | | | the match object. Based on patch by WGH. | ||||
| * | | Fixes #29213: merged fix from 3.5. | Vinay Sajip | 2017-02-02 | 2 | -7/+5 |
| |\ \ | | |/ | |||||
| | * | Fixes #29213: regularised EOLs of venv scripts. | Vinay Sajip | 2017-02-02 | 2 | -7/+5 |
| | | | |||||
* | | | Issue #29263: LOAD_METHOD support for C methods | INADA Naoki | 2017-02-02 | 1 | -1/+1 |
| | | | | | | | | | | | | Calling builtin method is at most 10% faster. | ||||
* | | | Closes #29213: Merged fix from 3.6. | Vinay Sajip | 2017-02-02 | 2 | -7/+5 |
| | | | |||||
* | | | Closes #24875: Merged fix from 3.6. | Vinay Sajip | 2017-02-02 | 2 | -8/+23 |
|\ \ \ | |/ / | |||||
| * | | Fixes #24875: Merged fix from 3.5. | Vinay Sajip | 2017-02-02 | 2 | -8/+23 |
| |\ \ | | |/ | |||||
| | * | Fixes #24875: pip can now be installed in a venv with --system-site-packages. | Vinay Sajip | 2017-02-02 | 2 | -9/+25 |
| | | | |||||
| * | | Merge 3.5 | Victor Stinner | 2017-02-02 | 1 | -0/+4 |
| |\ \ | | |/ | |||||
| | * | Issue #29300: test_struct tests unpack_from() with keywords | Victor Stinner | 2017-02-02 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | Add an unit test on the _struct.Struct.unpack_from() method to test passing arguments as keywords. | ||||
* | | | Rename struct.unpack() 2nd parameter to "buffer" | Victor Stinner | 2017-02-02 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #29300: Rename struct.unpack() second parameter from "inputstr" to "buffer", and use the Py_buffer type. Fix also unit tests on struct.unpack() which passed a Unicode string instead of a bytes string as struct.unpack() second parameter. The purpose of test_trailing_counter() is to test invalid format strings, not to test the buffer parameter. | ||||
* | | | Issue #29300: Convert _struct module to Argument Clinic | Victor Stinner | 2017-02-02 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The struct module now requires contiguous buffers. * Convert most functions and methods of the _struct module to Argument Clinic * Use "Py_buffer" type for the "buffer" argument. Argument Clinic is responsible to create and release the Py_buffer object. * Use "PyStructObject *" type for self to avoid explicit conversions. * Add an unit test on the _struct.Struct.unpack_from() method to test passing arguments as keywords. * Rephrase docstrings. * Rename "fmt" argument to "format" in docstrings and the documentation. As a side effect, functions and methods which used METH_VARARGS calling convention like struct.pack() now use the METH_FASTCALL calling convention which avoids the creation of temporary tuple to pass positional arguments and so is faster. For example, struct.pack("i", 1) becomes 1.56x faster (-36%):: $ ./python -m perf timeit \ -s 'import struct; pack=struct.pack' 'pack("i", 1)' \ --compare-to=../default-ref/python Median +- std dev: 119 ns +- 1 ns -> 76.8 ns +- 0.4 ns: 1.56x faster (-36%) Significant (t=295.91) Patch co-written with Serhiy Storchaka. | ||||
* | | | Issue #29368: The extend() method is now called instead of the append() | Serhiy Storchaka | 2017-02-02 | 1 | -5/+12 |
| | | | | | | | | | | | | | | | method when unpickle collections.deque and other list-like objects. This can speed up unpickling to 2 times. | ||||
* | | | Issue #29377: Add three new wrappers to types.py (Manuel Krebber). | Guido van Rossum | 2017-02-01 | 2 | -0/+22 |
| | | | |||||
* | | | Fix test_gdb.test_wrapper_call() on Python 2 | Victor Stinner | 2017-02-01 | 1 | -2/+2 |
| | | | | | | | | | | | | Issue #29367. On Python 2, __init__ name is render as u'__init__'. | ||||
* | | | Make test_gdb.test_wrapper_call() make reliable | Victor Stinner | 2017-02-01 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | Issue #29367. Use two break points to prevent breakpoint during Python initialization. | ||||
* | | | python-gdb.py supports method-wrapper | Victor Stinner | 2017-02-01 | 1 | -1/+20 |
| | | | | | | | | | | | | | | | Issue #29367: python-gdb.py now supports also method-wrapper (wrapperobject) objects. |