Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-35918: Remove broken has_key method and add test (#11819) | Rémi Lapeyre | 2019-02-12 | 3 | -3/+3 |
| | |||||
* | Complete switch cases in symtable.c; fixes bpo-35963 (GH-11821) | Guido van Rossum | 2019-02-11 | 1 | -0/+4 |
| | |||||
* | bpo-35378: Fix multiprocessing.Pool references (GH-11627) | Pablo Galindo | 2019-02-11 | 3 | -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 Rossum | 2019-02-11 | 1 | -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 Teig | 2019-02-11 | 3 | -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 Palard | 2019-02-10 | 1 | -1/+1 |
| | |||||
* | Fix compiler warning about non initialised variable (GH-11806) | Pablo Galindo | 2019-02-10 | 1 | -2/+2 |
| | |||||
* | Fix division by 0 when checking for overflow in math.prod (GH-11808) | Pablo Galindo | 2019-02-10 | 2 | -2/+6 |
| | |||||
* | Fix compiler warnings about end_col_offset and end_lineno (GH-11735) | Ivan Levkivskyi | 2019-02-10 | 1 | -5/+2 |
| | |||||
* | Fix broken :ref: in asyncio docs (GH-11805) | Pablo Galindo | 2019-02-10 | 1 | -1/+1 |
| | |||||
* | Make sure the BaseManager in test_multiprocessing is cleaned up correctly ↵ | Pablo Galindo | 2019-02-09 | 1 | -15/+20 |
| | | | | (GH-11653) | ||||
* | Do not retain references to processes and managers in TestSyncManagerTypes ↵ | Pablo Galindo | 2019-02-09 | 1 | -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 Reedy | 2019-02-09 | 4 | -22/+62 |
| | | | Add a code example block. | ||||
* | lru_cache: Add more comments. Fix comment typos. Clarify a comment. (GH-11795) | Raymond Hettinger | 2019-02-09 | 1 | -4/+25 |
| | |||||
* | Rework tuple hash tests. (GH-10161) | Tim Peters | 2019-02-08 | 2 | -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 Schemenauer | 2019-02-08 | 4 | -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 Hettinger | 2019-02-08 | 1 | -6/+3 |
| | | | | with derefs (GH-11794) | ||||
* | Add What's New entry for date subclass behavior (#11790) | Paul Ganssle | 2019-02-08 | 1 | -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) | Fish | 2019-02-07 | 3 | -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 Glaser | 2019-02-07 | 6 | -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. Coombs | 2019-02-07 | 3 | -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 Rodola | 2019-02-07 | 2 | -0/+249 |
| | | | | multiprocessing: provide unittests for manager classes and shareable types | ||||
* | bpo-35606: Implement math.prod (GH-11359) | Pablo Galindo | 2019-02-07 | 6 | -1/+260 |
| | |||||
* | Fix url to core-mentorship mailing list (GH-11775) | Mariatta | 2019-02-06 | 1 | -1/+1 |
| | |||||
* | bpo-20001: update pathlib landing image (GH-11304) | Harmandeep Singh | 2019-02-05 | 2 | -4/+1 |
| | |||||
* | email: use dict instead of OrderedDict (GH-11709) | Inada Naoki | 2019-02-05 | 1 | -2/+1 |
| | |||||
* | asyncio: use dict instead of OrderedDict (GH-11710) | Inada Naoki | 2019-02-05 | 1 | -1/+1 |
| | |||||
* | Fix typo (micro->nano) (GH-11759) | Raymond Hettinger | 2019-02-05 | 1 | -1/+1 |
| | |||||
* | bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744) | Steve Dower | 2019-02-05 | 6 | -14/+40 |
| | |||||
* | bpo-35321: Set the spec origin to frozen in frozen modules (#11732) | Nina Zakharenko | 2019-02-05 | 4 | -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 Ganssle | 2019-02-04 | 4 | -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 Langa | 2019-02-04 | 1 | -1/+1 |
| | |||||
* | Merge tag 'v3.8.0a1' | Łukasz Langa | 2019-02-04 | 889 | -2689/+10110 |
|\ | | | | | | | Python 3.8.0a1 | ||||
| * | v3.8.0a1v3.8.0a1 | Łukasz Langa | 2019-02-03 | 2 | -5/+5 |
| | | |||||
| * | [pydoc] Regenerate topics for v3.8.0a1 | Łukasz Langa | 2019-02-03 | 1 | -827/+1128 |
| | | |||||
| * | [blurb] v3.8.0a1 | Łukasz Langa | 2019-02-03 | 886 | -1857/+8977 |
| | | |||||
* | | bpo-35872 and bpo-35873: Clears __PYVENV_LAUNCHER__ variable (GH-11745) | Steve Dower | 2019-02-04 | 7 | -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 Dower | 2019-02-04 | 2 | -9/+20 |
|/ | | | | existence on drives that are not ready (GH-11746) | ||||
* | bpo-35884: Add variable access benchmarking script (GH-11725) | Raymond Hettinger | 2019-02-03 | 3 | -0/+282 |
| | |||||
* | Update macOS installer Welcome and ReadMe for 3.8 (GH-11748) | Ned Deily | 2019-02-03 | 2 | -65/+50 |
| | |||||
* | bpo-35890 : Fix some API calling consistency (GH-11742) | Minmin Gong | 2019-02-03 | 3 | -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 Dower | 2019-02-02 | 6 | -95/+8 |
| | |||||
* | bpo-29734: nt._getfinalpathname handle leak (GH-740) | Mark Becwar | 2019-02-02 | 3 | -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 Saxena | 2019-02-02 | 2 | -1/+3 |
| | | | https://bugs.python.org/issue32560 | ||||
* | bpo-35845: Add order={'C', 'F', 'A'} parameter to memoryview.tobytes(). (#11730) | Stefan Krah | 2019-02-02 | 4 | -10/+59 |
| | |||||
* | bpo-33895: Relase GIL while calling functions that acquire Windows loader ↵ | Tony Roberts | 2019-02-02 | 8 | -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 Chung | 2019-02-02 | 3 | -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-api | 2019-02-02 | 2 | -2/+4 |
| | | | Use correct interpretation of return value from APIs. | ||||
* | bpo-26256: Document algorithm speed for the Decimal module. (#4808) | Cheryl Sabella | 2019-02-02 | 1 | -0/+20 |
| | |||||
* | bpo-35813: Added shared_memory submodule of multiprocessing. (#11664) | Davin Potts | 2019-02-02 | 4 | -0/+1310 |
| | | | Added shared_memory submodule to multiprocessing in time for first alpha with cross-platform tests soon to follow. |