Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/python/cpython

The Python programming language
https://github.com/python/cpython

gh-101965: Fix usage of Py_EnterRecursiveCall return value in _bisectmodule.c (GH-101966)

Closes #101965

Automerge-Triggered-By: GH:erlend-aasland

0f7a9725300e750947159409abbf5722a4a79f8b authored almost 2 years ago by Owain Davies <[email protected]>
gh-101578: Amend exception docs (#102057)

Co-authored-by: C.A.M. Gerlach <[email protected]>

02d9f1504beebd98dea807f4b8761d3675a500d0 authored almost 2 years ago by Erlend E. Aasland <[email protected]>
gh-101961 fileinput.hookcompressed should not set the encoding value for the binary mode (gh-102068)

6f25657b83d7a680a97849490f6e973b3a695e1a authored almost 2 years ago by Gihwan Kim <[email protected]>
gh-102056: Fix a few bugs in error handling of exception printing code (#102078)

022b44f2546c44183e4df7b67e3e64502fae9143 authored almost 2 years ago by Irit Katriel <[email protected]>
gh-102011: use sys.exception() instead of sys.exc_info() in docs where possible (#102012)

4d3bc89a3f54c4f09756a9b644b3912bf54191a7 authored almost 2 years ago by Irit Katriel <[email protected]>
gh-101566: Sync with zipp 3.14. (GH-102018)

36854bbb240e417c0df6f0014924fcc899388186 authored almost 2 years ago by Jason R. Coombs <[email protected]>
GH-99818: improve the documentation for zipfile.Path and Traversable (GH-101589)

Automerge-Triggered-By: GH:FFY00

84181c14040ed2befe7f1a55b4f560c80fa61154 authored almost 2 years ago by Filipe Laíns <[email protected]>
gh-88233: zipfile: handle extras after a zip64 extra (GH-96161)

Previously, any data _after_ the zip64 extra would be removed.

With many new tests.

Fixe...

59e86caca812fc993c5eb7dc8ccd1508ffccba86 authored almost 2 years ago by Tim Hatch <[email protected]>
gh-101981: Apply HOMEBREW related environment variables (gh-102074)

ed01addb59a554804995303ad3e7bf0c6067737b authored almost 2 years ago by Dong-hee Na <[email protected]>
gh-101907: Stop using `_Py_OPCODE` and `_Py_OPARG` macros (GH-101912)

* gh-101907: Removes use of non-standard C++ extension from Include/cpython/code.h

* Make cas...

a99eb5cd9947629a6745a4ad99cb07af1c287b5d authored almost 2 years ago by Steve Dower <[email protected]>
gh-101819: Adapt _io types to heap types, batch 1 (GH-101949)

Adapt StringIO, TextIOWrapper, FileIO, Buffered*, and BytesIO types.

Automerge-Triggered-By: ...

c00faf79438cc7f0d98af2679c695f747e4369a3 authored almost 2 years ago by Erlend E. Aasland <[email protected]>
gh-101981: Build macOS as recommended by the devguide (GH-102070)

Automerge-Triggered-By: GH:erlend-aasland

27136310414965a3ea7f835e416cf74b91cefb48 authored almost 2 years ago by Erlend E. Aasland <[email protected]>
gh-97786: Fix compiler warnings in pytime.c (#101826)

Fixes compiler warnings in pytime.c.

b1b375e2670a58fc37cb4c2629ed73b045159918 authored almost 2 years ago by Mark Dickinson <[email protected]>
gh-101578: Amend PyErr_{Set,Get}RaisedException docs (#101962)

Co-authored-by: C.A.M. Gerlach <[email protected]>

60bbed7f174e481d3fc69984430a4667951678b3 authored almost 2 years ago by Erlend E. Aasland <[email protected]>
Misc improvements to the float tutorial (GH-102052)

3b264df470c82d77f5b01c6f9d1d7173d1cb9597 authored almost 2 years ago by Raymond Hettinger <[email protected]>
gh-85417: Clarify behaviour on branch cuts in cmath module (#102046)

This PR updates the cmath module documentation to reflect the reality that Python is almost alwa...

b513c46d998344dc07eb6d510782c2e23d2b859e authored almost 2 years ago by Mark Dickinson <[email protected]>
gh-100425: Update tutorial docs related to sum() accuracy (FH-101854)

32df540635cacce1053ee0ef98ee23f3f6a43c02 authored almost 2 years ago by neuralstring <[email protected]>
Add missing 'is' to `cmath.log()` docstring (#102049)

Fix missing 'is' in cmath.log() docstring

71f614ef2a3d66213b9cae807cbbc1ed03741221 authored almost 2 years ago by Owain Davies <[email protected]>
gh-100210: Correct the comment link for unescaping HTML (#100212)

gh-100210: correct the comment link for unescaping HTML

9a07eff628c1cd88b7cdda88a8fd0db3fe7ea552 authored almost 2 years ago by Jean-Christophe Amiel <[email protected]>
gh-97930: Also include subdirectory in makefile. (#102030)

072935951f7cd44b40ee37fe561478b2e431c2fb authored almost 2 years ago by Jason R. Coombs <[email protected]>
gh-99735: Use required=True in argparse subparsers example (#100927)

6aab56f3c2ee331116eba242d2fcdca592577328 authored almost 2 years ago by Patricio Paez <[email protected]>
Fix incorrectly documented attribute in csv docs (#101250)

36b670908b3546f46283aae4dbf311e53289f3d1 authored almost 2 years ago by Reza Rastak <[email protected]>
GH-84783: Make the slice object hashable (GH-101264)

61f1e67c6fcbf80eb9be2b75f7d62954e28c89e6 authored almost 2 years ago by Furkan Onder <[email protected]>
gh-97930: Apply changes from importlib_resources 5.12. (GH-102010)

5170caf3059fdacc92d7370eecb9fe4f0c5a1c76 authored almost 2 years ago by Jason R. Coombs <[email protected]>
bpo-46978: Correct docstrings for in-place builtin operators (#31802)

128379b8cdb88a6d3d7fed24df082c9a654b3fb8 authored almost 2 years ago by Nicko van Someren <[email protected]>
gh-101536: [docs] Improve attributes of `urllib.error.HTTPError` (#101612)

* gh-101536: [docs] Improve attributes of `urllib.error.HTTPError`

* Address review

af446bbb76f64e67831444a0ceee6863a1527088 authored almost 2 years ago by Nikita Sobolev <[email protected]>
gh-101967: add a missing error check (#101968)

89413bbccb9261b72190e275eefe4b0d49671477 authored almost 2 years ago by Eclips4 <[email protected]>
gh-101739: [Enum] update docs - default boundary for Flag is CONFORM (GH-101746)

7f1c72175600b21c1c840e8988cc6e6b4b244582 authored almost 2 years ago by Owain Davies <[email protected]>
gh-100226: Clarify StreamReader.read behavior (#101807)

77d95c83733722ada35eb1ef89ae5b84a51ddd32 authored almost 2 years ago by Jan Gosmann <[email protected]>
gh-101992: update plistlib examples to be runnable (#101994)

* gh-101992: update plistlib examples to be runnable

* Update Doc/library/plistlib.rst

---...

a1723caabfcdca5d675c4cb04554fb04c7edf601 authored almost 2 years ago by Dustin Rodrigues <[email protected]>
gh-101766: Fix refleak for _BlockingOnManager resources from test suite level (gh-101988)

f482ade4c7887c49dfd8bba3be76f839e562608d authored almost 2 years ago by Dong-hee Na <[email protected]>
gh-100809: Fix handling of drive-relative paths in pathlib.Path.absolute() (GH-100812)

Resolving the drive independently uses the OS API, which ensures it starts from the current dire...

072011b3c38f871cdc3ab62630ea2234d09456d1 authored almost 2 years ago by Barney Gale <[email protected]>
gh-101360: Fix anchor matching in pathlib.PureWindowsPath.match() (GH-101363)

Use `fnmatch` to match path and pattern anchors, just as we do for other
path parts. This allow...

d401b20630965c0e1d2a5a0d60d5fc51aa5a8d80 authored almost 2 years ago by Barney Gale <[email protected]>
gh-101766: Fix refleak for _BlockingOnManager resources (gh-101942)

775f8819e319127f9bfb046773b74bcc62c68b6a authored almost 2 years ago by Dong-hee Na <[email protected]>
Docs: fix typos in PyFunction_WatchCallback docs and in 3.12 NEWS (GH-101980)

- possitibility => possibility
- disaallowed => disallowed

3c0a31cbfd1258bd96153a007dd44a96f2947dbf authored almost 2 years ago by Yeojin Kim <[email protected]>
gh-101973: Fix parameter reference for PyModule_FromDefAndSpec (#101976)

a3bb7fbe7eecfae6bf7b2f0912f9b2b12fac8db1 authored almost 2 years ago by Oleg Iarygin <[email protected]>
gh-101758: Fix Refleak-Related Failures in test_singlephase_variants (gh-101969)

gh-101891 is causing failures under `$> ./python -m test test_imp -R 3:3`. Furthermore, with th...

984f8ab018f847fe8d66768af962f69ec0e81849 authored almost 2 years ago by Eric Snow <[email protected]>
gh-101758: Add _PyState_AddModule() Back for the Stable ABI (gh-101956)

We're adding the function back, only for the stable ABI symbol and not as any form of API. I had...

4d8959b73ac194ca9a2f623dcb5c23680f7d8536 authored almost 2 years ago by Eric Snow <[email protected]>
GH-96764: rewrite `asyncio.wait_for` to use `asyncio.timeout` (#98518)

Changes `asyncio.wait_for` to use `asyncio.timeout` as its underlying implementation.

a5024a261a75dafa4fb6613298dcb64a9603d9c7 authored almost 2 years ago by Kumar Aditya <[email protected]>
gh-99942: correct the pkg-config/python-config flags for cygwin/android

226484e47599a93f5bf033ac47198e68ff401432 authored almost 2 years ago by Eli Schwartz <[email protected]>
gh-101952: Fix possible segfault in `BUILD_SET` opcode (#101958)

68bd8c5e2efab64ff9d38a214775164182179431 authored almost 2 years ago by Eclips4 <[email protected]>
gh-93573: Replace wrong example domains in configparser doc (GH-93574)

* Replace bitbucket.org domain by forge.example
* Update example to python.org
* Use explicitl...

924a3bfa28578802eb9ca77a66fb5d4762a62f14 authored almost 2 years ago by sblondon <[email protected]>
gh-101881: Support (non-)blocking read/write functions on Windows pipes (GH-101882)

* fileutils: handle non-blocking pipe IO on Windows

Handle erroring operations on non-blockin...

739c026f4488bd2e37d500a2c3d948aaf929b641 authored almost 2 years ago by Rayyan Ansari <[email protected]>
gh-101951: use textwrap.dedent in compiler tests to make them more readable (GH-101950)

Fixes #101951.

Automerge-Triggered-By: GH:iritkatriel

36b139af638cdeb671cb6b8b0315b254148688f7 authored almost 2 years ago by Irit Katriel <[email protected]>
gh-101928: fix crash in compiler on multi-line lambda in function call (#101933)

df7ccf6138b1a2ce0b82ff06aa3497ca4d38c90d authored almost 2 years ago by penguin_wwy <[email protected]>
gh-99108: Refactor _sha256 & _sha512 into _sha2. (#101924)

This merges their code. They're backed by the same single HACL* static library, having them be a...

0b13575e74ff3321364a3389eda6b4e92792afe1 authored almost 2 years ago by Gregory P. Smith <[email protected]>
gh-98627: Add an Optional Check for Extension Module Subinterpreter Compatibility (gh-99040)

Enforcing (optionally) the restriction set by PEP 489 makes sense. Furthermore, this sets the st...

89ac665891dec1988bedec2ce9b2c4d016502a49 authored almost 2 years ago by Eric Snow <[email protected]>
gh-101758: Fix the wasm Buildbots (gh-101943)

They were broken by gh-101920.

https://github.com/python/cpython/issues/101758

3dea4ba6c1b9237893d23574f931f33c940b74e8 authored almost 2 years ago by Eric Snow <[email protected]>
gh-101758: Add a Test For Single-Phase Init Modules in Multiple Interpreters (gh-101920)

The test verifies the behavior of single-phase init modules when loaded in multiple interpreters...

b365d88465d9228ce4e9e0be20b88e9e4056ad88 authored almost 2 years ago by Eric Snow <[email protected]>
gh-101758: Clean Up Uses of Import State (gh-101919)

This change is almost entirely moving code around and hiding import state behind internal API. ...

b2fc5492789623d656953d458f3eeaac03c1ef56 authored almost 2 years ago by Eric Snow <[email protected]>
gh-99138: Isolate _zoneinfo (#99218)

* Convert zone info type to heap type and add it to module state
* Add global variables to modu...

c1ce0d178fe57b50f37578b285a343d77485ac02 authored almost 2 years ago by Erlend E. Aasland <[email protected]>
gh-101819: Remove _PyWindowsConsoleIO_Type from the Windows DLL (GH-101904)

Automerge-Triggered-By: GH:erlend-aasland

eb0c485b6c836abb71932537a5058344d11d7bc8 authored almost 2 years ago by Erlend E. Aasland <[email protected]>
GH-87849: Fix refleak in SEND instruction. (GH-101908)

Fix refleak in SEND instruction.

c7766245c14fa03b8afd3aff9be30b13d0069f95 authored almost 2 years ago by Mark Shannon <[email protected]>
gh-101819: Remove _testcapi dependencies on specific _io symbols (#101918)

e8b6aaad2faf11fe315410138a5c5943d610d8d8 authored almost 2 years ago by Erlend E. Aasland <[email protected]>
gh-101693: In sqlite3, deprecate using named placeholders with parameters supplied as a sequence (#101698)

8a2b7ee64d1bde762438b458ea7fe88f054a3a88 authored almost 2 years ago by Erlend E. Aasland <[email protected]>
gh-99108: Build the hashlib HACL* code as a static library. (#101917)

This builds HACL* as a library in one place.

A followup to #101707 which broke some WASM buil...

d777790bab878b8d1a218a1a60894b2823485cca authored almost 2 years ago by Gregory P. Smith <[email protected]>
gh-101758: Add a Test For Single-Phase Init Module Variants (gh-101891)

The new test exercises the most important variants for single-phase init extension modules. We a...

096d0097a09e439a4564531b297a998e5d74c9b5 authored almost 2 years ago by Eric Snow <[email protected]>
gh-101799: implement PREP_RERAISE_STAR as an intrinsic function (#101800)

81e3aa835c32363f4547b6566edf1125386f1f6d authored almost 2 years ago by Irit Katriel <[email protected]>
GH-101898: Fix missing term references for hashable definition (#101899)

Fix missing term references for hashable definition

3690688149dca11589af59b7704541336613199a authored almost 2 years ago by Furkan Onder <[email protected]>
gh-99108: Import SHA2-384/512 from HACL* (#101707)

Replace the builtin hashlib implementations of SHA2-384 and SHA2-512
originally from LibTomCryp...

e5da9ab2c82c6b4e4f8ffa699a9a609ea1bea255 authored almost 2 years ago by Jonathan Protzenko <[email protected]>
gh-101857: Allow xattr detection on musl libc (#101858)

Previously, we checked exclusively for `__GLIBC__` (AND'd with some other
conditions). Checking...

8be8101bca34b60481ec3d7ecaea4a3379fb7dbb authored almost 2 years ago by Sam James <[email protected]>
gh-74895: getaddrinfo no longer raises OverflowError (#2435)

`socket.getaddrinfo()` no longer raises `OverflowError` based on the **port** argument. Error re...

928752ce4c23f47d3175dd47ecacf08d86a99c9d authored almost 2 years ago by Radek Smejkal <[email protected]>
gh-101849: Add upgrade codes for old versions of launcher that ended up with later version numbers (GH-101877)

0c6fe81dce9d6bb1dce5e4503f1b42bc5355ba24 authored almost 2 years ago by Steve Dower <[email protected]>
gh-101810: Remove duplicated st_ino calculation (GH-101811)

95cbb3d908175ccd855078b3fab7f99e7d0bca88 authored almost 2 years ago by James Lee <[email protected]>
gh-92547: Purge sqlite3_enable_shared_cache() detection from configure (#101873)

2db2c4b45501eebef5b3ff89118554bd5eb92ed4 authored almost 2 years ago by Erlend E. Aasland <[email protected]>
GH-100987: Refactor `_PyInterpreterFrame` a bit, to assist generator improvement. (GH-100988)

Refactor _PyInterpreterFrame a bit, to assist generator improvement.

d9199175c7386a95aaac91822a2197b9365eb0e8 authored almost 2 years ago by Mark Shannon <[email protected]>
GH-87849: Simplify stack effect of SEND and specialize it for generators and coroutines. (GH-101788)

160f2fe2b90ed5ec7838cb4141dd35768422891f authored almost 2 years ago by Mark Shannon <[email protected]>
Correct trivial grammar in reset_mock docs (#101861)

a1f08f5f19753c7c9295f51b5ae1262c7a1c838f authored almost 2 years ago by Steve Kowalik <[email protected]>
gh-101845: pyspecific: Fix i18n for availability directive (GH-101846)

pyspecific: Fix i18n for availability directive

If the directive has content, the previous co...

6ef6915d3530e844243893f91bf4bd702dfef570 authored almost 2 years ago by Jean Abou-Samra <[email protected]>
gh-89792: Limit test_tools freeze test build parallelism based on the number of cores (#101841)

unhardcode freeze test build parallelism. base it on the number of cpus, don't use more than max...

dfc2e065a2e71011017077e549cd2f9bf4944c54 authored almost 2 years ago by Gregory P. Smith <[email protected]>
gh-85984: Utilize new "winsize" functions from termios in pty tests. (#101831)

Utilize new functions termios.tcgetwinsize() and termios.tcsetwinsize in test_pty.py.

Signed-...

da2fb9264315dc30ac3012b4dbf5ba76d3f34433 authored almost 2 years ago by Soumendra Ganguly <[email protected]>
gh-89792: Prevent test_tools from copying 1000M of "source" in freeze test (#101837)

Prevent test_tools from copying 1000M of "source"

It doesn't need a git repo, just the ch...

1d194235e4d5981b5fea25c75318d61189103a58 authored almost 2 years ago by Gregory P. Smith <[email protected]>
Fix typo in test_fstring.py (#101823)

3eb12df8b526aa5a2ca6b43f21a1c5e7d38ee634 authored almost 2 years ago by mjoerg <[email protected]>
GH-101797: allocate `PyExpat_CAPI` capsule on heap (#101798)

b652d40f1c88fcd8595cd401513f6b7f8e499471 authored almost 2 years ago by Kumar Aditya <[email protected]>
gh-101390: Fix docs for `imporlib.util.LazyLoader.factory` to properly call it a class method (GH-101391)

17143e2c30ae5e51945e04eeaec7ebb0e1f07fb5 authored almost 2 years ago by busywhitespace <[email protected]>
Docs: Fix getstatus() -> getcode() typos (#101296)

61f2be08661949e2f6dfc94143436297e60d47de authored almost 2 years ago by Hugo van Kemenade <[email protected]>
Docs: use parameter list for sqlite3.Cursor.execute* (#101782)

Co-authored-by: Alex Waygood <[email protected]>

2037ebf81bd4bbe5421421b822bd57cfd665a1e9 authored almost 2 years ago by Erlend E. Aasland <[email protected]>
gh-101763: Update bundled copy of libffi to 3.4.4 on Windows (GH-101784)

e1aadedf099e645fd2eb1aa8bdcde5a105cee95d authored almost 2 years ago by Steve Dower <[email protected]>
gh-101517: make bdb avoid looking up in linecache with lineno=None (#101787)

366b94905869d680b3f1d4801fb497e78811e511 authored almost 2 years ago by Irit Katriel <[email protected]>
gh-101759: Update Windows installer to SQLite 3.40.1 (#101762)

5d15224011217487e1a174c144af0e5f5826c17c authored almost 2 years ago by Erlend E. Aasland <[email protected]>
gh-101277: Finalise isolating itertools (GH-101305)

Add repeat, islice, chain, tee, teedataobject, and batched types to module state.

Automerge-T...

826bf0e6957fd0addc321d1baee1fa846e9457eb authored almost 2 years ago by Erlend E. Aasland <[email protected]>
gh-101759: Update macOS installer to SQLite 3.40.1 (#101761)

d40a23c0a11060ba7fa076d50980c18a11a13a40 authored almost 2 years ago by Erlend E. Aasland <[email protected]>
Fix some typos in asdl_c.py (GH-101757)

448c7d154e72506158d0a7a766e9f1cb8adf3dec authored almost 2 years ago by abel1502 <[email protected]>
gh-101747: Fix refleak in new `OrderedDict` repr (GH-101748)

34c50ceb1e2d40f7faab673d2033ecaafd3c611a authored almost 2 years ago by Nikita Sobolev <[email protected]>
gh-101430: Update tracemalloc to handle presize properly. (gh-101745)

5b946d371979a772120e6ee7d37f9b735769d433 authored almost 2 years ago by Dong-hee Na <[email protected]>
GH-101228: Fix typo in docstring for read method of `_io.TextIOWrapper` class (#101227)

f1f3af7b8245e61a2e0abef03b2c6c5902ed7df8 authored almost 2 years ago by Partha P. Mukherjee <[email protected]>
Fix typo in `test_fstring.py` (#101600)

272da55affe6f2b3b73ff5474e1246089517d051 authored almost 2 years ago by Ikko Eltociear Ashimine <[email protected]>
gh-101726: Update the OpenSSL version to 1.1.1t (GH-101727)

Fixes CVE-2023-0286 (High) and a couple of Medium security issues.
https://www.openssl.org/news...

b41c47cd0606e8273aef4813e83fe2deaf9ab33b authored almost 2 years ago by Gregory P. Smith <[email protected]>
gh-101283: Fix 'versionchanged' for the shell=True fallback on Windows in 3.12 (GH-101728)

6d92373f500eb81a175516b3abb16e21f0806c1f authored almost 2 years ago by Oleg Iarygin <[email protected]>
LibFFI build requires x64 Cygwin, and skip the ARM build (GH-101743)

f23371fbc9bb283207ecebf8efd81a22538b4327 authored almost 2 years ago by Steve Dower <[email protected]>
gh-101670: typo fix in PyImport_ExtendInittab() (#101723)

Co-authored-by: Eric Snow <[email protected]>

cb2411886a181d25e0cff2c870f331d2949874d5 authored almost 2 years ago by Sergey B Kirpichev <[email protected]>
GH-99293: Document that `Py_TPFLAGS_VALID_VERSION_TAG` shouldn't be used. (#GH-101736)

Document that Py_TPFLAGS_VALID_VERSION_TAG shouldn't be used.

ecfd2d37c529c1952dc11fabe1758156924de67a authored almost 2 years ago by Mark Shannon <[email protected]>
no-issue: Add Dong-hee Na as the cjkcodecs codeowner (gh-101731)

1c49e61b9b18d550b9c5cff69a1dd3bb218e544a authored almost 2 years ago by Dong-hee Na <[email protected]>
gh-101678: Merge math_1_to_whatever() and math_1() (#101730)

`math_1_to_whatever()` is no longer useful, since all existing uses of it convert to `float`.
E...

45fa12aec8f508c224a1521cfe3ae597f1026264 authored almost 2 years ago by Sergey B Kirpichev <[email protected]>
gh-101678: refactor the math module to use special functions from c11 (GH-101679)

Shouldn't affect users, hence no news.

Automerge-Triggered-By: GH:mdickinson

58395759b04273edccf3d199606088e0703ae6b1 authored almost 2 years ago by Sergey B Kirpichev <[email protected]>
gh-85984: Remove legacy Lib/pty.py code. (#92365)

Refactored the implementation of pty.fork to use os.login_tty.

A DeprecationWarning is now ra...

244d4cd9d22d73fb3c0938937c4f435bd68f32d4 authored almost 2 years ago by Soumendra Ganguly <[email protected]>
gh-98831: Use opcode metadata for stack_effect() (#101704)

* Write output and metadata in a single run
This halves the time to run the cases generator
...

65b7b6bd23ea789357777f3a0a6f25a79bb04177 authored almost 2 years ago by Guido van Rossum <[email protected]>
gh-101283: Version was just released, so should be changed in 3.11.3 (GH-101719)

0e0c5d8baaa6aa91f4221c5aa57d5586e58e8652 authored almost 2 years ago by Steve Dower <[email protected]>
gh-101283: Fix use of unbound variable (GH-101712)

20cf32e761fb9eaccc142415b389998896869263 authored almost 2 years ago by Steve Dower <[email protected]>
gh-101283: Improved fallback logic for subprocess with shell=True on Windows (GH-101286)

23751ed826ee63fb486e874ec25934ea87dd8519 authored almost 2 years ago by Oleg Iarygin <[email protected]>