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
4b4a5b70aa8d47b1e2a0582b741c31b786da762a authored over 1 year ago
7e6ce48872fa3de98c986057764f35e1b2f4b936 authored over 1 year ago
af51bd7cda9c0cba149b882c1e501765595e5fc3 authored over 1 year ago
* Add a special case for s[-m:] == p in _PyBytes_Find
* Add tests for _PyBytes_Find
* Make...
ab86426a3472ab68747815299d390b213793c3d1 authored over 1 year ago2d43beec225a0495ffa0344f961b99717e5f1106 authored over 1 year ago
8aa4beaad0d95917b1bb12d146bc15c1aa815e08 authored over 1 year ago
Co-authored-by: Nikita Sobolev <[email protected]>
a180e7a0df342e9f089998fc680be83ad2e49a79 authored over 1 year ago357e9e9da3929cb9d55ea31896e66f488e44e8f2 authored over 1 year ago
Replace `assert` with `raise ` in `threading.py` so that -OO does not alter _DummyThread behavior.
e4b88c1e4ac129b36f99a534387d64f7b8cda8ef authored over 1 year ago
For an example of what this does for Tier 1 and Tier 2, see
https://github.com/python/cpython/i...
If you prefer to see `#line` directives in generated_cases.c.h, run
```
make regen-cases CASES...
b03755a2347325a89a48b08fc158419000513bcb authored over 1 year ago
e2d7366fb3df44e7434132636d49f22d6d25cc9f authored over 1 year ago
2ca008e2b738b8c08b4bf46b2b23f315d6510d92 authored over 1 year ago
Co-authored-by: Hugo van Kemenade <[email protected]>
42bc485a24f0f67751474bd1697e1beb4a783b9a authored over 1 year agobe1b968dc1e63c3c68e161ddc5a05eb064833440 authored over 1 year ago
e8ab0096a583184fe24dfbc39eff70d270c8e6f4 authored over 1 year ago
7ce3ea4906986c2bab784c878d31c57b14ee1945 authored over 1 year ago
Fetch CONFIG_ARGS from the original source directory, instead of from
the copied source tree. W...
Note that this may generate two SAVE_IP uops in a row.
Removing unneeded SAVE_IP uops is the op...
d0972c77aa1cd5fe27618e82c10141a2bf157476 authored over 1 year ago
3590c45a3d564b3182ae21d899bae81c49d685a2 authored over 1 year ago
f520804b039df0d87fb9df6f1fed2a9bc9df8d61 authored over 1 year ago
fc7ff1af457e27b7d9752600b3436641be90f598 authored over 1 year ago
Also add PyMapping_GetOptionalItemString() function.
4bf43710d1e1f19cc46b116b5d8524f6c75dabfa authored over 1 year agob444bfb0a325dea8c29f7b1828233b00fbf4a1cb authored over 1 year ago
It is a new name of former _PyObject_LookupAttr().
Add also PyObject_GetOptionalAttrString().
579aa89e68a6607398317a50586af781981e89fb authored over 1 year agoDuring superblock generation, a JUMP_BACKWARD instruction is translated to either a JUMP_TO_TOP ...
cabd6e8a107127ff02f0b514148f648fb2472a58 authored over 1 year ago
Test fix for when one enters, for instance, 'abd' at the 'help>' prompt.
---------
Co-author...
292ac4bfe92768140c2d383fd329cfa1949869b2 authored over 1 year ago* Added missing import statement.
* Update Doc/tutorial/controlflow.rst
* Update Doc/tutor...
d0b7e18262e69dd4b8252e804e4f98fc9533bcd6 authored over 1 year ago945d3cbf2e8e756ed16c3ec51106e6157abb2698 authored over 1 year ago
gh-86618 assumed a-b-c = a-(b+c) = a-d where d = b+d.
For floats 2.0, 1.0, and 0.99999999999999...
It is no longer valid since 0.15.0
https://github.com/editorconfig/specification/blob/v0.15/ind...
388b5daa523b828dc0f7e2a1a6886bebc20833ba authored over 1 year ago
For example:
class Flag(enum.Flag):
A = 0x01
B = 0x02
MASK = 0...
af5cf1e75136fcef967d4ebe1bc45f29e6dc1bcf authored over 1 year ago
e5c32a811c248a9b052fc63236da58f81f488b44 authored over 1 year ago
c0c041a31ba6a8d2da993a475a56b7d8211fdbf2 authored over 1 year ago
* Convert PyObject_DelAttr() and PyObject_DelAttrString() macros to
functions.
* Add PyObjec...
* lambda has a name of __none__, but no async lambda so this branch is not needed
* _get_sign...
e6379f72cbc60f6b3c5676f9e225d4f145d5693f authored over 1 year ago(gh-106551 caused a compiler warning about on Windows.)
4bd8320dd7922d529eab51753dd524e8bf9c47b2 authored over 1 year ago115df8491a6633ced3cc3f2343b349869de30b8c authored over 1 year ago
- Hand-written uops JUMP_IF_{TRUE,FALSE}.
These peek at the top of the stack.
The jump tar...
Detect email address parsing errors and return empty tuple to indicate the parsing error (old AP...
18dfbd035775c15533d13a98e56b1d2bf5c65f00 authored over 1 year agoFixes a hang in multiprocessing process pool executor when a child process crashes and code coul...
6782fc050281205734700a1c3e13b123961ed15b authored over 1 year agoReduce test noise by fixing or catching and testing stderr messages from individual tests.
te...
9d582250d8fde240b8e7299b74ba888c574f74a3 authored over 1 year agoThis compensates for static builtin types having `tp_dict` set to `NULL`.
Co-authored-by: Pet...
a840806d338805fe74a9de01081d30da7605a29f authored over 1 year agothreadingmock: Remove unused branch for `timeout`
This is no longer needed as the mock does n...
3e23fa71f43fb225ca29a931644d1100e2f4d6b8 authored over 1 year ago3f9bc86c5a1b29fd636a53bf4150acacf60284d8 authored over 1 year ago
93846657a35726358ef6714c6631a9f862090b04 authored over 1 year ago
43389e4a3a15daaa2c4ea7059637e2fce3f38966 authored over 1 year ago
abe4ca5ecf3abb6ad72ba18ed732a0bc3f158335 authored over 1 year ago
8fb6edf479b2cf58d503945d17467055a5eaf455 authored over 1 year ago
Add tests for codecs.
51ea664d18938645521bdd128a3c55f9c197644c authored over 1 year ago* Add two more specializations of LOAD_ATTR.
0c90e7561046a2deb358e6695148060a1c199b49 authored over 1 year ago34c14147a2c52930b8b471905074509639e82d5b authored over 1 year ago
When changing docs, it was easy to find text in topics.py, and I
wondered whether I was suppose...
970982e03d34655df262e14a5efcfdc0bddc0add authored over 1 year ago
ca8b55c7f54b38e264056148075a8061a7082013 authored over 1 year ago
PyWeakref_GetRef() now returns 1 on success, and return 0 if the
reference is dead.
Co-autho...
ee46cb6aa959d891b0a480fea29f1eb991e0fad8 authored over 1 year ago1e12c8cfa373e57aaec65a574e5e4932bbbc0d4f authored over 1 year ago
It simplifies and speed up the code.
93d292c2b3f8e85ef562c37f59678c639b9b8fcb authored over 1 year agod137c2cae28b79555433079d917c3e0614bdcd61 authored over 1 year ago
8cb6f9761e3c1cff3210697e3670b57591bf2e7a authored over 1 year ago
dcc028d92428bd57358a5028ada2a53fc79fc365 authored over 1 year ago
The getopt module exists since the initial revision of the Python
source code (1990). The optpa...
Now the VERBOSE macro can control tracing on per-pattern basis:
* 0 -- disabled
* 1 -- only ...
74ec02e9490d8aa086aa9ad9d1d34d2ad999b5af authored over 1 year ago
ec7180bd1b3c156d4484e8e6babc5ecb707420e3 authored over 1 year ago
69a39bd9ad52241ca0e9a1926b4536c73017d067 authored over 1 year ago
Some items remained uninitialized if _sre.template() was called with invalid
indices. Then atte...
Co-authored-by: Erlend E. Aasland <[email protected]>
1c9e4934621627fbbfeada8d9dd87ecba4e446b0 authored over 1 year ago
When running 'make regen-cases' just to check whether anything changed,
it's annoying that even...
Schedule the removal of C API global configuration variables in
Python 3.14. Announce the remov...
1b2938122d0bb97e802881321cf3ac87bb2bfaef authored over 1 year ago
Mark the optparse module as soft deprecated.
d524b6f61f0b9fe4c359373185bf08bab423a218 authored over 1 year ago
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by:...
6e6a4cd52332017b10c8d88fbbbfe015948093f4 authored over 1 year ago
80b9b3a51757ebb1e3547afc349a229706eadfde authored over 1 year ago
a8554588bad5ca9e890830281b8d70ecbf6f8e23 authored over 1 year ago
This adds several of unspecialized opcodes to superblocks:
TO_BOOL, BINARY_SUBSCR, STORE_SUBS...
b3648f036e502db7e7da951ec4eb1f205cb3d74e authored over 1 year ago
Instead of special-casing specific instructions,
we add a few more special values to the 'size'...
363f4f99c524a6d763d1548986a79c42cc7ca292 authored over 1 year ago
3e5ce7968f5ab715f649e296e1f6b499621b8091 authored over 1 year ago
24fb627ea7a4d57cf479b7516bafdb6c253a1645 authored over 1 year ago
With test.
e1d45b8ed43e1590862319fec33539f8adbc0849 authored over 1 year ago
Prevent `multiprocessing.spawn` from failing to *import* in environments
where `sys.executable`...
The uops test wasn't testing anything by default,
and was failing when run with -Xuops.
Made...
76fac7bce55302a8e9a524d72f5384fd89e6dfde authored over 1 year ago67a798888dcde13bbb1e17cfcc3c742c94e67a07 authored over 1 year ago
5548097925b9924ebf761376d632c5198d01ebd5 authored over 1 year ago
When `_PyOptimizer_BackEdge` returns `NULL`, we should restore `next_instr` (and `stack_pointer`...
003ba71dcbe94f0d5cb1d0c56d7f1d5a6dae56f7 authored over 1 year agoMark `testthreadingmock.py` with `threading_helper.requires_working_threading`.
Also add long...
56353b10023ff12c7c8d6288ae4bf7bdcd5d4b6c authored over 1 year agoCo-authored-by: Hugo van Kemenade <[email protected]>
e7cd55753b00d6f7e5c8998bae73ebaa9e86398d authored over 1 year agoclinic.py: Don't needlessly reimplement `contextlib.redirect_stdout`
d0c6ba956fca28785ad4dea6423cd44fd1124cad authored over 1 year agoCo-authored-by: Ariel Eizenberg <[email protected]>
99b00efd5edfd5b26bf9e2a35cbfc96277fdcbb1 authored over 1 year ago38aa89a52ed5194f70bbf07d699a2dd3720e2efd authored over 1 year ago
13aefd175e3c04529251f175c23cb3ed88451fd0 authored over 1 year ago
* gh-105340: include hidden fast-locals in locals()
104d7b760fed18055e4f04e5da3ca619e28bfc81 authored over 1 year ago* gh-106292: restore checking __dict__ in cached_property.__get__
Co-authored-by: Dong-hee Na...
838406b4fc044c0b2f397c23275c69f16a76205b authored over 1 year ago217f47d6e5e56bca78b8556e910cd00890f6f84a authored over 1 year ago