- 25 May, 2017 1 commit
-
-
Antoine Pitrou authored
* bpo-30414: multiprocesing.Queue._feed do not break from main loop on exc Queue background running thread was not handling exceptions correctly. Any exception occurred inside thread (putting unpickable object) cause feeder to finish running. After that every message put into queue is silently ignored. * bpo-30414: multiprocesing.Queue._feed do not break from main loop on exc Queue background running thread was not handling exceptions correctly. Any exception occurred inside thread (putting unpickable object) cause feeder to finish running. After that every message put into queue is silently ignored.. (cherry picked from commit bc50f03d)
-
- 24 May, 2017 2 commits
-
-
Stéphane Wirtel authored
-
Brian Ward authored
-
- 23 May, 2017 2 commits
-
-
Vijay Kumar authored
Ran the docstrings through spell checker, and fixed spelling issues.
-
Brett Cannon authored
-
- 22 May, 2017 2 commits
-
-
delirious-lettuce authored
-
Xiang Zhang authored
-
- 21 May, 2017 2 commits
-
-
Serhiy Storchaka authored
(cherry picked from commit 81755471)
-
Sean McCully authored
-
- 20 May, 2017 2 commits
-
-
Serhiy Storchaka authored
Based on patches by Duane Griffin and Tim Mitchell. (cherry picked from commit 753bca39)
-
Serhiy Storchaka authored
[2.7] bpo-25794: Fix `type.__setattr__()` for non-interned or unicode attribute names. (GH-1652) (#1675) Based on patch by Eryk Sun. (cherry picked from commit d896985b)
-
- 19 May, 2017 1 commit
-
-
Marc Schlaich authored
Patch by Davin with help from Marc.
-
- 18 May, 2017 2 commits
-
-
Serhiy Storchaka authored
Warnings emitted when compile a regular expression now always point to the line in the user code. Previously they could point into inners of the re module if emitted from inside of groups or conditionals. (cherry picked from commit c7ac7280)
-
Serhiy Storchaka authored
Running Python with the -3 option now warns about regular expression syntax that is invalid or has different semantic in Python 3 or will change the behavior in future Python versions.
-
- 17 May, 2017 2 commits
-
-
Serhiy Storchaka authored
Running Python with the -3 option now emits deprecation warnings for getchildren() and getiterator() methods of the Element class in the xml.etree.cElementTree module and when pass the html argument to xml.etree.ElementTree.XMLParser(). Fixed a deprecation warning about the doctype() method of the xml.etree.ElementTree.XMLParser class. Now it is emitted only when define the doctype() method in the subclass of XMLParser. Fixed a bug in the test_bug_200708_close test method. An EchoTarget instance was incorrectly passed to XMLParser() as the html argument and silently ignored. Tests no longer failed when use the -m option for running only selected test methods. Checking warnings now is more specific, warnings are expected only when use deprecated features.
-
Victor Stinner authored
Catch the Windows socket WSAEINVAL error (code 10022) in imaplib on shutdown(SHUT_RDWR): An invalid operation was attempted This error occurs sometimes on SSL connections. (cherry picked from commit 83a2c287)
-
- 16 May, 2017 2 commits
-
-
Serhiy Storchaka authored
* Use explicit numbering for footnotes referred by explicit number. * Fix literal strings formatting in howto/urllib2.rst. * Add `:noindex:` to duplicated definition of list. * Update susp-ignored.csv for reference/expressions.rst. (cherry picked from commit d97b7dc9)
-
Brett Cannon authored
-
- 15 May, 2017 4 commits
-
-
grzgrzgrz3 authored
* bpo-30357 each test in test_thread waits until all spawn threads finish * bpo-30357 each test in test_thread waits until all spawn threads finish * bpo-30357: test_thread now uses threading_cleanup() (#1592) test_thread: setUp() now uses support.threading_setup() and support.threading_cleanup() to wait until threads complete to avoid random side effects on following tests. Co-Authored-By:
Victor Stinner <victor.stinner@gmail.com> * bpo-30357: test_thread now uses threading_cleanup() (#1592) test_thread: setUp() now uses support.threading_setup() and support.threading_cleanup() to wait until threads complete to avoid random side effects on following tests. Co-Authored-By:
Victor Stinner <victor.stinner@gmail.com>
-
Victor Stinner authored
(cherry picked from commit f25a8de8)
-
Serhiy Storchaka authored
Also backport new functions temp_dir() and python_is_optimized(). temp_cwd() now accepts None as a name (means using tempfile.mkdtemp). check_syntax_error() now accepts arguments lineno and offset. Use more specific error messages in get_attribute().
-
Xiang Zhang authored
-
- 13 May, 2017 4 commits
-
-
Zachary Ware authored
Build the 'suspicious' doc target, turn on warnings-as-errors on the docs, and always build the docs. This better matches master's doc build setup.
-
Zachary Ware authored
-
Zachary Ware authored
-
Zachary Ware authored
-
- 12 May, 2017 2 commits
-
-
Victor Stinner authored
Fix for bpo-6393: Python crashes on OSX when $LANG is set to some (but not all) invalid values due to an invalid result from nl_langinfo (cherry picked from commit 6d77e071)
-
Victor Stinner authored
Fix sysconfig.is_python_build() if Python is built with Visual Studio 2008 (VS 9.0).
-
- 11 May, 2017 1 commit
-
-
Victor Stinner authored
* bpo-30283: regrtest: backport test_coverage() * Add --coverage option, the option was already described in the doc * When coverage is used, regrtest now pass all options to runtest() and calls also accumulate_result() (as done when coverage is not used). * bpo-25260: Fix coverage on Windows: remove the list of ignored directories. * bpo-30283: regrtest: backport test_slow_interrupted() * Fix regrtest to report interrupted tests as omitted rather than failed. * bpo-25260: Fix coverage on Windows: remove the list of ignored directories. * bpo-30283: Fix test_regrtest on Visual Studio 2008 Skip Tools\buildbot\test.bat and PCbuild\rt.bat if Python was not compiled in PCbuild (but compiled in PC\VS9.0\ for example).
-
- 10 May, 2017 3 commits
-
-
Victor Stinner authored
Try to fix test_startfile's inability to clean up after itself in time. Patch by Jeremy Kloth. Fix the following support.rmtree() error while trying to remove the temporary working directory used by Python tests: WindowsError: [Error 32] The process cannot access the file because it is being used by another process: ... Original commit: 8a53dbeb
-
Xiang Zhang authored
-
Victor Stinner authored
[2.7] gitignore: add rules for the PC/ directory
-
- 09 May, 2017 5 commits
-
-
torsava authored
* bpo-29243: Fix Makefile with respect to --enable-optimizations When using the Profile Guided Optimization (./configure --enable-optimizations) Python is built not only during `make` but rebuilt again during `make test`, `make install` and others. This patch fixes the issue. Note that this fix produces no change at all in the Makefile if configure is run witout --enable-optimizations. * !squash. (cherry picked from commit a1054c3b)
-
Victor Stinner authored
* regrtest: add --slowest alias to --slow * make buildbottest: add --slowest option * regrtest: add "- " prefix to --slowest output * regrtest: Fix an outdated comment * regrtest: replace PermissionError Replace PermissionError with OSError and check on exc.errno. PermissionError was added to Python 3.3. * regrtest: add -3 -tt options to run Python scripts * regrtest: backport --list-tests option * regrtest: backport "Tests result: xxx" summary * regrtest: backport total duration * regrtest: add timestamp to the progress * regrtest: describe previous test state * Add the state of the test: passed, failed, etc. * If a test took longer than 30 seconds, log its execution time * regrtest: -jN logs running workers * regrtest: mention if tests are run in parallel * regrtest: parallel mode is more verbose during wait Display running tests every 30 seconds if no test completed in the meanwhile. * test_regrtest: fix typo in SubprocessRun
-
Victor Stinner authored
* bpo-30283: regrtest: add --testdir option * bpo-30283: Backport _testcapi.raise_signal() Function used by test_regrtest to simulate an interrupted unit test. * bpo-30283: Backport test_regrtest from master
-
Victor Stinner authored
Fix the following warning when test_inspect.py is compiled to test_inspect.pyc: test_inspect.py:505: SyntaxWarning: tuple parameter unpacking has been removed in 3.x def spam_deref(a, b, c, d=3, (e, (f,))=(4, (5,)), *g, **h): Replace also test.test_support import with test.support.
-
Xiang Zhang authored
-
- 05 May, 2017 3 commits
-
-
Victor Stinner authored
Don't stop the worker thread if a child failed.
-
Victor Stinner authored
support.unlink() now only ignores ENOENT and ENOTDIR, instead of ignoring any OSError exception.
-
Serhiy Storchaka authored
It was possible to get a core dump by using uninitialized _json objects. Now __new__ methods create initialized objects. __init__ methods are removed.. (cherry picked from commit 76a3e51a)
-