summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-43126: Expand docs on io.IOBase.readlines() method (GH-27061) (GH-27113)Miss Islington (bot)2021-07-131-0/+3
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 3b5b99da4b256a31933112f4a2385386149c19e1) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* bpo-38741: Definition of multiple ']' in header configparser (GH-17129) (#27110)Miss Islington (bot)2021-07-133-1/+9
| | | | | | | Co-authored-by: Jason Killen <jason.killen@windsorcircle.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 2924bb1a566977efd45f335d6a94cd84d8047edf) Co-authored-by: jsnklln <jsnklln@gmail.com>
* bpo-44514: Add doctest testcleanup for configparser and bz2 (GH-26909) ↵Miss Islington (bot)2021-07-132-0/+10
| | | | | | | | | | (GH-27112) Add testcleanup section to configparser and bz2 documentation which removes temporary files created in the filesystem when 'make doctest' is run. (cherry picked from commit 48a5aa7f128caf5a46e4326c1fd285cd5fc8e59d) Co-authored-by: Kevin Follstad <kfollstad@gmail.com>
* bpo-44472: Fix ltrace functionality when exceptions are raised (GH-26822) ↵Miss Islington (bot)2021-07-132-0/+4
| | | | | | | | | (GH-26830) (cherry picked from commit 06cda808f149fae9b4c688f752b6eccd0d455ba4) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* bpo-44613: Make importlib.metadata non-provisional (GH-27101) (#27106)Miss Islington (bot)2021-07-132-4/+3
| | | | | | | | | * importlib.metadata is no longer provisional as of 3.10 * Add NEWS entry (cherry picked from commit f6954cdfc50060a54318fb2aea4d80408381243a) Co-authored-by: Barry Warsaw <barry@python.org> Co-authored-by: Barry Warsaw <barry@python.org>
* [Enum] add news entry for enum module reversion (GH-27099)Ethan Furman2021-07-121-0/+1
|
* bpo-42194: Add "New in version: 3.9" to argparse.BooleanOptionalAction ↵Miss Islington (bot)2021-07-121-0/+2
| | | | | | | (GH-23026) (#27097) (cherry picked from commit da2e673c53974641a0e13941950e7976bbda64d5) Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com>
* bpo-26329: update os.path.normpath documentation (GH-20138) (GH-27094)Miss Islington (bot)2021-07-122-0/+9
| | | | | (cherry picked from commit 66c5853406bbcccecf35372795078c0641a5f385) Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
* bpo-29753: revert 0d7ad9f (GH-19850) (GH-27085)Miss Islington (bot)2021-07-112-90/+8
| | | | | | | | This reverts commit 0d7ad9fb38c041c46094087b0cf2c8ce44916b11 as it has a regression. See https://github.com/python/cpython/pull/19850GH-issuecomment-869410686 (cherry picked from commit e14d5ae5447ae28fc4828a9cee8e9007f9c30700) Co-authored-by: Filipe Laíns <lains@archlinux.org>
* bpo-43219: shutil.copyfile, raise a less confusing exception instead of ↵Miss Islington (bot)2021-07-103-21/+42
| | | | | | | | IsADirectoryError (GH-27049) Fixes the misleading IsADirectoryError to be FileNotFoundError. (cherry picked from commit 248173cc0483a9ad9261353302f1234cf9eb2ebe) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* Post 3.10.0b4Pablo Galindo2021-07-101-1/+1
|
* Python 3.10.0b4v3.10.0b4Pablo Galindo2021-07-1047-89/+441
|
* bpo-44317: Improve tokenizer errors with more informative locations ↵Miss Islington (bot)2021-07-103-20/+57
| | | | | | | (GH-26555) (GH-27079) (cherry picked from commit f24777c2b329974b69d2a3bf5cfc37e0fcace36c) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* [3.10] bpo-43897: ast validation for pattern matching nodes (GH-27074)Batuhan Taskaya2021-07-102-32/+265
| | | | | (cherry picked from commit 8dcb7d98086888230db94a1eb07bae1b5db82bc9) Co-authored-by: Batuhan Taskaya <batuhan@python.org>
* Doc: Fix wrong exception used in example. (GH-26572)Miss Islington (bot)2021-07-091-1/+1
| | | | | (cherry picked from commit 15f0fc571c1fbc84b6b74dfeb373ca3d35e4c5d7) Co-authored-by: Julien Palard <julien@palard.fr>
* bpo-44570: Fix line tracing for forward jumps to duplicated tails (GH-27067)Mark Shannon2021-07-083-21/+50
|
* [3.10] bpo-44446: support lineno being None in traceback.FrameSummary ↵Pablo Galindo2021-07-083-3/+9
| | | | | | | | | | | | | (GH-26781) (GH-27072) As of 088a15c49d99ecb4c3bef93f8f40dd513c6cae3b, lineno is None instead of -1 if there is no line number. Signed-off-by: Filipe Laíns <lains@riseup.net>. (cherry picked from commit 91a8f8c16ca9a7e2466a8241d9b41769ef97d094) Co-authored-by: Filipe Laíns <lains@riseup.net> Co-authored-by: Filipe Laíns <lains@riseup.net>
* bpo-44582: Accelerate mimetypes.init on Windows with a native accelerator ↵Miss Islington (bot)2021-07-085-7/+189
| | | | | | | (GH-27059) (cherry picked from commit bbf2fb6c7ae78f40483606f467739a58cd747270) Co-authored-by: Steve Dower <steve.dower@python.org>
* docs: add the word 'official' (GH-26849)Miss Islington (bot)2021-07-081-1/+1
| | | | | (cherry picked from commit af4a2dcc40321de49bffec80bf6c6b5a7d43b134) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* bpo-44479: Simplified LICENSE.txt regeneration in Windows build (GH-27056)Steve Dower2021-07-071-9/+9
|
* bpo-44558: Match countOf `is`/`==` treatment to c (GH-27007)Miss Islington (bot)2021-07-075-6/+13
| | | | | (cherry picked from commit 6bd3ecfc272b122b55a6adec50dd7a7c868f262f) Co-authored-by: Rupert Tombs <rupert.tombs@gmail.com>
* bpo-44563: Fix error handling in tee.fromiterable() (GH-27020) (GH-27041)Miss Islington (bot)2021-07-051-9/+10
| | | | | | | | In debug build failed tee.fromiterable() corrupted the linked list of all GC objects. (cherry picked from commit f64de53ff01e734d48d1d42195443d7d1646f220) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-43453: Update and re-add example to typing runtime_checkable (GH-27013)Miss Islington (bot)2021-07-051-2/+7
| | | | | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 17f94e28882e1e2b331ace93f42e8615383dee59) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* bpo-44479: Regenerate test_frozenmain.h and frozen_hello.h during build on ↵Steve Dower2021-07-053-29/+42
| | | | Windows (GH-26984)
* bpo-44562: Use PyType_GenericAlloc in Py_GenericAlias (GH-27021)Miss Islington (bot)2021-07-051-2/+2
| | | | | | | | | | | | * bpo-44562: Use PyType_GenericAlloc in Py_GenericAlias * Update Objects/genericaliasobject.c Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit b324c4c5f763c5116a97db8591e6dcb94456570a) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* bpo-44558: Make the implementation consistency of operator.indexOf (GH-27012)Miss Islington (bot)2021-07-053-1/+6
| | | | | (cherry picked from commit 09302405d22e86884d6058226790c0cdf5b72f14) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* bpo-41486: zlib uses an UINT32_MAX sliding window for the output buffer ↵Miss Islington (bot)2021-07-052-30/+117
| | | | | | | | | | | | | | | | | | | (GH-26143) * zlib uses an UINT32_MAX sliding window for the output buffer These funtions have an initial output buffer size parameter: - zlib.decompress(data, /, wbits=MAX_WBITS, bufsize=DEF_BUF_SIZE) - zlib.Decompress.flush([length]) If the initial size > UINT32_MAX, use an UINT32_MAX sliding window, instead of clamping to UINT32_MAX. Speed up when (the initial size == the actual size). This fixes a memory consumption and copying performance regression in earlier 3.10 beta releases if someone used an output buffer larger than 4GiB with zlib.decompress. Reviewed-by: Gregory P. Smith (cherry picked from commit a9a69bb3ea1e6cf54513717212aaeae0d61b24ee) Co-authored-by: Ma Lin <animalize@users.noreply.github.com>
* bpo-44562: Remove invalid PyObject_GC_Del from error path of ↵Miss Islington (bot)2021-07-042-3/+5
| | | | | | | types.GenericAlias … (GH-27016) (cherry picked from commit d33943a6c368c2184e238019c63ac7a267da5594) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* [3.10] bpo-44559: [Enum] revert enum module to 3.9 (GH-27010)Ethan Furman2021-07-0429-4744/+1662
| | | * [Enum] revert enum module to 3.9
* bpo-44553: Correct failure in tp_new for the union object (GH-27008) (GH-27009)Miss Islington (bot)2021-07-031-2/+2
| | | | | | | (cherry picked from commit bc3961485639cc73de7c4c7eed1b56f3c74939bf) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* Fix a small typo in the docs (GH-26991) (GH-27003)Miss Islington (bot)2021-07-031-1/+1
| | | | | | | (cherry picked from commit a79e2b6497f7d31017c01a41a290a9b3349398fe) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com> Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>
* [3.10] bpo-34266: [pdb] handle ValueError from shlex.split() (GH-26656) ↵Irit Katriel2021-07-033-1/+21
| | | | | | | (GH-27006) (cherry picked from commit d968a638fcbf9030c999cfacd4c9bf0656e779c4) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* bpo-44553 : Implement GC methods for types.Union (GH-26993)Miss Islington (bot)2021-07-033-5/+38
| | | | | (cherry picked from commit 1097384ce964dd63686b1aac706cd0fa764c2dc9) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* [3.10] bpo-30256: [doc] Fix formatting error in news (GH-26994) (GH-26998)Irit Katriel2021-07-021-1/+1
|
* bpo-34798: [doc] clearer presentation of pprint.PrettyPrinter constru… ↵Miss Islington (bot)2021-07-022-18/+31
| | | | | | | (GH-26967) (GH-26990) (cherry picked from commit 943e77d42d3f84b581f32c05f1fc8c05366b8ed3) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* bpo-30256: Add manager_owned keyword arg to AutoProxy (GH-16341) (#26987)Miss Islington (bot)2021-07-024-2/+15
| | | | | | | Co-authored-by: Jordan Speicher <jordan@jspeicher.com> (cherry picked from commit 85b920498b42c69185540ecc2f5c4907fd38d877) Co-authored-by: finefoot <33361833+finefoot@users.noreply.github.com>
* bpo-43425: Update setup.py not to use distutils.log (GH-26969)Miss Islington (bot)2021-07-021-16/+23
| | | | | (cherry picked from commit a7e251b07aa5f1a858a3e791a30dea78e93ab728) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* bpo-43425: Update _osx_support not to use distutils.log (GH-26968)Miss Islington (bot)2021-07-011-4/+3
| | | | | (cherry picked from commit c8979f780e4b7d6db5693cb26a2956cc785abb48) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* bpo-44535: Enable building with Visual Studio 2022 on Windows (GH-26962)Miss Islington (bot)2021-06-302-0/+2
| | | | | (cherry picked from commit d3a95c1b6eacbbbd92c294744e7ed41932f3f63e) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-41180: Replace marshal code.__new__ audit event with marshal.load[s] and ↵Steve Dower2021-06-305-10/+75
| | | | marshal.dumps (GH-26970)
* bpo-44523: Remove the pass-through for hash() in weakref proxy objects ↵Miss Islington (bot)2021-06-293-20/+15
| | | | | | | (GH-26950) (cherry picked from commit e2fea101fd5517f33371b04432842b971021c3bf) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* bpo-38062: [doc] clarify that atexit uses equality comparisons internally. ↵Miss Islington (bot)2021-06-292-5/+7
| | | | | | | | (GH-26935) (GH-26956) (cherry picked from commit 12803c59d54ff1a45a5b08cef82652ef199b3b07) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* bpo-42588: Update the docs for the TopologicalSorter.static_order() method ↵Miss Islington (bot)2021-06-291-4/+5
| | | | | | | (GH-26834) (cherry picked from commit 0d7f7975d55eff7e3dfcebd14e765fc6cd7d3e40) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* [doc] Fix typo in what's new in 3.10 (GH-26911) (GH-26940)Miss Islington (bot)2021-06-291-1/+1
| | | | | | The `try` statement was missing a colon and therefore was not exemplifying the correct `SyntaxError`. (cherry picked from commit dcb1caef5bd8e90e1ecb4c07d7114e51b49fe37a) Co-authored-by: Rodrigo Girão Serrão <rodrigogiraoserrao@gmail.com>
* bpo-40939: Remove documentation for `PyParser_*` & add porting notes ↵Miss Islington (bot)2021-06-285-98/+41
| | | | | | | | | | | (GH-26855) (GH-26898) I tried to be relatively thorough and give lots of links. One reason is that this wasn't deprecated very long; also it seems people running into this tend to not be familiar with similar APIs. (cherry picked from commit 29987f72650b7cccee4df216c8297e8484a44e6a) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
* bpo-44464: Remove special exclusion for flake8 in the deprecation warnings. ↵Miss Islington (bot)2021-06-273-10/+4
| | | | | | | | | | (GH-26807) (GH-26929) Sync with importlib_metadata 4.6. (cherry picked from commit efe7d08d178a7c09bcca994f2068b019c8633d83) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* bpo-40620: Clarify tutorial controlflow.rst ``range`` examples (GH-26919) ↵Miss Islington (bot)2021-06-272-14/+10
| | | | | | | | (GH-26927) (cherry picked from commit 2f49c9debc2efe010c757be3bdbd6493f1ebc5f6) Co-authored-by: jdevries3133 <58614260+jdevries3133@users.noreply.github.com>
* Clarify the order of a stacked `abstractmethod` (GH-26892)Miss Islington (bot)2021-06-271-3/+24
| | | | | | Co-authored-by: Tal Einat <532281+taleinat@users.noreply.github.com> (cherry picked from commit 74d60eab558bffdf5ca8ea2f5305e19b36bdb9a8) Co-authored-by: Ram Rachum <ram@rachum.com>
* bpo-44404: tkinter `after` support callable classes (GH-26812)Miss Islington (bot)2021-06-273-1/+13
| | | | | (cherry picked from commit e9c8f784fa13ea3a51df3b72a498a3896ec9e768) Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
* [3.10] bpo-44468: Never skip base classes in `typing.get_type_hints()`, even ↵Miss Islington (bot)2021-06-263-11/+21
| | | | | | | | | | with invalid `.__module__`. (GH-26862) (GH-26920) (cherry picked from commit 7569c0fe91dfcf562dee8c29798ecda74d738aa8) Co-authored-by: will-ca <willchencontact@gmail.com> Automerge-Triggered-By: GH:gvanrossum