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
As the versionchanged notice says, this note is no longer true on 3.12+.
c16ea94abc73c0098b484f7e2ec23bfd9c36b67c authored over 1 year agoRemove unused bytes object and bytes slicing
Co-authored-by: Shantanu <12621235+hauntsaninja@...
70e2a42647f2f4b53d0f07c0c7db48ea27e066fa authored over 1 year agoThis change makes it explicit that asyncio.CancelledError is not a subclass of Exception.
12a98138083589314d3da14bc97f2d8517947437 authored over 1 year agoRevert the two commits that introduced the regressions:
- gh-104152
- gh-104507
a941bd6c53ac4646926292557a7bb2a86f8025c3 authored over 1 year ago
ad075682ba49c3d90cb9b09341f8bf2ea56761d8 authored over 1 year ago
Co-authored-by: Alex Waygood <[email protected]>
7bb9fa5ae486912d5d0a9372f213ba6a72c4cde1 authored over 1 year agoCo-authored-by: Alex Waygood <[email protected]>
2fb9480c8313ab524d333b18e4af09f05f5b8afa authored over 1 year agoCo-authored-by: Alex Waygood <[email protected]>
22087516bca0b339a04742765febc9c20a9d6b21 authored over 1 year agoCo-authored-by: Alex Waygood <[email protected]>
110b97c94ce2544dc731298e35dfb003d58af626 authored over 1 year agoCompilation of Python/specialize.c was broken on macOS for me by gh-106400.
17af98227f883a93bfbd866b4bcc719ba9d682a1 authored over 1 year agoCo-authored-by: Erlend E. Aasland <[email protected]>
eeb5c63179eba0390c8937d0803a41092225be7e authored over 1 year agoc5dacc8fa0c3013be8b457afac996bdae1dc12d2 authored over 1 year ago
mock: Rename `wait_until_any_call` to `wait_until_any_call_with`
Rename the method to be more...
2dfc7fae787e65726f24bfe9efe05418b05ee8e2 authored over 1 year agoarray: suppress warning in test_array
8a4bba8b9764ba28667b137fe62c11aea672f500 authored over 1 year ago
Remove the _PyInterpreterState_HasFeature() function from the C API:
move it to the internal C ...
* Add len() and indexing support to uop superblocks.
318ea2c72e9aed7ac92457c28747eda9424c8327 authored over 1 year ago80f1c6c49b4cd2bf698eb2bc3d2f3da904880dd2 authored over 1 year ago
dfe4de203881e8d068e6fc5b8e31075841a86d25 authored over 1 year ago
Added new test class PermutationTests()
8f6df5e9cbc3a1689601714192aa6ecbb23e1927 authored over 1 year agoe4ba71fe4b32ae0d7fb3319d697616470fba1e58 authored over 1 year ago
Remove private pylifecycle.h functions: move them to the internal C
API ( pycore_atexit.h, pyco...
Remove private _PyUnicode_TransformDecimalAndSpaceToASCII() and other
private _PyUnicode C API ...
Remove the _PyBytesWriter C API: move it to the internal C API
(pycore_bytesobject.h).
Remove private _PyUnicode codecs C API functions: move them to the
internal C API (pycore_unico...
Add:
- test_disallowed_gropuing__no_matching_bracket
- test_double_slash
Replace PyAPI_DATA() with PyAPI_FUNC().
b4256135809d78d342e9d92e8bc3f527d3d3057f authored over 1 year ago648688c137744a623a71dc2413d2879b80c99eae authored over 1 year ago
* Remove private _PyImport C API functions: move them to the internal
C API (pycore_import.h)...
The code was already removed by:
commit c9f696cb96d1c362d5cad871f61da520572d9b08.
Remove more private _PyUnicode C API functions:
move them to the internal C API (pycore_unicode...
Annotate the following methods:
- state_parameter()
- state_parameter_docstring_start()
C...
b24479dcba6e8952039066564d448d5ac4b37bef authored over 1 year ago3ee8dac7a1b3882aa3aac7703bdae2de7b6402ad authored over 1 year ago
Use enums and pattern matching to make the code more readable.
Co-authored-by: Alex Waygood <...
71b40443fed6acb58330ee262f8d674b394f41d3 authored over 1 year ago77090370952307730ea71d68b848cce0dc8cbd83 authored over 1 year ago
We match paths using the `_lines` attribute, which is derived from the
path's string representa...
* Check eval-breaker in ENTER_EXECUTOR.
* Make sure that frame->prev_instr is set before ente...
e5862113dde7a66b08f1ece542a3cfaf0a3d9080 authored over 1 year agoAdd tests for 'self' and 'defining_class' converter requirements.
7f4c8121db62a9f72f00f2d9f73381e82f289581 authored over 1 year agobf06c6825cadeda54a9c0848fa51463a0e0b2cf8 authored over 1 year ago
- Tweak uops debugging output
- Fix the bug from gh-106290
- Rename `SET_IP` to `SAVE_IP` (per...
58906213cc5d8f2be311664766b4923ef29dae1f authored over 1 year ago
Co-authored-by: Alex Waygood <[email protected]>
2e2daac2f11cbd762601382e759048fdbabba5bc authored over 1 year agoDSLParser.parse_converter() could return unusable kwdicts in some rare cases
Co-authored-by: ...
0da4c883cf4185efe27b711c3e0a1e6e94397610 authored over 1 year ago60e41a0cbbe1a43e504b50a454efe653aba78a1a authored over 1 year ago
Remove private _PyErr C API functions: move them to the internal
C API (pycore_pyerrors.h).
18fedd04a7b4d54b5eb7a34a1e1c9ca42219f882 authored over 1 year ago
Remove the following functions from the C API, move them to the internal C
API: add a new pycor...
Move also _PyUnicode_FormatAdvancedWriter().
CJK codecs and multibytecodec.c now define the P...
5ccbbe5bb9a659fa8f2fe551428c84cc14015f44 authored over 1 year agomock: Add `ThreadingMock` class
Add a new class that allows to wait for a call to happen by u...
d65b783b6966d233467a48ef633afb4aff9d5df8 authored over 1 year ago0355625d94a50f4b816770bad946420d005900b8 authored over 1 year ago
987b712b4aeeece336eed24fcc87a950a756c3e2 authored over 1 year ago
Annotate the following method signatures:
- state_dsl_start()
- state_parameter_docstring_st...
Replace private _PyUnicode_EqualToASCIIString() with public
PyUnicode_CompareWithASCIIString().
Add internal pycore_complexobject.h header file.
Move _Py_c_xxx() functions and _PyComplex_Fo...
c38c66687f148991031914f12ebd5c42d6e26b5b authored over 1 year agodbefa88b27ee1f124f782363b139aee3f1ccf590 authored over 1 year ago
Replace PyInterpreterState_Get() with inlined
_PyInterpreterState_GET().
Remove private _PyThreadState and _PyInterpreterState C API
functions: move them to the interna...
Add note about PY_SSIZE_T_CLEAN in extending and embedding document.
20b7c79b9d67a761aaf818d3b92498ea0b0d80d9 authored over 1 year agoCo-authored-by: Hugo van Kemenade <[email protected]>
5950e7dbfcd9307c7e74184a1586ef99f9f35c3b authored over 1 year agod5bd32fb48ef8db2586b09d951514d75437b6195 authored over 1 year ago
Remove private _PyThreadState and _PyInterpreterState C API
functions: move them to the interna...
* Remove private _PyTraceMalloc C API functions: move them to the
internal C API.
* Don't ex...
Replace calls to the (removed) slow _PyInterpreterState_Get() with
fast inlined _PyInterpreterS...
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
Remove the "cpython/pytime.h" header file: it only contained private
functions. Move functions ...
822db860eada721742f878653d7ac9364ed8df59 authored over 1 year ago
Make assertions about the `st_mode`, `st_ino` and `st_dev` attributes of
the stat results from ...
- Split out dedicated test for unbuffered `open()`
- Split out dedicated test for `is_mount()` ...
Slightly expand the test coverage of `is_junction()`. The existing test
only checks that `os.pa...
Adjust the pathlib tests to add a new `PathTest.can_symlink` class
attribute, which allows us t...
200f2554114f3d40684af0969fef6af875cb1462 authored over 1 year ago
Bumps [mheap/github-action-required-labels](https://github.com/mheap/github-action-required-labe...
d3abc9b5165eee7dbe24f8f081c0739e6ad3ef3b authored over 1 year ago
Bumps [mypy](https://github.com/python/mypy) from 1.3.0 to 1.4.1.
- [Commits](https://github.co...
Command Prompt (CMD Shell) and older versions of PowerShell
require double quotes and single qu...
eb7d6e7ad844955f9af88707d296e003c7ce4394 authored over 1 year ago
Remove `PathTest.dirlink()` function. Symlinks in `PathTest.setUp()` are
created using `os.syml...
46c1097868745eeb47abbc8af8c34e8fcb80ff1d authored over 1 year ago
904aef994262383ae916545908f0578c2d53cf31 authored over 1 year ago
2062e115017d8c33e74ba14adef2a255c344f747 authored over 1 year ago
02ce3d56e6d230768853757109e7ca6425a6a600 authored over 1 year ago
Co-authored-by: Alex Waygood <[email protected]>
a8ae73965b02302b7661ea07a6e4f955a961aca9 authored over 1 year ago319de0b578ec3dec8d30610caee3aa93f51060c7 authored over 1 year ago
Only iterate on the dictionary if Python is built with assertions:
subclass is only needed when...
80b3d8f337bef52d7c360b4ee86be873681f747a authored over 1 year ago
Deprecate Py_HasFileSystemDefaultEncoding variable.
f3cf2ddd8ddc7dfa6b06e6da640391a1bcd62b8a authored over 1 year ago2efdd2a14e5036ba88f95f68e1f006d2ef08249e authored over 1 year ago
Remove the following private functions of the C API:
* _PyCodecInfo_GetIncrementalDecoder()
...
Rename _PyObject_FastCallDictTstate() to
_PyObject_VectorcallDictTstate().
sys: Intern getfilesystemencoding() and getfilesystemencodeerrors()
f1034ba7f67400e7ed7e299dc8b22521c4e43246 authored over 1 year agoMost typos are in comments, but two typos are in docstring.
77ddc9a7b1b28c8b8aee6cc97e483185a56819a6 authored over 1 year ago
Remove _PY_FASTCALL_SMALL_STACK constant from the C API: move it to
the internal C API (pycore_...
Replace _PyObject_FastCall() calls with PyObject_Vectorcall().
8c5f74fc89e35827c52753fe620b32207d537319 authored over 1 year agoIt's no longer necessary.
Co-authored-by: Brett Cannon <[email protected]>
e7bc8d16364bde54487eab349a29d58345e35f28 authored over 1 year agocea9d4ea82abcb2c6f1d83a2fe819859da4bbda4 authored over 1 year ago
7b2d94d87513967b357c658c6e7e1b8c8d02487d authored over 1 year ago
6e9f83d9aee34192de5d0ef7285be23514911ccd authored over 1 year ago
This enables super-instruction formation,
removal of checks for uninitialized variables,
and f...
A reference to c_code was leaked if PySys_Audit() failed.
3c70d467c148875f2ce17bacab8909ecc3e9fc1d authored over 1 year ago
- Establish global state struct
- Convert static types to heap types and add them to global sta...
0e24499129f3917b199a6d46fa33eeedd2c447fc authored over 1 year ago