summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-172-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-151-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-141-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-135-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.
* bpo-4630: Add cursor no-blink option for IDLE (GH-16960)Zackery Spytz2019-11-137-1/+48
| | | This immediately toggles shell, editor, and output windows, but does not affect other input widgets.
* Fix minor typos. (GH-17095)Shu2019-11-121-3/+3
|
* Add Ilya Kulakov to Misc/ACKS. (GH-17130)Ilya Kulakov2019-11-121-0/+1
| | | Contributions on bpo-26467 and bpo-29302.
* closes bpo-27805: Ignore ESPIPE in initializing seek of append-mode files. ↵Benjamin Peterson2019-11-124-10/+33
| | | | | (GH-17112) This change, which follows the behavior of C stdio's fdopen and Python 2's file object, allows pipes to be opened in append mode.
* bpo-38723: Pdb._runscript should use io.open_code() instead of open() (GH-17127)jsnklln2019-11-122-1/+3
| | | | Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com>
* bpo-38738: Fix formatting of True and False. (GH-17083)Serhiy Storchaka2019-11-1242-176/+176
| | | | | | | | | * "Return true/false" is replaced with "Return ``True``/``False``" if the function actually returns a bool. * Fixed formatting of some True and False literals (now in monospace). * Replaced "True/False" with "true/false" if it can be not only bool. * Replaced some 1/0 with True/False if it corresponds the code. * "Returns <bool>" is replaced with "Return <bool>".
* bpo-36974: expand call protocol documentation (GH-13844)Jeroen Demeyer2019-11-128-293/+467
| | | | | | | | | | | | | | CC @encukou I'm also adding Petr Viktorin as contributor for vectorcall in the "what's new" section. https://bugs.python.org/issue36974 Automerge-Triggered-By: @encukou Automerge-Triggered-By: @encukou
* bpo-38421: Update email.utils documentation (GH-16678)David K2019-11-121-2/+2
| | | | | | | | | | Updates documentation around email.utils.parsedate_tz(). Currently, the documentation specifies that when a string without a is timezone passed to parsedate_tz(), the last tuple is returned as ```None```. This is no longer true since Python 3.3 https://bugs.python.org/issue38421
* bpo-16576: Add checks for bitfields passed by value to functions. (GH-17097)Vinay Sajip2019-11-123-3/+141
|
* bpo-26353: IDLE adds an unneeded newline when saving a shell window (GH-17103)Zackery Spytz2019-11-124-15/+33
|
* bpo-38385: Fix iterator/iterable terminology in statistics docs (GH-17111)Raymond Hettinger2019-11-112-10/+10
|
* bpo-38565: add new cache_parameters method for lru_cache (GH-16916)Manjusaka2019-11-114-0/+22
|
* bpo-38771: Explict test for None in code example (GH-17108)Jonathan Scholbach2019-11-111-1/+1
|
* bpo-38438: Simplify argparse "star nargs" usage. (GH-17106)Brandt Bucher2019-11-116-15/+20
|
* bpo-38761: Register WeakSet as a MutableSet (GH-17104)Raymond Hettinger2019-11-103-0/+9
|
* Minor readability improvement for argument handling in itertools.repeat() ↵Raymond Hettinger2019-11-091-5/+5
| | | | | | (GH-17101)