summaryrefslogtreecommitdiff
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
...
| * bpo-15248: Emit a compiler warning when missed a comma before tuple or list. ↵Serhiy Storchaka2019-02-161-0/+2
| | | | | | | | (GH-11757)
| * bpo-36007: Bump minimum sphinx version to 1.8 (GH-11887)Anthony Sottile2019-02-151-0/+1
| | | | | | https://bugs.python.org/issue36007
| * bpo-35931: Gracefully handle SyntaxError in pdb debug command (GH-11782)Daniel Hahler2019-02-151-0/+1
| | | | | | | | | | | | | | | | Previously, `debug print(` would cause the interpreter to exit on a SyntaxError whereas `print(` would properly display the error and return to the pdb prompt. This patch fixes this by pre-compiling the code before passing it to `Pdb.run`. https://bugs.python.org/issue35931
| * bpo-35746: Credit Colin Read and Nicolas Edet (GH-11863)Victor Stinner2019-02-151-1/+2
| | | | | | | | Add credit for the cert parser vulnerability. Mention also Cisco TALOS-2018-0758 identifier.
| * bpo-35976: Enable Windows projects to build with platform ARM32 (GH-11825)Paul Monson2019-02-141-0/+1
| | | | | | This change adds the necessary items to the build projects to avoid erroring out right at the start. It does not add _support_ for targeting Windows on ARM32, but is a necessary prerequisite for adding it.
| * closes bpo-35991: Fix a potential double free in Modules/_randommodule.c. ↵Zackery Spytz2019-02-131-0/+1
| | | | | | | | (GH-11849)
| * bpo-35500: align expected and actual calls on mock.assert_called_with error ↵Susan Su2019-02-131-0/+1
| | | | | | | | message. (GH-11804)
| * bpo-35961: Fix a crash in slice_richcompare() (GH-11830)Victor Stinner2019-02-131-0/+2
| | | | | | | | | | | | | | | | Fix a crash in slice_richcompare(): use strong references rather than stolen references for the two temporary internal tuples. The crash (or assertion error) occurred if a garbage collection occurred during slice_richcompare(), especially while calling PyObject_RichCompare(t1, t2, op).
| * bpo-18283: Add support for bytes to shutil.which (GH-11818)Cheryl Sabella2019-02-131-0/+1
| |
| * bpo-35505: Skip test_imap4_host_default_value if localhost listens on IMAP ↵Matěj Cepl2019-02-121-0/+2
| | | | | | | | | | | | port (GH-11823) Make test_imap4_host_default_value independent on whether the local IMAP server is running.
| * bpo-35960: Fix dataclasses.field throwing away empty metadata. (GH-11815)Christopher Hunt2019-02-121-0/+2
| |
| * bpo-35918: Remove broken has_key method and add test (#11819)Rémi Lapeyre2019-02-111-0/+2
| |
| * bpo-35378: Fix multiprocessing.Pool references (GH-11627)Pablo Galindo2019-02-111-0/+6
| | | | | | | | | | | | | | | | | | 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-22062: Updated docstring and documentation for pathlib (GH-8519)Eivind Teig2019-02-111-0/+1
| | | | | | | | | | | | Original patch by Mike Short https://bugs.python.org/issue22062
| * bpo-35833: Revise IDLE doc for control codes sent to Shell. (GH-11799)Terry Jan Reedy2019-02-081-0/+1
| | | | | | Add a code example block.
| * bpo-35615: Fix crashes when copying a Weak{Key,Value}Dictionary. (GH-11384)Fish2019-02-071-0/+3
| | | | | | | | | | | | | | | | | | | | 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-071-0/+3
| | | | | | | | Add a cell constructor, expose the cell type in the types module.
* | rename arg hybrid_ipv46 -> dualstack_ipv6Giampaolo Rodola2019-02-141-1/+1
| |
* | rename bind_socket() to create_server()Giampaolo Rodola2019-02-141-1/+1
| |
* | various improvements:Giampaolo Rodola2019-02-121-2/+4
| | | | | | | | | | | | | | - update doc examples - force AF_INET6 if hybrid_ipv46=True - add new functions to __all__ - add more tests
* | introduce supports_hybrid_ipv46 and relative bind_socket argGiampaolo Rodola2019-02-121-1/+2
| |
* | add NEWS entryGiampaolo Rodola2019-02-071-0/+1
|/
* bpo-24209: In http.server script, rely on getaddrinfo to bind to preferred ↵Jason R. Coombs2019-02-071-0/+1
| | | | | | | 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-071-0/+3
| | | | multiprocessing: provide unittests for manager classes and shareable types
* bpo-35606: Implement math.prod (GH-11359)Pablo Galindo2019-02-061-0/+3
|
* bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744)Steve Dower2019-02-041-0/+2
|
* bpo-35321: Set the spec origin to frozen in frozen modules (#11732)Nina Zakharenko2019-02-041-0/+1
| | | | | | | | | | * 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-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Merge tag 'v3.8.0a1'Łukasz Langa2019-02-04886-1857/+8977
|\ | | | | | | Python 3.8.0a1
| * [blurb] v3.8.0a1Łukasz Langa2019-02-03886-1857/+8977
| |
* | bpo-35872 and bpo-35873: Clears __PYVENV_LAUNCHER__ variable (GH-11745)Steve Dower2019-02-032-0/+2
| | | | | | | | 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-031-0/+2
|/ | | | existence on drives that are not ready (GH-11746)
* bpo-35884: Add variable access benchmarking script (GH-11725)Raymond Hettinger2019-02-021-0/+2
|
* bpo-35890 : Fix some API calling consistency (GH-11742)Minmin Gong2019-02-021-0/+1
| | | | 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-021-0/+2
|
* bpo-29734: nt._getfinalpathname handle leak (GH-740)Mark Becwar2019-02-021-0/+1
| | | 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-021-0/+2
| | | https://bugs.python.org/issue32560
* bpo-35845: Add order={'C', 'F', 'A'} parameter to memoryview.tobytes(). (#11730)Stefan Krah2019-02-021-0/+1
|
* bpo-33895: Relase GIL while calling functions that acquire Windows loader ↵Tony Roberts2019-02-021-0/+1
| | | | | 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-021-0/+2
| | | | | | 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-021-0/+1
| | | Use correct interpretation of return value from APIs.
* bpo-35813: Added shared_memory submodule of multiprocessing. (#11664)Davin Potts2019-02-011-0/+2
| | | Added shared_memory submodule to multiprocessing in time for first alpha with cross-platform tests soon to follow.
* bpo-35877: Make parenthesis optional for named expression in while statement ↵Xtreak2019-02-011-0/+2
| | | | | | | | (GH-11724) * Add parenthesis optional in named expressions for while statement * Add NEWS entry
* bpo-35537: Add setsid parameter to os.posix_spawn() and os.posix_spawnp() ↵Joannah Nanjekye2019-02-011-0/+1
| | | | (GH-11608)
* bpo-35766: Merge typed_ast back into CPython (GH-11645)Guido van Rossum2019-01-311-0/+1
|
* bpo-35864: Replace OrderedDict with regular dict in namedtuple() (#11708)Raymond Hettinger2019-01-311-0/+2
| | | | | | * Change from OrderedDict to a regular dict * Add blurb
* bpo-34003: Use dict instead of OrderedDict in csv.DictReader (GH-8014)Michael Selik2019-01-311-0/+2
|
* bpo-35854: Fix EnvBuilder and --symlinks in venv on Windows (GH-11700)Steve Dower2019-01-301-0/+1
|
* subprocess: close pipes/fds by using ExitStack (GH-11686)Giampaolo Rodola2019-01-291-0/+4
| | | | | | | 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-291-0/+1
| | | | | | This fixes the ctypes.test.test_structures.StructureTestCase test. https://bugs.python.org/issue35847