| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* Document causal event pathways in docstring.
* Simplify some attribute names.
* Rename test_bold_toggle_set_samples to make test_font_set fail.
* Fix test_font_set so not order dependent.
* Fix renamed test_indent_scale so it tests the widget.
|
|
|
|
|
|
|
|
|
|
| |
multiprocessing (#2708)
* Fix #30919: shared memory allocation performance regression in multiprocessing
* Change strategy for Arena directory choice
* Add blurb
|
|
|
|
| |
(#1214)
|
|
|
|
|
|
|
|
|
|
| |
method (#2813)
* bpo-26732: fix too many fds in processes started with the "forkserver" method
A child process would inherit as many fds as the number of still-running children.
* Add blurb and test comment
|
|
|
|
|
|
|
|
|
|
| |
* bpo-19896: Add typcodes 'q' and 'Q' to multiprocessing.sharedctypes. Patch by Antony Lee.
* Add NEWS entry.
* Slightly tweak NEWS entry
Make it clear this is more of a fix rather than a new feature.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Adds a new 'Pip not installed' section that covers
running `ensurepip` manually, and also references
the relevant section of the Python Packaging User
Guide.
|
|
|
| |
Only C implementation was tested.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
functions (GH-3)
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.
|
|
|
|
| |
Patch by Louie Lu.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
| |
* Remove obsolete fallback code in readline module
* Add NEWS
* Remove obsolete include
* Fix macro on Windows
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
| |
Updates ssl and tkinter projects to use pre-built externals
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
(#2697)
The will help writing dialog improvements and splitting the class into multiple classes.
Original patch by Cheryl Sabella.
|
|
|
| |
bpo-30731: python.manifest fix
|
|
|
|
|
|
| |
subclasses. (#2662)
Patch by Louie Lu.
|
|
|
|
|
|
|
|
|
| |
(#2639)
instead of failing with SystemError.
Relative import from non-package now fails with ImportError rather than
SystemError.
|
|
|
| |
Patch by Cheryl Sabella.
|
|
|
|
| |
called with bytes-like argument.
|
|
|
|
|
| |
One is a duplicate, one is set but cannot be altered by users.
Patch by Cheryl Sabella.
|
|
|
|
|
|
|
|
|
|
| |
multiprocessing.Queue.join_thread() now waits until the thread
completes, even if the thread was started by the same process which
created the queue.
Fix the following warning which occurs randomly when running
test_handle_called_with_mp_queue of test_logging.QueueListenerTest:
Warning -- threading_cleanup() failed to cleanup -1 threads after 4 sec (count: 0, dangling: 1)
|
|
|
| |
Patch by Louie Lu.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If history-length is set in .inputrc, and the history file is double the
history size (or more), history_get(N) returns NULL, and python
segfaults. Fix that by checking for NULL return value.
It seems that the root cause is incorrect handling of bigger history in
readline, but Python should not segfault even if readline returns
unexpected value.
This issue affects only GNU readline. When using libedit emulation
system history size option does not work.
|
|
|
|
| |
(#2580)
|
|
|
|
| |
`asyncio.CFuture.remove_done_callback() (#2569)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Revert "bpo-30854: Fix compile error when --without-threads (#2581)"
This reverts commit 0c3116309307ad2c7f8e2d2096612f4ab33cbb62.
* Revert "NEWS for 30777 (#2576)"
This reverts commit aaa917ff38f9869eeebe3bc9469bfee64089d826.
* Revert "bpo-21624: IDLE -- minor htest fixes (#2575)"
This reverts commit 2000150c569941584994ec4ec59171961209bec3.
* Revert "bpo-30777: IDLE: configdialog - add docstrings and improve comments (#2440)"
This reverts commit 7eb5883ac59833bf63f0e1f7fb95671a1ac1ee08.
* Revert "bpo-30319: socket.close() now ignores ECONNRESET (#2565)"
This reverts commit 67e1478dba6efe60b8e1890192014b8b06dd6bd9.
* Revert "bpo-30789: Use a single memory block for co_extra. (#2555)"
This reverts commit 378ebb6578b9d709f38b888d23874c0b18125249.
* Revert "bpo-30845: Enhance test_concurrent_futures cleanup (#2564)"
This reverts commit 3df9dec425b0254df1cdf41922fd8d6b08bf47e4.
* Revert "bpo-29293: multiprocessing.Condition.notify() lacks parameter `n` (#2480)"
This reverts commit 48350412b70c76fa51f488cfc736c80d59b5e8eb.
* Revert "Remove outdated FOX from GUI FAQ (GH-2538)"
This reverts commit d3ed2877a798d07df75422afe136b4727e500c99.
* Revert "bpo-6691: Pyclbr now reports nested classes and functions. (#2503)"
This reverts commit 246ff3bd00f97658e567a7087645a6b76e056491.
* Revert "bpo-29464: Rename METH_FASTCALL to METH_FASTCALL|METH_KEYWORDS and make (#1955)"
This reverts commit 6969eaf4682beb01bc95eeb14f5ce6c01312e297.
* Revert "bpo-30832: Remove own implementation for thread-local storage (#2537)"
This reverts commit aa0aa0492c5fffe750a26d2ab13737a1a6d7d63c.
* Revert "bpo-30764: Fix regrtest --fail-env-changed --forever (#2536)"
This reverts commit 5e87592fd12e0b7c41edc11d4885ed7298d5063b.
* Revert "bpo-30822: Deduplicate ZoneInfoTest classes in test_datetime. (#2534)"
This reverts commit 34b54873b51a1ebee2a3c57b7205537b4f33128d.
* Revert "bpo-30822: Fix testing of datetime module. (#2530)"
This reverts commit 98b6bc3bf72532b784a1c1fa76eaa6026a663e44.
|
|
|
|
|
|
| |
* bpo-30854: Fix compile error when --without-threads
* bpo-30854: fix news
|
| |
|
|
|
|
| |
socket.close() was modified in Python 3.6 to raise OSError on
failure: see bpo-26685.
|
|
|
|
|
|
| |
* bpo-29293: multiprocessing.Condition.notify() lacks parameter `n`
* Add NEWS blurb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
Only C implementation was tested.
|
| |
|
| |
|
|
|
|
|
|
| |
* bpo-30807: signal.setitimer() may disable the timer by mistake
* Add NEWS blurb
|
|
|
|
|
|
|
| |
(#2283)
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
Avoid importing `sysconfig` from `site` by copying minimum code.
Python startup is 5% faster on Linux and 30% faster on macOS
|
|
|
|
|
|
|
|
|
| |
* Add 'parens' style to highlight both opener and closer.
* Make 'default' style, which is not default, a synonym for 'opener'.
* Make time-delay work the same with all styles.
* Add help for config dialog extensions tab, including parenmatch.
* Add new tests.
Original patch by Charles Wohlganger.
|
|
|
|
|
| |
Raise a ValueError if the second argument is NULL and the wchar_t\*
string contains null characters.
|
|
|
| |
Patch by Cheryl Sabella
|