summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Rework tuple hash tests. (GH-10161)Tim Peters2019-02-082-84/+308
| | | Add tooling that will useful in future updates, paying particular attention to difficult cases where only the upper bits on the input vary.
* bpo-35903: Use autoconfig to probe for shm_open() and shm_unlink(). (#11765)Neil Schemenauer2019-02-084-3/+142
| | | | | | Use autoconfig to probe for shm_open() and shm_unlink(). Set SHM_NEEDS_LIBRT if we must link with librt to get the shm_* functions. Change setup.py to use the autoconfig defines. These changes should make it more likely that _multiprocessing/posixshmem.c gets built correctly on different platforms.
* Complete and neaten-up namedtuple's replacement of builtin function lookups ↵Raymond Hettinger2019-02-081-6/+3
| | | | with derefs (GH-11794)
* Add What's New entry for date subclass behavior (#11790)Paul Ganssle2019-02-081-0/+8
| | | | | | | | This was a backwards incompatible change and should be clearly noted. Related bugs: bpo-32417: https://bugs.python.org/issue32417 bpo-35364: https://bugs.python.org/issue35364
* bpo-35615: Fix crashes when copying a Weak{Key,Value}Dictionary. (GH-11384)Fish2019-02-073-16/+105
| | | | | | | | | | Protect dict iterations by wrapping them with _IterationGuard in the following methods: - WeakValueDictionary.copy() - WeakValueDictionary.__deepcopy__() - WeakKeyDictionary.copy() - WeakKeyDictionary.__deepcopy__()
* bpo-35911: add cell constructor (GH-11771)Pierre Glaser2019-02-076-2/+71
| | | | Add a cell constructor, expose the cell type in the types module.
* bpo-24209: In http.server script, rely on getaddrinfo to bind to preferred ↵Jason R. Coombs2019-02-073-23/+76
| | | | | | | address based on the bind parameter. (#11767) In http.server script, rely on getaddrinfo to bind to preferred address based on the bind parameter. As a result, now IPv6 is used as the default (including IPv4 on dual-stack systems). Enhanced tests.
* bpo-35917: Test multiprocessing manager classes and shareable types (GH-11772)Giampaolo Rodola2019-02-072-0/+249
| | | | multiprocessing: provide unittests for manager classes and shareable types
* bpo-35606: Implement math.prod (GH-11359)Pablo Galindo2019-02-076-1/+260
|
* Fix url to core-mentorship mailing list (GH-11775)Mariatta2019-02-061-1/+1
|
* bpo-20001: update pathlib landing image (GH-11304)Harmandeep Singh2019-02-052-4/+1
|
* email: use dict instead of OrderedDict (GH-11709)Inada Naoki2019-02-051-2/+1
|
* asyncio: use dict instead of OrderedDict (GH-11710)Inada Naoki2019-02-051-1/+1
|
* Fix typo (micro->nano) (GH-11759)Raymond Hettinger2019-02-051-1/+1
|
* bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744)Steve Dower2019-02-056-14/+40
|
* bpo-35321: Set the spec origin to frozen in frozen modules (#11732)Nina Zakharenko2019-02-054-658/+673
| | | | | | | | | | * bpo-35321: Set the spec origin to frozen in frozen modules This fix correctly sets the spec origin to "frozen" for the _frozen_importlib module. Note that the origin was already correctly set in _frozen_importlib_external. * 📜🤖 Added by blurb_it.
* bpo-32417: Make timedelta arithmetic respect subclasses (#10902)Paul Ganssle2019-02-044-19/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | * Make timedelta return subclass types Previously timedelta would always return the `date` and `datetime` types, regardless of what it is added to. This makes it return an object of the type it was added to. * Add tests for timedelta arithmetic on subclasses * Make pure python timedelta return subclass types * Add test for fromtimestamp with tz argument * Add tests for subclass behavior in now * Add news entry. Fixes: bpo-32417 bpo-35364 * More descriptive variable names in tests Addresses Victor's comments
* Post 3.8.0a1Łukasz Langa2019-02-041-1/+1
|
* Merge tag 'v3.8.0a1'Łukasz Langa2019-02-04889-2689/+10110
|\ | | | | | | Python 3.8.0a1
| * v3.8.0a1v3.8.0a1Łukasz Langa2019-02-032-5/+5
| |
| * [pydoc] Regenerate topics for v3.8.0a1Łukasz Langa2019-02-031-827/+1128
| |
| * [blurb] v3.8.0a1Łukasz Langa2019-02-03886-1857/+8977
| |
* | bpo-35872 and bpo-35873: Clears __PYVENV_LAUNCHER__ variable (GH-11745)Steve Dower2019-02-047-23/+33
| | | | | | | | After reading __PYVENV_LAUNCHER__ we now set sys._base_executable value for later use. Make the same changes for macOS to avoid extra platform checks.
* | bpo-35692: pathlib no longer raises when checking file and directory ↵Steve Dower2019-02-042-9/+20
|/ | | | existence on drives that are not ready (GH-11746)
* bpo-35884: Add variable access benchmarking script (GH-11725)Raymond Hettinger2019-02-033-0/+282
|
* Update macOS installer Welcome and ReadMe for 3.8 (GH-11748)Ned Deily2019-02-032-65/+50
|
* bpo-35890 : Fix some API calling consistency (GH-11742)Minmin Gong2019-02-033-6/+13
| | | | Unicode version of Windows APIs are used in places, but not for GetVersionEx in Python/sysmodule.c The wcstok_s is called on Windows in Modules/main.c and PC/launcher.c, but not in Python/pathconfig.c
* bpo-34691: Compile _contextvars module into main Python library (GH-11741)Steve Dower2019-02-026-95/+8
|
* bpo-29734: nt._getfinalpathname handle leak (GH-740)Mark Becwar2019-02-023-8/+67
| | | Make sure that failure paths call CloseHandle outside of the function that failed
* bpo-32560: inherit the py launcher's STARTUPINFO (GH-9000)Shiva Saxena2019-02-022-1/+3
| | | https://bugs.python.org/issue32560
* bpo-35845: Add order={'C', 'F', 'A'} parameter to memoryview.tobytes(). (#11730)Stefan Krah2019-02-024-10/+59
|
* bpo-33895: Relase GIL while calling functions that acquire Windows loader ↵Tony Roberts2019-02-028-6/+48
| | | | | lock (GH-7789) LoadLibrary, GetProcAddress, FreeLibrary and GetModuleHandle acquire the system loader lock. Calling these while holding the GIL will cause a deadlock on the rare occasion that another thread is detaching and needs to destroy its thread state at the same time.
* bpo-1104: msilib.SummaryInfo.GetProperty() truncates the string by one ↵Tzu-ping Chung2019-02-023-12/+46
| | | | | | character (GH-4517) Add one char to MsiSummaryInfoGetProperty() output Based on the patch in bpo-1104 by Anthony Tuininga (atuining) and Mark McMahon (markm).
* bpo-33316: PyThread_release_lock always fails (GH-6541)native-api2019-02-022-2/+4
| | | Use correct interpretation of return value from APIs.
* bpo-26256: Document algorithm speed for the Decimal module. (#4808)Cheryl Sabella2019-02-021-0/+20
|
* bpo-35813: Added shared_memory submodule of multiprocessing. (#11664)Davin Potts2019-02-024-0/+1310
| | | Added shared_memory submodule to multiprocessing in time for first alpha with cross-platform tests soon to follow.
* bpo-35879: Fix type comment leaks (GH-11728)Guido van Rossum2019-02-012-3/+9
| | | | | * Fix leak for # type: ignore * Fix the type comment leak
* bpo-35877: Add test for while loop named expression without parentheses ↵Emily Morehouse2019-02-011-1/+7
| | | | (GH-11726)
* bpo-35877: Make parenthesis optional for named expression in while statement ↵Xtreak2019-02-014-2/+5
| | | | | | | | (GH-11724) * Add parenthesis optional in named expressions for while statement * Add NEWS entry
* bpo-35864: fix namedtuple._asdict() docstring (GH-11720)Amador Pahim2019-02-011-1/+1
|
* bpo-35861: Fix SyntaxWarning in test_named_expressions.py (GH-11722)Joannah Nanjekye2019-02-011-1/+1
|
* bpo-35766 follow-up: Kill half-support for FunctionType in PyAST_obj2mod ↵Guido van Rossum2019-02-012-6/+4
| | | | | | | (#11714) See https://github.com/python/cpython/pull/11645/files/229874c612df868e7ae3e997e159915f49d16542#r252631862 https://bugs.python.org/issue35766
* bpo-35537: Fix function name in os.posix_spawnp() errors (GH-11719)Victor Stinner2019-02-011-11/+13
|
* bpo-35537: Skip test_start_new_session() of posix_spawn (GH-11718)Victor Stinner2019-02-011-0/+2
| | | The test fails. Skip the test until a fix can be found.
* bpo-35537: Add setsid parameter to os.posix_spawn() and os.posix_spawnp() ↵Joannah Nanjekye2019-02-015-33/+84
| | | | (GH-11608)
* Speed-up argument parsing for common cases in deque.__init__()(GH-11717)Raymond Hettinger2019-02-011-3/+7
|
* Consistently move the misses update to just before the user function call ↵Raymond Hettinger2019-01-312-6/+8
| | | | (GH-11715)
* bpo-35766: Merge typed_ast back into CPython (GH-11645)Guido van Rossum2019-01-3130-651/+2039
|
* doc: http: Fix enum name for status code 416 (GH-11689)Phil Jones2019-01-311-1/+1
|
* bpo-35864: Replace OrderedDict with regular dict in namedtuple() (#11708)Raymond Hettinger2019-01-314-2/+21
| | | | | | * Change from OrderedDict to a regular dict * Add blurb