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

Docs: use Node.findall to avoid a deprecation warning (#99403)

1e9dfdacefa2c8c27762ba6491b0f570147ee355 authored almost 2 years ago by Adam Turner <[email protected]>
gh-75729: Fix os.spawn tests not handling spaces on Windows (#99150)

* Quote paths in os.spawn tests on Windows so they work with spaces

* Add NEWS entry for os s...

a34c79623877a7ed0c86a6d48ddccffa0de76836 authored almost 2 years ago by C.A.M. Gerlach <[email protected]>
gh-102809: Remove gdbinit mention in Misc/README (#103269)

13774969f78de0435da4efbdf21f1130a7a71964 authored almost 2 years ago by Tomáš Hrnčiar <[email protected]>
gh-103329: Add regression test for PropertyMock with side effect (#103358)

26c65980dc6d842879d133165bb7c461d98cc6c7 authored almost 2 years ago by Russell Keith-Magee <[email protected]>
gh-83004: Harden _socket init (GH-103261)

Automerge-Triggered-By: GH:erlend-aasland

91794e587306343619a451473efae22aa9f4b9bd authored almost 2 years ago by Erlend E. Aasland <[email protected]>
gh-74690: Document changes made to runtime-checkable protocols in 3.12 (#103348)

Co-authored-by: Jelle Zijlstra <[email protected]>

644136563da653a93268cb8cae7e25ff691047a3 authored almost 2 years ago by Alex Waygood <[email protected]>
gh-103272: regression test for getattr exception in property (#103336)

5d7d86f2fdbbfc23325e7256ee289bf20ce7124e authored almost 2 years ago by sunmy2019 <[email protected]>
gh-100220: Fix error handling in make rules (GH-100328)

Set `SHELL = /bin/sh -e` to ensure that complex recipes fail on the first error rather than inco...

a90863c993157ae65e040476cf46abd73ae54b4a authored almost 2 years ago by Michał Górny <[email protected]>
gh-103225: Fixed zero lineno issue for pdb (#103265)

Co-authored-by: Artem Mukhin <[email protected]>

2667452945eb0a3b8993bb4298ca8da54dc0155a authored almost 2 years ago by Tian Gao <[email protected]>
gh-74690: Add more tests for runtime-checkable protocols (#103347)

800382a2b0980c21dfb2a8ac02aaf1e881f987b9 authored almost 2 years ago by Alex Waygood <[email protected]>
gh-103193: Celebrate performance improvements to `inspect.getattr_static` in 'What's New in Python 3.12' (#103349)

04501ee57e7f6ef216b15b45785285fe4acebc42 authored almost 2 years ago by Alex Waygood <[email protected]>
GH-88013: Fix TypeError raised by ntpath.realpath in some cases (GH-102813)

4dc339b4d69195448207e1faecc3e258700daf33 authored almost 2 years ago by AN Long <[email protected]>
bpo-46523: fix tests rerun when `setUp[Class|Module]` fails (#30895)

Co-authored-by: Jelle Zijlstra <[email protected]>
Co-authored-by: Łukasz Langa <lukasz@...

995386071f96e4cfebfa027a71ca9134e4651d2a authored almost 2 years ago by Nikita Sobolev <[email protected]>
gh-102213: Revert "gh-102213: Optimize the performance of `__getattr__` (GH-102248)" (GH-103332)

This reverts commit aa0a73d1bc53dcb6348a869df1e775138991e561.

059bb04245a8b3490f93dfd72522a431a113eef1 authored almost 2 years ago by Nikita Sobolev <[email protected]>
gh-103256: Fix hmac algorithm to support fallback implementation (gh-103286)

Co-authored-by: Gregory P. Smith <[email protected]>

efb0a2cf3adf4629cf4669cb558758fb78107319 authored almost 2 years ago by Dong-hee Na <[email protected]>
gh-103266: Fix a typo in example code for bisect() function (#103267)

f0424ba4b6663d2a4240239266bea08aff46bb6c authored almost 2 years ago by Oleg Iarygin <[email protected]>
gh-93121: fix test_mailbox where some test cases were accidentally dropped (#93242)

a653c32d08abfa34d70186542479e3a7e704f8bd authored almost 2 years ago by AGZain <[email protected]>
GH-102700: allow built-in modules to be submodules (GH-103162)

5d08c3ff7d89ca11556f18663a372f6c12435504 authored almost 2 years ago by Brett Cannon <[email protected]>
gh-103193: Speedup and inline `inspect._is_type` (#103321)

Improve performance of `inspect.getattr_static`

dca7d174f1dc3f9e67c7451a27bc92dc5a733008 authored almost 2 years ago by Alex Waygood <[email protected]>
gh-103193: Use LBYL idioms rather than EAFP in `inspect.getattr_static` (#103318)

affedee8bf2ec00c404ffa39342a593a66bf95bd authored almost 2 years ago by Alex Waygood <[email protected]>
gh-103186: assert in tests that UnsafeMailcapInput warnings are provided (#103217)

1724553e6e8baae655901488968a40df981f32da authored almost 2 years ago by Ijtaba Hussain <[email protected]>
gh-100227: Use an Array for _PyRuntime's Set of Locks During Init (gh-103315)

This cleans things up a bit and simplifies adding new granular global locks.

52e9b389a8773f485c3b0f1d62bf3cce4812d44d authored almost 2 years ago by Eric Snow <[email protected]>
gh-99202: Fix extension type from documentation for compiling in C++20 mode (#102518)

23cf1e20a6470588fbc64483031ceeec7614dc56 authored almost 2 years ago by Jeffrey Newman <[email protected]>
gh-48330: assert warning is emitted on unittest.TestResult with no addDuration (#103309)

52bc2e7b9d451821513a580a9b73c20cfdcf2b21 authored almost 2 years ago by Irit Katriel <[email protected]>
gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293)

482b6eeadcde3e6573f0d243e687de7be7680379 authored almost 2 years ago by Irit Katriel <[email protected]>
[Enum] unchain exception property.__get__ (GH-103305)

a44568b80dfc494759d45db59423ed314bc70f9e authored almost 2 years ago by Ethan Furman <[email protected]>
gh-103207: Fix Welcome formatting issues when macOS Installer is run in dark mode. (GH-103303)

6e3ee049ace60beb97784f10099ae399efd83bac authored almost 2 years ago by Ned Deily <[email protected]>
gh-101659: Add _Py_AtExit() (gh-103298)

The function is like Py_AtExit() but for a single interpreter. This is a companion to the atexi...

03089fdccc7dbe3f69227fbd570df92278371e7f authored almost 2 years ago by Eric Snow <[email protected]>
gh-93910: [Enum] remove member.member deprecation (GH-103236)

i.e. Color.RED.BLUE is now officially supported.

4ec8dd10bd4682793559c4eccbcf6ae00688c4c3 authored almost 2 years ago by Ethan Furman <[email protected]>
GH-88691: Shrink the CALL caches (GH-103230)

b4978ff872be5102117b4e25d93dbbb4e04c8292 authored almost 2 years ago by Brandt Bucher <[email protected]>
gh-101659: Use the Raw Allocator in the _xxinterpchannels Module (gh-103287)

Using the raw allocator for any of the global state makes sense, especially as we move to a per-...

aa5a9b5eb767fd849ea09d0842e33691e690de7c authored almost 2 years ago by Eric Snow <[email protected]>
gh-74690: Further optimise `typing._ProtocolMeta.__instancecheck__` (#103280)

de182676853e8de22363e8a0641c42392c0fdaa9 authored almost 2 years ago by Alex Waygood <[email protected]>
gh-99069: Consolidate checks for static_assert (#94766)

Several platforms don't define the static_assert macro despite having
compiler support for the ...

96e1901a59ed3bb6188743d60395666969a3ba42 authored almost 2 years ago by Joshua Root <[email protected]>
gh-102899: Fix doc link for getting filesystem error handler (#102901)

fdd0fff277a55c010a4da0a7af0e986e38560545 authored almost 2 years ago by Olivier Gayot <[email protected]>
gh-89058: remove skip from test_no_hang_on_context_chain_cycle2 (#102903)

5e7c468fc4ceb801c30844b794e04a2ac6a35743 authored almost 2 years ago by Irit Katriel <[email protected]>
gh-86094: Add support for Unicode Path Extra Field in ZipFile (gh-102566)

8f70b16e3397ad32757ddbabd5180cbef0036a4b authored almost 2 years ago by Yeojin Kim <[email protected]>
gh-100408: Fix a traceback in multiprocessing example (#100409)

a28d4edb23b7150942f1eceb9e97c6f53aa4de42 authored almost 2 years ago by Serhiy Storchaka <[email protected]>
gh-74690: typing: Call `_get_protocol_attrs` and `_callable_members_only` at protocol class creation time, not during `isinstance()` checks (#103160)

3246688918a428738b61c4adb5fbc6525eae96f9 authored almost 2 years ago by Alex Waygood <[email protected]>
gh-81762: Clarify and simplify description of print's flush param (#103264)

c396b6ddf3da784349bac9ebf7f28c55bde016ea authored almost 2 years ago by C.A.M. Gerlach <[email protected]>
gh-74690: typing: Simplify and optimise `_ProtocolMeta.__instancecheck__` (#103159)

47753ecde21b79b5c5f11d883946fda2a340e427 authored almost 2 years ago by Alex Waygood <[email protected]>
gh-103193: Micro-optimise helper functions for `inspect.getattr_static` (#103195)

264c00a1c512a9bd58f47c80e72e436c639763c8 authored almost 2 years ago by Alex Waygood <[email protected]>
gh-103167: Fix `-Wstrict-prototypes` warnings by using `(void)` for functions with no args (GH-103168)

119f67de08f1fddc2a3f7b7caac7454cb57ef800 authored almost 2 years ago by Nikita Sobolev <[email protected]>
gh-66897: Upgrade HTTP CONNECT to protocol HTTP/1.1 (#8305)

* bpo-22708: Upgrade HTTP CONNECT to protocol HTTP/1.1 (GH-NNNN)

Use protocol HTTP/1.1 when s...

1a8f862e329c3872a11d4ef8eb85cf353ca2f4d5 authored almost 2 years ago by Michael Handler <[email protected]>
gh-101525: Disable peephole optimization process of BOLT (gh-103187)

Co-authored-by: Dong-hee Na <[email protected]>

a62ff970750267441a7175b1bd6d6b2ec59d9a2c authored almost 2 years ago by Dong-hee Na <[email protected]>
gh-102660: Fix is_core_module() (gh-103257)

In gh-102744 we added is_core_module() (in Python/import.c), which relies on get_core_module_dic...

f513d5c80672c76acbdaf7d5b601f4bbe9fae56a authored almost 2 years ago by Eric Snow <[email protected]>
Improve some grammar in the socket docs (#103254)

bceb9e00ad2998e5193ad5b477e92a114dd31024 authored almost 2 years ago by Tim Burke <[email protected]>
GH-75586: Make shutil.which() on Windows more consistent with the OS (GH-103179)

935aa452359ac3f79febefcdb4387b962cf528af authored almost 2 years ago by Charles Machalow <[email protected]>
gh-103207: Add instructions to the macOS installer welcome display on how to workaround the macOS 13 Ventura “The installer encountered an error” failure. (GH-103251)

f184abbdc9ac3a5656de5f606faf505aa42ff391 authored almost 2 years ago by Ned Deily <[email protected]>
Merge branch 'main' of https://github.com/python/cpython into main

30f82cf6c9bec4d9abe44f56e7ad84ef32ee2022 authored almost 2 years ago by Thomas Wouters <[email protected]>
Post 3.12.0a7

a90f5ca87b9ad713280af50b30558a2aca566be0 authored almost 2 years ago by Thomas Wouters <[email protected]>
bpo-44844: Enable detection of Microsoft Edge browser in webbrowser module (GH-29908)

fd1947ecfba589feebd48c1ebb60d1c01ee0a89d authored almost 2 years ago by Steve Dower <[email protected]>
Python 3.12.0a7

b861ba4a8247af8159df1e01d33157cf57705067 authored almost 2 years ago by Thomas Wouters <[email protected]>
Fix a compiler warning in _xxsubinterpretermodule.c (#103245)

Fix a (correct) warning about potential uses of uninitialized memory in
_xxsubinterpreter. Unli...

89e6a3446184925ee7f17cd0d948c7784a88b8d7 authored almost 2 years ago by T. Wouters <[email protected]>
gh-103092: Isolate `_pickle` module (#102982)

Co-authored-by: Mohamed Koubaa <[email protected]>
Co-authored-by: Kumar Aditya <59607654+kuma...

c00dcf0e381a090f7e905f887a98bbf63c88af5a authored almost 2 years ago by Erlend E. Aasland <[email protected]>
gh-103056: [Enum] use staticmethod decorator for _gnv_ (GH-103231)

_gnv_ --> _generate_next_value_

810d365b5eb2cf3043957ca2971f6e7a7cd87d0d authored almost 2 years ago by Ethan Furman <[email protected]>
Specify more settings for the C extension of VS Code for dev containers (GH-103229)

Should help with auto-complete.

c71756fa651e51041ac8b55776320e3297ba081d authored almost 2 years ago by Brett Cannon <[email protected]>
gh-100062: Remove error code tables from _ssl and err_names_to_codes (GH-100063)

Prior to https://github.com/python/cpython/pull/25300, the
make_ssl_data.py script used various...

02f9920900551fd0281c8989d65521d4fce4ead1 authored almost 2 years ago by David Benjamin <[email protected]>
gh-98298, gh-74730: [Enum] update docs (GH-103163)

fix FlagBoundary statements
add warning about reloading modules and enum identity

5ffc1e5a21de9a30566095386236db44695d184a authored almost 2 years ago by Ethan Furman <[email protected]>
gh-103215: Remove redundant if stmt from `enum.EnumType._find_data_type_` (GH-103222)

d3a7732dd54c27ae523bef73efbb0c580ce2fbc0 authored almost 2 years ago by Sadra Barikbin <[email protected]>
gh-101100: Use list of 'dirty' docs, with warnings, instead of a clean list (#103191)

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

24facd60f6e5458cc783e429fe63d6a80d476f84 authored almost 2 years ago by Hugo van Kemenade <[email protected]>
GH-76846, GH-85281: Call `__new__()` and `__init__()` on pathlib subclasses (GH-102789)

Fix an issue where `__new__()` and `__init__()` were not called on subclasses of `pathlib.PurePa...

11c302055a2aab5373c2829d1a8610a64e72ab24 authored almost 2 years ago by Barney Gale <[email protected]>
gh-101865: Deprecate `co_lnotab` from code objects as per PEP 626 (#101866)

Co-authored-by: Oleg Iarygin <[email protected]>

2a721258a199e9bcdcee2069719ad9c8f8c0d030 authored almost 2 years ago by Nikita Sobolev <[email protected]>
GH-103182: use vectorcall in `_asyncio` instead of variadic calling APIs (#103175)

e6f7d35be7fb65d8624e9411251554c9dee0c931 authored almost 2 years ago by Kumar Aditya <[email protected]>
gh-102038: Skip a sometimes unnecessary stat in site.py (#102039)

385b5d6e091da454c3e0d3f7271acf3af26d8532 authored almost 2 years ago by Shantanu <[email protected]>
gh-102994: Profile docs has typo in example (#103074)

55decb72c4d2e4ea00ed13da5dd0fd22cecb9083 authored almost 2 years ago by Nouran Ali <[email protected]>
gh-103109: Document ignore_warnings() test support helper (#103110)

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

32937d6aa414ec7db5c63ef277f21db1880b3af4 authored almost 2 years ago by Charlie Zhao <[email protected]>
bpo-4080: unittest durations (#12271)

6883007a86bdf0d7cf4560b949fd5e577dab1013 authored almost 2 years ago by Giampaolo Rodola <[email protected]>
fix typo in _ssl.c (GH-103192)

seperated -> separated

Automerge-Triggered-By: GH:AlexWaygood

a0305c5fdfdef7a362d0262c54399c4a6013d1ea authored almost 2 years ago by Ikko Eltociear Ashimine <[email protected]>
gh-102433: Use `inspect.getattr_static` in `typing._ProtocolMeta.__instancecheck__` (#103034)

6d59c9e32ebb6d8468c7eb26e7cf3efd458c7a73 authored almost 2 years ago by Alex Waygood <[email protected]>
GH-102456: Fix docstring and getopt options for base64 (gh-102457)

d828b35785eeb590b8ca92684038f33177989e46 authored almost 2 years ago by Partha P. Mukherjee <[email protected]>
gh-102192: deprecate _PyErr_ChainExceptions (#102935)

06249ec89fffdab25f7088c86fcbbfdcebcc3ebd authored almost 2 years ago by Irit Katriel <[email protected]>
gh-102192: use PyErr_SetHandledException instead of the legacy PyErr_SetExcInfo (#103157)

848bdbe166b71ab2ac2c0c1d88432fb995d1444c authored almost 2 years ago by Irit Katriel <[email protected]>
Add missing variables to `bytecodes.c` (GH-103153)

The code works without this change, but it does cause C tooling to complain less about undeclare...

d97aef8ebfbbb275384b17f06945e583fb3189ea authored almost 2 years ago by Brett Cannon <[email protected]>
gh-74690: Micro-optimise `typing._get_protocol_attrs` (#103152)

Improve performance of `isinstance()` checks against runtime-checkable protocols

361a3eaf1b6bf3360e34388cc909307ddd20737b authored almost 2 years ago by Alex Waygood <[email protected]>
gh-102549: [Enum] fail enum creation when data type raises in __init__ (GH-103149)

2a4d8c0a9e88f45047da640ce5a92b304d2d39b1 authored almost 2 years ago by Ethan Furman <[email protected]>
gh-101659: Clean Up the General Import Tests for Subinterpreters (gh-103151)

This involves 3 changes: some general cleanup, checks to match the kind of module, and switch fr...

dfc4c95762f417e84dcb21dbbe6399ab7b7cef19 authored almost 2 years ago by Eric Snow <[email protected]>
gh-100227: Fix Cleanup of the Extensions Cache (gh-103150)

Decref the key in the right interpreter in _extensions_cache_set().

This is a follow-up to gh...

dde028480e57bffa83fb084b15ec22490c42ef93 authored almost 2 years ago by Eric Snow <[email protected]>
gh-74690: typing: Don't unnecessarily call `_get_protocol_attrs` twice in `_ProtocolMeta.__instancecheck__` (#103141)

Speed up `isinstance()` calls against runtime-checkable protocols

9048d73f7a5c58be21988250c381f866586687a0 authored almost 2 years ago by Alex Waygood <[email protected]>
gh-87092: move CFG related code from compile.c to flowgraph.c (#103021)

80163e17d3f826067c5d95198db7696287beb416 authored almost 2 years ago by Irit Katriel <[email protected]>
gh-102871: Remove obsolete browsers from webbrowser (#102872)

b0422e140df8fdc83c51cc64a3ed5426188de7f1 authored almost 2 years ago by James De Bias <[email protected]>
GH-84783: Mention Author for GH-101264 (make slices hashable) (#103146)

Will Bradshaw contributed original patch on bpo-40603.
---------

Co-authored-by: Terry Jan R...

048d6243d45b9381dd4fcaad28ae9c5d443b8b4b authored almost 2 years ago by Furkan Onder <[email protected]>
Quote literal tokens in standard format specifier grammar (GH-102902)

Reported by Damian Dureck: https://mail.python.org/archives/list/[email protected]/thread/UZTWBJIX...

f6405a46627e1f74c279f712c8776a165b0ba9fd authored almost 2 years ago by Petr Viktorin <[email protected]>
gh-101100: Expand list of clean docs (GH-103135)

Follow on from https://github.com/python/cpython/pull/103116.

Expand list of clean docs fil...

20c0f196ff63546a6a0460a46c92de12b975bc1a authored almost 2 years ago by Hugo van Kemenade <[email protected]>
gh-102799: use exception instance instead of sys.exc_info() (#102885)

44bd3fe570da9115bec67694404b8da26716a1d7 authored almost 2 years ago by Irit Katriel <[email protected]>
Minor docs improvements fix for `codeop` (#103123)

c1e71ce56fdb3eab62ad3190d09130f800e54610 authored almost 2 years ago by gaogaotiantian <[email protected]>
gh-102110: Add all tools description missed (GH-102625)

Added missing descriptions of some tools.

Automerge-Triggered-By: GH:hugovk

01a49d17454b9072a0c46b550573ea430048684a authored almost 2 years ago by Missoupro <[email protected]>
Add IPv6 into to the docstring for socket.getsockname (#102961)

Signed-off-by: Brian Haley <[email protected]>

ecc5441505cd7cb54f3d38409c732e2e9f102137 authored almost 2 years ago by Brian Haley <[email protected]>
gh-101100: Fix Sphinx warning in gc.rst and refactor docs clean list (#103116)

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

f192a558f538489ad1be30aa145e71d942798d1c authored almost 2 years ago by Hugo van Kemenade <[email protected]>
gh-103085: Fix python locale.getencoding not to emit deprecation warning (gh-103086)

21e9de3bf0ecf32cd61296009518bfb9fdfcd04f authored almost 2 years ago by Jeong, YunWon <[email protected]>
gh-103099: Link mypy docs from typing.rst (#103100)

fda95aa19447fe444ac2670afbf98ec42aca0c6f authored almost 2 years ago by Shantanu <[email protected]>
gh-100227: Make the Global PyModuleDef Cache Safe for Isolated Interpreters (gh-103084)

Sharing mutable (or non-immortal) objects between interpreters is generally not safe. We can wo...

dcd6f226d6596b25b6f4004058a67acabe012120 authored almost 2 years ago by Eric Snow <[email protected]>
GH-89987: Shrink the BINARY_SUBSCR caches (GH-103022)

121057aa3600c4d4d392539aeb79e1b09fd5659d authored almost 2 years ago by Brandt Bucher <[email protected]>
gh-90110: Bring the whitelists up to date. (gh-103114)

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

e647dbaded898e5399d01d06771c1b42b5631be8 authored almost 2 years ago by Eric Snow <[email protected]>
GH-102973: add a dev container (GH-102975)

On content update, builds `python` and the docs. Also adds a Dockerfile that should include ever...

0b1d9c44f1f091a499856d81542eeafda25011e1 authored almost 2 years ago by Brett Cannon <[email protected]>
gh-103112: Add http.client.HTTPResponse.read docstring and fix pydoc output (#103113)

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by:...

d052a383f1a0c599c176a12c73a761ca00436d8b authored almost 2 years ago by Bernhard Wagner <[email protected]>
gh-103068: Check condition expression of breakpoints for pdb (#103069)

Co-authored-by: Łukasz Langa <[email protected]>
Co-authored-by: Artem Mukhin <[email protected]>

e375bff03736f809fbc234010c087ef9d7e0d384 authored almost 2 years ago by gaogaotiantian <[email protected]>
gh-102582: Fix invalid JSON in Doc/howto/logging-cookbook.rst (GH-102635)

d835b3f05de7e2d800138e5969eeb9656b0ed860 authored almost 2 years ago by Matěj Cepl <[email protected]>
gh-103054: typing: Improve `Callable` type substitution tests (#103055)

Co-authored-by: Alex Waygood <[email protected]>
Co-authored-by: Eclips4 <80244920+Eclips4...

60bdc16b459cf8f7b359c7f87d8ae6c5928147a4 authored almost 2 years ago by Nikita Sobolev <[email protected]>
gh-103097: Add workaround for Windows ARM64 compiler bug (GH-103098)

See https://developercommunity.visualstudio.com/t/Regression-in-MSVC-1433-1434-ARM64-co/10224361...

24ba507b1dd70cf468a1beadea6ca6336fe1d40f authored almost 2 years ago by Steve Dower <[email protected]>
gh-100227: Move the Dict of Interned Strings to PyInterpreterState (gh-102339)

We can revisit the options for keeping it global later, if desired. For now the approach seems ...

ba65a065cf07a7a9f53be61057a090f7311a5ad7 authored almost 2 years ago by Eric Snow <[email protected]>