- 02 Oct, 2017 1 commit
-
-
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 3 commits
-
-
Antoine Pitrou authored
bpo-11063, bpo-20519: avoid ctypes and improve import time for uuid.
-
kms70847 authored
Replace "restriction" with "restrictions".
-
Oren Milman authored
bpo-31478: Fix an assertion failure in random.seed() in case a seed has a bad __abs__() method. (#3596)
-
- 27 Sep, 2017 5 commits
-
-
Barry Warsaw authored
-
Oren Milman authored
Class execution requires that __prepare__() methods return a proper execution namespace. Check for that immediately after calling __prepare__(), rather than passing it through to the code execution machinery and potentially triggering SystemError (in debug builds) or a cryptic TypeError (in release builds). Patch by Oren Milman.
-
Benjamin Peterson authored
-
Michał Górny authored
Fix the logic in python-config.sh to avoid attempting to substitute prefix in a variable that might have already been subject to substitution. This e.g. happened if @exec_prefix@ was defined as "${prefix}" (which is the default of the configure script) -- in which case the exec_prefix_build variable was initialized with already-subtituted prefix, and then another round of substitution was performed which might have resulted in duplicate prefix. To avoid that, rename the variables so that the variables matching likely configure names (prefix, exec_prefix) retain their original values and a '_real' suffix is used for the real values of prefix. Furthermore, replace the unnecessary prefix and exec_prefix substitutions with direct prefix_real references since the sed always replaced the whole string anyway by design.
-
Oren Milman authored
-
- 26 Sep, 2017 3 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
- 25 Sep, 2017 9 commits
-
-
Guilherme Caminha authored
- Remove the second mention about the `u` prefix - Remove the second mention about numeric literals do not include a sign
-
Serhiy Storchaka authored
-
Stefan Grönke authored
-
Raymond Hettinger authored
-
Victor Stinner authored
Non-regression tests for the Expat 2.2.3 UTF-8 decoder bug.
-
Raymond Hettinger authored
-
Oren Milman authored
bpo-31311: Fix a SystemError and a crash in ctypes._CData.__setstate__(), in case of a bad __dict__. (#3254)
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-