summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-35918: Remove broken has_key method and add test (#11819)Rémi Lapeyre2019-02-123-3/+3
|
* Complete switch cases in symtable.c; fixes bpo-35963 (GH-11821)Guido van Rossum2019-02-111-0/+4
|
* bpo-35378: Fix multiprocessing.Pool references (GH-11627)Pablo Galindo2019-02-113-39/+80
| | | | | | | | | Changes in this commit: 1. Use a _strong_ reference between the Pool and associated iterators 2. Rework PR #8450 to eliminate a cycle in the Pool. There is no test in this commit because any test that automatically tests this behaviour needs to eliminate the pool before joining the pool to check that the pool object is garbaged collected/does not hang. But doing this will potentially leak threads and processes (see https://bugs.python.org/issue35413).
* bpo-35766 follow-up: Add an error check to new_type_comment() (#11766)Guido van Rossum2019-02-111-0/+2
| | | | If PyUnicode_DecodeUTF8() returns NULL, PyArena_AddPyObject() would crash. Found by @msullivan for https://github.com/python/typed_ast/pull/93.
* bpo-22062: Updated docstring and documentation for pathlib (GH-8519)Eivind Teig2019-02-113-5/+7
| | | | | | Original patch by Mike Short https://bugs.python.org/issue22062
* Doc sidebar: 3.6 has moved to security-fix mode. (GH-11810)Julien Palard2019-02-101-1/+1
|
* Fix compiler warning about non initialised variable (GH-11806)Pablo Galindo2019-02-101-2/+2
|
* Fix division by 0 when checking for overflow in math.prod (GH-11808)Pablo Galindo2019-02-102-2/+6
|
* Fix compiler warnings about end_col_offset and end_lineno (GH-11735)Ivan Levkivskyi2019-02-101-5/+2
|
* Fix broken :ref: in asyncio docs (GH-11805)Pablo Galindo2019-02-101-1/+1
|
* Make sure the BaseManager in test_multiprocessing is cleaned up correctly ↵Pablo Galindo2019-02-091-15/+20
| | | | (GH-11653)
* Do not retain references to processes and managers in TestSyncManagerTypes ↵Pablo Galindo2019-02-091-0/+2
| | | | | (GH-11801) Keeping references to processes and managers between tests makes them count as dangling processes.
* bpo-35833: Revise IDLE doc for control codes sent to Shell. (GH-11799)Terry Jan Reedy2019-02-094-22/+62
| | | Add a code example block.
* lru_cache: Add more comments. Fix comment typos. Clarify a comment. (GH-11795)Raymond Hettinger2019-02-091-4/+25
|
* 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.