summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* BPO-42703: Fix incorrect documentation links for asyncio.Event (GH-23881)Matt Fowler2020-12-231-5/+5
|
* bpo-1635741: Port resource extension module to module state (GH-23462)Christian Heimes2020-12-232-13/+44
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-42620: Improve socket.getsockname doc string (GH-23742)Christian Heimes2020-12-231-2/+3
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-39465: Add pycore_atomic_funcs.h header (GH-20766)Victor Stinner2020-12-239-17/+132
| | | | | | Add pycore_atomic_funcs.h internal header file: similar to pycore_atomic.h but don't require to declare variables as atomic. Add _Py_atomic_size_get() and _Py_atomic_size_set() functions.
* Fix typos in sysmodule (GH-23883)Joannah Nanjekye2020-12-221-2/+2
|
* bpo-34463: Make python tracebacks identical to C tracebacks for SyntaxErrors ↵Irit Katriel2020-12-223-5/+35
| | | | without a lineno (GH-23427)
* bpo-29030: Document interaction between *choices* and *metavar*. (GH-23884)Raymond Hettinger2020-12-221-0/+5
|
* [doc] Fix missing commas in signatures (#23693)Andre Delfino2020-12-222-3/+3
| | | | | * Fix star in signatures * Fix comma in signatures
* bpo-42688: Fix ffi alloc/free when using external libffi on macos (GH-23868)erykoff2020-12-221-2/+10
| | | Automerge-Triggered-By: GH:ronaldoussoren
* bpo-39159: Declare error that might be raised from literal_eval (GH-19899)Batuhan Taskaya2020-12-221-1/+5
|
* bpo-42008: Fix internal _random.Random() seeding for the one argument case ↵AMIR2020-12-213-1/+22
| | | | (GH-22668)
* Fix typo in docstring (GH-23515)Fernando Toledo2020-12-211-1/+1
|
* bpo-42634: Mark reraise after except blocks as artificial. (GH-23877)Mark Shannon2020-12-216-5032/+5063
| | | | | | | * Mark reraise after except blocks as artificial. * Update importlib * Update dis test.
* bpo-35790: Correct the description of sys.exc_info() and add a code example ↵Géry Ogam2020-12-211-3/+21
| | | | (GH-11625)
* [WIP/RFC] bpo-15872: tests: remove oddity from test_rmtree_errors (GH-22967)Daniel Hahler2020-12-211-6/+3
| | | | | | | | | This was added for (some) Windows buildbots back in 2012, and should either not be necessary anymore, or it should probably get investigated why "\*.*" gets added to filenames in the first place. Ref: Automerge-Triggered-By: GH:hynek
* bpo-31904: Fix site and sysconfig modules for VxWorks RTOS (GH-21821)pxinwr2020-12-207-72/+113
|
* bpo-42669: Document that `except` rejects nested tuples (GH-23822)Colin Watson2020-12-202-1/+3
| | | | | | | | | | | | | In Python 2, it was possible to use `except` with a nested tuple, and occasionally natural. For example, `zope.formlib.interfaces.InputErrors` is a tuple of several exception classes, and one might reasonably think to do something like this: try: self.getInputValue() return True except (InputErrors, SomethingElse): return False As of Python 3.0, this raises `TypeError: catching classes that do not inherit from BaseException is not allowed` instead: one must instead either break it up into multiple `except` clauses or flatten the tuple. However, the reference documentation was never updated to match this new restriction. Make it clear that the definition is no longer recursive. Automerge-Triggered-By: GH:ericvsmith
* bpo-42572: Improve argparse docs for the type parameter. (GH-23849)Raymond Hettinger2020-12-201-50/+57
|
* bpo-42604: always set EXT_SUFFIX=${SOABI}${SHLIB_SUFFIX} when using ↵Matti Picus2020-12-203-13/+6
| | | | | | | | | | configure (GH-23708) Now all platforms use a value for the "EXT_SUFFIX" build variable derived from SOABI (for instance in FreeBSD, "EXT_SUFFIX" is now ".cpython-310d.so" instead of ".so"). Previously only Linux, Mac and VxWorks were using a value for "EXT_SUFFIX" that included "SOABI". Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
* bpo-41724: Explain when the conversion is not possible with detect_types ↵sblondon2020-12-191-1/+3
| | | | | enabled (GH-23855) * Explain when the conversion is not possible with detect_types enabled
* [doc] Mention with and except clauses in globals() (GH-13232)Andre Delfino2020-12-191-1/+1
|
* bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781)Serhiy Storchaka2020-12-1919-87/+315
| | | | | | | | | | | * Tkinter functions and constructors which need a default root window raise now RuntimeError with descriptive message instead of obscure AttributeError or NameError if it is not created yet or cannot be created automatically. * Add tests for all functions which use default root window. * Fix import in the pynche script.
* bpo-42470: Do not warn on sequences which are also sets in random.sample() ↵masklinn2020-12-193-7/+25
| | | | (GH-23665)
* Fixed typo in itertools documentation (GH-23816)Casper Smet2020-12-191-0/+1
|
* bpo-42559: Not that getrandbits() is non-negative. (GH-23843)Raymond Hettinger2020-12-191-4/+5
|
* bpo-34805: Guarantee that __subclasses__() is in definition order. (GH-23844)Raymond Hettinger2020-12-192-2/+12
|
* bpo-24792: Fix zipimporter masking the cause of import errors (GH-22204)Irit Katriel2020-12-195-737/+748
| | | | | zipimport's _unmarshal_code swallows import errors and then _get_module_code doesn't know the cause of the error, and returns the generic, and sometimes incorrect, 'could not find...'. Automerge-Triggered-By: GH:brettcannon
* bpo-36769: Document that fnmatch.filter supports any kind of iterable (#13039)Andre Delfino2020-12-182-2/+2
|
* bpo-34398: Allow glossary results to show up on search page (GH-8773)Ammar Askar2020-12-184-2/+108
|
* bpo-42675: Document collections.abc.Callable changes (GH-23839)kj2020-12-182-0/+28
|
* bpo-41891: ensure asyncio.wait_for waits for task completion (#22461)Richard Kojedzinszky2020-12-183-1/+66
|
* bpo-40956: Fix sqlite3 AC code (GH-23837)Dong-hee Na2020-12-182-9/+32
|
* bpo-40956: Convert _sqlite3.Connection to Argument Clinic (GH-23341)Erlend Egeberg Aasland2020-12-183-135/+702
|
* bpo-17140: Document multiprocessing's ThreadPool (GH-23812)Matt Wozniski2020-12-182-0/+41
| | | | | Up until now, the `multiprocessing.pool.ThreadPool` class has gone undocumented, despite being a public class in multiprocessing that is included in `multiprocessing.pool.__all__`.
* bpo-42238: Check Misc/NEWS.d/next/ for reStructuredText issues. (GH-23802)Julien Palard2020-12-187-13/+89
|
* bpo-39096: Format specification documentation fixes for numeric types (GH-23575)Mark Dickinson2020-12-181-12/+23
|
* bpo-1635741: Port _thread to multiphase init (GH-23811)Victor Stinner2020-12-182-90/+223
| | | | | | | Port the _thread extension module to the multiphase initialization API (PEP 489) and convert its static types to heap types. Add a traverse function to the lock type, so the garbage collector can break reference cycles.
* bpo-42199: Fix bytecode_helper assertNotInBytecode (#23031)Max Bernstein2020-12-183-1/+22
| | | | | | | | | | * bpo-42199: Fix bytecode_helper assertNotInBytecode Add tests. * 📜🤖 Added by blurb_it. Co-authored-by: Dino Viehland <dinoviehland@fb.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* bpo-42670: Fix a missing word in the itertools.product() docs (GH-23823)Zackery Spytz2020-12-171-1/+1
|
* bpo-31904: posixpath.expanduser() handles None user home on VxWorks (GH-23530)pxinwr2020-12-172-0/+5
|
* [doc] Fix a few margins due to bad markup (GH-23619)Andre Delfino2020-12-1711-89/+88
|
* bpo-42246: Make sure that `f_lasti`, and thus `f_lineno`, is set correctly ↵Mark Shannon2020-12-1713-225/+317
| | | | | | | | | after raising or reraising an exception (GH-23803) * Ensure that f_lasti is set correctly after an exception is raised to conform to PEP 626. * Update importlib * Add NEWS.
* bpo-26564: fix obsolete comment in traceback.c (GH-23819)Irit Katriel2020-12-171-1/+2
|
* bpo-31904: Skip some asyncio tests on VxWorks (#23815)pxinwr2020-12-173-1/+11
|
* [doc] Fix erroneous backslashes in signatures and names (GH-23658)Andre Delfino2020-12-1732-88/+88
| | | | | The issue being resolved is shown in the 3.10 docs (if you select docs for older versions you won't see a visual glitch). The newer sphinx version that produces the 3.10 docs doesn't treat the backslash to escape things in some situations it previously did.
* Correct referenced RFC number in cgi module (GH-22827)Mike Lei2020-12-171-1/+1
| | | The quoted sentence can be found from the last paragraph of RFC 2046, Section 5.1, while the content of RFC 2026 is unrelated to this module.
* Fix indentation for get_stats_profile() docs (GH-23618)Matthew Suozzo2020-12-161-1/+1
| | | | The existing method is indented one too many times which makes it look like a sub-method of print_callees().
* bpo-37961: Fix regression in tracemalloc.Traceback.__repr__ (GH-23805)Daniel Hahler2020-12-163-1/+22
| | | Regression in 8d59eb1b66c51b2b918da9881c57d07d08df43b7.
* bpo-38323: Add guard clauses in MultiLoopChildWatcher. (#22756)Chris Jerdonek2020-12-161-14/+18
| | | This is a trivial refactor in preparation for a fix for bpo-38323.
* bpo-23915: update and elucidate documentation of with_traceback (GH-23680)Irit Katriel2020-12-161-2/+7
|