Внутри CPython есть два способа запускать тесты: прямой через
Задача – починить первый способ.
https://github.com/python/cpython/issues/131290
#cpython #tests
./python.exe test_name.py
и regrtest
. Обычно все используют второй, но первый тоже полезен.Задача – починить первый способ.
https://github.com/python/cpython/issues/131290
#cpython #tests
GitHub
Multiple tests failing when invoked directly via `./python Lib/test/...` · Issue #131290 · python/cpython
Besides test_pickle reported in #131031, there are a few more (test_regrtest, test_metaclass and test_pyclbr): ~ ./python Lib/test/test_regrtest.py ... Ran 115 tests in 35.727s FAILED (failures=1, ...
Добавить тестирование пустых байтов
https://github.com/python/cpython/issues/131357
#cpython #tests
b""
в разные C-API тесты в нашем наборе тестов.https://github.com/python/cpython/issues/131357
#cpython #tests
GitHub
Add more tests for zero-sized bytes objects in `capi` tests · Issue #131357 · python/cpython
Bug report Quoting @picnixz: #131343 (comment) We could add more 0-size bytes tests in other functions as well I think. For instance PyBytes_FromObject(b'') is not tested. PRs are welcome!
https://github.com/python/cpython/issues/133403#issuecomment-2849451826
Добавить
#cpython #typing
Добавить
Tools/build/verify_ensurepip_wheels.py
в Tools/build/mypy.ini
#cpython #typing
GitHub
Add typing to more build tools · Issue #133403 · python/cpython
Feature or enhancement Right now we support typing in several build tools: cpython/Tools/build/mypy.ini Lines 2 to 4 in 6ce60f1 files = Tools/build/compute-changes.py, Tools/build/generate_sbom.py ...
https://github.com/python/cpython/issues/133604
Простое issue, нужно удалить из кодовой базы
#cpython #stdlib
Простое issue, нужно удалить из кодовой базы
platform.java_ver
+ platform._java_getprop
а так же тесты связанные с ними.#cpython #stdlib
https://github.com/python/cpython/issues/133956
Интересная задача про интроспекцию
#cpython #typing
Интересная задача про интроспекцию
ClassVar
в dataclasses
#cpython #typing
GitHub
`dataclasses`: Synthetic `__init__` method on dataclass has broken `ClassVar` annotation under some conditions. · Issue #133956…
Bug report Bug description: When using automatically-stringified annotations (from __future__ import annotations), typing_extensions.ClassVar is not treated the same as typing.ClassVar even though ...