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-100997: fix refleak in `_testinternalcapi.c` (#101058)

74c20b6ecee125e76c187c3f78c55f39501702ae authored almost 2 years ago by Kumar Aditya <[email protected]>
gh-101041: Fix a misspelled name of `utctimetuple` in a doc warning (GH-101042)

8e9d08b062bbabfe439bc73f82e3d7bb3800189e authored almost 2 years ago by Oleg Iarygin <[email protected]>
Fix `ctypes` typo in `set_exception` (#101040)

5e9df888dd5ab0e59d1cebc30c998a17aa65a3e2 authored almost 2 years ago by Cristián Maureira-Fredes <[email protected]>
GH-100892: consolidate `HEAD_LOCK/HEAD_UNLOCK` macros (#100953)

f6307d44167e9c110a1db442f7a33deb365e89a8 authored almost 2 years ago by Kumar Aditya <[email protected]>
gh-100668: Clarify how sqlite3 maps parameters onto placeholders (#100960)

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

206f05a46b426eb374f724f8e7cd42f2f9643bb8 authored almost 2 years ago by Erlend E. Aasland <[email protected]>
gh-94518: [_posixsubprocess] Replace variable validity flags with reserved values (#94687)

Have _posixsubprocess.c stop using boolean flags to say if gid and uid values were supplied and ...

124af17b6e49f0f22fbe646fb57800393235d704 authored almost 2 years ago by Oleg Iarygin <[email protected]>
gh-101021: Document binary parameters as bytes (#101024)

49cae39ef020eaf242607bb2d2d193760b9855a6 authored almost 2 years ago by Bob Kline <[email protected]>
Sync-up parameter name in equivalent code snippet of `enumerate` (GH-101029)

ef633e5000222a3dba74473c49d6a81fca0a44ec authored almost 2 years ago by JustAnotherArchivist <[email protected]>
GH-98831: Identify instructions that don't use oparg (#100957)

For these the instr_format field uses IX instead of IB.
Register instructions use IX, IB, IBBX,...

5134ef48784b07133ae40b09a8086c10f0cac324 authored almost 2 years ago by Guido van Rossum <[email protected]>
Add recipes to showcase tee(), zip*, batched, starmap, and product. (GH-101023)

6bde3d2fd323fde8b9abf19b996ef7e8f1c549c1 authored almost 2 years ago by Raymond Hettinger <[email protected]>
Fix typo in docs (GH-101025)

010576c6ea7e687cf2cb572f3f40432df9692e4e authored almost 2 years ago by Raymond Hettinger <[email protected]>
gh-74033: Fix bug when Path takes and ignores **kwargs (GH-19632)

Fix a bug where `Path` takes and ignores `**kwargs` by adding to `PurePath` class `__init__` ...

080cb27829aa1a461d80504b32c362cbc14a5a75 authored almost 2 years ago by Yurii Karabas <[email protected]>
GH-100573: Fix server hang caused by os.stat() on named pipe (Windows) (#100959)

1bc7a736837272b15ad3a7aa472977bc720d1033 authored almost 2 years ago by Guido van Rossum <[email protected]>
Don't double count misses. (GH-100984)

c00eb1eae6af3ee5b7e314add4606da4521bb8c5 authored almost 2 years ago by Mark Shannon <[email protected]>
gh-100160: Restore and deprecate implicit creation of an event loop (GH-100410)

Partially revert changes made in GH-93453.

asyncio.DefaultEventLoopPolicy.get_event_loop() no...

e5bd5ad70d9e549eeb80aadb4f3ccb0f2f23266d authored almost 2 years ago by Serhiy Storchaka <[email protected]>
gh-100247: Fix py.exe launcher not using entire shebang command for finding custom commands (GH-100944)

468c3bf79890ef614764b4e7543608876c792794 authored almost 2 years ago by Steve Dower <[email protected]>
gh-86682: Adds sys._getframemodulename as an alternative to using _getframe (GH-99520)

Also updates calls in collections, doctest, enum, and typing modules to use _getframemodulename ...

b5d4347950399800c6703736d716f08761b29245 authored almost 2 years ago by Steve Dower <[email protected]>
GH-100942: Fix incorrect cast in property_copy(). (#100965)

94fc7706b7bc3d57cdd6d15bf8e8c4499ae53a69 authored almost 2 years ago by Raymond Hettinger <[email protected]>
GH-100997: Implement Multi-Phase Init for the _testinternalcapi Module (gh-100998)

_testinternalcapi is an internal module used for testing.

https://github.com/python/cpython/i...

b511d3512ba334475201baf4d9db7c4d28f0a9ad authored almost 2 years ago by Eric Snow <[email protected]>
gh-96290: Support partial/invalid UNC drives in ntpath.normpath() and splitdrive() (GH-100351)

This brings the Python implementation of `ntpath.normpath()` in line with the C implementation a...

005e69403d638f9ff8f71e59960c600016e101a4 authored almost 2 years ago by Barney Gale <[email protected]>
gh-96461: Improve docs for bytecode instructions (GH-96462)

* Clarify the meaning of the oparg for CACHE and COPY opcode in dis doc

* Use STACK to descri...

eecd422d1ba849f0724962666ba840581217812b authored almost 2 years ago by Matthieu Dartiailh <[email protected]>
GH-81381: Add longer comment _PyType_AllocNoTrack() (GH-100954)

The details on the "nitems+1" expression is a bit subtle so add a longer
comment about it.

c549fcccbbcf6cbf7db3da928a09e81e2c8bc7f3 authored almost 2 years ago by Neil Schemenauer <[email protected]>
Fix typo in `enum` module documentation (#100992)

2161bbf243983c625e8f24cdf43b757f2a21463b authored almost 2 years ago by Noam Cohen <[email protected]>
GH-100894: Updated the doc for `sys.winver` to clarify its usual contents (GH-100913)

d9dff4c8b5ab41c47af002ad7fb083c953e75f31 authored almost 2 years ago by ram vikram singh <[email protected]>
gh-98636: Fix detecting gdbm_compat for _dbm module (#98643)

Fix the gdbm_compat library detection logic to actually check for
-lgdbm_compat independently o...

02a72f080dc89b037c304a85a0f96509de9ae688 authored almost 2 years ago by Michał Górny <[email protected]>
gh-94912: Adjusted check for non-standard coroutine function marker. (#100935)

The initial implementation did not correctly identify explicitly
marked class instances.

Fol...

07a87f74faf31cdd755ac7de6d44531139899d1b authored almost 2 years ago by Carlton Gibson <[email protected]>
GH-100923: Embed jump mask in `COMPARE_OP` oparg (GH-100924)

6e4e14d98fe0868981f29701496d57a8223c5407 authored almost 2 years ago by Mark Shannon <[email protected]>
Ensure some build files include a newline at to avoid warnings (GH-100946)

61f12b8ff7073064040ff0e6220150408d24829b authored almost 2 years ago by th1722 <[email protected]>
Skip py.exe launcher tests in full layout CI test (GH-100948)

These tests become flaky when py.exe exists on the test machine but isn't the one that was just ...

5ff029f7a30705ac00a1010d3d191edcd011f160 authored almost 2 years ago by Steve Dower <[email protected]>
gh-100871: Improve `copy` module tests (GH-100872)

CC @AlexWaygood as the reviewer of https://github.com/python/cpython/pull/100818

Automerge-Tr...

729ab9b622957fef0e9b494af9a71ab02986c741 authored almost 2 years ago by Nikita Sobolev <[email protected]>
GH-100892: Fix race in clearing `threading.local` (#100922)

762745a124cbc297cf2fe6f3ec9ca1840bb2e873 authored almost 2 years ago by Kumar Aditya <[email protected]>
gh-98763: Prefer "python" over "python3" for command line examples in docs. (#98761)

847d7708ba8739a5d5d31f22d71497527a7d8241 authored almost 2 years ago by Mariusz Felisiak <[email protected]>
gh-100931: Test all `pickle` protocols in `test_slice` (#100932)

8795ad1bd0d6ee031543fcaf5a86a60b37950714 authored almost 2 years ago by Nikita Sobolev <[email protected]>
Post 3.12.0a4

8dd2766d99f8f51ad62dc0fde8282483590c6cd0 authored almost 2 years ago by Thomas Wouters <[email protected]>
Python 3.12.0a4

3d5d3f7af6498effbc60a3db1d2b5f41ae6c0a75 authored almost 2 years ago by Thomas Wouters <[email protected]>
GH-100117: Make `co_lines` more efficient (GH-100447)

f07daaf4f7a637f9f9324e7c8bf78e8a3faae7e0 authored almost 2 years ago by Brandt Bucher <[email protected]>
gh-100916: Convert argument to appropriate type (GH-100917)

b2f7b2ef0b5421e01efb8c7bee2ef95d3bab77eb authored almost 2 years ago by Yao-Ching Huang <[email protected]>
Fix typos in Doc folder (#100880)

35650f25383efce83b62d5273110ab8dcdbcc254 authored almost 2 years ago by Semen Zhydenko <[email protected]>
gh-100180: Update macOS installer to OpenSSL 1.1.1s (GH-100908)

57a5259a438c717755fc667fcbedb515ef8e0c85 authored almost 2 years ago by Ned Deily <[email protected]>
gh-100893: update bpo reference in Mac README (GH-100905)

be23a202426385ad99dcb2611152783780c7bc42 authored almost 2 years ago by Ned Deily <[email protected]>
GH-98831: Refactor instr format code and change to enum (#100895)

3f3c78e32fc67766232ee4ddf17b560c9836a2d1 authored almost 2 years ago by Guido van Rossum <[email protected]>
gh-100180: Update Windows installer to OpenSSL 1.1.1s (GH-100901)

d7ab7149f83e4f194cf0e3a438fb6ca177832c99 authored almost 2 years ago by Steve Dower <[email protected]>
bpo-28356: Document os.rename() behavior on Windows for differing volumes (GH-27376)

e098137cd3250af05f19380590b8dec79dc5942f authored almost 2 years ago by Ryan Ozawa <[email protected]>
GH-100126: Skip incomplete frames in more places (GH-100613)

61762b93871419b34f02d83cee5ca0d94d4a2903 authored almost 2 years ago by Brandt Bucher <[email protected]>
gh-100882: Improve `test_pickling` case in `test_ast.py` (#100883)

2e80c2a976c13dcb69a654b386164dca362295a3 authored almost 2 years ago by Nikita Sobolev <[email protected]>
gh-99191: Use correct check for MSVC C++ version support in _wmimodule.cpp (GH-100381)

f08209874e58d0adbb08bd1dba4f58ba63f571c5 authored almost 2 years ago by C.A.M. Gerlach <[email protected]>
gh-100873: Fix "‘lo’ may be used uninitialized in this function" warning in `mathmodule.c` (#100881)

36f2329367f3608d15562f1c9e89c50a1bd07b0b authored about 2 years ago by Nikita Sobolev <[email protected]>
GH-81061: Fix refcount issue when returning `None` from a `ctypes.py_object` callback (#13364)

837ba052672d1a5f85a46c1b6d4b6e7d192af6f3 authored about 2 years ago by dgelessus <[email protected]>
fix up mock tests coverage (#100874)

4e544eafcb603babe0db01270bd1c6d5d0f5d6ea authored about 2 years ago by Chris Withers <[email protected]>
gh-100764: add `pycore_frame.h` to PYTHON_HEADERS and Windows build files(#100765)

0cd597fef10d30a100fa4d5e132b3d385a5ac0a4 authored about 2 years ago by Carl Meyer <[email protected]>
GH-100813: Add `socket.IP_PKTINFO` constant (#10294)

7a50d6b5b09a88e915891757fdd6d371310d2e96 authored about 2 years ago by dsentinel <[email protected]>
Update copyright year in README (GH-100863)

Co-authored-by: HARSHA VARDHAN <[email protected]>

e47b13934b2eb50914e4dbae91f1dc59f8325e30 authored about 2 years ago by Ned Deily <[email protected]>
gh-87447: Fix walrus comprehension rebind checking (#100581)

Co-authored-by: Pablo Galindo Salgado <[email protected]>
Co-authored-by: Shantanu <12621235+...

bc0a686f820d7d298a0b1450b155a717972de0fc authored about 2 years ago by Nikita Sobolev <[email protected]>
Update additional copyright years to 2023. (GH-100859)

8d69828092f734cd9275459173a0f89bde109659 authored about 2 years ago by Ned Deily <[email protected]>
GH-100805: Support numpy.array() in random.choice(). (GH-100830)

9a68ff12c3e647a4f8dd935919ae296593770a6b authored about 2 years ago by Raymond Hettinger <[email protected]>
gh-100833: Remove 'volatile' qualifiers in fsum algorithm (#100845)

This PR removes the `volatile` qualifier on various intermediate quantities
in the `math.fsum` ...

87d3bd0e02cddc415a42573052110eb9301d2c3d authored about 2 years ago by Mark Dickinson <[email protected]>
GH-100485: Tweaks to sumprod() (GH-100857)

b139bcd8922b47bf77c75d5f6704cc9147852546 authored about 2 years ago by Raymond Hettinger <[email protected]>
Update copyright years to 2023. (gh-100848)

11f99323c2ae0ec428c370a335695e3d8d4afc1d authored about 2 years ago by Benjamin Peterson <[email protected]>
GH-90829: Fix empty iterable error message in min/max (#31181)

0741da8d28790cebe94a4392af37d63b1510080a authored about 2 years ago by Nnarol <[email protected]>
gh-100689: Revert "bpo-41798: pyexpat: Allocate the expat_CAPI on the heap memory (GH-24061)" (#100745)

* gh-100689: Revert "bpo-41798: pyexpat: Allocate the expat_CAPI on the heap memory (GH-24061)"
...

b034fd3e5926c63a681a211087b4c666834c7525 authored about 2 years ago by Nikita Sobolev <[email protected]>
gh-100783: fix os.path.join documentation (#100811)

- Use "drive", not "drive letter", because of UNC paths
- Previous components are not thrown aw...

53455a319f3f2e5609fca2a313ea356fba318665 authored about 2 years ago by Shantanu <[email protected]>
gh-91851: Micro optimizations for arithmetic between Fractions (#25518)

Adapted from
https://github.com/python/cpython/pull/24779/commits/046c84e8f9

This makes arit...

909982e82aa73fe5a75d5ab75fbaf84539a0c5e3 authored about 2 years ago by Sergey B Kirpichev <[email protected]>
gh-100824: Fix typo in the documentation of unittest.TestLoader.testNamePatterns (#100825)

6d3bc4a795e7a60f665e41b2d4b6803f3844fc48 authored about 2 years ago by busywhitespace <[email protected]>
gh-100776: Fix misleading default value in help(input) (#100788)

a2141882f259e21bb09fa0b7cba8142147b9e3d7 authored about 2 years ago by Shantanu <[email protected]>
GH-100485: Convert from Fast2Sum to 2Sum (GH-100836)

df3851fe4ab8c9013aeb5dfd75d6e8edf2ece9a8 authored about 2 years ago by Raymond Hettinger <[email protected]>
gh-100815: Normalize `types` module usage in `copy` module (#100816)

951303fd855838d47765dcd05471e14311dc9fdd authored about 2 years ago by Nikita Sobolev <[email protected]>
gh-100792: Make `email.message.Message.__contains__` twice as fast (#100793)

6746135b0722a5359ce6346554c847afba603b5a authored about 2 years ago by Nikita Sobolev <[email protected]>
GH-100485: Add math.sumprod() (GH-100677)

47b9f83a83db288c652e43567c7b0f74d87a29be authored about 2 years ago by Raymond Hettinger <[email protected]>
gh-100673: Removed erroneous note in the get_type_hints docs (#100701)

Removed erroneous note in the get_type_hints docs

typing.get_type_hints still includes base c...

deaf090699a7312cccb0637409f44de3f382389b authored about 2 years ago by FrozenBob <[email protected]>
gh-88696: clean up dead argument to compiler_make_closure (GH-100806)

7116030a25f7dd2140ef3e889f3f5471334d6d0b authored about 2 years ago by Carl Meyer <[email protected]>
gh-96127: Fix `inspect.signature` call on mocks (#96335)

9e7d7266ecdcccc02385fe4ccb094f3444102e26 authored about 2 years ago by Nikita Sobolev <[email protected]>
gh-100690: [mock] hide `ATTRIB_DENY_LIST` and make it immutable (#100819)

a109454e828ce2d9bde15dea78405f8ffee653ec authored about 2 years ago by Nikita Sobolev <[email protected]>
Add barneygale to CODEOWNERS for pathlib (#100808)

26ff43625ed7bf09542ad8f149cb6af710b41e15 authored about 2 years ago by Barney Gale <[email protected]>
gh-100690: Raise an AttributeError when the assert_ prefix is forgotten when using Mock (#100691)

Mock objects which are not unsafe will now raise an AttributeError when accessing an
attribute ...

1d4d677d1c90fcf4886ded0bf04b8f9d5b60b909 authored about 2 years ago by Christian Klein <[email protected]>
GH-98831: Add some tests for generate_cases.py (#100763)

- This doesn't cover everything (far from it) but it's a start.
- This uses pytest, which isn't...

9ffbc58f5cb6d2b002f8785886588d646af517db authored about 2 years ago by Guido van Rossum <[email protected]>
gh-91851: Trivial optimizations in Fraction (#100791)

Make some trivial performance optimizations in Fraction

Uses private class attributes `_numer...

0e640260dac2db081e56f52f8efb0e43e463ff2f authored about 2 years ago by Sergey B Kirpichev <[email protected]>
gh-100758: Refactor initialisation of frame headers into a single function (_PyFrame_Initialize) (GH-100759)

15c44789bb125b93e96815a336ec73423c47508e authored about 2 years ago by Irit Katriel <[email protected]>
GH-99005: More intrinsics (GH-100774)

* Remove UNARY_POSITIVE, LIST_TO_TUPLE and ASYNC_GEN_WRAP, replacing them with intrinsics.

78068126a1f2172ff61a0871ba43d8530bc73905 authored about 2 years ago by Mark Shannon <[email protected]>
gh-99026 update dataclasses docs for when annotations are inspected (gh-100798)

update dataclasses docs for when annotations are inspected

659c2607f5b44a8a18a0840d1ac39df8a3219dd5 authored about 2 years ago by Akshit Tyagi <[email protected]>
gh-87691: clarify use of anchor in pathlib docs (#100782)

This is feedback from https://github.com/python/cpython/pull/100737#discussion_r1062968696

Th...

2f2fa03ff3d566b675020787e23de8fb4ca78e99 authored about 2 years ago by Shantanu <[email protected]>
gh-90104: avoid RecursionError on recursive dataclass field repr (gh-100756)

Avoid RecursionError on recursive dataclass field repr

0a7936a38f0bab1619ee9fe257880a51c9d839d5 authored about 2 years ago by Carl Meyer <[email protected]>
gh-86082: bpo-41916: allow cross-compiled python to have -pthread set for CXX (#22525)

When cross-compiling, the compile/run test for -pthread always fails so -pthread
will never be ...

cc8748712e78805c5be4a0a3f98cfb5c35026d0e authored about 2 years ago by Dustin Spicuzza <[email protected]>
gh-87691: add an absolute path pathlib example in / operator docs (GH-100737)

The behaviour is fully explained a couple paragraphs above, but it may be useful to have a bri...

1ae619c911ec8e096f83eeb7cc57fcd966950a3d authored about 2 years ago by Shantanu <[email protected]>
Add hauntsaninja as tomllib CODEOWNER (#100779)

d84b1a97f942ed25693e9b3c735196399ca4a791 authored about 2 years ago by Shantanu <[email protected]>
gh-100562: improve performance of `pathlib.Path.absolute()` (GH-100563)

Increase performance of the `absolute()` method by calling `os.getcwd()` directly, rather than...

7fba99eadb3349a6d49d02f13b1fddf44c674393 authored about 2 years ago by Barney Gale <[email protected]>
gh-98831: Regenerate Python/opcode_metadata.h (GH-100778)

af5149f30b652737ef3b495b303819d985f439b1 authored about 2 years ago by Zachary Ware <[email protected]>
GH-98831: Update generate_cases.py: register inst, opcode_metadata.h (#100735)

(These aren't used yet, but may be coming soon,
and it's easier to keep this tool the same betw...

14b7f00fdf9890739b43a3e198e4ce93f54c0552 authored about 2 years ago by Guido van Rossum <[email protected]>
GH-99005: Add `CALL_INTRINSIC_1` instruction (GH-100771)

* Remove PRINT_EXPR instruction

* Remove STOPITERATION_ERROR instruction

* Remove IMPORT_S...

28187141cc34063ef857976ddbca87ba09a882c2 authored about 2 years ago by Mark Shannon <[email protected]>
GH-100288: Remove LOAD_ATTR_METHOD_WITH_DICT instruction. (GH-100753)

f20c553a458659f247fac1fb829f8172aa32f69a authored about 2 years ago by Mark Shannon <[email protected]>
GH-100766: Note that locale.LC_MESSAGES is not universal (GH-100702)

105e37395dbd9790f81677e39ec9bd000590728f authored about 2 years ago by Tzu-ping Chung <[email protected]>
Drop myself from pathlib maintenance (#100757)

31b639a99281bd9582e88137a3be2868c4154a88 authored about 2 years ago by Brett Cannon <[email protected]>
gh-100739: Respect mock spec when checking for unsafe prefixes (#100740)

Co-authored-by: Nikita Sobolev <[email protected]>

7f1eefc6f4843f0fca60308f557a71af11d18a53 authored about 2 years ago by Christian Klein <[email protected]>
gh-100747: some compiler macros use c instead of C to access the compiler (#100748)

52017dbe1681a7cd4fe0e8d6fbbf81fd711a0506 authored about 2 years ago by Irit Katriel <[email protected]>
GH-100719: Remove the `co_nplaincellvars` field from code objects. (GH-100721)

15aecf8dd70f82eb507d74fae9662072a377bdc8 authored about 2 years ago by Mark Shannon <[email protected]>
gh-100720: refactor calculation of number of frame slots for a code object into the new function _PyFrame_NumSlotsForCodeObject (#100722)

c31e356a10aa60b5967b9aaf80b9984059e46461 authored about 2 years ago by Irit Katriel <[email protected]>
docs: fix `ssizeobjargproc` parameters (#100736)

5fb1c08e15b864d8ea9353a0e013166e2e0e2160 authored about 2 years ago by David Lechner <[email protected]>
GH-86508: skip binding to local addresses of different family in `asyncio.open_connection` (#100615)

ba8dcdbcab5fd9989be6c9a51002394e782c463c authored about 2 years ago by Kumar Aditya <[email protected]>
gh-91219: http - use subclassing to override index_pages attribute (GH-100731)

Remove previously added parameter to `__init__`, and recommend subclassing to modify the `index_...

a286caa937405f7415dcc095a7ad5097c4433246 authored about 2 years ago by Ethan Furman <[email protected]>
[Enum] docs: replace 'last value' by 'highest value' for Flag auto (GH-100709)

64ed609c532a12b27f67a1e12e9e02f136ee3a94 authored about 2 years ago by Christophe Nanteuil <[email protected]>
gh-100700: Remove Date and Release fields in past whatsnews (GH-100728)

e196d8c10a669e1996140a0e594489aa9421a38b authored about 2 years ago by Zachary Ware <[email protected]>