- 15 Mar, 2019 3 commits
-
-
Victor Stinner authored
Fix CFLAGS in customize_compiler() of distutils.sysconfig: when the CFLAGS environment variable is defined, don't override CFLAGS variable with the OPT variable anymore. Initial patch written by David Malcolm. Co-Authored-By: David Malcolm <dmalcolm@redhat.com>
-
Rémi Lapeyre authored
-
Raymond Hettinger authored
-
- 14 Mar, 2019 6 commits
-
-
Andre Delfino authored
-
nick sung authored
-
Inada Naoki authored
This optimization is not only for space, but also for speed.
-
Raymond Hettinger authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
- 13 Mar, 2019 7 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Guido van Rossum authored
The value is a string for string and byte literals, None otherwise. It is 'u' for u"..." literals, 'b' for b"..." literals, '' for "..." literals. The 'r' (raw) prefix is ignored. Does not apply to f-strings. This appears sufficient to make mypy capable of using the stdlib ast module instead of typed_ast (assuming a mypy patch I'm working on). WIP: I need to make the tests pass. @ilevkivskyi @serhiy-storchaka https://bugs.python.org/issue36280
-
pxinwr authored
Limited signal fields in VxWorks.
-
Victor Stinner authored
Fix an unlikely memory leak on conversion from string to float in the function _Py_dg_strtod() used by float(str), complex(str), pickle.load(), marshal.load(), etc. Fix an unlikely memory leak in _Py_dg_strtod() on "undfl:" label: rewrite memory management in this function to always release all memory before exiting the function. Initialize variables to NULL, and set them to NULL after calling Bfree() at the "cont:" label. Note: Bfree(NULL) is well defined: it does nothing.
-
Anthony Sottile authored
-
Cheryl Sabella authored
-
- 12 Mar, 2019 10 commits
-
-
Steve Dower authored
-
Ned Deily authored
-
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 4 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
-