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-105375: Improve error handling in `zoneinfo` module (#105586)

Fix bugs where exceptions could end up being overwritten
because of deferred error handling.

...

33c92c4f15539806c8aff8574ff30a8b307e3e4d authored over 1 year ago
Docs: fix formatting in 2023-06-09-12-59-18 NEWS item (#105607)

91441bf7cbaefbd328ee7efa59a06e661f61542e authored over 1 year ago
gh-105549: Tokenize separately NUMBER and NAME tokens and allow 0-prefixed literals (#105555)

b047fa5e56ba725362c64ca3d6fccbdcf51d0cab authored over 1 year ago
gh-105375: Improve error handling in _elementtree (#105591)

Fix bugs where exceptions could end up being overwritten.

00b599ab5a76023fa0083d7cc5d3c569342a5191 authored over 1 year ago
gh-105375: Improve posix error handling (#105592)

Fix a bug where an IndexError could end up being overwritten.

f668f73bc88cce0112b304d87aa998fb28013c71 authored over 1 year ago
gh-105375: Improve errnomodule error handling (#105590)

Bail immediately if an exception is set, to prevent exceptions from
being overwritten.

eede1d2f48b4fe7f7918952d9ebeb744b58668c1 authored over 1 year ago
gh-105375: Improve _pickle error handling (#105475)

Error handling was deferred in some cases, which could potentially lead
to exceptions being ove...

89aac6f6b7b3af046ec137121c90732289e79efc authored over 1 year ago
gh-105375: Improve error handling in compiler_enter_scope() (#105494)

6c832ddcf28187f86100c790afb16a0223d945d0 authored over 1 year ago
gh-105564: Don't include artificial newlines in the line attribute of tokens (#105565)

d7f46bcd989580340675bf0a9fdbfa1505a37e81 authored over 1 year ago
Clarify the supported cases in the tokenize module (#105569)

1dd267af642ed6df05a1c106e9dafb8252d826e6 authored over 1 year ago
gh-105497: [Enum] Fix Flag inversion when alias/mask members exist. (GH-105542)

When inverting a Flag member (or boundary STRICT), only consider other canonical flags; when inv...

59f009e5898a006cdc8f5249be589de6edfe5cd0 authored over 1 year ago
Miscellaneous improvements to the typing docs (#105529)

Mostly, these are changes so that we use shorter sentences and shorter paragraphs. In particular...

8e755923c97d689ba7c7fe8deb50c1b169263264 authored over 1 year ago
gh-105557: Remove duplicate sqlite3 test method (#105558)

test_func_return_too_large_int() was defined twice.
Keep only the redefined method, as that als...

b8fa7bda4f286503447dc12327b789bbfc836458 authored over 1 year ago
gh-94924: support `inspect.iscoroutinefunction` in `create_autospec(async_def)` (#94962)

* support inspect.iscoroutinefunction in create_autospec(async_def)

* test create_autospec wi...

9bf8d825a66ea2a76169b917c12c237a6af2ed75 authored over 1 year ago
gh-105407: Remove unused imports (#105554)

0f885ffa94aa9b69ff556e119cb17deb23a5a4b3 authored over 1 year ago
gh-102304: Remove Py_INCREF() doc change (#105552)

Py_INCREF() was made compatible again with Python 3.9 and older in
the limited API of Python de...

58e4b69f698e6fd0694a58f18679bbe0e7e50e91 authored over 1 year ago
gh-102304: Fix Py_INCREF() for limited C API 3.9 (#105550)

When Python is built in debug mode (Py_REF_DEBUG macro), Py_INCREF()
and Py_DECREF() of the lim...

7ba0fd9f87ad75f8eda8e002c2fc71049b815f33 authored over 1 year ago
gh-105545: Remove deprecated `MacOSXOSAScript._name` (gh-105546)

947ec7ab02e7673956eb7f235c330a49f11e157a authored over 1 year ago
gh-105396: Deprecate PyImport_ImportModuleNoBlock() function (#105397)

Deprecate the PyImport_ImportModuleNoBlock() function which is just
an alias to PyImport_Import...

3e525d22128cf040b3fd164f52cc6ae20ca58455 authored over 1 year ago
CI: Configure macOS build as per updated devguide recommendations (#105533)

a5f23d411062f9f29f8a7d7ddefe60d5d8e17d2e authored over 1 year ago
gh-102832: IDLE - update stackviewer open (#105528)

Use 'last_exc' instead of 'last_value' in 3.12/3.

bb3454c1a75c90da3c34c060eb23403fed3fd958 authored over 1 year ago
gh-102832: IDLE - remove use of deprecated sys.last_xyzs for stackviewer (#103339)

3ee921d84f06da9dfa8aa29e0d33778b9dbf8f23 authored over 1 year ago
gh-100227: Lock Around Modification of the Global Allocators State (gh-105516)

The risk of a race with this state is relatively low, but we play it safe anyway. We do avoid us...

68dfa496278aa21585eb4654d5f7ef13ef76cb50 authored over 1 year ago
gh-105332: [Enum] Fix unpickling flags in edge-cases (GH-105348)

* revert enum pickling from by-name to by-value

Co-authored-by: Ethan Furman <ethan@stoneleaf...

4ff5690e591b7d11cf11e34bf61004e2ea58ab3c authored over 1 year ago
gh-100227: Lock Around Adding Global Audit Hooks (gh-105515)

The risk of a race with this state is relatively low, but we play it safe anyway.

e822a676f1f3bef6c5413e9b856db481c08ac2a5 authored over 1 year ago
gh-104310: Rename the New Function in importlib.util (gh-105255)

The original name wasn't as clear as it could have been. This change includes the following:

...

34c63b86d3c33a85acf55a0c5c118304754e145d authored over 1 year ago
gh-100227: Lock Around Use of the Global "atexit" State (gh-105514)

The risk of a race with this state is relatively low, but we play it safe anyway.

7799c8e678f759c7787785c6287140abe641d1b9 authored over 1 year ago
Revert "Move observability-relevant structure fields to the top" (#105512)

6a8b8623574b6d07ee6caf4d007c4778a7c2d372 authored over 1 year ago
test_types: Replace raw assert statements (#105500)

a8eb7372eebe182fd4ef7381a742d84a368a7d1b authored over 1 year ago
Further improve docs for `typing.Annotated` (#105498)

d213c2990f0db62ed39fc5468977f989c2658675 authored over 1 year ago
GH-105229: Remove remaining two-codeunit superinstructions (GH-105326)

* Remove LOAD_CONST__LOAD_FAST and LOAD_FAST__LOAD_CONST superinstructions.

e830289c52cecd99e5e2291972d648e9b3452a51 authored over 1 year ago
Move observability-relevant structure fields to the top (#105271)

410c2f13e50ea53074cb1fb8074ac0c4d3564cc8 authored over 1 year ago
gh-105431: Remove unused stuff from `test_typing.NewTypeTests` (#105432)

9d35a71a76cb033598ce136ea655d9e452fe3af0 authored over 1 year ago
gh-104635: Eliminate redundant STORE_FAST instructions in the compiler (gh-105320)

aa5b762bd3a3e837678cf7f9e1434c0f68208a0e authored over 1 year ago
GH-104996: Defer joining of `pathlib.PurePath()` arguments. (GH-104999)

Joining of arguments is moved to `_load_parts`, which is called when a
normalized path is needed.

ffeaec7e60c88d585deacb10264ba7a96e5e52df authored over 1 year ago
gh-103171: Forward-port new tests for runtime-checkable protocols dec orated with `@final` (#105473)

Forward-port of the tests that were added to the 3.11 branch in #105445

f5df347fcf5fe029edbe6bf274da0f4880401852 authored over 1 year ago
gh-105390: Add explicit type cast (#105466)

264a0110ffa4e08b0c7b1023e67a6bd7cb9617c6 authored over 1 year ago
gh-94673: Ensure subtypes are readied only once in math.trunc() (gh-105465)

Fixes a typo in d2e2e53.

5394bf92aa6516feb3322d8372d1579bd9c1417b authored over 1 year ago
gh-90015: Document that PEP-604 unions do not support forward references (#105366)

fbdee000de47ae96fbf53ce8908e8efbb23cfba4 authored over 1 year ago
gh-104610: Stop looking for PREDICT() in the cases generator (#105459)

We no longer use `PREDICT()`, it doesn't have any benefits.

c85be33acc29f36e07b6220b17f994de7e71801b authored over 1 year ago
Fix grammar and improve clarity for an deprecation message. (GH-105457)

f339ec5ddf5551113b6a84c343bc2e272aed3819 authored over 1 year ago
GH-104610: Remove the use of `PREDICT` macros. (GH-104651)

064de0e3fca014e5225830a35766fb7867cbf403 authored over 1 year ago
typing: Improve documentation of generic classes and aliases (#105369)

d63a7c3694d5c4484fcaa01c33590b1d4bc2559e authored over 1 year ago
gh-105437: Improve tests of type params names for PEP 695 (#105438)

76883af6bf28b7e810df172bd6762bf2cb64df08 authored over 1 year ago
gh-105430: Remove `typing._Immutable` unused internal helper (#105434)

18309ad94bb1ae0b092f34dc3fd54199876a6ebd authored over 1 year ago
gh-97797: Improve documentation for typing.Annotated (#105365)

e26d296984b2b6279231922ab0940d904aa6144e authored over 1 year ago
Improve docs for `typing.TypeAlias` (#105372)

c5ec51ec8f4508e1f01f6d98ac8364a13da9bec7 authored over 1 year ago
gh-105435: Fix spurious NEWLINE token if file ends with comment without a newline (#105442)

7279fb64089abc73c03247fb8191082ee42a9671 authored over 1 year ago
gh-105375: Improve error handling in sqlite3 collation callback (#105412)

Check for error after each call to PyUnicode_FromStringAndSize().

a24a780d937109a0982d807473ae410cc75b0e3b authored over 1 year ago
gh-105390: Correctly raise TokenError instead of SyntaxError for tokenize errors (#105399)

ffd26545509b706437ca38bd6db6108c1d0e2326 authored over 1 year ago
gh-89886: Use Autoconf quadrigraphs where appropriate (#105226)

27c68a6d8f20090310450862c2c299bb7ba3c160 authored over 1 year ago
gh-104692: Include commoninstall as a prerequisite for bininstall (#104693)

This ensures that `commoninstall` is completed before `bininstall` is
started when parallel bui...

990cb3676c2edb7e5787372d6cbe360a73367f4c authored over 1 year ago
Improve code examples in `typing.rst` (#105346)

81c81328a4fa13fead6f8cc9053a1a32a62a0279 authored over 1 year ago
typing docs: Make the PEPs list an expandable section, hidden by default (#105353)

Co-authored-by: Hugo van Kemenade <[email protected]>

d7645124f56c8832a7630a7f76c99e2630e685d7 authored over 1 year ago
GH-95088: Clarify rules for parsing an item key for format strings (#103779)

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

3e7316d7e8969febb56fbc7416d483b073bd1702 authored over 1 year ago
gh-105286: Further improvements to `typing.py` docstrings (#105363)

9a89f1bf1e7bb819fe7240be779c99a84f47ea46 authored over 1 year ago
`typing.NewType` docs: the future performance improvements are now in the past (#105354)

5f65ff0370e1123084ff300a5ff02cd57623b575 authored over 1 year ago
GH-102613: Fast recursive globbing in `pathlib.Path.glob()` (GH-104512)

This commit introduces a 'walk-and-match' strategy for handling glob patterns that include a non...

24af45172f74e4f01eb21d3aee7beab62417b833 authored over 1 year ago
gh-105382: Remove urllib.request cafile parameter (#105384)

Remove cafile, capath and cadefault parameters of the
urllib.request.urlopen() function, deprec...

2587b9f64eefde803a5e0b050171ad5f6654f31b authored over 1 year ago
gh-105407: Remove unused imports in the stdlib (#105411)

94d5f9827da4bf4b1e61c134fe29904b2b92f124 authored over 1 year ago
gh-105407: Remove unused imports in Tools/c-analyzer/ (#105410)

d1b0015ea88112258470463a74dad90ebce7ab67 authored over 1 year ago
gh-105407: Remove unused imports in tools (#105409)

b8c79b2b982cb36358ca0193ed307f8a63a20142 authored over 1 year ago
gh-105407: Remove unused imports in tests (#105408)

ae319e4b43dc0d9d94d36bdcdbc5443364398c29 authored over 1 year ago
gh-82180: Update math.factorial(float) doc for Python 3.10 (#105385)

d3a0eacbf382288a487d40f16d63abfeb2125e1a authored over 1 year ago
gh-105373: Fix decimal documentation formatting (#105395)

The deprecation is on decimal.HAVE_THREADS, not on the whole module.

dfe9fc1904820b4206d300e1abb93774e988694d authored over 1 year ago
sliding_window() recipe: Raise ValueError for non-positive window sizes. Add more tests. (GH-105403)

423459be2f0b6d007e5f235f39d80044cb099faf authored over 1 year ago
gh-105376: Remove logging.Logger.warn() method (#105377)

6c54e5d72166d012b52155cbf13af9e533290e06 authored over 1 year ago
gh-104783: locale.getlocale() calls sys.getfilesystemencoding() (#105401)

locale.getlocale() always calls sys.getfilesystemencoding(), instead
of calling it only once.

221d703498d84e363070c89c28f839edceaac9b2 authored over 1 year ago
gh-94172: Update keyfile removal documentation (#105392)

Remove the "deprecated:: 3.6" markup, since the parameters (like
keyfile and certfile) got remo...

2b8e6e5712a83657333948bc387c81db02549b13 authored over 1 year ago
gh-92658: Fix typo in docs and tests for `HV_GUID_PARENT` (GH-105267)

3907de12b57b14f674cdcc80ae64350a23af53a0 authored over 1 year ago
gh-104783: locale.getencoding() fallback uses FS encoding (#105381)

The locale.getencoding() function now uses
sys.getfilesystemencoding() if _locale.getencoding()...

b1a91d26c67250ff7abeb20064e7766096604001 authored over 1 year ago
gh-102304: Document Py_INCREF() change in What's New in Python 3.12 (#105389)

Not in Python 3.13.

3a975b5e92736cd2f68a09aa71a17d373b9355e9 authored over 1 year ago
gh-105156: Update Unicode C API: remove deprecation (#105379)

_PyUnicode_ToLowercase(), _PyUnicode_ToUppercase(),
_PyUnicode_ToTitlecase() are no longer depr...

04181965cfd3050f29d1f7fe7330ab933ab1fe21 authored over 1 year ago
gh-104783: Remove locale.resetlocale() function (#104784)

0cb6b9b0db5df6b3f902e86eb3d4a1e504afb851 authored over 1 year ago
gh-105268: Add _Py_FROM_GC() function to pycore_gc.h (#105362)

* gcmodule.c reuses _Py_AS_GC(op) for AS_GC()
* Move gcmodule.c FROM_GC() implementation to a n...

c7bf74bacd2b2db308e80e532153ffaf6dbca851 authored over 1 year ago
build(deps): bump requests from 2.29.0 to 2.31.0 in /Doc (#105368)

Bumps [requests](https://github.com/psf/requests) from 2.29.0 to 2.31.0.
- [Release notes](http...

963099ebd9ada501d125fc5101ae42f55967a6e8 authored over 1 year ago
gh-105259: Ensure we don't show newline characters for trailing NEWLINE tokens (#105364)

c0a6ed39343b6dc355607fbff108c515e6c103bf authored over 1 year ago
gh-102304: Fix up Simple ABI doc (GH-105351)

0202aa002e06acef9aa55ace0d939103df19cadd authored over 1 year ago
gh-104411: Update test_getint for Tcl 9.0 (GH-104412)

2c49c759e880a32539f50c31dbd35d2bc4b4e030 authored over 1 year ago
gh-105268: Remove _PyGC_FINALIZED() macro (#105350)

Remove the old private, undocumented and untested _PyGC_FINALIZED()
macro which was kept for ba...

8ddf0dd264acafda29dc587ab8393387bb9a76ab authored over 1 year ago
Add myself as codeowner for Limited API/Stable ABI, remove from *import* (GH-105349)

This should set up more relevant notifications for me.

49fe2e4af7993c124b98589ee608ed6ba2cee8e6 authored over 1 year ago
gh-90005: Don't link with libbsd if not needed (#105236)

The regression was introduced with commit 5b946cada.
Restore pre gh-29696 behaviour.

e01c4de35dd40b132e57f4ba801991619bd2726b authored over 1 year ago
gh-105292: Add option to make traceback.TracebackException.format_exception_only recurse into exception groups (#105294)

Co-authored-by: Erlend E. Aasland <[email protected]>
Co-authored-by: Łukasz Langa ...

f4d8e10d0d0cc1ba0787d2350a699d9fb227a7cd authored over 1 year ago
gh-102304: Fix Py_INCREF() stable ABI in debug mode (#104763)

When Python is built in debug mode (if the Py_REF_DEBUG macro is
defined), the Py_INCREF() and ...

92022d8416d9e175800b65c4d71d4e4fb47adcb0 authored over 1 year ago
gh-102304: doc: Add links to Stable ABI and Limited C API (#105345)

* Add "limited-c-api" and "stable-api" references.
* Rename "stable-abi-list" reference to "lim...

bae415ad02c79cf3a2eec4aa6969221a12e6716f authored over 1 year ago
gh-104399: Use newer libtommath APIs when necessary (GH-104407)

00d73caf804c0474980e471347d6385757af975f authored over 1 year ago
Display the sanitizer config in the regrtest header. (#105301)

Display the sanitizers present in libregrtest.

Having this in the CI output for tests with th...

852348ab65783601e0844b6647ea033668b45c11 authored over 1 year ago
gh-105324: Fix tokenize module main function for stdin (#105325)

f04c16875b649e2c2b420eb146308d0206c7e527 authored over 1 year ago
Remove dead code in codeop.py (#105263)

677cf3974190f1f627ff63cc6c8777d7f390e47b authored over 1 year ago
gh-89412: Add missing attributes (added in 3.10) to traceback module docs (#105046)

a4f72fa39a9d391c7b931ba1906d81da4ae01949 authored over 1 year ago
What's New in 3.12: List 'Improved Modules' alphabetically (#105315)

eb0ce92141cd14196a8922cfe9df4a713c5c1d9b authored over 1 year ago
gh-105286: Improve `typing.py` docstrings (#105287)

Co-authored-by: Shantanu <[email protected]>
Co-authored-by: Nikit...

f714aa2c29eae5cc4b5b54e4d83d83eebd5eac53 authored over 1 year ago
gh-105280: Ensure `isinstance([], collections.abc.Mapping)` always evaluates to `False` (#105281)

08756dbba647440803d2ba4545ba0ab2f0cdfe1c authored over 1 year ago
gh-103906: Remove immortal refcounting in compile/marshal.c (gh-103922)

058b96053563bb5c413dc081eb8cc0916516525c authored over 1 year ago
gh-105237: Allow calling `issubclass(X, typing.Protocol)` again (#105239)

cdfb201bfa35b7c50de5099c6d9078c806851d98 authored over 1 year ago
gh-105164: Detect annotations inside match blocks (#105177)

69d1245685cf95ddc678633e978a56673da64865 authored over 1 year ago
GH-105229: Replace some superinstructions with single instruction equivalent. (GH-105230)

06893403668961fdbd5d9ece18162eb3470fc8dd authored over 1 year ago
GH-104584: Allow optimizers to opt out of optimizing. (GH-105244)

e8ecb9ee6bec03d0c4490f3e7f1524e56e2f6a0f authored over 1 year ago
gh-103558: Add coverage tests for argparse (#103570)

Co-authored-by: Shantanu <[email protected]>
Co-authored-by: haunt...

9efaff5fd31a55e3beaa1fa430058de36a145566 authored over 1 year ago
gh-98963: Restore the ability to have a dict-less property. (#105262)

Ignore doc string assignment failures in `property` as has been the
behavior of all past Python...

418befd75d4d0d1cba83d8b81e1a7bcc9a65be8e authored over 1 year ago