- 20 Jul, 2017 5 commits
-
-
靳阳 authored
-
Victor Stinner authored
When running the test suite using --use=all / -u all, exclude tzdata since it makes test_datetime too slow (15-20 min on some buildbots) which then times out on some buildbots. -u tzdata must now be enabled explicitly, -u tzdata or -u all,tzdata, to run all test_datetime tests. Fix also regrtest command line parser to allow passing -u extralargefile to run test_zipfile64. Travis CI: remove -tzdata. Replace -u all,-tzdata,-cpu with -u all,-cpu since tzdata is now excluded from -u all.
-
Ned Deily authored
-
terryjreedy authored
-
Aaron Gallagher authored
Cython will, in the right circumstances, offer a MethodType instance where im_func is a builtin function. Any instance of MethodType is automatically assumed to be a Python-defined function (more specifically, a function that has an inspectable signature), but _set_signature was still conservative in its assumptions. As a result _set_signature would return early with None instead of a mock since the im_func had no inspectable signature. This causes problems deeper inside mock, as _set_signature is assumed to _always_ return a mock, and nothing checked its return value. In similar corner cases, autospec will simply not check the spec of the function, so _set_signature is amended to now return early with the original, not-wrapped mock object. Patch by Aaron Gallagher.
-
- 19 Jul, 2017 2 commits
-
-
Louie Lu authored
Patch by LouieLu.
-
Ammar Askar authored
-
- 18 Jul, 2017 5 commits
-
-
Louie Lu authored
Patch by Louie Lu.
-
Steve Dower authored
Fix logic for retrying nuget.exe download with Python. Add support for HOST_PYTHON variable. Clear internal environment variables used in find_python.bat Use HOST_PYTHON as the actual Python if it is recent enough. Adds HOST_PYTHON variable to AppVeyor configuration
-
Xiang Zhang authored
-
Vitor Pereira authored
* bpo-30794: added kill() method to multiprocessing.Process * Added entries to documentation and NEWS * Refactored test_terminate and test_kill * Fix SIGTERM and SIGKILL being used on Windows for the tests * Added "versionadded" marker to the documentation * Fix trailing whitespace in doc
-
Antoine Pitrou authored
* Remove obsolete fallback code in readline module * Add NEWS * Remove obsolete include * Fix macro on Windows
-
- 17 Jul, 2017 4 commits
-
-
Steve Dower authored
* bpo-30450: Fall back to git.exe if no Python is found. * Also check whether git.exe is on PATH if it will be used.
-
Steve Dower authored
* bpo-30450: Adds alternate download approach for nuget.exe * Whitespace fix.
-
Antoine Pitrou authored
* Improve signal delivery Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions. * Remove unused function * Improve comments * Use _Py_atomic API for concurrency-sensitive signal state * Add blurb
-
Steve Dower authored
Updates ssl and tkinter projects to use pre-built externals
-
- 16 Jul, 2017 2 commits
-
-
Serhiy Storchaka authored
-
terryjreedy authored
* Add section to idlelib/idle-test/README.txt. * Include check that branches are taken both ways. * Exclude IDLE-specific code that does not run during unit tests.
-
- 15 Jul, 2017 3 commits
-
-
Ned Deily authored
-
Nick Coghlan authored
AIX uses iso8859-1 in the C locale, not ASCII AIX doesn't currently provide any of the locale coercion locales, but we leave locale coercion enabled in case one gets added in the future.
-
terryjreedy authored
-
- 14 Jul, 2017 4 commits
-
-
Łukasz Rogalski authored
-
terryjreedy authored
-
csabella authored
The will help writing dialog improvements and splitting the class into multiple classes. Original patch by Cheryl Sabella.
-
Louie Lu authored
Initial patch by Louie Lu.
-
- 13 Jul, 2017 5 commits
-
-
Segev Finer authored
bpo-30731: python.manifest fix
-
Stefan Krah authored
-
Serhiy Storchaka authored
encoder and decoder.
-
Segev Finer authored
when pass bad strict argument.
-
Trey Hunner authored
-
- 12 Jul, 2017 4 commits
-
-
Brett Cannon authored
Changed "subbset" to "subset". Also made the sentences read like things were happening instead of stating what the code should do (in other words more descriptive than prescriptive).
-
Louie Lu authored
Patch by Louie Lu.
-
Victor Stinner authored
tearDown() now clears explicitly the self.server variable to make sure that the thread is completely cleared when tearDownClass() checks if all threads have been cleaned up. Fix the following warning: $ ./python -m test --fail-env-changed -m test.test_os.TestSendfile.test_keywords -R 3:1 test_os (...) Warning -- threading_cleanup() failed to cleanup 0 threads after 3 sec (count: 0, dangling: 2) (...) Tests result: ENV CHANGED
-
Serhiy Storchaka authored
instead of failing with SystemError. Relative import from non-package now fails with ImportError rather than SystemError.
-
- 11 Jul, 2017 6 commits
-
-
csabella authored
Also improve test of config.ConfigChanges.delete_section. Original patch by Cheryl Sabella.
-
Segev Finer authored
-
csabella authored
Patch by Cheryl Sabella.
-
terryjreedy authored
-
Serhiy Storchaka authored
Based on patch by Victor Stinner.
-
Serhiy Storchaka authored
called with bytes-like argument.
-