- 27 Jun, 2017 4 commits
-
-
Serhiy Storchaka authored
This happened because shortcut has a class binding and 'break' was not returned. Fix other potential conflicts between IDLE and default key bindings. * Add news item * Update NEWS
-
csabella authored
Patch by Cheryl Sabella.
-
Eric N. Vander Weele authored
New error condition paths were introduced, which did not decrement `key2` and `val2` objects. Therefore, decrement references before jumping to the error label. Signed-off-by: Eric N. Vander Weele <ericvw@gmail.com>
-
Victor Stinner authored
* Change the regrtest --huntrleaks checker to decide if a test file leaks or not. Require that each run leaks at least 1 reference. * Warmup runs are now completely ignored: ignored in the checker test and not used anymore to compute the sum. * Add an unit test for a reference leak. Example of reference differences previously considered a failure (leak) and now considered as success (success, no leak): [3, 0, 0] [0, 1, 0] [8, -8, 1]
-
- 26 Jun, 2017 8 commits
-
-
csabella authored
Also, change '*' in the tkinter import to an explicit list of names. Patch by Cheryl Sabella.
-
Joel Hillacre authored
Leading whitespace was incorrectly dropped during folding of certain lines in the _header_value_parser's folding algorithm. This makes the whitespace handling code consistent.
-
Antoine Pitrou authored
* bpo-30765: Avoid blocking when PyThread_acquire_lock() is asked not to lock This is especially important if PyThread_acquire_lock() is called reentrantly (for example from a signal handler). * Update 2017-06-26-14-29-50.bpo-30765.Q5iBmf.rst * Avoid core logic when taking the mutex failed
-
Victor Stinner authored
* bpo-30764: regrtest: change exit code on failure * Exit code 2 if failed tests ("bad") * Exit code 3 if interrupted * bpo-30764: regrtest: add --fail-env-changed option If the option is set, mark a test as failed if it alters the environment, for example if it creates a file without removing it.
-
Walter Dörwald authored
-
Victor Stinner authored
bpo-30764, bpo-29335: test_child_terminated_in_stopped_state() of test_subprocess now uses support.SuppressCrashReport() to prevent the creation of a core dump on FreeBSD.
-
Victor Stinner authored
* regrtest --list-cases now supports --match and --match-file options. Example: ./python -m test --list-cases -m FileTests test_os * --list-cases now also sets support.verbose to False to prevent messages to stdout when loading test modules. * Add support._match_test() private function.
-
csabella authored
Verify user-entered key sequences by trying to bind them with tk. Add tests for all 3 validation functions. Original patch by G Polo. Tests added by Cheryl Sabella.
-
- 25 Jun, 2017 3 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
in `os.putenv()` and `os.spawn*()`.
-
Antoine Pitrou authored
-
- 24 Jun, 2017 6 commits
-
-
Brett Cannon authored
-
Antoine Pitrou authored
* Fix bpo-30596: Add close() method to multiprocessing.Process * Raise ValueError if close() is called before the Process is finished running * Add docs * Add NEWS blurb
-
Serhiy Storchaka authored
-
Johan de Jager authored
defiend -> defined
-
INADA Naoki authored
replace `(i << 2) + 1` with `i*5`
-
csabella authored
Patch by Cheryl Sabella.
-
- 23 Jun, 2017 15 commits
-
-
Victor Stinner authored
Explicitly cast on integer downcasting to fix compiler warnings. (cherry picked from libexpat commit 788bff7a3baad1983b15b17c29e19e1a1a795c48)
-
Adrian Wielgosik authored
Redundant code leftover from cleanup in #16191: the variable `err` is being written to, even though it wasn't used after that point.
-
Serhiy Storchaka authored
order of keyword arguments of TestCase.subTest().
-
Alexandru Ardelean authored
Bug didn't manifest itself when importing a module with source as .py files are always the first on the search path. The issue only showed up in bytecode-only packages where the calculated file path would be ``__init__.py/__init__.pyc``. Patch by Alexandru Ardelean.
-
Serhiy Storchaka authored
Prevent passing other invalid environment variables and command arguments.
-
csabella authored
Patch by Cheryl Sabella
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
Fix a regression introduced by myself in the commit 526b2265.
-
Segev Finer authored
* bpo-30726: Fix elementtree warnings on Windows Caused by usage of `getenv` which should be safe. And a few integer truncations which should also be ok. * bpo-30726: Don't ignore libexpat warnings which haypo intends to fix upstream
-
Serhiy Storchaka authored
-
Victor Stinner authored
bpo-30726, bpo-29591: libexpat 2.2.1 of Modules/expat/ now uses a winconfig.h configuration file which already defines: * XML_NS * XML_DTD * BYTEORDER=1234 * XML_CONTEXT_BYTES=1024 * HAVE_MEMMOVE Remove these defines from PCbuild/_elementtree.vcxproj to prevent compiler warnings. Co-Authored-By: Jeremy Kloth <jeremy.kloth@gmail.com>
-
INADA Naoki authored
-
Benjamin Peterson authored
Straightforward. While we're at it, though, strip trailing whitespace from generated tables.
-
_ = NaN authored
-
- 22 Jun, 2017 4 commits
-
-
larryhastings authored
Add "Misc/NEWS.d" directory tree for "blurb". CPython workflow is changing! We're going to start using "blurb" to manage Misc/NEWS entries: https://github.com/python/core-workflow (This will be a big win for release managers, honest.) This checkin simply populates the "Misc/NEWS.d" subdirectory tree so that people can start putting their news entries in there. No other changes (yet).
-
khyox authored
When a class and its subclass are present, the latter is skipped.
-
Gregory P. Smith authored
bpo-29212: Fix the ugly ThreadPoolExecutor thread name. Fixes the newly introduced ugly default thread name for concurrent.futures thread.ThreadPoolExecutor threads. They'll now resemble the old <=3.5 threading default Thread-x names by being named ThreadPoolExecutor-y_n.
-
terryjreedy authored
-