- 05 Jul, 2017 5 commits
-
-
Victor Stinner authored
* Revert "bpo-30854: Fix compile error when --without-threads (#2581)" This reverts commit 0c311630. * Revert "NEWS for 30777 (#2576)" This reverts commit aaa917ff. * Revert "bpo-21624: IDLE -- minor htest fixes (#2575)" This reverts commit 2000150c. * Revert "bpo-30777: IDLE: configdialog - add docstrings and improve comments (#2440)" This reverts commit 7eb5883a. * Revert "bpo-30319: socket.close() now ignores ECONNRESET (#2565)" This reverts commit 67e1478d. * Revert "bpo-30789: Use a single memory block for co_extra. (#2555)" This reverts commit 378ebb65. * Revert "bpo-30845: Enhance test_concurrent_futures cleanup (#2564)" This reverts commit 3df9dec4. * Revert "bpo-29293: multiprocessing.Condition.notify() lacks parameter `n` (#2480)" This reverts commit 48350412. * Revert "Remove outdated FOX from GUI FAQ (GH-2538)" This reverts commit d3ed2877. * Revert "bpo-6691: Pyclbr now reports nested classes and functions. (#2503)" This reverts commit 246ff3bd. * Revert "bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955)" This reverts commit 6969eaf4. * Revert "bpo-30832: Remove own implementation for thread-local storage (#2537)" This reverts commit aa0aa049. * Revert "bpo-30764: Fix regrtest --fail-env-changed --forever (#2536)" This reverts commit 5e87592f. * Revert "bpo-30822: Deduplicate ZoneInfoTest classes in test_datetime. (#2534)" This reverts commit 34b54873. * Revert "bpo-30822: Fix testing of datetime module. (#2530)" This reverts commit 98b6bc3b.
-
Masayuki Yamamoto authored
* bpo-30854: Fix compile error when --without-threads * bpo-30854: fix news
-
terryjreedy authored
-
terryjreedy authored
-
csabella authored
Patch by Cheryl Sabella.
-
- 04 Jul, 2017 6 commits
-
-
Victor Stinner authored
socket.close() was modified in Python 3.6 to raise OSError on failure: see bpo-26685.
-
Serhiy Storchaka authored
* bpo-30789: Use a single memory block for co_extra. * Address review comments.
-
Victor Stinner authored
* bpo-30845: reap_children() now logs warnings * bpo-30845: Enhance test_concurrent_futures cleanup In setUp() and tearDown() methods of test_concurrent_futures tests, make sure that tests don't leak threads nor processes. Clear explicitly the reference to the executor to make it that it's destroyed (to prevent "dangling threads" warning).
-
Antoine Pitrou authored
* bpo-29293: multiprocessing.Condition.notify() lacks parameter `n` * Add NEWS blurb
-
Berker Peksag authored
FXpy doesn't have a Python 3 port and it only supports Python 2.2 and older versions. Reported by Alex Walters on docs@p.o.
-
csabella authored
Original patch by Guilherme Polo. Revisions by Cheryl Sabella.
-
- 03 Jul, 2017 3 commits
-
-
Serhiy Storchaka authored
the bare METH_FASTCALL be used for functions with positional-only parameters.
-
Masayuki Yamamoto authored
* bpo-30832: Remove own implementation for thread-local storage CPython has provided the own implementation for thread-local storage (TLS) on Python/thread.c, it's used in the case which a platform has not supplied native TLS. However, currently all supported platforms (NT and pthreads) have provided native TLS and defined the Py_HAVE_NATIVE_TLS macro with unconditional in any case. * bpo-30832: replace NT with Windows * bpo-30832: change to directive chain * bpo-30832: remove comemnt which making no sense
-
Victor Stinner authored
--forever now stops if a fail changes the environment.
-
- 02 Jul, 2017 2 commits
-
-
Serhiy Storchaka authored
-
Utkarsh Upadhyay authored
Only C implementation was tested.
-
- 01 Jul, 2017 2 commits
-
-
Osvaldo Santana Neto authored
-
xdegaye authored
-
- 30 Jun, 2017 10 commits
-
-
Victor Stinner authored
-
INADA Naoki authored
-
Victor Stinner authored
Always clear asyncore socket map using asyncore.close_all(ignore_all=True) in tearDown() method. This change should fix this warning: Warning -- asyncore.socket_map was modified by test_ftplib Before: {} After: {4: <test.test_ftplib.DummyTLS_FTPServer 127.0.0.1:0 at 0x805feccf0>}
-
Victor Stinner authored
Set the server attribute to None in cleanup to avoid dangling threads.
-
Victor Stinner authored
Make tests fail if a test altered the environment.
-
Victor Stinner authored
bpo-26568, bpo-30812: Fix test_showwarnmsg_missing(): restore the attribute after removing it.
-
Victor Stinner authored
bpo-11798, bpo-16662, bpo-16935, bpo-30813: Skip test_discover_with_module_that_raises_SkipTest_on_import() and test_discover_with_init_module_that_raises_SkipTest_on_import() of test_unittest when hunting reference leaks using regrtest.
-
Victor Stinner authored
* bpo-30280: asyncio now cleans up threads asyncio base TestCase now uses threading_setup() and threading_cleanup() of test.support to cleanup threads. * asyncio: Fix TestBaseSelectorEventLoop cleanup bpo-30280: TestBaseSelectorEventLoop of test.test_asyncio.test_selector_events now correctly closes the event loop: cleanup its executor to not leak threads. Don't override the close() method of the event loop, only override the_close_self_pipe() method.
-
Victor Stinner authored
If threading_cleanup() fails to cleanup threads, set a a new support.environment_altered flag to true, flag uses by save_env which is used by regrtest to check if a test altered the environment. At the end, the test file fails with ENV_CHANGED instead of SUCCESS, to report that it altered the environment.
-
Antoine Pitrou authored
* bpo-30807: signal.setitimer() may disable the timer by mistake * Add NEWS blurb
-
- 29 Jun, 2017 5 commits
-
-
csabella authored
Split TextViewer class into ViewWindow, ViewFrame, and TextFrame classes so that instances of the latter two can be placed with other widgets within a multiframe window. Patch by Cheryl Sabella.
-
Nick Coghlan authored
- On some versions of FreeBSD, setting the "UTF-8" locale succeeds, but a subsequent "nl_langinfo(CODESET)" fails - adding a check for this in the coercion logic means that coercion will happen on systems where this check succeeds, and will be skipped otherwise - that way CPython should automatically adapt to changes in platform behaviour, rather than needing a new release to enable coercion at build time - this also allows UTF-8 to be re-enabled as a coercion target, restoring the locale coercion behaviour on Mac OS X
-
Antoine Pitrou authored
* bpo-30796: Fix failures in signal delivery stress test setitimer() can have a poor minimum resolution on some machines, this would make the test reach its deadline (and a stray signal could then kill a subsequent test). * Make sure to clear the itimer after the test
-
Victor Stinner authored
Only report a leak if each run leaks at least one memory block.
-
INADA Naoki authored
`PYTHONFRAMEWORK` is defined in `Makefile` and it shoulnd't be used in `pyconfig.h`. `sysconfig.py --generate-posix-vars` reads config vars from Makefile and `pyconfig.h`. Conflicting variables should be avoided. Especially, string config variables in Makefile are unquoted, but in `pyconfig.h` are keep quoted. So it should be private (starts with underscore).
-
- 28 Jun, 2017 7 commits
-
-
Segev Finer authored
-
Antoine Pitrou authored
* Improve signal delivery Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions. * Remove unused function * Improve comments * Add stress test * Adapt for --without-threads * Add second stress test * Add NEWS blurb * Address comments @haypo
-
Segev Finer authored
* bpo-23451: Fix WSASocket and WSADuplicateSocket deprecation warnings * bpo-23451: Add backwards compatibility note about socket share/fromshare * bpo-23451: Fixed `WSAAddressToString`/`WSAStringToAddress` deprecation warnings * bpo-23451: Use `inet_pton`/`inet_ntop` instead of `WSAAddressToString`/`WSAStringToAddress` * bpo-23451: Move `HAVE_INET_PTON` from _socket.vcxproj to pyconfig.h * bpo-23451: Add SUPPRESS_DEPRECATED_CALL to socketmodule.c * bpo-23451: Add a NEWS.d entry * bpo-23451: Corrected NEWS.d entry
-
Steve (Gadget) Barnes authored
* bpo-30362 Add list options to launcher. * bpo-30362 Add list options to help message. * To avoid possible later conflict with python replaced flags with --launcher-list and --launcher-list-paths * bpo-30362 Changed flag to -0 as suggested on review. * bpo-30362: Modified to default to not path for -0, -0p to dispaly path and append * to default * bpo-30362: Modified to display list on required version not found. * bpo-30362 add --list and --list-paths added back in following review by paul.moore * bpo-30362 Cleaner handing of -0 & -0p by not calling exit directly per review by @zooba * bpo-30362: Tidy up and add news & what's new Removed commented out line of code in PC/launcher.c. Added the results of using blurb to add details of bpo-30362 & bpo-30291. Updated Doc/whatsnew/3.7.rst to add a Windows only section covering both tickets. * bpo-30362 Resolve conflict in Doc/whatsnew/3.7.rst * bpo-30362:Address Whitespace Issue in Doc\whatsnew\3.7.rst * Shorten NEWS message for bpo-30362 * Shorten NEWS item for bpo-30291
-
Victor Stinner authored
* bpo-29585: Fix PC/pyconfig.h whitespaces Run "make patchcheck". * bpo-29585: Define PYTHONFRAMEWORK in PC/pyconfig.h * site: Fix path separator in _get_path() on Windows
-
INADA Naoki authored
Avoid importing `sysconfig` from `site` by copying minimum code. Python startup is 5% faster on Linux and 30% faster on macOS
-
Antoine Pitrou authored
* Clear potential ref cycle between Process and Process target Besides Process.join() not being called, this was an indirect cause of bpo-30775. The threading module already does this. * Add issue reference
-