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

shlex docs: remove outdated note (#106463)

As the versionchanged notice says, this note is no longer true on 3.12+.

c16ea94abc73c0098b484f7e2ec23bfd9c36b67c authored over 1 year ago
gh-102542 Remove unused bytes object and bytes slicing (#106433)

Remove unused bytes object and bytes slicing

Co-authored-by: Shantanu <12621235+hauntsaninja@...

70e2a42647f2f4b53d0f07c0c7db48ea27e066fa authored over 1 year ago
Clarify state of CancelledError in doc (#106453)

This change makes it explicit that asyncio.CancelledError is not a subclass of Exception.

12a98138083589314d3da14bc97f2d8517947437 authored over 1 year ago
gh-64595: Fix regression in file write logic in Argument Clinic (#106449)

Revert the two commits that introduced the regressions:

- gh-104152
- gh-104507

9d1d4f9c73a71192b22ab52a2eb9278737f98ddb authored over 1 year ago
gh-104683: Rename Lib/test/clinic.test as Lib/test/clinic.test.c (#106443)

a941bd6c53ac4646926292557a7bb2a86f8025c3 authored over 1 year ago
tp_flags docs: fix indentation (#106420)

ad075682ba49c3d90cb9b09341f8bf2ea56761d8 authored over 1 year ago
gh-104050: Partially annotate Argument Clinic CLanguage class (#106437)

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

7bb9fa5ae486912d5d0a9372f213ba6a72c4cde1 authored over 1 year ago
gh-106368: Add tests for formatting helpers in Argument Clinic (#106415)

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

2fb9480c8313ab524d333b18e4af09f05f5b8afa authored over 1 year ago
gh-104050: Annotate Argument Clinic parameter permutation helpers (#106431)

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

22087516bca0b339a04742765febc9c20a9d6b21 authored over 1 year ago
gh-104050: Annotate toplevel functions in clinic.py (#106435)

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

110b97c94ce2544dc731298e35dfb003d58af626 authored over 1 year ago
gh-106320: Fix specialize.c compilation by including pycore_pylifecycle.h (#106434)

Compilation of Python/specialize.c was broken on macOS for me by gh-106400.

17af98227f883a93bfbd866b4bcc719ba9d682a1 authored over 1 year ago
Add some codeowners for `Tools/clinic/` (#106430)

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

eeb5c63179eba0390c8937d0803a41092225be7e authored over 1 year ago
gh-106217: Truncate the issue body size of `new-bugs-announce-notifier` (#106423)

c5dacc8fa0c3013be8b457afac996bdae1dc12d2 authored over 1 year ago
gh-61215: Rename `wait_until_any_call` to `wait_until_any_call_with` (#106414)

mock: Rename `wait_until_any_call` to `wait_until_any_call_with`

Rename the method to be more...

2dfc7fae787e65726f24bfe9efe05418b05ee8e2 authored over 1 year ago
gh-106162: array: suppress warning in test_array (#106404)

array: suppress warning in test_array

8a4bba8b9764ba28667b137fe62c11aea672f500 authored over 1 year ago
gh-106320: Remove _PyInterpreterState_HasFeature() (#106425)

Remove the _PyInterpreterState_HasFeature() function from the C API:
move it to the internal C ...

aa85c93792876a602fc9ce2083b64958507d29bf authored over 1 year ago
GH-106360: Support very basic superblock introspection (#106422)

* Add len() and indexing support to uop superblocks.

318ea2c72e9aed7ac92457c28747eda9424c8327 authored over 1 year ago
gh-106406: Fix _Py_IsInterpreterFinalizing() in _winapi.c (#106408)

80f1c6c49b4cd2bf698eb2bc3d2f3da904880dd2 authored over 1 year ago
gh-106396: Special-case empty format spec to gen empty JoinedStr node (#106401)

dfe4de203881e8d068e6fc5b8e31075841a86d25 authored over 1 year ago
gh-106368: Add tests for permutation helpers in Argument Clinic (#106407)

Added new test class PermutationTests()

8f6df5e9cbc3a1689601714192aa6ecbb23e1927 authored over 1 year ago
GH-106008: Fix refleak when peepholing `None` comparisons (#106367)

e4ba71fe4b32ae0d7fb3319d697616470fba1e58 authored over 1 year ago
gh-106320: Remove private pylifecycle.h functions (#106400)

Remove private pylifecycle.h functions: move them to the internal C
API ( pycore_atexit.h, pyco...

c9ce983ae1a361f431a0303aeb6f4b8e1d674275 authored over 1 year ago
gh-106320: Remove _PyUnicode_TransformDecimalAndSpaceToASCII() (#106398)

Remove private _PyUnicode_TransformDecimalAndSpaceToASCII() and other
private _PyUnicode C API ...

8a73b57b9b5f6e36dd5a4c279f4d606d9e71a31f authored over 1 year ago
gh-106320: Remove _PyBytesWriter C API (#106399)

Remove the _PyBytesWriter C API: move it to the internal C API
(pycore_bytesobject.h).

ec931fc3943df0b94f2e250d7723892f2b3414bd authored over 1 year ago
gh-106320: Remove private _PyUnicode codecs C API functions (#106385)

Remove private _PyUnicode codecs C API functions: move them to the
internal C API (pycore_unico...

d8c5d76da2d5c3e8f9c05fcfc59dc1aaaa1fe6e1 authored over 1 year ago
gh-106368: Increase Argument Clinic test coverage (#106389)

Add:

- test_disallowed_gropuing__no_matching_bracket
- test_double_slash

3406f8cce542ea4edf4153c0fac5216df283a9b1 authored over 1 year ago
gh-106320: Fix _PyImport_GetModuleAttr() declaration (#106386)

Replace PyAPI_DATA() with PyAPI_FUNC().

b4256135809d78d342e9d92e8bc3f527d3d3057f authored over 1 year ago
gh-106368: Harden Argument Clinic parser tests (#106384)

648688c137744a623a71dc2413d2879b80c99eae authored over 1 year ago
gh-106320: Remove private _PyImport C API functions (#106383)

* Remove private _PyImport C API functions: move them to the internal
C API (pycore_import.h)...

2e92edbf6de9578b30cca8e48c4bfb2ba71ae97a authored over 1 year ago
gh-86085: Remove _PyCodec_Forget() declaration (#106377)

The code was already removed by:
commit c9f696cb96d1c362d5cad871f61da520572d9b08.

f6d2bb18aba844f6bb5836797c72eb791b7f3644 authored over 1 year ago
gh-106320: Remove more private _PyUnicode C API functions (#106382)

Remove more private _PyUnicode C API functions:
move them to the internal C API (pycore_unicode...

506cfdf141f03186d5cdf9bb31caa40294eba4e5 authored over 1 year ago
gh-104050: Annotate more Argument Clinic DSLParser state methods (#106376)

Annotate the following methods:

- state_parameter()
- state_parameter_docstring_start()

C...

b24479dcba6e8952039066564d448d5ac4b37bef authored over 1 year ago
gh-106368: Clean up Argument Clinic tests (#106373)

3ee8dac7a1b3882aa3aac7703bdae2de7b6402ad authored over 1 year ago
gh-104683: Modernise Argument Clinic parameter state machine (#106362)

Use enums and pattern matching to make the code more readable.

Co-authored-by: Alex Waygood <...

71b40443fed6acb58330ee262f8d674b394f41d3 authored over 1 year ago
Small speed-up for the convolve() recipe. (GH-106371)

77090370952307730ea71d68b848cce0dc8cbd83 authored over 1 year ago
GH-106330: Fix matching of empty path in `pathlib.PurePath.match()` (GH-106331)

We match paths using the `_lines` attribute, which is derived from the
path's string representa...

b4efdf8cda8fbbd0ca53b457d5f6e46a59348caf authored over 1 year ago
GH-104584: Fix ENTER_EXECUTOR (GH-106141)

* Check eval-breaker in ENTER_EXECUTOR.

* Make sure that frame->prev_instr is set before ente...

e5862113dde7a66b08f1ece542a3cfaf0a3d9080 authored over 1 year ago
gh-106368: Increase Argument Clinic test coverage (#106369)

Add tests for 'self' and 'defining_class' converter requirements.

7f4c8121db62a9f72f00f2d9f73381e82f289581 authored over 1 year ago
gh-106078: Move `context template` to decimal module global state (#106346)

bf06c6825cadeda54a9c0848fa51463a0e0b2cf8 authored over 1 year ago
gh-106290: Fix edge cases around uops (#106319)

- Tweak uops debugging output
- Fix the bug from gh-106290
- Rename `SET_IP` to `SAVE_IP` (per...

2028a4f6d996d2a46cbc33d0b65fdae284ee71fc authored over 1 year ago
gh-91053: make func watcher tests resilient to other func watchers (#106286)

58906213cc5d8f2be311664766b4923ef29dae1f authored over 1 year ago
gh-104050: Add more type hints to Argument Clinic DSLParser() (#106354)

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

2e2daac2f11cbd762601382e759048fdbabba5bc authored over 1 year ago
gh-106359: Fix corner case bugs in Argument Clinic converter parser (#106361)

DSLParser.parse_converter() could return unusable kwdicts in some rare cases

Co-authored-by: ...

0da4c883cf4185efe27b711c3e0a1e6e94397610 authored over 1 year ago
gh-104146: Remove unused attr 'parameter_indent' from clinic.DLParser (#106358)

60e41a0cbbe1a43e504b50a454efe653aba78a1a authored over 1 year ago
gh-106320: Remove private _PyErr C API functions (#106356)

Remove private _PyErr C API functions: move them to the internal
C API (pycore_pyerrors.h).

c5afc97fc2f149758f597c21f65b4a1c770bb827 authored over 1 year ago
gh-104050: Annotate Argument Clinic DSLParser attributes (#106357)

18fedd04a7b4d54b5eb7a34a1e1c9ca42219f882 authored over 1 year ago
gh-106320: Create pycore_modsupport.h header file (#106355)

Remove the following functions from the C API, move them to the internal C
API: add a new pycor...

35963da40fb7bc93c55d94caf58ff9e268df951d authored over 1 year ago
gh-106320: Move _PyUnicodeWriter to the internal C API (#106342)

Move also _PyUnicode_FormatAdvancedWriter().

CJK codecs and multibytecodec.c now define the P...

5ccbbe5bb9a659fa8f2fe551428c84cc14015f44 authored over 1 year ago
gh-61215: New mock to wait for multi-threaded events to happen (#16094)

mock: Add `ThreadingMock` class

Add a new class that allows to wait for a call to happen by u...

d65b783b6966d233467a48ef633afb4aff9d5df8 authored over 1 year ago
Document PYTHONSAFEPATH along side -P (#106122)

0355625d94a50f4b816770bad946420d005900b8 authored over 1 year ago
Replace the esoteric term 'datum' when describing dict comprehensions (#106119)

987b712b4aeeece336eed24fcc87a950a756c3e2 authored over 1 year ago
gh-104050: Add more type hints to Argument Clinic DSLParser() (#106343)

Annotate the following method signatures:

- state_dsl_start()
- state_parameter_docstring_st...

569887aa9da0da2eb2e2ad7d6a7496290f223ab0 authored over 1 year ago
gh-106320: _testcapi avoids private _PyUnicode_EqualToASCIIString() (#106341)

Replace private _PyUnicode_EqualToASCIIString() with public
PyUnicode_CompareWithASCIIString().

4e3aa7cd312759922556ee96aa42033c375027e2 authored over 1 year ago
gh-106320: Add pycore_complexobject.h header file (#106339)

Add internal pycore_complexobject.h header file.

Move _Py_c_xxx() functions and _PyComplex_Fo...

c38c66687f148991031914f12ebd5c42d6e26b5b authored over 1 year ago
gh-106078: Move DecimalException to _decimal state (#106301)

dbefa88b27ee1f124f782363b139aee3f1ccf590 authored over 1 year ago
gh-106320: Use _PyInterpreterState_GET() (#106336)

Replace PyInterpreterState_Get() with inlined
_PyInterpreterState_GET().

bc7eb1708452da59c22782c487ae7f05f1788970 authored over 1 year ago
gh-106320: Remove private _PyInterpreterState functions (#106335)

Remove private _PyThreadState and _PyInterpreterState C API
functions: move them to the interna...

9a51a419619bb9dd1075d683708c57803c5d48c7 authored over 1 year ago
gh-104922: Doc: add note about PY_SSIZE_T_CLEAN (#106314)

Add note about PY_SSIZE_T_CLEAN in extending and embedding document.

20b7c79b9d67a761aaf818d3b92498ea0b0d80d9 authored over 1 year ago
gh-106217: Truncate the issue body size of `new-bugs-announce-notifier` (#106329)

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

5950e7dbfcd9307c7e74184a1586ef99f9f35c3b authored over 1 year ago
gh-104922: remove PY_SSIZE_T_CLEAN (#106315)

d5bd32fb48ef8db2586b09d951514d75437b6195 authored over 1 year ago
gh-106320: Remove private _PyInterpreterState functions (#106325)

Remove private _PyThreadState and _PyInterpreterState C API
functions: move them to the interna...

8571b271e7d16fe87d669a2e1e50f5ae3732bb31 authored over 1 year ago
gh-106320: Remove private _PyTraceMalloc C API functions (#106324)

* Remove private _PyTraceMalloc C API functions: move them to the
internal C API.
* Don't ex...

feb51f3a6443d7c0148e2e7be2ed58b4c69fa265 authored over 1 year ago
gh-106320: Remove _PyInterpreterState_Get() alias (#106321)

Replace calls to the (removed) slow _PyInterpreterState_Get() with
fast inlined _PyInterpreterS...

18b1fdebe0cd5e601aa341227c13ec9d89bdf32c authored over 1 year ago
gh-102541: Fix Helper.help("mod") for non-existent mod (#105934)

If the output arg to Helper() is a stream rather than the default None, which means 'page to std...

0530f4f64629ff97f3feb7524da0833b9535e8b6 authored over 1 year ago
gh-106316: Remove pytime.h header file (#106317)

Remove the "cpython/pytime.h" header file: it only contained private
functions. Move functions ...

46d77610fc77088bceac720a13d9f2df3a50f29e authored over 1 year ago
Fix duplicate word typos in comments (#106225)

822db860eada721742f878653d7ac9364ed8df59 authored over 1 year ago
GH-89812: Improve test for `pathlib.Path.stat()` (GH-106064)

Make assertions about the `st_mode`, `st_ino` and `st_dev` attributes of
the stat results from ...

c2622a0d82078a7ab17597707b4dd42446a043ae authored over 1 year ago
GH-89812: Miscellaneous pathlib test improvements (GH-106063)

- Split out dedicated test for unbuffered `open()`
- Split out dedicated test for `is_mount()` ...

cbc33e4aede10f4d5799d9f7aa9ec5b91414f65b authored over 1 year ago
GH-89812: Test that `pathlib.Path.is_junction()` returns false (GH-106062)

Slightly expand the test coverage of `is_junction()`. The existing test
only checks that `os.pa...

6e01055e15c252185b118956d545bfad03ae11ed authored over 1 year ago
GH-89812: Make symlink support configurable in pathlib tests. (GH-106060)

Adjust the pathlib tests to add a new `PathTest.can_symlink` class
attribute, which allows us t...

3fd99b5a974314075424744747899b2acf18dadd authored over 1 year ago
gh-106149: move unconditional jump direction resolution from optimizer to assembler (#106291)

200f2554114f3d40684af0969fef6af875cb1462 authored over 1 year ago
build(deps): bump mheap/github-action-required-labels from 4 to 5 (#106306)

Bumps [mheap/github-action-required-labels](https://github.com/mheap/github-action-required-labe...

d3abc9b5165eee7dbe24f8f081c0739e6ad3ef3b authored over 1 year ago
build(deps-dev): bump mypy from 1.3.0 to 1.4.1 in /Tools/clinic (#106305)

Bumps [mypy](https://github.com/python/mypy) from 1.3.0 to 1.4.1.
- [Commits](https://github.co...

c336b4c14fea17763ee0d3acbb8e9155beb617e0 authored over 1 year ago
gh-106232: Make timeit doc command lines compatible with Windows. (#106296)

Command Prompt (CMD Shell) and older versions of PowerShell
require double quotes and single qu...

04dfc6fa9018e92a5b51c29fc0ff45419c596bc3 authored over 1 year ago
gh-105486: Change the `repr` of `ParamSpec` list of args in `GenericAlias` (#105488)

eb7d6e7ad844955f9af88707d296e003c7ce4394 authored over 1 year ago
GH-89812: Simplify creation of symlinks in pathlib tests. (GH-106061)

Remove `PathTest.dirlink()` function. Symlinks in `PathTest.setUp()` are
created using `os.syml...

e212618bafaa4f775502e3442de0affb80205b5e authored over 1 year ago
gh-106145: Make `end_{lineno,col_offset}` required on `type_param` nodes (#106224)

46c1097868745eeb47abbc8af8c34e8fcb80ff1d authored over 1 year ago
GH-106135: Add more edge-"cases" to test_patma (GH-106271)

904aef994262383ae916545908f0578c2d53cf31 authored over 1 year ago
gh-106267: Add type cast to generated code (#106289)

2062e115017d8c33e74ba14adef2a255c344f747 authored over 1 year ago
gh-106280: Remove unnecessary unreachable code (gh-106285)

02ce3d56e6d230768853757109e7ca6425a6a600 authored over 1 year ago
gh-101100: Docs: Fix references to several numeric dunders (#106278)

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

a8ae73965b02302b7661ea07a6e4f955a961aca9 authored over 1 year ago
GH-104584: Add Include/cpython/optimizer.h to Makefile.pre.in (#106277)

319de0b578ec3dec8d30610caee3aa93f51060c7 authored over 1 year ago
Cleanup clear_static_tp_subclasses() (#106276)

Only iterate on the dictionary if Python is built with assertions:
subclass is only needed when...

1a2652ceaa55190a0b860abd1448095eafbdf238 authored over 1 year ago
gh-106023: Remove _PyObject_FastCallTstate() function (#106273)

80b3d8f337bef52d7c360b4ee86be873681f747a authored over 1 year ago
gh-77782: Deprecate Py_HasFileSystemDefaultEncoding (#106272)

Deprecate Py_HasFileSystemDefaultEncoding variable.

f3cf2ddd8ddc7dfa6b06e6da640391a1bcd62b8a authored over 1 year ago
gh-106023: Remove _PyObject_FastCall() function (#106265)

2efdd2a14e5036ba88f95f68e1f006d2ef08249e authored over 1 year ago
Remove private _PyCodec_Lookup() function (#106269)

Remove the following private functions of the C API:

* _PyCodecInfo_GetIncrementalDecoder()
...

0b51463862798d3124f542a076e02ea3759551a4 authored over 1 year ago
gh-106023: Rename _PyObject_FastCallDictTstate() (#106264)

Rename _PyObject_FastCallDictTstate() to
_PyObject_VectorcallDictTstate().

e17420db5d0452a9c56c8cb324d37fc2c04309c0 authored over 1 year ago
gh-106182: sys: Intern getfilesystemencoding() and getfilesystemencodeerrors() (#106183)

sys: Intern getfilesystemencoding() and getfilesystemencodeerrors()

f1034ba7f67400e7ed7e299dc8b22521c4e43246 authored over 1 year ago
fix typos (#106247)

Most typos are in comments, but two typos are in docstring.

77ddc9a7b1b28c8b8aee6cc97e483185a56819a6 authored over 1 year ago
gh-106023: Remove _PY_FASTCALL_SMALL_STACK constant (#106258)

Remove _PY_FASTCALL_SMALL_STACK constant from the C API: move it to
the internal C API (pycore_...

cd580910e10dcfffa364d08ee5a6f0257d031baf authored over 1 year ago
gh-106023: Update code using _PyObject_FastCall() (#106257)

Replace _PyObject_FastCall() calls with PyObject_Vectorcall().

8c5f74fc89e35827c52753fe620b32207d537319 authored over 1 year ago
gh-106210 Remove Emscripten import trampoline (#106211)

It's no longer necessary.

Co-authored-by: Brett Cannon <[email protected]>

e7bc8d16364bde54487eab349a29d58345e35f28 authored over 1 year ago
GH-106152: Add PY_THROW event to cProfile (GH-106161)

cea9d4ea82abcb2c6f1d83a2fe819859da4bbda4 authored over 1 year ago
GH-106008: Make implicit boolean conversions explicit (GH-106003)

7b2d94d87513967b357c658c6e7e1b8c8d02487d authored over 1 year ago
GH-106250: Support insts using one cache entry and no oparg (GH-106252)

6e9f83d9aee34192de5d0ef7285be23514911ccd authored over 1 year ago
gh-105775: Convert LOAD_CLOSURE to a pseudo-op (#106059)

This enables super-instruction formation,
removal of checks for uninitialized variables,
and f...

8bff940ad69ce176dcd2b8e91d0b30ddd09945f1 authored over 1 year ago
Fix possible refleak in CodeType.replace() (GH-106243)

A reference to c_code was leaked if PySys_Audit() failed.

3c70d467c148875f2ce17bacab8909ecc3e9fc1d authored over 1 year ago
gh-106078: Convert `_decimal` types to heap types (#106079)

- Establish global state struct
- Convert static types to heap types and add them to global sta...

fb0d9b9ac1ec3ea13fae8b8ef6a4f0a5a80482b3 authored over 1 year ago
gh-89392: Make test_decimal discoverable (GH-106209)

0e24499129f3917b199a6d46fa33eeedd2c447fc authored over 1 year ago