- 12 Mar, 2019 8 commits
-
-
Steve Dower authored
-
Ned Deily authored
-
Anthony Sottile authored
-
Inada Naoki authored
-
Inada Naoki authored
Sizeof new empty dict becomes 72 bytes from 240 bytes (amd64). It is same size to empty dict created by dict.clear().
-
Raymond Hettinger authored
-
Daniel Hahler authored
This is relevant for `debug doesnotexist()`, which would crash with a NameError otherwise.
-
Lisa Roach authored
-
- 11 Mar, 2019 4 commits
-
-
Julien Palard authored
-
Victor Stinner authored
test_posix.PosixUidGidTests: * Add tests for invalid uid/gid type (str) * Add UID_OVERFLOW and GID_OVERFLOW constants to replace (1 << 32) Initial patch written by David Malcolm. Co-Authored-By: David Malcolm <dmalcolm@redhat.com>
-
Raymond Hettinger authored
-
Terry Jan Reedy authored
Prevent conflicts with Linux dark themes (and slightly darken calltip background).
-
- 10 Mar, 2019 6 commits
-
-
Xtreak authored
* Refactor cookie path check as per RFC 6265 * Add tests for prefix match of path * Add news entry * Fix set_ok_path and refactor tests * Use slice for last letter
-
Lysandros Nikolaou authored
-
Andre Delfino authored
-
sth authored
-
Xtreak authored
Don't send cookies of domain A without Domain attribute to domain B when domain A is a suffix match of domain B while using a cookiejar with `http.cookiejar.DefaultCookiePolicy` policy. Patch by Karthikeyan Singaravelan.
-
Benjamin Peterson authored
-
- 09 Mar, 2019 7 commits
-
-
Pablo Galindo authored
The overflow check was relying on undefined behaviour as it was using the result of the multiplication to do the check, and once the overflow has already happened, any operation on the result is undefined behaviour. Some extra checks that exercise code paths related to this are also added.
-
Carl Bordum Hansen authored
-
tyomitch authored
d_initial, the first state of a particular DFA in the parser has always been initialized to 0 in the old pgen as well as the new pgen. As this value is not used and the first state of each DFA is assumed to be the first element in the array representing it, remove d_initial from the parser to reduce complexity.
-
Raymond Hettinger authored
-
Eric Snow authored
-
Eric Snow authored
-
Eric Snow authored
-
- 08 Mar, 2019 5 commits
-
-
Cheryl Sabella authored
-
Eric Snow authored
The macros were working only because our usage happened to parse correctly. Changing that usage (e.g. with pointers) would break the macros. This fixes that.
-
Anthony Sottile authored
-
Terry Jan Reedy authored
-
Benedikt Werner authored
-
- 07 Mar, 2019 9 commits
-
-
Guido van Rossum authored
This adds a `feature_version` flag to `ast.parse()` (documented) and `compile()` (hidden) that allow tweaking the parser to support older versions of the grammar. In particular if `feature_version` is 5 or 6, the hacks for the `async` and `await` keyword from PEP 492 are reinstated. (For 7 or higher, these are unconditionally treated as keywords, but they are still special tokens rather than `NAME` tokens that the parser driver recognizes.) https://bugs.python.org/issue35975
-
Zackery Spytz authored
-
Steve Dower authored
-
Raymond Hettinger authored
-
Steve Dower authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Andre Delfino authored
Remove 's' mention as there's no argument.
-
Emmanuel Arias authored
-
- 06 Mar, 2019 1 commit
-
-
Davide Rizzo authored
-