Raymond Hettinger
26f2e688b8
Clean-up the argparse docs quick links table (GH-91726)
2022-04-20 01:21:54 -05:00
Inada Naoki
4d2403fd50
gh-91020: Add `PyBytes_Type.tp_alloc` for subclass (GH-91686)
2022-04-20 14:06:29 +09:00
slateny
692aea6f38
Add link to sys.path in os lib ( #91679 )
2022-04-19 20:59:48 -07:00
dependabot[bot]
1ba63e3a9b
build(deps): bump actions/checkout from 2 to 3 ( #32226 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 20:50:07 -07:00
AJ Jordan
326ae71f1d
Fix awkward sentence in signal docs ( #91508 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-19 18:20:25 -07:00
Nick
b6d5e3c3c9
bpo-46075: Store localhost cookies in CookieJar ( #30108 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-19 13:08:06 -07:00
dependabot[bot]
74e319239b
build(deps): bump actions/setup-python from 2 to 3 ( #31630 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-19 13:03:58 -07:00
Dennis Sweeney
da6c78584b
gh-90667: Add specializations of Py_DECREF when types are known (GH-30872)
2022-04-19 19:02:19 +01:00
Kumar Aditya
ab0d35d70d
bpo-46712: share more global strings in deepfreeze (gh-32152)
...
(for gh-90868)
2022-04-19 11:41:36 -06:00
Irit Katriel
3c43806513
gh-74166: make all_errors keyword-only (GH-91704)
2022-04-19 18:16:20 +01:00
Ma Lin
a059395921
bpo-40859: Update Windows build to use xz-5.2.5 (GH-20622)
2022-04-19 17:36:51 +01:00
Ma Lin
e4e8895ae3
gh-91616: re module, fix .fullmatch() mismatch when using Atomic Grouping or Possessive Quantifiers (GH-91681)
...
These jumps should use DO_JUMP0() instead of DO_JUMP():
- JUMP_POSS_REPEAT_1
- JUMP_POSS_REPEAT_2
- JUMP_ATOMIC_GROUP
2022-04-19 17:49:36 +03:00
Victor Stinner
061a8bf77c
gh-91231: Add shutdown_timeout to multiprocessing BaseManager ( #32112 )
...
Add an optional keyword 'shutdown_timeout' parameter to the
multiprocessing.BaseManager constructor. Kill the process if
terminate() takes longer than the timeout.
Multiprocessing tests pass test.support.SHORT_TIMEOUT
to BaseManager.shutdown_timeout.
2022-04-19 16:27:00 +02:00
Serhiy Storchaka
74070085da
Add more tests for group names and refs in RE (GH-91695)
2022-04-19 16:56:51 +03:00
Dong-hee Na
16fc5733b7
gh-90699: Use module state to access insert str object. (GH-91693)
2022-04-19 22:12:46 +09:00
slateny
6a7a8a740e
Doc: Fix link formatting typo (GH-91659)
2022-04-19 18:15:46 +09:00
Irit Katriel
5b37b49ebc
gh-74166: break cycle by clearing the list instead of dropping its reference (GH-91685)
2022-04-19 10:09:10 +01:00
penguin_wwy
e590379197
gh-90997: bpo-46841: Disassembly of quickened code (GH-32099)
2022-04-19 09:45:08 +01:00
Victor Stinner
aa5c0a9f8d
bpo-40421: Cleanup PyFrame C API (GH-32417)
2022-04-19 09:53:10 +02:00
Oleg Iarygin
7fbc7f6128
gh-91098: Use Argument Clinic for Object/classobject.c to fix docstrings ( #31711 )
...
Closes GH-91098.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-18 19:56:53 -07:00
Yurii Karabas
014eb7fd02
bpo-46014: Add docs regarding `functools.singledispatch` changes in 3.11 ( #32282 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-18 19:50:59 -07:00
Inada Naoki
6fdb62b1fa
gh-91526: io: Remove device encoding support from TextIOWrapper (GH-91529)
...
`TextIOWrapper.__init__()` called `os.device_encoding(file.fileno())` if fileno is 0-2 and encoding=None.
But it is very rarely works, and never documented behavior.
2022-04-19 11:44:36 +09:00
Irit Katriel
39a54ba638
gh-74166: Add option to get all errors from socket.create_connection (GH-91586)
2022-04-18 23:15:41 +01:00
Bryan Weber
0860b26a4f
gh-91670: Removes `SO` config variable in `sysconfig.py` ( #91671 )
...
* Removes SO config variable in sysconfig
Per @warsaw in https://github.com/python/cpython/issues/63754 , this was
deprecated in Python 3.4 and was suggested for removal in Python 3.5.
* Add NEWS
* Update Misc/NEWS.d/next/Library/2022-04-18-15-23-24.gh-issue-91670.6eyChw.rst
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Barry Warsaw <barry@python.org>
Co-authored-by: Éric <merwok@netwok.org>
2022-04-18 14:01:18 -07:00
Oleg Iarygin
2f0fc521f4
gh-91102: Use Argument Clinic for EncodingMap ( #31725 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-18 13:43:56 -07:00
Barry Warsaw
dbd9d75fed
Add some information about where pynche has moved to ( #91650 )
2022-04-18 07:34:53 -07:00
Kumar Aditya
8c54c3dacc
gh-91576: Speed up iteration of strings ( #91574 )
2022-04-18 07:18:27 -07:00
Ma Lin
a29f858124
bpo-47256: Increasing the depth of backtracking in RE (GH-32411)
...
Limit the maximum capturing group to 2**30-1 on 64-bit platforms
(it was 2**31-1). No change on 32-bit platforms (2**28-1).
It allows to reduce the size of SRE(match_context):
- On 32 bit platform: 36 bytes, no change. (msvc2022)
- On 64 bit platform: 72 bytes -> 56 bytes. (msvc2022/gcc9.4)
which leads to increasing the depth of backtracking.
2022-04-18 16:50:40 +03:00
Serhiy Storchaka
1c2fcebf3c
gh-91575: Update case-insensitive matching in re to the latest Unicode version (GH-91580)
2022-04-18 12:26:30 +03:00
Thomas Klausner
2e7e3c4c10
bpo-46053: Fix OSS audio support on NetBSD (GH-30065)
2022-04-18 12:12:39 +03:00
Oleg Iarygin
804ea2da97
gh-91265: Make old ctypes.macholib tests runned by `python -m test` (gh-32094)
...
* Move tests from ctypes.macholib.dy* to ctypes.test
2022-04-18 09:27:09 +02:00
Raymond Hettinger
4c3b283e83
Remove ill-formed an unneeded news entry (GH-91657)
2022-04-18 00:27:41 -05:00
Susan Su
8e76d7e1a9
bpo-21150: Add quick link/summary table to the top of argparse documentation (GH-12005)
...
No work has been done to move this forward. On the theory that perfect is the enemy of good, I'm going to push it and we can make minor edits as needed afterwards.
2022-04-17 23:46:18 -05:00
Gouvernathor
0e6dca0193
Remove duplicate explanation (GH-91534)
2022-04-18 13:26:40 +09:00
Aditya Aggarwal
d7d4a0583f
Update: usage doc for heappushpop (GH-91451)
2022-04-17 23:12:33 -05:00
Oleg Iarygin
a573cb2fec
gh-91118: Fix docstrings that do not honor --without-doc-strings ( #31769 )
...
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-17 20:39:32 -07:00
achhina
328dbc051f
gh-85567: Register a cleanup function to close files for FileType objects in argparse ( #32257 )
...
* bpo-41395: Register a cleanup function to close files for FileType objects in argparse
* Added import as top level import, and renamed file as fh.
2022-04-17 22:53:37 -03:00
Barry Warsaw
7173fd5de0
Remove the ancient Pynche color editor ( #91554 )
...
Closes #91551
2022-04-17 15:38:44 -07:00
Brett Cannon
ceea0715df
gh-91217: deprecate ossaudiodev (GH-91641)
...
Automerge-Triggered-By: GH:brettcannon
2022-04-17 15:02:36 -07:00
slateny
d5a69571f5
gh-89885: Improve import example in language reference ( #91523 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-17 14:20:13 -07:00
180909
efbc668183
gh-91541: Fix error in example in modules tutorial ( #91634 )
2022-04-17 14:17:04 -07:00
Erlend Egeberg Aasland
017f07a229
gh-90923: Improve sqlite3.Connection.execute* docs ( #91643 )
...
- Drop 'nonstandard'; it does not add any value
- Try to be more concise
- Make return value a little more explicit
2022-04-17 14:12:55 -07:00
Erlend Egeberg Aasland
0b906ae562
Use git attribute macros for CRLF and no-EOL files (GH-30762)
2022-04-17 15:53:31 -05:00
Dennis Sweeney
cec5d858f5
gh-91625: Don't ignore extended args of adaptive opcodes (GH-91626)
2022-04-17 14:04:29 -04:00
Jason R. Coombs
7659681556
gh-91298: Refine traversable (apply changes from importlib_resources 5.7.1) ( #91623 )
...
* bpo-47142: Refine traversable (apply changes from importlib_resources 5.7.1)
* Replace changelog referencing github issue.
2022-04-17 11:10:36 -04:00
Jason R. Coombs
67712e71b3
bpo-46126: Restore docstrings in importlib.metadata tests. ( #32288 )
2022-04-17 11:10:26 -04:00
Dennis Sweeney
3289209716
Fix refleaks in PyErr_SetHandledException (GH-91627)
2022-04-17 02:52:53 -04:00
Dennis Sweeney
37965d2fb4
gh-78607: Replace __ltrace__ with __lltrace__ (GH-91619)
2022-04-16 18:57:00 -04:00
Dennis Sweeney
8560f4a0f2
gh-91462: Make lltrace output human-readable. (GH-91463)
...
* Transform opcodes into opnames
* Print the whole stack at each opcode, and eliminate prtrace output at each (push/pop/stackadj)
* Display info about the function at each resume_frame
2022-04-16 17:36:29 -04:00
Sebastian Rittau
25af5ea40f
gh-86178: wsgiref.types: Add missing TypeAlias annotations (GH-91608)
2022-04-16 13:37:02 -07:00