- 31 Oct, 2017 9 commits
-
-
Serhiy Storchaka authored
* Fix a compilation error on FreeBSD. * Fix the data attribute size on Mac OS X.
-
Victor Stinner authored
-
Victor Stinner authored
Write the name of each subtest on a new line to help debugging when a test does crash Python.
-
Serhiy Storchaka authored
bpo-31897: Convert unexpected errors when read bogus binary plists into InvalidFileException. (#4171)
-
Serhiy Storchaka authored
Removed a code that incorrectly detected in-place resizing in realloc() and wrote to freed memory.
-
Serhiy Storchaka authored
* Fixed the layout of the kqueue_event structure on OpenBSD and NetBSD. * Fixed the comparison of the kqueue_event objects.
-
Serhiy Storchaka authored
-
Victor Stinner authored
test_curses now saves/restores signals. On FreeBSD, the curses module sets handlers of some signals, but don't restore old handlers when the module is deinitialized.
-
Alex Gaynor authored
-
- 30 Oct, 2017 2 commits
-
-
Pablo Galindo authored
Update the kwarg in the documentation of `multiprocessing.pool.Pool.starmap_async`, from `error_back` to `error_callback` to match the source code..
-
Quentin Dawans authored
-
- 28 Oct, 2017 4 commits
-
-
Serhiy Storchaka authored
separators that are not bytes-like objects.
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
Editor and output windows only see an empty last prompt line. This simplifies the code and fixes a minor bug when newline is inserted. Sys.ps1, if present, is read on Shell start-up, but is not set or changed.
-
Serhiy Storchaka authored
Changes persist while IDLE remains open
-
- 27 Oct, 2017 9 commits
-
-
Victor Stinner authored
Use the _PyTime_t type rather than double for the faulthandler timeout in dump_traceback_later(). This change should fix the following Coverity warning: CID 1420311: Incorrect expression (UNINTENDED_INTEGER_DIVISION) Dividing integer expressions "9223372036854775807LL" and "1000LL", and then converting the integer quotient to type "double". Any remainder, or fractional part of the quotient, is ignored. if ((timeout * 1e6) >= (double) PY_TIMEOUT_MAX) { The warning comes from (double)PY_TIMEOUT_MAX with: #define PY_TIMEOUT_MAX (PY_LLONG_MAX / 1000)
-
Serhiy Storchaka authored
-
Erik Bray authored
Remove dangling references to PYCC_VACPP that are not relelvant since removal of OS/2 support.
-
Utkarsh Upadhyay authored
This is a fix to the documentation to reflect the changes merged in as part of bpo-30302.
-
Erik Bray authored
-
Erik Bray authored
Only declaring these as interns inside the CLI's main C module caused build problems on some platforms (notably Cygwin), so this switches them to a regular underscore prefixed "private" C API declaration.
-
Arthur Darcet authored
-
Lovesh Harchandani authored
TimedRotatingFileHandler.getFilesToDelete() now sorts only when needed.
-
cocoatomo authored
-
- 26 Oct, 2017 10 commits
-
-
Ivan Levkivskyi authored
Lexically first global and nonlocal syntax errors at given scope should be detected first.
-
Alexander Belopolsky authored
Patch by Mark Gollahon.
-
Vitor Pereira authored
-
Serhiy Storchaka authored
-
xdegaye authored
-
Ammar Askar authored
-
Serhiy Storchaka authored
BytesWarning no longer emitted when the fromlist argument of __import__() or the __all__ attribute of the module contain bytes instances.
-
Benjamin Peterson authored
We stop support this OS in 2007 with commit 19fab761. Let's finish.
-
pdox authored
-
Mario Corchero authored
Add support to strptime to parse time offsets with a colon between the hour and the minutes.
-
- 25 Oct, 2017 4 commits
-
-
Serhiy Storchaka authored
-
Victor Stinner authored
_PyFunction_FastCallDict() and _PyFunction_FastCallKeywords() now also takes the fast path if the code object uses __future__ (CO_FUTURE_xxx flags).
-
Benjamin Peterson authored
This kludge is from 1992. Any C99 compiler is going to be able to handle the ceval dispatch switch. Anyway, we have much bigger switches than the ceval dispatch one around. (See, e.g., Objects/unicodetype_db.h.)
-
Nick Coghlan authored
The startup refactoring means command line settings are now applied after settings are read from the environment. This updates the way command line settings are applied to account for that, ensures more settings are first read from the environment in _PyInitializeCore, and adds a simple test case covering the flags that are easy to check.
-
- 24 Oct, 2017 2 commits
-
-
Victor Stinner authored
Fix the pthread+semaphore implementation of PyThread_acquire_lock_timed() when called with timeout > 0 and intr_flag=0: recompute the timeout if sem_timedwait() is interrupted by a signal (EINTR). See also the PEP 475. The pthread implementation of PyThread_acquire_lock() now fails with a fatal error if the timeout is larger than PY_TIMEOUT_MAX, as done in the Windows implementation. The check prevents any risk of overflow in PyThread_acquire_lock(). Add also PY_DWORD_MAX constant.
-
Serhiy Storchaka authored
-