- 10 Mar, 2019 6 kayıt (commit)
-
-
Xtreak yazdı
* 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 yazdı
-
Andre Delfino yazdı
-
sth yazdı
-
Xtreak yazdı
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 yazdı
-
- 09 Mar, 2019 7 kayıt (commit)
-
-
Pablo Galindo yazdı
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 yazdı
-
tyomitch yazdı
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 yazdı
-
Eric Snow yazdı
-
Eric Snow yazdı
-
Eric Snow yazdı
-
- 08 Mar, 2019 5 kayıt (commit)
-
-
Cheryl Sabella yazdı
-
Eric Snow yazdı
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 yazdı
-
Terry Jan Reedy yazdı
-
Benedikt Werner yazdı
-
- 07 Mar, 2019 9 kayıt (commit)
-
-
Guido van Rossum yazdı
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 yazdı
-
Steve Dower yazdı
-
Raymond Hettinger yazdı
-
Steve Dower yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Andre Delfino yazdı
Remove 's' mention as there's no argument.
-
Emmanuel Arias yazdı
-
- 06 Mar, 2019 9 kayıt (commit)
-
-
Davide Rizzo yazdı
-
Jeremy Kloth yazdı
Change PyDTrace_GC_DONE() argument type from int to Py_ssize_t.
-
Davide Rizzo yazdı
-
Emmanuel Arias yazdı
-
Victor Stinner yazdı
bpo-34247, bpo-36142: The PYTHONMALLOC environment variable has the priority over PYTHONDEV env var and "-X dev" command line option. For example, PYTHONMALLOC=malloc PYTHONDEVMODE=1 sets the memory allocators to "malloc" (and not to "debug"). Add an unit test.
-
Pradyun Gedam yazdı
* Update pip to 19.0.3 * Update setuptools to 40.8.0
-
Raymond Hettinger yazdı
-
Victor Stinner yazdı
* _PyPreConfig_Read() now sets temporarily LC_CTYPE to the user preferred locale, as _PyPreConfig_Write() will do permanentely. * Fix _PyCoreConfig_Clear(): clear run_xxx attributes * _Py_SetArgcArgv() doesn't have to be exported * _PyCoreConfig_SetGlobalConfig() no longer applies preconfig
-
Victor Stinner yazdı
* _PyPreConfig_Write() now reallocates the pre-configuration with the new memory allocator. * It is no longer needed to force the "default raw memory allocator" to clear pre-configuration and core configuration. Simplify the code. * _PyPreConfig_Write() now does nothing if called after Py_Initialize(): no longer check if the allocator is the same. * Remove _PyMem_GetDebugAllocatorsName(): dev mode sets again allocator to "debug".
-
- 05 Mar, 2019 4 kayıt (commit)
-
-
Victor Stinner yazdı
* _PyPreConfig_Write() now sets the memory allocator. * _PyPreConfig_Write() gets a return type: _PyInitError. * _Py_InitializeCore() now reads and writes the pre-configuration (set the memory allocator, configure the locale) before reading and writing the core configuration.
-
Victor Stinner yazdı
The development mode now uses the effective name of the debug memory allocator ("pymalloc_debug" or "malloc_debug"). So the name doesn't change after setting the memory allocator.
-
Serhiy Storchaka yazdı
NamedStore has been replaced with Store. The difference between NamedStore and Store is handled when precess the NamedExpr node one level upper.
-
Serhiy Storchaka yazdı
Correctly fixes bpo-36197.
-