summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-95132: Correctly relay *args and **kwds from sqlite3.connect to factory ↵Erlend Egeberg Aasland2022-07-235-147/+59
| | | | | | | | | | | | (#95146) This PR partially reverts gh-24421 (PR) and fixes the remaining concerns given in gh-93044 (issue): - keyword arguments are passed as positional arguments to factory() - if an argument is not passed to sqlite3.connect(), its default value is passed to factory() Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-90385: Add `pathlib.Path.walk()` method (GH-92517)Stanislav Zmiev2022-07-225-1/+338
| | | Automerge-Triggered-By: GH:brettcannon
* GH-94438: Handle extended arguments and conditional pops in mark_stacks ↵Brandt Bucher2022-07-223-4/+49
| | | | (GH-95110)
* GH-94036: Fix more attribute location quirks (GH-95028)Brandt Bucher2022-07-223-20/+85
|
* Fix copy-friendliness of tutorial example (GH-93424)Chenwei Xiao2022-07-221-0/+1
|
* GH-95113: Don't use EXTENDED_ARG_QUICK in unquickened code (GH-95121)Brandt Bucher2022-07-228-200/+20
|
* Fix async method reference links in `compound_stmts` docs (GH-94935)July Tikhonov2022-07-221-2/+2
|
* Fix scheme count in `sysconfig` whatsnew entry (GH-94110)Frank Dana2022-07-221-1/+1
|
* Fix incorrect directive in multiprocessing module documentation (GH-93517)oda-gitso2022-07-221-1/+1
|
* Closes gh-95133: docs, fix indentation level in TestCase.assertLogs example ↵Alexandru Mărășteanu2022-07-221-2/+2
| | | | (GH-95134)
* Use Markdown Headers in GitHub Issue templates (GH-95111)Mariatta Wijaya2022-07-224-9/+9
| | | | | | The Issue templates are using the markup to make text bold. We should be using proper text headers instead. I replaced the **bold** text markup with L1 headers.
* gh-81040: Improve sqlite3.Cursor.rowcount docs (#94940)Erlend Egeberg Aasland2022-07-221-12/+5
|
* Fix typo in PROTOCOL_TO_TLS_VERSION in test_ssl (GH-95119)David Benjamin2022-07-221-1/+1
| | | | | | | | | | | | | | | | This appears to be a typo. It causes try_protocol_combo to try to turn on SSL 3.0 when testing PROTOCOL_SSLv23 (aka PROTOCOL_TLS), which doesn't make any sense. Fix it to be PROTOCOL_SSLv3. Without this, try_protocol_combo is actually setting context.minimum_version to SSLv3 when called as try_protocol_combo(ssl.PROTOCOL_TLS, ssl.PROTOCOL_TLS, True) One would think this causes a no-ssl3 OpenSSL build to fail, but OpenSSL forgot to make SSL_CTX_set_min_proto_version(SSL3_VERSION) does not notice no-ssl3, so this typo has gone undetected. But we should still fix the typo because, presumably, a future version of OpenSSL will remove SSL 3.0 and do so more thoroughly, at which point this will break.
* gh-95112: Fix What's New 3.12 contribution note periods (#95118)Terry Jan Reedy2022-07-221-2/+2
| | | A couple, so far, are missing.
* gh-95112: Fix What's New 3.11 contribution note periods (#95115)Terry Jan Reedy2022-07-221-5/+5
| | | Some are missing, a few placed after the ')'.
* gh-95112: Fix What's New 3.10 contribution note periods (#95114)Terry Jan Reedy2022-07-221-25/+25
| | | | Some are missing, a few placed after the ')'. One ') was missing.
* gh-95105: Return Iterator from wsgiref.types.InputStream.__iter__ (#95106)Shantanu2022-07-212-2/+3
|
* gh-95095: Use SSL_CTX_get_max_proto_version instead of SSL_CTX_ctrl (GH-95096)David Benjamin2022-07-211-2/+2
| | | | | | | The wrapper macros are more readable and match the form recommended in the OpenSSL documentation. They also slightly less error-prone, as the mapping of arguments to SSL_CTX_ctrl is not always clear. (Though in this case it's straightforward.) https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_get_max_proto_version.html
* Fix PyCode_Addr2Location when addrq < 0 (GH-95091)Ken Jin2022-07-212-0/+3
|
* gh-95010: Fix asyncio ↵Thomas Grainger2022-07-211-20/+26
| | | | | | GenericWatcherTests.test_create_subprocess_fails_with_inactive_watcher (GH-95009) The test was never run, because it was missing the TestCase class. The test failed because the wrong attribute was patched.
* GH-95029: Describe Windows Store package isolation and redirection in more ↵Anthony Shaw2022-07-211-3/+31
| | | | detail (GH-95030)
* docs: use 'recursively' in the description of rglob, and mention globs in ↵Ned Batchelder2022-07-201-2/+2
| | | | | | | the os equivalences (GH-94954) The r in `rglob` stands for "recursively", so use the word in the description. Also, glob and rglob can usefully be mentioned as the pathlib equivalent of os.walk. Automerge-Triggered-By: GH:brettcannon
* gh-82116: add comment explaining use of `list(scandir_it)` in pathlib. ↵Barney Gale2022-07-201-0/+4
| | | | | (GH-94939) Automerge-Triggered-By: GH:brettcannon
* GH-91409: Don't overwrite valid locations with NOP locations (GH-95067)Brandt Bucher2022-07-203-1/+44
|
* gh-91102: Port 8-argument _warnings.warn_explicit to Argument Clinic (#92891)Oleg Iarygin2022-07-203-25/+106
| | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-90016: Deprecate default sqlite3 adapters and converters (#94276)Erlend Egeberg Aasland2022-07-207-49/+66
| | | Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* GH-94382: port multiprocessing static types to heap types (#94336)Kumar Aditya2022-07-204-63/+62
|
* gh-54781: Move NEWS item to Tests, and improve wording (#95063)Erlend Egeberg Aasland2022-07-201-10/+10
|
* gh-94998: Remove redundant condition in test_sqlite3/__main__.py (#95052)Erlend Egeberg Aasland2022-07-201-2/+1
|
* gh-94844: Add pathlib support to shutil archive management (GH-94846)Oleg Iarygin2022-07-201-0/+2
| | | Co-authored-by: Barney Gale <barney.gale@gmail.com>
* GH-94851: fix immortal objects refcounting in compiler (gh-95040)Kumar Aditya2022-07-201-1/+1
|
* gh-90654: Remove unneeded blank line (#95044)Terry Jan Reedy2022-07-201-1/+0
|
* gh-90654: Add item missing from idlelib/NEWS.txt (#95038)Terry Jan Reedy2022-07-201-0/+2
|
* gh-93939: Use new MODULE_name_STATE in wasm_assets script (GH-95035)Christian Heimes2022-07-201-7/+6
|
* GH-90699: fix ref counting of static immortal strings (gh-94850)Kumar Aditya2022-07-203-2/+4
|
* Remove blurb boilerplate from news item (#95033)Terry Jan Reedy2022-07-201-5/+0
|
* gh-95007: Remove the NoneType return converter (GH-95019)Serhiy Storchaka2022-07-201-11/+0
| | | | | It has confusing semantic which does not provide any benefit (the only difference is that you should write "return Py_None" instead of "Py_RETURN_NONE"), it is not currently used, and it is broken.
* gh-93370: Don't print deprecated pysqlite version in test_sqlite3 (#95017)Erlend Egeberg Aasland2022-07-191-3/+1
|
* gh-91256: Ensure help text has the program name even before getpath is ↵Steve Dower2022-07-192-0/+4
| | | | called (GH-94929)
* gh-93678: move normalize_basic_block and extend_block call into optimize_cfg ↵Irit Katriel2022-07-191-31/+26
| | | | (GH-95002)
* GH-91153: Handle mutating __index__ methods in bytearray item assignment ↵Brandt Bucher2022-07-194-11/+60
| | | | (GH-94891)
* GH-94979: Pop the exception stack when jumping out of exception handlers. ↵Mark Shannon2022-07-191-9/+52
| | | | (#95003)
* test_concurrent_futures: Fix unneeded/confusing format call (#93119)Florian Bruhin2022-07-191-1/+1
| | | Added in 339fd46cb764277cbbdc3e78dcc5b45b156bb6ae - but as noted in a comment, the test only tests ThreadPoolExecutor.
* gh-94673: [c-analyzer] Add a Script to Identify Static Types (#94989)Eric Snow2022-07-195-152/+614
| | | issue: https://github.com/python/cpython/issues/94673
* gh-94949: Disallow parsing parenthesised ctx mgr with old feature_version ↵Shantanu2022-07-184-2/+11
| | | | | | | | | | | (#94950) * gh-94949: Disallow parsing parenthesised ctx manager with old feature_version * 📜🤖 Added by blurb_it. * Allow it with feature_version=(3, 9) as well Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* Revert "gh-93910: [Enum] restore member.member restriction while keeping ↵Ethan Furman2022-07-182-14/+1
| | | | | performance boost (GH-94913)" (#94985) This reverts commit c20186c3972ff38577c4c5e32ca86748210983d2.
* Revert "gh-94816: Improve coverage of decode_linetable (GH-94853)" (GH-94982)Michael Droettboom2022-07-181-23/+0
| | | This reverts commit 20b9d2a658059c8c1624400f60bb6ba19a31ee9b.
* Fix documentation to include possible Exception (#94818)Guy Yagev2022-07-181-2/+2
|
* Fix incorrect double indent in ast doc (#94976)Terry Jan Reedy2022-07-181-1/+1
| | | Warning directive indent was 4 rather than 3 spaces.
* GH-94822: Don't specialize when metaclasses are involved (GH-94892)Brandt Bucher2022-07-183-6/+351
|