summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-35409: Ignore GeneratorExit in async_gen_athrow_throw (GH-14755)Vincent Michel2019-11-193-0/+40
| | | | | | | | | Ignore `GeneratorExit` exceptions when throwing an exception into the `aclose` coroutine of an asynchronous generator. https://bugs.python.org/issue35409
* Added missing coma after end of list in subprocess.rst (GH-17217)Jules Lasne (jlasne)2019-11-191-1/+1
| | | Automerge-Triggered-By: @csabella
* Add missing comma and period in unittest docs (GH-17211)Jules Lasne (jlasne)2019-11-191-1/+1
| | | Automerge-Triggered-By: @csabella
* bpo-21767: explicitly mention abc support in functools.singledispatch docs ↵Batuhan Taşkaya2019-11-192-0/+15
| | | | (#17171)
* bpo-22367: Update test_fcntl.py for spawn process mode (#17154)Dong-hee Na2019-11-191-9/+19
|
* Clean up module initialization. (GH-17215)Brandt Bucher2019-11-191-3/+1
|
* bpo-38807: Add os.PathLike to exception message raised by _check_arg_types ↵Tomás Farías2019-11-192-2/+3
| | | | (#17160)
* Add @pablogsal to code owners file for the garbage collector (GH-17248)Pablo Galindo2019-11-191-0/+4
| | | | | Add myself to the codeowners file as I would like to be automatically added as a reviewer for PRs that touch that component and its documentation.
* Minor fixes to the formatting of the notes of Modules/gcmodule.c (GH-17247)Pablo Galindo2019-11-191-2/+2
|
* bpo-38622: Ensure ctypes.PyObj_FromPtr audit event passes tuples as a single ↵Steve Dower2019-11-181-2/+2
| | | | argument (GH-17243)
* bpo-38622: Add missing audit events for ctypes module (GH-17158)Steve Dower2019-11-185-7/+106
|
* Revert "remove a strange non-ASCII character in _iomodule.c" (GH-17240)Tal Einat2019-11-181-1/+1
| | | | This reverts commit bcc1cc5c, which removed an intentionally placed "form feed" character.
* bpo-38722: Runpy use io.open_code() (GH-17234)jsnklln2019-11-182-2/+5
| | | | | | | https://bugs.python.org/issue38722 Automerge-Triggered-By: @taleinat
* remove a strange non-ASCII character in _iomodule.c (GH-17239)Tal Einat2019-11-181-1/+1
|
* bpo-38809: Windows build scripts use python.exe from virtual envs (GH-17164)Tal Einat2019-11-182-0/+5
| | | https://bugs.python.org/issue38809
* bpo-38631: Avoid Py_FatalError() in _multibytecodec init (GH-17233)Victor Stinner2019-11-181-1/+0
| | | | | If an exception is raised and PyInit__multibytecodec() returns NULL, Python reports properly the exception to the user. There is no need to crash Python with Py_FatalError().
* bpo-38631: Avoid Py_FatalError() in float.__getformat__() (GH-17232)Victor Stinner2019-11-182-1/+4
| | | | Replace Py_FatalError() with a regular RuntimeError exception in float.__getformat__().
* Correct the description of the 3.7 change in urllib.parse.quote (GH-17065)Роман Донченко2019-11-181-1/+1
| | | `~` is now treated as an unreserved character (i.e. it doesn't get quoted), not a reserved one.
* bpo-38823: Clean up refleaks in _tkinter initialization. (GH-17206)Brandt Bucher2019-11-181-0/+2
| | | https://bugs.python.org/issue38823
* bpo-38830: Correct slot signature in Qt example. (GH-17220)Vinay Sajip2019-11-181-1/+1
|
* Revert "bpo-38811: Check for presence of os.link method in pathlib. ↵Victor Stinner2019-11-183-27/+1
| | | | | (GH-17170)" (#17219) This reverts commit 111772fc27cfe388bc060f019d68a3e33481ec65.
* bpo-38678: Improve argparse example in tutorial (GH-17207)Raymond Hettinger2019-11-182-16/+20
|
* bpo-25866: Minor cleanups to "sequence" in docs (GH-17177)alclarks2019-11-171-5/+9
|
* bpo-36589: Fix the error handling in curses.update_lines_cols(). (GH-12766)Zackery Spytz2019-11-173-21/+26
| | | | Return None instead of 1.
* bpo-38811: Check for presence of os.link method in pathlib. (GH-17170)Toke Høiland-Jørgensen2019-11-173-1/+27
| | | | | Fix also the Path.symplink() method implementation for the case when symlinks are not supported.
* bpo-38724: Implement subprocess.Popen.__repr__ (GH-17151)Andrey Doroschenko2019-11-173-0/+34
|
* bpo-38823: Clean up refleaks in _contextvars initialization. (GH-17198)Brandt Bucher2019-11-161-0/+3
| | | https://bugs.python.org/issue38823
* bpo-38823: Clean up refleaks in _asyncio initialization. (GH-17195)Brandt Bucher2019-11-161-0/+4
| | | https://bugs.python.org/issue38823
* Fix typo in Lib/socketserver.py (GH-17024)Jason (Perry) Taylor2019-11-161-1/+1
| | | | changed 'This is bad class design, but save some typing' into 'This is bad class design, but saves some typing'.
* bpo-28286: Deprecate opening GzipFile for writing implicitly. (GH-16417)Serhiy Storchaka2019-11-165-2/+25
| | | | Always specify the mode argument for writing.
* bpo-38650: Constify PyStructSequence_UnnamedField. (GH-17005)Serhiy Storchaka2019-11-165-3/+11
| | | | Make it a constant and referring to a constant string.
* bpo-38639: Optimize floor(), ceil() and trunc() for floats. (GH-16991)Serhiy Storchaka2019-11-163-41/+70
|
* bpo-38644: Cleanup ceval.h (GH-17185)Victor Stinner2019-11-162-36/+25
| | | | Move CPython API (Py_LIMITED_API macro not defined) from ceval.h to cpython/ceval.h
* bpo-38453: Ensure correct short path is obtained for test (GH-17184)Steve Dower2019-11-161-3/+21
|
* bpo-38644: Add _PyEval_EvalCode() (GH-17183)Victor Stinner2019-11-163-30/+63
| | | _PyFunction_Vectorcall() now pass tstate to function calls.
* Updated missing periods in cmdline.rst (GH-17173)Jules Lasne (jlasne)2019-11-151-3/+3
|
* Fix the description of isdatadescriptor in inspect.rst (#16645)HongWeipeng2019-11-151-1/+1
|
* bpo-38816: Add notes in the C-API docs about fork in subinterpreters. (GH-17176)Eric Snow2019-11-153-1/+43
| | | | | | The C-API docs are a bit sparse on the interplay between C `fork()` and the CPython runtime. This change adds some more information on the subject. https://bugs.python.org/issue38816
* bpo-38453: Ensure ntpath.realpath correctly resolves relative paths (GH-16967)Steve Dower2019-11-154-45/+106
| | | | | Ensure isabs() is always True for \\?\ prefixed paths Avoid unnecessary usage of readlink() to avoid resolving broken links incorrectly Ensure shutil tests run in test directory
* bpo-38778: Document that os.fork is not allowed in subinterpreters (GH-17123)Phil Connell2019-11-152-1/+10
| | | | | | | | | | | | | | | Small docs update for [bpo-34651](https://bugs.python.org/issue34651). Other references to fork (e.g. the PyOS.*Fork functions or discussions of fork() when embedding Python) point back to os.fork, so I don't think any other updates are needed. https://bugs.python.org/issue38778 Automerge-Triggered-By: @ericsnowcurrently
* bpo-38351: Modernize email examples from %-formatting to f-strings (GH-17162)Andrey Doroschenko2019-11-154-3/+4
|
* bpo-38677: Fix arraymodule error handling in module initialization. (GH-17039)Marco Paolini2019-11-151-8/+12
|
* Add .pytest_cache to .gitignore (GH-16595)Brandt Bucher2019-11-151-0/+1
|
* bpo-38692: Add asyncio.PidfdChildWatcher to __all__ (GH-17161)Kyle Stanley2019-11-151-1/+1
| | | | | | | | | | /cc @asvetlov @1st1 https://bugs.python.org/issue38692 Automerge-Triggered-By: @benjaminp
* bpo-38644: Add _PyObject_Call() (GH-17089)Victor Stinner2019-11-1410-137/+216
| | | | | | | | | | * Add pycore_call.h internal header file. * Add _PyObject_Call(): PyObject_Call() with tstate * Add _PyObject_CallNoArgTstate(): _PyObject_CallNoArg() with tstate * Add _PyObject_FastCallDictTstate(): _PyObject_FastCallDict() with tstate * _PyObject_Call_Prepend() now takes tstate * Replace _PyObject_FastCall() calls with _PyObject_VectorcallTstate() calls
* bpo-38644: Add _PyEval_EvalFrame() with tstate (GH-17131)Victor Stinner2019-11-144-7/+20
| | | | Add _PyEval_EvalFrame() static inline function to get eval_frame from tstate->interp.
* closes bpo-38692: Add a pidfd child process watcher to asyncio. (GH-17069)Benjamin Peterson2019-11-145-0/+102
|
* bpo-38785: Prevent asyncio from crashing (GH-17144)Andrew Svetlov2019-11-134-1/+46
| | | | | | | if parent `__init__` is not called from a constructor of object derived from `asyncio.Future` https://bugs.python.org/issue38785
* bpo-38786: Add parsing of https links to pydoc (GH-17143)Kirill2019-11-134-2/+14
|
* bpo-38781: Clear buffer in MemoryHandler flush (GH-17132)Daniel Andersson2019-11-131-2/+2
| | | | | | | | This makes it easier to use a custom buffer when subclassing MemoryHandler (by avoiding the explicity empty list literal assignment in the flush method). For example, collection.deque can now be used without any modifications to MemoryHandler.flush. The same applies to BufferingHandler.