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-106033: Get rid of PyDict_GetItem in _PyFunction_FromConstructor (GH-106044)

08c08d21b03d949452a77d9ed5e3cf48d6b9804d authored over 1 year ago
gh-101006: Improve error handling when read marshal data (GH-101007)

* EOFError no longer overrides other errors such as MemoryError or OSError at
the start of th...

8bf6904b229583033035d91a3800da5604dcaad4 authored over 1 year ago
gh-106194: Rename duplicated tests in `test_curses` (#106196)

3fb7c608e5764559a718ce8cb81350d7a3df0356 authored over 1 year ago
GH-106214: Fix `test_opcache` to skip threaded tests on non-threaded platforms (GH-106166)

This skips the test added in GH-105953 on threadless builds.

4bde89462a95e5962e1467cfc1af5a6094c0c858 authored over 1 year ago
gh-104584: Emit macro expansions to opcode_metadata.h (#106163)

This produces longer traces (superblocks?).

Also improved debug output (uop names are now pri...

11731434df2d7d29b4260e5ad65b993cea775c36 authored over 1 year ago
gh-106197: Deduplicate tests in `test_buffer` (#106198)

c283a0cff5603540f06d9017e484b3602cc62e7c authored over 1 year ago
gh-101100: Fix reference to `parse_args` in `optparse.rst` (#105265)

18f51f91e24402a24a0daa53fcbc81a5a2e9af94 authored over 1 year ago
gh-106200: Remove unused imports (#106201)

d830c4a944bcdcc8fe729a60f438fc762965eec1 authored over 1 year ago
gh-106118: Add O_CLOEXEC preprocessor guard (#106120)

6c60684bf5d34fae27a2f6a142ff794b38cefe1b authored over 1 year ago
gh-101100: Fix reference to asynchronous methods (#106172)

bbf722dcd39c66418e45991dcf1cdf140c2ce20e authored over 1 year ago
gh-105993: Add possible `None` return type to `asyncio.EventLoop.start_tls` docs (#105995)

6b52a581c151914e59c8c367a03bc7309713a73b authored over 1 year ago
gh-106162: fix test_array modifies warning filter (#106181)

a3dd8cce58fe2b27eea4eed572d086dc8a7e1bb8 authored over 1 year ago
Refer to `TimeoutError` instead of `asyncio.TimeoutError` in `asyncio-task.rst` (#106136)

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

541a10f9ed193a79aeea5e244bca6f6485d0689f authored over 1 year ago
Fix c-analyzer for GCC: ignore LANG env var (#106173)

The c-analyzer doesn't support GCC localized messages, so just unset
the LANG environment varia...

1f74b9e933d546a015e8497e3b8728357196acc8 authored over 1 year ago
GH-104584: Fix test_capi.test_counter_optimizer() when run twice (#106171)

test_counter_optimizer() and test_long_loop() of test_capi now create
a new function at each ca...

adaacf26d3c407e311b453c71abc40672ee549df authored over 1 year ago
gh-101634: regrtest reports decoding error as failed test (#106169)

When running the Python test suite with -jN option, if a worker stdout
cannot be decoded from t...

2ac3eec103cf450aaaebeb932e51155d2e7fb37b authored over 1 year ago
gh-106168: PyTuple_SET_ITEM() now checks the index (#106164)

PyTuple_SET_ITEM() and PyList_SET_ITEM() now check the index argument
with an assertion if Pyth...

3f8483cad2f3b94600c3ecf3f0bb220bb1e61d7d authored over 1 year ago
GH-106160: Fix test_gzip failing under WASI, which does not have zlib. (#106167)

Fix test_gzip's failure under WASI, which does not have zlib, by using
test.support.import_help...

161012fc25910a47423bae8012398bf519a88140 authored over 1 year ago
gh-106084: Remove _PyObject_CallMethod() function (#106159)

Remove the following private functions from the public C API:

* _Py_CheckFunctionResult()
* ...

84caa3324aaefb900895de2f946607cfdbe1be70 authored over 1 year ago
gh-104584: Change DEOPT_IF in uops executor (#106146)

This effectively reverts bb578a0, restoring the original DEOPT_IF() macro in ceval_macros.h, and...

6b5166fb12c4744544da4ee26ef437d025eb762a authored over 1 year ago
gh-106149: move jump target resolution from optimizer to assembler (#106150)

529088100952b31797a29ef7e0f5716613b32d66 authored over 1 year ago
IDLE: Condense run.main threading.Thread start. (#106125)

Use daemon argument added in 3.3 and directly call .start.
Remove now unused 'sockthread' name.

eaa1eae55ea66d74c5303924320185dac74d4eb1 authored over 1 year ago
gh-106140: Reorder some more fields to facilitate out-of-process inspection (#106148)

9126a6a9ce3772d5dc785cbee159b07a1ff7d531 authored over 1 year ago
gh-106140: Reorder some fields to facilitate out-of-process inspection (#106143)

Signed-off-by: Pablo Galindo <[email protected]>

2d5a1c281161d037148ffb5983decc6d31c2557d authored over 1 year ago
gh-104584: Fix assert in DEOPT macro -- should fix buildbot (#106131)

bb578a0c304dffe43bb28b36b2b1c9153c78b659 authored over 1 year ago
gh-104584: Add #line directives to executor_cases.c.h (#106126)

0762775a15d1fb238751744872bc99c853bef6c8 authored over 1 year ago
gh-92788: Add docs for `ast.Module`, `ast.Expression`, and others (#101055)

33608fd67df8b1033519f808441ee00289e2dac0 authored over 1 year ago
GH-105774: Clarify operation of normalize() (GH-106093)

a8210b6df1ed2793c484b3380182ba56c4254a4e authored over 1 year ago
gh-106123: Modules/_sha3 appears to no longer be necessary (#106124)

0345b0c2bbf251a0f475cf53e0fb04c79a220e52 authored over 1 year ago
gh-104584: Baby steps towards generating and executing traces (#105924)

Added a new, experimental, tracing optimizer and interpreter (a.k.a. "tier 2"). This currently p...

51fc72511733353de15bc633a3d7b6da366842e4 authored over 1 year ago
Revert "GH-96145: Add AttrDict to JSON module for use with object_hook (#96146)" (#105948)

This reverts commit 1f0eafa844bf5a380603d55e8d4b42d8c2a3439d.

d3af83b9342457d8b24476baeb799f7506ff04f3 authored over 1 year ago
gh-106107: document correct error that's raised when a mutable default value for a field is detected (gh-106109)

512f299e557f4ab60768d36cee9968bd92116367 authored over 1 year ago
GH-105793: Add follow_symlinks argument to `pathlib.Path.is_dir()` and `is_file()` (GH-105794)

Brings `pathlib.Path.is_dir()` and `in line with `os.DirEntry.is_dir()`, which
will be importan...

219effa876785408a87bd6acb37c07ee0d25f3f9 authored over 1 year ago
gh-106111: Remove zipapp documentation on creating a Windows executable (#106112)

Remove zipapp documentation on creating a Windows executable

5d4dbf0e309255e5bce9e31d805a8f950ebf9161 authored over 1 year ago
Update test.support.interpreters to include missing RunFailedError import (#103841)

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

1a2bc94fc2bbdf5f810b441ebbbd8fec95a3207c authored over 1 year ago
gh-106084: Remove _PyObject_RealIsInstance() function (#106106)

Remove the following functions from the public C API:

* _PyObject_RealIsInstance()
* _PyObje...

e8e59ee474869e7c02e7cae3815c9c2183671b21 authored over 1 year ago
gh-106084: Remove _PyObject_HasLen() function (#106103)

Remove _PyObject_HasLen() and _PySequence_IterSearch() functions from
the public C API: move th...

6200aaf2967de420a2d83236008787c9f791561d authored over 1 year ago
gh-105927: Deprecate PyWeakref_GetObject() function (#106006)

Deprecate PyWeakref_GetObject() and PyWeakref_GET_OBJECT() functions.

c075a1974b0dce9801cb645c77faa8af612b3db5 authored over 1 year ago
gh-104527: zippapp will now avoid appending an archive to itself. (gh-106076)

zippapp will now avoid appending an archive to itself.

dac3d389e747c6f6ef17e4e2f38731c8ef83eada authored over 1 year ago
gh-106075: add `asyncio.taskgroups.__all__` to `asyncio.__all__` (#106090)

Co-authored-by: Kumar Aditya <[email protected]>

a12e8ffb49e05a1d1874389318911ce9685db232 authored over 1 year ago
Improve typing docs on the type of class objects (#106081)

3eeb8c89063d5ac22c0b1d26e4ae2fd12c149650 authored over 1 year ago
gh-106084: Remove _PySequence_BytesToCharpArray() function (#106088)

Remove private _PySequence_BytesToCharpArray() and
_Py_FreeCharPArray() functions from the publ...

7ca871634e7ae8b9c295df5c2154338d2dac1e69 authored over 1 year ago
gh-106084: Remove old PyObject call aliases (#106085)

Remove old aliases which were kept backwards compatibility with
Python 3.8:

* _PyObject_Call...

00e75a33728cdad7c10088acc36bc55b2f4a0efe authored over 1 year ago
gh-106046: Improve error message from `os.fspath` if `__fspath__` is set to `None` (#106082)

93a970ffbce58657cc99305be69e460a11371730 authored over 1 year ago
Add end-of-file-fixer to pre-commit (#106065)

8c24a837371439b8e922ff47275085b581f510c5 authored over 1 year ago
Docs: add links to 'callable' term in sqlite3 docs (#106072)

bef1c8761e3b0dfc5708747bb646ad8b669cbd67 authored over 1 year ago
gh-106033: [docs] Improve C API GetItem & HasAttr notes. (#106047)

Use a note:: tag so that these dict and object API deficiencies show up clearly.

A caution:: ...

19d6511b0b8f3f74e668ae32ccef89bcbf1a8a62 authored over 1 year ago
GH-104375: Use `versionchanged` to describe new arguments in pathlib docs (GH-104376)

4a6c84fc1ea8f26d84a0fbeeff6f8dedc32263d4 authored over 1 year ago
gh-105987: Fix reference counting issue in `_asyncio._swap_current_task` (#105989)

d2cbb6e918d9ea39f0dd44acb53270f2dac07454 authored over 1 year ago
gh-102251: Disable non-rerunnable test in test_import (#106013)

4849a80dd1cbbc5010e8749ba60eb91a541ae4e7 authored over 1 year ago
Typing docs: fix typo in annotating tuples comment (#106048)

8ef0ee4ebc84ee68f16cea85ffdb949ecccb4ba5 authored over 1 year ago
gh-105730: support more callables in ExceptionGroup.split() and subgroup() (#106035)

d8ca5a11bc55e2a69cab4f8795d0a5aa6932a41b authored over 1 year ago
gh-106033: Get rid of new occurrences of PyDict_GetItem and PyObject_HasAttr (GH-106034)

These functions are broken by design because they discard any exceptions raised
inside, includi...

1d33d5378058671bfabb6f4d4b5bfd4726973ff9 authored over 1 year ago
gh-105063: Disable test_peg_generator.TestCParser bco. ref leaks (#106024)

Since gh-104798 (Use setuptools in peg-generator and reenable
tests), the TestCParser test case ...

41ad4dfc04c201728ce9fa12b1a96922dd15a368 authored over 1 year ago
gh-106030: Miscellaneous fixes in Python/suggestions.c (GH-106031)

* PyDict_GetItem() and PyObject_HasAttr() suppress arbitrary errors and
should not be used.
...

c8c162ef5294cddb7ac75fe93ab918e5661c68ee authored over 1 year ago
gh-105974: Revert unintentional behaviour change for protocols with non-callable members and custom `__subclasshook__` methods (#105976)

9499b0f138cc53b9a2590350d0b545d2f69ee126 authored over 1 year ago
Typing docs: improve the guidance on annotating tuples (#106021)

968435ddb1c1af9333befb26f7970cded8a5c710 authored over 1 year ago
gh-85136: Remove disabled remote IMAP tests (#106022)

Tests had been disabled since Jun 12, 2020 (gh-20836).

37c5c40125389c71e40b16441fbc72ba01be5fb4 authored over 1 year ago
GH-106012: Fix monitoring of static code objects (GH-106017)

9339d70ac2d45743507e320e81e68acf77e366af authored over 1 year ago
Docs: Avoid a DeprecationWarning in `pyspecific.py` when running with Sphinx >=6.1 (#105886)

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

a72683ba8e0337650cc490dbe593a5e46aba60cb authored over 1 year ago
gh-105927: Remove _PyWeakref_GetWeakrefCount() (#106007)

Remove _PyWeakref_GetWeakrefCount() and _PyWeakref_ClearRef() from
the public C API: move them ...

6a80664ef1200008d5beb1584e03d779ef30cc58 authored over 1 year ago
gh-105927: _ssl GET_SOCKET() uses _PyWeakref_GET_REF() (#106002)

7b3ed5b29fd33ecfdaedc3bb0b8f6c05ded68361 authored over 1 year ago
gh-105927: PyImport_AddModule() uses _PyWeakref_GET_REF() (#106001)

It now raises an exception if sys.modules doesn't hold a strong
reference to the module.

Ela...

ee52158f209835d6d4ca27f44218466f266f4afb authored over 1 year ago
gh-105922: Use PyImport_AddModuleRef() function (#105999)

Replace PyImport_AddModuleObject() + Py_XNewRef() with
PyImport_AddModuleRef() to get directly ...

193a2b2eaab9890f2cb16128c95bb63cb49307f1 authored over 1 year ago
Test specialization's thread-safety (GH-105953)

403a574b000569ea2c91f5325e6a8061a29e64bf authored over 1 year ago
gh-105979: Fix exception handling in `unmarshal_frozen_code` (`Python/import.c`) (#105980)

cd5280367a3a7065d13b8f7234474f7a2e9a18fd authored over 1 year ago
gh-105927: Avoid calling PyWeakref_GET_OBJECT() (#105997)

* Replace PyWeakref_GET_OBJECT() with _PyWeakref_GET_REF().
* _sqlite/blob.c now holds a strong...

46a3190fcf8580f322047395408cd60feba67041 authored over 1 year ago
gh-105927: Add _PyWeakref_IS_DEAD() function (#105992)

* Add _PyWeakref_IS_DEAD() internal function.
* Modify is_dead_weakref() of Modules/_weakref.c ...

c38da1e3e19a7bf1053c6d52e730e970efeceff6 authored over 1 year ago
gh-101538: Add experimental wasi-threads build (#101537)

Co-authored-by: Brett Cannon <[email protected]>
Co-authored-by: Erlend E. Aasland <erlend.aasla...

d8f87cdf94a6533c5cf2d25e09e6fa3eb06720b9 authored over 1 year ago
gh-98931: Add custom error messages to invalid import/from with multiple targets (#105985)

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

13237a2da846efef9ce9b93fd4bcfebd49933568 authored over 1 year ago
GH-89812: Add `pathlib.UnsupportedOperation` (GH-105926)

This new exception type is raised instead of `NotImplementedError` when
a path operation is not...

a8006706f7d6e8825b90f1970beed7845d1d72ed authored over 1 year ago
GH-91095: Specialize calls to normal Python classes. (GH-99331)

04492cbc9aa45ac2c12d22083c406a0364c39f5b authored over 1 year ago
gh-105481: refactor instr flag related code into a new InstructionFlags class (#105950)

c01da2896ab92ba7193bcd6ae56908c5c7277e75 authored over 1 year ago
gh-104212: Explain how to port imp.load_source() (#105978)

Explain how to port removed imp.load_source() to importlib in What's
New in Python 3.12.

18a7c86697493510993e43bafe8bd4046928bec5 authored over 1 year ago
gh-84436: update docs on Py_None/Py_True/Py_False/Py_Ellipsis becoming immortal (#105195)

a2392720d6108041d17960a86514ba859b436f05 authored over 1 year ago
gh-105927: finalize_modules_clear_weaklist() uses _PyWeakref_GET_REF() (#105971)

finalize_modules_clear_weaklist() now holds a strong reference to the
module longer than before...

4328dc646517f9251bdf6c827014f01c5229e8d9 authored over 1 year ago
gh-105927: type_from_ref() uses _PyWeakref_GET_REF() (#105963)

type_from_ref() now returns a strong reference to the type, instead
of a borrowed reference: re...

fc32522b081c895f3798e4a16788b800cff08166 authored over 1 year ago
gh-105927: Fix test_weakref_capi() refleak (#105966)

Test PyWeakref_GetRef(NULL) and PyWeakref_GetObject(NULL).

2178bbc12195104e94995ec075ad5f7c69d1ec78 authored over 1 year ago
gh-105927: _ctypes use PyWeakref_GetRef() (#105964)

Rename PyDict_GetItemProxy() to _PyDict_GetItemProxy() and mark it as
static. _PyDict_GetItemPr...

48d107a87d74b0e6662b0096454279a6066f7da4 authored over 1 year ago
gh-105927: _ssl uses _PyWeakref_GET_REF() (#105965)

74da6f7c9f7ace6ff5ee9a8e5abd10e28ebe90ae authored over 1 year ago
stdtypes.rst: remove a period (#105959)

c5a722be5f7979c73e2451e537a8fc58bf9af12e authored over 1 year ago
gh-105927: _abc and _thread use PyWeakref_GetRef() (#105961)

Hold a strong reference on the object, rather than using a borrowed reference:
replace PyWeakre...

fb1e691e4bc7757c11bf9e51dda675f15537db8c authored over 1 year ago
Use CSV-separated outputs @ get-changed-files @ CI (#105151)

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

eaa670228066220f08c8d73f80365c50058d40b8 authored over 1 year ago
gh-105927: Add PyWeakref_GetRef() function (#105932)

Add tests on PyWeakref_NewRef(), PyWeakref_GetObject(),
PyWeakref_GET_OBJECT() and PyWeakref_Ge...

9c44656febdcf72583e192ea4530fcfb0936c309 authored over 1 year ago
Add Py_TYPE() to Doc/data/refcounts.dat (#105949)

4d140e5e067d3315e163c0f1ac2f80c05ec790c6 authored over 1 year ago
gh-105915: Fix SyntaxWarning becoming a SyntaxError with -We in test_fstring (#105943)

6e40ee6e8456da04d6970a46863300c043c81208 authored over 1 year ago
gh-105915: Add 'r' prefix to not emit SyntaxWarning in test_fstring (#105940)

Co-authored-by: @sunmy2019

4b431d2e90bf5760a57aa40af2dd78e7bbf0b1ae authored over 1 year ago
gh-105938: Emit a SyntaxWarning for escaped braces in an f-string (#105939)

6586cee27f32f0354fe4e77c7b8c6e399329b5e2 authored over 1 year ago
make regen-stdlib-module-names rejects test modules (#105921)

Make sure that sys.stdlib_module_names doesn't contain test modules.

155577de1b6a7f4404b2bf90bcc1a588201550da authored over 1 year ago
gh-105927: Add _PyWeakref_GET_REF() internal function (#105929)

Add new pycore_weakref.h internal header file.

cb388c9a85a8dd6817ea7d969f53657002df6272 authored over 1 year ago
gh-105922: Add PyImport_AddModuleRef() function (#105923)

* Add tests on PyImport_AddModuleRef(), PyImport_AddModule() and
PyImport_AddModuleObject().
...

03f1a132eeb34c738812161947ef171b21d58c25 authored over 1 year ago
gh-105927: Refactor weakrefobject.c (#105928)

* Rename proxy_checkref() to proxy_check_ref().
* proxy_check_ref() now checks the object, not ...

7f97c8e367869e2aebe9f28bc5f8d4ce36448878 authored over 1 year ago
gh-105922: Refactor PyRun_InteractiveOneObjectEx() (#105925)

Refactor PyRun_InteractiveOneObjectEx(), _PyRun_SimpleFileObject()
and PyRun_SimpleStringFlags(...

a5c2ad0c3d23d2b1e61ab8e0d7ee64f7e1288547 authored over 1 year ago
gh-105481: generate _specializations and _specialized_instructions from bytecodes.c (#105913)

33f0a8578b729e67c482daedc2660648afd0ee78 authored over 1 year ago
gh-105908: fix `barry_as_FLUFL` future import (#105909)

28187a9c4f95affe50fd37e0db0db177e2b9c2e9 authored over 1 year ago
GH-105808: Fix a regression introduced in GH-101251 (#105910)

Fix a regression introduced in pythonGH-101251, causing GzipFile.flush() to
not flush the compr...

1858db7cbdbf41aa600c954c15224307bf81a258 authored over 1 year ago
gh-104212: Explain how to port imp code to importlib (#105905)

7a56a4148c521969d64164d2776641f19e3ca9e8 authored over 1 year ago
gh-71299: Fix __all__ in tokenize (#105907)

Co-authored-by: Unit03

ab3823a97bdeefb0266b3c8d493f7f6223ce3686 authored over 1 year ago
GH-104584: Assorted fixes for the optimizer API. (GH-105683)

* Add test for long loops

* Clear ENTER_EXECUTOR when deopting code objects.

581619941ecce986a2fc8cbddd95256daa25fb26 authored over 1 year ago
typing docs: Improve the intro to each section (#105901)

4426279a4399158027a1145cff1c4c92424bf5b5 authored over 1 year ago