- 16 Oct, 2017 4 commits
-
-
brainfvck authored
Freeze all the objects tracked by gc - move them to a permanent generation and ignore all the future collections. This can be used before a POSIX fork() call to make the gc copy-on-write friendly or to speed up collection.
-
Victor Stinner authored
* 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).
-
Pablo Galindo authored
-
Serhiy Storchaka authored
-
- 15 Oct, 2017 4 commits
-
-
Semen Zhydenko authored
-
vyas45 authored
-
Dargor authored
Patch by Pablo.
-
Terry Jan Reedy authored
Follow-up to Victor's patch that enabled autotest to run in IDLE's Shell.
-
- 14 Oct, 2017 3 commits
-
-
Raymond Hettinger authored
-
INADA Naoki authored
This sentence is removed while backporting to 3.6 branch. See https://github.com/python/cpython/pull/3982#discussion_r144555768
-
Serhiy Storchaka authored
-
- 13 Oct, 2017 7 commits
-
-
Victor Stinner authored
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.
-
Victor Stinner authored
test_load_source() now replaces the current __name__ module with a temporary module to prevent side effects.
-
Victor Stinner authored
LoadLibrary("SHELL32") is not vulnerable to DLL hijacking.
-
Victor Stinner authored
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.
-
Berker Peksag authored
-
INADA Naoki authored
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]`.
-
Berker Peksag authored
Reported by John Gamboa on docs@p.o at https://mail.python.org/pipermail/docs/2017-June/031942.html
-
- 12 Oct, 2017 6 commits
-
-
Ned Deily authored
-
Serhiy Storchaka authored
-
Ned Deily authored
-
Éric Araujo authored
-
Victor Stinner authored
time.clock() and time.perf_counter() now use again C double internally. Remove also _PyTime_GetWinPerfCounterWithInfo(): use _PyTime_GetPerfCounterDoubleWithInfo() instead on Windows.
-
Daisuke Miyakawa authored
-
- 11 Oct, 2017 2 commits
-
-
Victor Stinner authored
* Move _PyTime_overflow() at the top * Move assertion on numerator into _PyTime_ObjectToDenominator() * PEP 7: add { ... } to if blocks
-
Cheryl Sabella authored
* Separated functions and constants descriptions in sections. * Added a note about the limitations of timezone constants. * Removed redundant lists from the module docstring.
-
- 10 Oct, 2017 4 commits
-
-
Brad Smith authored
Change the code example from using `get_history_length` to `get_current_history_length`.
-
Oren Milman authored
bpo-31728: Prevent crashes in _elementtree due to unsafe cleanup of Element.text and Element.tail (#3924)
-
Oren Milman authored
-
Victor Stinner authored
* Add _PyTime_GetPerfCounter() * Use _PyTime_GetPerfCounter() for -X importtime
-
- 09 Oct, 2017 3 commits
-
-
Ned Deily authored
-
Victor Stinner authored
bpo-31701: On Windows, faulthandler.enable() now ignores MSC and COM exceptions.
-
Oren Milman authored
-
- 08 Oct, 2017 4 commits
-
-
Serhiy Storchaka authored
-
Oren Milman authored
bpo-28280: Make PyMapping_Keys(), PyMapping_Values() and PyMapping_Items() always return a list (#3840)
-
Serhiy Storchaka authored
-
Zachary Ware authored
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.
-
- 07 Oct, 2017 2 commits
-
-
Serhiy Storchaka authored
-
Tzu-ping Chung authored
-
- 06 Oct, 2017 1 commit
-
-
Yury Selivanov authored
-