Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-31773: _PyTime_GetPerfCounter() uses _PyTime_t (GH-3983) | Victor Stinner | 2017-10-16 | 4 | -48/+135 |
| | | | | | | | | * Rewrite win_perf_counter() to only use integers internally. * Add _PyTime_MulDiv() which compute "ticks * mul / div" in two parts (int part and remaining) to prevent integer overflow. * Clock frequency is checked at initialization for integer overflow. * Enhance also pymonotonic() to reduce the precision loss on macOS (mach_absolute_time() clock). | ||||
* | bpo-31776: Missing "raise from None" in Lib/xml/etree/ElementPath.py (#3978) | Pablo Galindo | 2017-10-16 | 1 | -1/+1 |
| | |||||
* | bpo-31792: Restore os.environ in test_buffer when import numpy. (#4007) | Serhiy Storchaka | 2017-10-16 | 1 | -2/+3 |
| | |||||
* | completly -> completely (#3999) (closes bpo-31788) | Semen Zhydenko | 2017-10-15 | 1 | -1/+1 |
| | |||||
* | bpo-31754: Fix type of 'itemsize' in PyBuffer_FillContiguousStrides (GH-3993) | vyas45 | 2017-10-15 | 1 | -1/+1 |
| | |||||
* | bpo-31780: Fix incorrect error message for ',x', ',b', ',o' specs (#4002) | Dargor | 2017-10-15 | 1 | -2/+2 |
| | | | Patch by Pablo. | ||||
* | bpo-25588: Document autotest in idle_test/README.txt. (#4000) | Terry Jan Reedy | 2017-10-15 | 1 | -1/+10 |
| | | | Follow-up to Victor's patch that enabled autotest to run in IDLE's Shell. | ||||
* | bpo-31757: Make Fibonacci examples consistent (#3991) | Raymond Hettinger | 2017-10-14 | 2 | -18/+20 |
| | |||||
* | bpo-31672: doc: Remove one sentence from library/string.rst (GH-3990) | INADA Naoki | 2017-10-14 | 1 | -1/+1 |
| | | | | This sentence is removed while backporting to 3.6 branch. See https://github.com/python/cpython/pull/3982#discussion_r144555768 | ||||
* | bpo-31714: Improved regular expression documentation. (#3907) | Serhiy Storchaka | 2017-10-14 | 2 | -185/+226 |
| | |||||
* | bpo-30807: signal.setitimer() now uses _PyTime API (GH-3865) | Victor Stinner | 2017-10-13 | 3 | -24/+35 |
| | | | | | | The _PyTime API handles detects overflow and is well tested. Document that the signal will only be sent once if internal is equal to zero. | ||||
* | bpo-31676: Fix test_imp.test_load_source() side effect (#3871) | Victor Stinner | 2017-10-13 | 1 | -2/+7 |
| | | | | test_load_source() now replaces the current __name__ module with a temporary module to prevent side effects. | ||||
* | os.startfile(): add a C comment on security (#3877) | Victor Stinner | 2017-10-13 | 1 | -0/+4 |
| | | | LoadLibrary("SHELL32") is not vulnerable to DLL hijacking. | ||||
* | bpo-25588: Fix regrtest when run inside IDLE (#3962) | Victor Stinner | 2017-10-13 | 1 | -12/+31 |
| | | | | | | | When regrtest in run inside IDLE, sys.stdout and sys.stderr are not TextIOWrapper objects and have no file descriptor associated: sys.stderr.fileno() raises io.UnsupportedOperation. Disable faulthandler and don't replace sys.stdout in that case. | ||||
* | bpo-28647: Update -u documentation after bpo-30404 (GH-3961) | Berker Peksag | 2017-10-13 | 4 | -14/+9 |
| | |||||
* | bpo-31672: Fix string.Template accidentally matched non-ASCII identifiers ↵ | INADA Naoki | 2017-10-13 | 4 | -3/+24 |
| | | | | | | | | | | | (GH-3872) Pattern `[a-z]` with `IGNORECASE` flag can match to some non-ASCII characters. Straightforward solution for this is using `IGNORECASE | ASCII` flag. But users may subclass `Template` and override only `idpattern`. So we want to avoid changing `Template.flags`. So this commit uses local flag `-i` for `idpattern` and change `[a-z]` to `[a-zA-Z]`. | ||||
* | Improve test suite customization example (GH-3967) | Berker Peksag | 2017-10-13 | 1 | -2/+6 |
| | | | | Reported by John Gamboa on docs@p.o at https://mail.python.org/pipermail/docs/2017-June/031942.html | ||||
* | Exclude non-default VENVDIR in Doc builds (#3974) | Ned Deily | 2017-10-12 | 1 | -1/+2 |
| | |||||
* | bpo-30058: Fixed buffer overflow in select.kqueue.control(). (#1095) | Serhiy Storchaka | 2017-10-12 | 3 | -16/+38 |
| | |||||
* | bpo-31766: restore 3.5 to docs version switchers (#3969) | Ned Deily | 2017-10-12 | 2 | -1/+3 |
| | |||||
* | bpo-31567: more decorator markup fixes in docs (GH-3959) (#3966) | Éric Araujo | 2017-10-12 | 3 | -7/+16 |
| | |||||
* | bpo-31773: time.perf_counter() uses again double (GH-3964) | Victor Stinner | 2017-10-12 | 4 | -49/+50 |
| | | | | | | | | time.clock() and time.perf_counter() now use again C double internally. Remove also _PyTime_GetWinPerfCounterWithInfo(): use _PyTime_GetPerfCounterDoubleWithInfo() instead on Windows. | ||||
* | bpo-31567: add or fix decorator markup in docs (#3959) | Daisuke Miyakawa | 2017-10-12 | 4 | -8/+8 |
| | |||||
* | Cleanup pytime.c (#3955) | Victor Stinner | 2017-10-11 | 1 | -54/+76 |
| | | | | | * Move _PyTime_overflow() at the top * Move assertion on numerator into _PyTime_ObjectToDenominator() * PEP 7: add { ... } to if blocks | ||||
* | bpo-28157: Improvements for the time module documentation (GH-928) | Cheryl Sabella | 2017-10-11 | 2 | -109/+116 |
| | | | | | * Separated functions and constants descriptions in sections. * Added a note about the limitations of timezone constants. * Removed redundant lists from the module docstring. | ||||
* | bpo-31537: Update readline documentation example. (GH-3925) | Brad Smith | 2017-10-10 | 2 | -2/+4 |
| | | | Change the code example from using `get_history_length` to `get_current_history_length`. | ||||
* | bpo-31728: Prevent crashes in _elementtree due to unsafe cleanup of ↵ | Oren Milman | 2017-10-10 | 3 | -34/+62 |
| | | | | Element.text and Element.tail (#3924) | ||||
* | bpo-31740: Prevent refleaks when sqlite3.Connection.__init__() is called ↵ | Oren Milman | 2017-10-10 | 1 | -8/+8 |
| | | | | more than once (GH-3944) | ||||
* | bpo-31415: Add _PyTime_GetPerfCounter() and use it for -X importtime (#3936) | Victor Stinner | 2017-10-10 | 4 | -60/+112 |
| | | | | | * Add _PyTime_GetPerfCounter() * Use _PyTime_GetPerfCounter() for -X importtime | ||||
* | Allow configure to handle PATH elements with spaces (#3935) | Ned Deily | 2017-10-09 | 2 | -8/+8 |
| | |||||
* | bpo-31701: faulthandler: ignore MSC and COM Windows exception (#3929) | Victor Stinner | 2017-10-09 | 3 | -3/+36 |
| | | | | | | bpo-31701: On Windows, faulthandler.enable() now ignores MSC and COM exceptions. | ||||
* | bpo-31723: Fix refleaks when zipimporter.__init__() is called more than once ↵ | Oren Milman | 2017-10-09 | 1 | -5/+6 |
| | | | | (GH-3919) | ||||
* | bpo-27867: Add a porting guide for PySlice_GetIndicesEx(). (#1973) | Serhiy Storchaka | 2017-10-08 | 2 | -1/+30 |
| | |||||
* | bpo-28280: Make PyMapping_Keys(), PyMapping_Values() and PyMapping_Items() ↵ | Oren Milman | 2017-10-08 | 6 | -34/+137 |
| | | | | always return a list (#3840) | ||||
* | bpo-31642: Restore blocking "from" import by setting None in sys.modules. ↵ | Serhiy Storchaka | 2017-10-08 | 4 | -243/+262 |
| | | | | (#3834) | ||||
* | bpo-31724: Skip test_xmlrpc_net (GH-3921) | Zachary Ware | 2017-10-08 | 1 | -0/+2 |
| | | | | | With the upgrade of buildbot.python.org from Buildbot 0.8.x to 0.9.x, the xmlrpc interface has been removed. This test is now skipped until it can be rewritten to query a suitable substitute. | ||||
* | bpo-31655: Validate keyword names in SimpleNamespace constructor. (#3909) | Serhiy Storchaka | 2017-10-07 | 2 | -1/+7 |
| | |||||
* | bpo-31720: msilib documentation, change MsiError into MSIError (GH-3914) | Tzu-ping Chung | 2017-10-07 | 1 | -1/+1 |
| | |||||
* | bpo-31709: Update importlib magic (#3906) | Yury Selivanov | 2017-10-06 | 3 | -107/+111 |
| | |||||
* | Document Py_GETENV() (#3890) | Barry Warsaw | 2017-10-06 | 1 | -0/+5 |
| | |||||
* | bpo-25658: Implement PEP 539 for Thread Specific Storage (TSS) API (GH-1362) | Masayuki Yamamoto | 2017-10-06 | 18 | -108/+651 |
| | | | | | | | | | See PEP 539 for details. Highlights of changes: - Add Thread Specific Storage (TSS) API - Document the Thread Local Storage (TLS) API as deprecated - Update code that used TLS API to use TSS API | ||||
* | bpo-31708: Allow async generator expressions in synchronous functions (#3905) | Yury Selivanov | 2017-10-06 | 5 | -9/+52 |
| | |||||
* | bpo-31709: Drop support for asynchronous __aiter__. (#3903) | Yury Selivanov | 2017-10-06 | 9 | -300/+47 |
| | |||||
* | weaken pthread_getcpuclockid test (more bpo-31596) (#3904) | Benjamin Peterson | 2017-10-06 | 1 | -8/+1 |
| | | | There just isn't much we can assert in a portable way. | ||||
* | closes bpo-31696: don't mention GCC in sys.version when building with clang ↵ | Benjamin Peterson | 2017-10-06 | 2 | -8/+9 |
| | | | | (#3891) | ||||
* | bpo-30406: Make async and await proper keywords (#1669) | Jelle Zijlstra | 2017-10-06 | 22 | -540/+336 |
| | | | Per PEP 492, 'async' and 'await' should become proper keywords in 3.7. | ||||
* | bpo-31523: Reliability improvements to the Windows build files (#3900) | Steve Dower | 2017-10-05 | 5 | -27/+56 |
| | |||||
* | PEP 553 built-in breakpoint() function (bpo-31353) (#3355) | Barry Warsaw | 2017-10-05 | 9 | -23/+324 |
| | | | Implement PEP 553, built-in breakpoint() with support from sys.breakpointhook(), along with documentation and tests. Closes bpo-31353 | ||||
* | bpo-31556: asyncio.wait_for can cancel futures faster with timeout <= 0 (#3703) | Victor K | 2017-10-05 | 3 | -0/+80 |
| | |||||
* | bpo-31178: Mock os.waitpid() in test_subprocess (#3896) | Victor Stinner | 2017-10-05 | 1 | -4/+8 |
| | | | | | | Fix test_exception_errpipe_bad_data() and test_exception_errpipe_normal() of test_subprocess: mock os.waitpid() to avoid calling the real os.waitpid(0, 0) which is an unexpected side effect of the test. |