summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-30040: new empty dict uses key-sharing dict (GH-1080)Inada Naoki2019-03-124-8/+13
| | | | Sizeof new empty dict becomes 72 bytes from 240 bytes (amd64). It is same size to empty dict created by dict.clear().
* bpo-35892: Fix mode() and add multimode() (#12089)Raymond Hettinger2019-03-124-48/+97
|
* bpo-35931: Gracefully handle any exception in pdb debug command (GH-12103)Daniel Hahler2019-03-123-11/+24
| | | | This is relevant for `debug doesnotexist()`, which would crash with a NameError otherwise.
* bpo-35132: Fixes missing target in gdb pep0393 check. (GH-11848)Lisa Roach2019-03-122-1/+2
|
* Doc: Fix inconsistency in multiprocessing (GH-12273)Julien Palard2019-03-111-1/+1
|
* bpo-36234: Add more tests to PosixUidGidTests (GH-12234)Victor Stinner2019-03-112-8/+22
| | | | | | | | | | 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>
* Various refinements to the NormalDist examples and recipes (GH-12272)Raymond Hettinger2019-03-111-23/+26
|
* bpo-36176: Fix IDLE autocomplete & calltip popup colors. (#12262)Terry Jan Reedy2019-03-114-3/+10
| | | | Prevent conflicts with Linux dark themes (and slightly darken calltip background).
* bpo-35647: Fix path check in cookiejar (#11436)Xtreak2019-03-103-5/+36
| | | | | | | | | | | | * 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
* bpo-21314: Add a FAQ entry about positional only parameters (GH-10641)Lysandros Nikolaou2019-03-104-0/+47
|
* Fix padding on asyncio.IncompleteReadError docs (GH-12258)Andre Delfino2019-03-101-3/+3
|
* bpo-36251: Fix format strings used in match_repr() and stdprinter_repr(). ↵sth2019-03-103-2/+4
| | | | (GH-12252)
* bpo-35121: prefix dot in domain for proper subdomain validation (GH-10258)Xtreak2019-03-103-2/+45
| | | 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.
* closes bpo-33376: Update to Unicode 12.0.0. (GH-12256)Benjamin Peterson2019-03-1010-27552/+28458
|
* Rework integer overflow path in math.prod and add more tests (GH-11809)Pablo Galindo2019-03-092-40/+137
| | | | | 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.
* Fix typos and improve grammar in threading.Barrier docstrings (GH-12210)Carl Bordum Hansen2019-03-091-3/+3
|
* Remove d_initial from the parser as it is unused (GH-12212)tyomitch2019-03-094-95/+94
| | | 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.
* Make a documentation link target more specific (GH-12249)Raymond Hettinger2019-03-091-3/+3
|
* bpo-33608: Make sure locks in the runtime are properly re-created. (gh-12245)Eric Snow2019-03-094-40/+40
|
* bpo-33608: Minor cleanup related to pending calls. (gh-12247)Eric Snow2019-03-095-68/+81
|
* Simplify DISPATCH by hoisting eval_breaker ahead of time. (gh-12243)Eric Snow2019-03-091-2/+3
|
* bpo-35661: Store the venv prompt in pyvenv.cfg (GH-11440)Cheryl Sabella2019-03-083-0/+9
|
* Fix the Py_atomic_* macros. (#12240)Eric Snow2019-03-081-24/+24
| | | 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.
* bpo-35843: Implement __getitem__ for _NamespacePath (GH-11690)Anthony Sottile2019-03-084-869/+888
|
* bpo-34162: Add entries for idlelib/NEWS.txt (#12232)Terry Jan Reedy2019-03-081-0/+6
|
* Fix typo (double 'the') in CODEOWNERS (GH-12227)Benedikt Werner2019-03-081-1/+1
|
* bpo-35975: Support parsing earlier minor versions of Python 3 (GH-12086)Guido van Rossum2019-03-0729-198/+473
| | | | | | | 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
* bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074)Zackery Spytz2019-03-071-1/+1
|
* bpo-36108: Avoid failing the build on race condition in clean (GH-12217)Steve Dower2019-03-071-1/+1
|
* NormalDist.overlap() only needs one example (GH-12218)Raymond Hettinger2019-03-071-17/+4
|
* bpo-36216: Add check for characters in netloc that normalize to separators ↵Steve Dower2019-03-074-0/+61
| | | | (GH-12201)
* Refine statistics.NormalDist documentation and improve test coverage (GH-12208)Raymond Hettinger2019-03-072-29/+26
|
* bpo-36169 : Add overlap() method to statistics.NormalDist (GH-12149)Raymond Hettinger2019-03-074-1/+132
|
* Fix the documentation for set.copy() (GH-12176)Andre Delfino2019-03-071-1/+1
| | | Remove 's' mention as there's no argument.
* bpo-36185: Fix typo in Doc/c-api/objbuffer.rst. (GH-12204)Emmanuel Arias2019-03-071-1/+1
|
* bpo-36139: Fix mmap_object_dealloc(): hold the GIL to call PyMem_Free() ↵Davide Rizzo2019-03-061-2/+4
| | | | (GH-12199)
* bpo-9566: Fix compiler warnings in gcmodule.c (GH-11010)Jeremy Kloth2019-03-061-1/+1
| | | Change PyDTrace_GC_DONE() argument type from int to Py_ssize_t.
* closes bpo-36139: release GIL around munmap(). (GH-12073)Davide Rizzo2019-03-062-14/+26
|
* bpo-36209: Fix typo on hashlib error message (GH-12194)Emmanuel Arias2019-03-061-1/+1
|
* bpo-36142: PYTHONMALLOC overrides PYTHONDEV (GH-12191)Victor Stinner2019-03-063-16/+40
| | | | | | | | 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.
* bpo-35807: Upgrade ensurepip bundled pip and setuptools (GH-12189)Pradyun Gedam2019-03-064-2/+3
| | | | | * Update pip to 19.0.3 * Update setuptools to 40.8.0
* Add more tests for pdf() and cdf() (GH-12190)Raymond Hettinger2019-03-061-3/+29
|
* bpo-36142: _PyPreConfig_Read() sets LC_CTYPE (GH-12188)Victor Stinner2019-03-064-47/+78
| | | | | | | * _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
* bpo-36142: Add _PyPreConfig_SetAllocator() (GH-12187)Victor Stinner2019-03-067-88/+50
| | | | | | | | | | | * _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".
* bpo-36142: _PyPreConfig_Write() sets the allocator (GH-12186)Victor Stinner2019-03-054-43/+95
| | | | | | | * _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.
* bpo-36142: Add _PyMem_GetDebugAllocatorsName() (GH-12185)Victor Stinner2019-03-055-3/+27
| | | | | 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.
* bpo-36187: Remove NamedStore. (GH-12167)Serhiy Storchaka2019-03-057-143/+103
| | | | | NamedStore has been replaced with Store. The difference between NamedStore and Store is handled when precess the NamedExpr node one level upper.
* Fix the C function signature for _collections._tuplegetter.__reduce__. ↵Serhiy Storchaka2019-03-051-2/+2
| | | | | (GH-12180) Correctly fixes bpo-36197.
* bpo-36142: Add _PyPreConfig.allocator (GH-12181)Victor Stinner2019-03-057-53/+129
| | | | | | * Move 'allocator' and 'dev_mode' fields from _PyCoreConfig to _PyPreConfig. * Fix InitConfigTests of test_embed: dev_mode sets allocator to "debug", add a new tests for env vars with dev mode enabled.
* bpo-33012: Fix compilation warnings in memoryobject.c and ↵Stéphane Wirtel2019-03-052-2/+2
| | | | | | _collectionsmodule.c (GH-12179) Cast function pointers to (void(*)(void)) before casting to (PyCFunction) to make "warning: cast between incompatible function types" false alarm quiet.