- 04 Oct, 2017 6 commits
-
-
Serhiy Storchaka authored
* Fix incorrect links. * Remove redundant links. * Add signatures and index entries for gettext related functions in the locale module.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Victor Stinner authored
On Windows, Py_FatalError() now limits the size to 256 bytes of the buffer used to call OutputDebugStringW(). Previously, the size depended on the length of the error message.
-
INADA Naoki authored
While there is not real bug in this case, using re.IGNORECASE without re.ASCII leads unexpected behavior. Instead of adding re.ASCII, this commit removes re.IGNORECASE flag because it's easier and simpler. This commit removes dead copy of the pattern in email.util module too. While the pattern is same, it is compiled separately because it had different flags.
-
Ned Deily authored
-
- 03 Oct, 2017 6 commits
-
-
Serhiy Storchaka authored
when pass a string larger than 2 GiB. Decrease memory requirements for Tcl's bigmem tests.
-
Serhiy Storchaka authored
-
diana authored
Update the compile tests for optimization levels to also check that __debug__ blocks are included or excluded based on the optimization level. Patch by Diana Clarke.
-
Serhiy Storchaka authored
to integer with binary base.
-
INADA Naoki authored
It shows show import time of each module. It's useful for optimizing startup time. Typical usage: python -X importtime -c 'import requests'
-
Thomas Moreau authored
-
- 02 Oct, 2017 7 commits
-
-
Anselm Kruis authored
-
Victor Stinner authored
On macOS, a process can exit with -SIGKILL if it is killed "early" with SIGTERM.
-
Victor Stinner authored
On macOS, use uuid_generate_time() instead of uuid_generate_time_safe() of libuuid, since uuid_generate_time_safe() is not available.
-
Antoine Pitrou authored
bpo-31516: current_thread() should not return a dummy thread at shutdown
-
Cornelius Diekmann authored
* bpo-31158: Fix nondeterministic read in test_pty * Reuse existing readline implementation from io. Thx to @pitrou * Updated comment Ideally, this commit is fixuped into the previous commit. Since there is already a comment on github, I won't rebase.
-
INADA Naoki authored
DER_cert_to_PEM_cert() used textwrap.fill() to format PEM. But it's library to wrap lines on word boundary, while PEM is base64 encoded string. Additionally, importing textwrap is little slow.
-
Benjamin Peterson authored
-
- 01 Oct, 2017 2 commits
-
-
Terry Jan Reedy authored
Save a bit of code, plus non-tuples get converted anyway to tuples by tkinter for the tk call.
-
scoder authored
Speed up class creation by 10-20% by reducing the overhead in the necessary special method lookups.
-
- 30 Sep, 2017 7 commits
-
-
Terry Jan Reedy authored
Passing a widget instead of an flist with a root widget opens the option of creating a browser frame that is only part of a window. Passing a full file name instead of pieces assumed to come from a .py file opens the possibility of browsing python files that do not end in .py.
-
Terry Jan Reedy authored
-
Oren Milman authored
bpo-31592: Fix an assertion failure in Python parser in case of a bad unicodedata.normalize(). (#3767)
-
Serhiy Storchaka authored
-
scoder authored
* Allow whitespace inside of ElementPath predicates. * Add ElementPath predicate support for text comparison of the current node, like "[.='text']".
-
INADA Naoki authored
-
James Sexton authored
netrc file format doesn't support quotes and escapes. See https://linux.die.net/man/5/netrc
-
- 29 Sep, 2017 10 commits
-
-
Christian Heimes authored
Importlib was instrumented with two dtrace probes to profile import timing. Signed-off-by: Christian Heimes <christian@python.org>
-
Łukasz Langa authored
This was possible before. GH-1560 introduced a regression after 3.6.2 got released where only sequences were accepted now. This commit addresses this problem.
-
Oren Milman authored
bpo-31602: Fix an assertion failure in zipimporter.get_source() in case of a bad zlib.decompress() (GH-3784) While a rare potential failure (it requires swapping out zlib.decompress() itself and forcing it to return a non-bytes object), this change prevents a potential C-level assertion failure and instead substitutes it with an exception. Thanks to Oren Milman for the patch.
-
Brett Cannon authored
-
Oren Milman authored
(forgot to remove it in #3219)
-
Zhiming Wang authored
Add optional argument `compressed` to `zipapp.create_archive`, and add option `--compress` to the command line interface of `zipapp`.
-
Benjamin Peterson authored
$^ is not portable. closes bpo-31625
-
Benjamin Peterson authored
Instead, simply pass 's' to ar.
-
Sorin Sbarnea authored
-
Benjamin Peterson authored
-
- 28 Sep, 2017 2 commits
-
-
Antoine Pitrou authored
bpo-11063, bpo-20519: avoid ctypes and improve import time for uuid.
-
kms70847 authored
Replace "restriction" with "restrictions".
-