- 04 Aug, 2019 6 commits
-
-
Raymond Hettinger authored
* Remove suggestion that is less relevant now that global lookups are much faster * Add link for installing the recipes
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Tal Einat authored
Convert mouse y to line number in the sidebar rather than the text.
-
Serhiy Storchaka authored
The collection's item is now always at the left and the needle is on the right of ==.
-
Serhiy Storchaka authored
There was a discrepancy between the Python and C implementations. Add singletons ALWAYS_EQ, LARGEST and SMALLEST in test.support to test mixed type comparison.
-
- 03 Aug, 2019 3 commits
-
-
Florian Wendelborn authored
Permanent redirect was explained as a temporary redirect.
-
Michael Felt authored
* Define THREAD_STACK_SIZE for AIX to pass default recursion limit test
-
Ngalim Siregar authored
Imports now raise `TypeError` instead of `ValueError` for relative import failures. This makes things consistent between `builtins.__import__` and `importlib.__import__` as well as using a more natural import for the failure. https://bugs.python.org/issue37444 Automerge-Triggered-By: @brettcannon
-
- 02 Aug, 2019 7 commits
-
-
Timo Furrer authored
-
Timothy Hopper authored
Previously pdb checked the $HOME environmental variable to find the user .pdbrc. If $HOME is not set, the user .pdbrc would not be found. Change pdb to use `os.path.expanduser('~')` to determine the user's home directory. Thus, if $HOME is not set (as in tox or on Windows), os.path.expanduser('~') falls back on other techniques for locating the user's home directory. This follows pip's implementation for loading .piprc. Co-authored-by: Dan Lidral-Porter <dlp@aperiodic.org>
-
Greg Bowser authored
Support for RFCOMM, L2CAP, HCI, SCO is based on the BTPROTO_* macros being defined. Winsock only supports RFCOMM, even though it has a BTHPROTO_L2CAP macro. L2CAP support would build on windows, but not necessarily work. This also adds some basic unittests for constants (all of which existed prior to this commit, just not on windows) and creating sockets. pair: Nate Duarte <slacknate@gmail.com>
-
Vinay Sajip authored
* bpo-37742: Return the root logger when logging.getLogger('root') is called. * Added type check guard on logger name in logging.getLogger() and refined a test.
-
Joannah Nanjekye authored
-
Inada Naoki authored
gc used several PySys_WriteStderr() calls to write stats. It caused stats mixed up when stderr is shared by multiple processes like this: gc: collecting generation 2... gc: objects in each generation: 0 0gc: collecting generation 2... gc: objects in each generation: 0 0 126077 126077 gc: objects in permanent generation: 0 gc: objects in permanent generation: 0 gc: done, 112575 unreachable, 0 uncollectablegc: done, 112575 unreachable, 0 uncollectable, 0.2223s elapsed , 0.2344s elapsed
-
tmblweed authored
BPO -16970: Adding error message for invalid args Applied the patch argparse-v2 patch issue 16970, ran patch check and the test suite, test_argparse with 0 errors https://bugs.python.org/issue16970
-
- 01 Aug, 2019 3 commits
-
-
mental authored
-
Bernhard M. Wiedemann authored
When building packages (e.g. for openSUSE Linux) (random) filesystem order of input files influences ordering of functions in the output .so files. Thus without the patch, builds (in disposable VMs) would usually differ. Without this patch, all callers have to be patched individually https://github.com/dugsong/libdnet/pull/42 https://github.com/sass/libsass-python/pull/212 https://github.com/tahoe-lafs/pycryptopp/pull/41 https://github.com/yt-project/yt/pull/2206 https://github.com/pyproj4/pyproj/pull/142 https://github.com/pytries/datrie/pull/49 https://github.com/Roche/pyreadstat/pull/37 but that is an infinite effort. See https://reproducible-builds.org/ for why this matters.
-
Ronald Oussoren authored
This changeset increases the default size of the stack for threads on macOS to the size of the stack of the main thread and reenables the relevant recursion test.
-
- 31 Jul, 2019 10 commits
-
-
David H authored
-
yannvgn authored
Improve performance of sre_parse._uniq function.
-
Hai Shi authored
-
Anthony Sottile authored
-
karl ding authored
Expose the CAN_BCM SocketCAN constants used in the bcm_msg_head struct flags (provided by <linux/can/bcm.h>) under the socket library. This adds the following constants with a CAN_BCM prefix: * SETTIMER * STARTTIMER * TX_COUNTEVT * TX_ANNOUNCE * TX_CP_CAN_ID * RX_FILTER_ID * RX_CHECK_DLC * RX_NO_AUTOTIMER * RX_ANNOUNCE_RESUME * TX_RESET_MULTI_IDX * RX_RTR_FRAME * CAN_FD_FRAME The CAN_FD_FRAME flag was introduced in the 4.8 kernel, while the other ones were present since SocketCAN drivers were mainlined in 2.6.25. As such, it is probably unnecessary to guard against these constants being missing.
-
Vinay Sajip authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
* bpo-33821: Update IDLE section of What's New 3.7 * Fix roles.
-
Terry Jan Reedy authored
* bpo-33822: Add IDLE section of What's New 3.8 * Fix role.
-
Terry Jan Reedy authored
-
- 30 Jul, 2019 8 commits
-
-
Min ho Kim authored
* Fix typos in comments, docs and test names * Update test_pyparse.py account for change in string length * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: Dealloccte -> Deallocate Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Update posixmodule checksum. * Reverse idlelib changes.
-
Terry Jan Reedy authored
-
Jake Tesler authored
-
Neil Schemenauer authored
This looks like the only place that proto 4 framing gets exercised so leave it as part of the PGO task.
-
Neil Schemenauer authored
Mark some individual tests to skip when --pgo is used. The tests marked increase the PGO task time significantly and likely don't help improve optimization of the final executable.
-
Victor Stinner authored
Use cffi to access a C API in Python.
-
Marco Paolini authored
When scanning the string, most characters are valid, so checking for invalid characters first means never needing to check the value of strict on valid strings, and only needing to check it on invalid characters when doing non-strict parsing of invalid strings. This provides a measurable reduction in per-character processing time (~11% in the pre-merge patch testing).
-
Pablo Galindo authored
Deprecate the parser module and add a deprecation warning triggered on import and a warning block in the documentation. https://bugs.python.org/issue37268 Automerge-Triggered-By: @pablogsal
-
- 29 Jul, 2019 3 commits
-
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
They pass with tk 8.5.9 (Azure) but fail with the 8.6.x we install.
-
Steve Dower authored
-