summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* bpo-33504: fix wrong "versionchanged" (GH-11712)Inada Naoki2019-01-311-4/+4
|
* bpo-34003: Use dict instead of OrderedDict in csv.DictReader (GH-8014)Michael Selik2019-01-313-8/+9
|
* bpo-35854: Fix EnvBuilder and --symlinks in venv on Windows (GH-11700)Steve Dower2019-01-305-27/+63
|
* Document differences between random.choices() and random.choice(). (GH-11703)Raymond Hettinger2019-01-301-0/+7
|
* bpo-35835: Add reference to Python 3.7 new breakpoint() function in pdb ↔JoĂŁo Matos2019-01-301-0/+4
| | | | documentation. (GH-11691)
* bpo-25592: Improve documentation of distutils data_files (GH-9767)jdemeyer2019-01-301-11/+14
|
* Move float conversion into a macro. Apply to fsum (GH-11698)Raymond Hettinger2019-01-301-49/+32
|
* subprocess: close pipes/fds by using ExitStack (GH-11686)Giampaolo Rodola2019-01-292-17/+22
| | | | | | | Close pipes/fds in subprocess by using ExitStack. "In case of premature failure on X.Close() or os.close(X) the remaining pipes/fds will remain "open". Perhaps it makes sense to use contextlib.ExitStack." - Rationale: https://github.com/python/cpython/pull/11575#discussion_r250288394
* bpo-35847: RISC-V needs CTYPES_PASS_BY_REF_HACK (GH-11694)Andreas Schwab2019-01-292-1/+2
| | | | | | This fixes the ctypes.test.test_structures.StructureTestCase test. https://bugs.python.org/issue35847
* Fast path for int inputs to math.dist() and math.hypot() (GH-11692)Raymond Hettinger2019-01-282-4/+34
|
* bpo-35701: Update doc for UUID weak referencing (GH-11621)David H2019-01-281-5/+0
|
* Fix typo: class declaration (GH-11678)nu_no2019-01-271-1/+1
|
* Clarify U-mode deprecation in open() (GH-11646)Nick Coghlan2019-01-271-1/+8
| | | | | | | | | | The previous wording could be read as saying that universal newlines mode itself was deprecated, when it's only the 'U' character in the mode field that should be avoided. The update also moves the description of the 'U' mode character out of the mode table, as the longer explanation was overly intrusive as a table entry and overshadowed the actually useful mode characters.