| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
(GH-130828) (GH-130869)
(cherry picked from commit 90130807d9c5a55b2a64024f5dfbee4785b9a27c)
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
|
| |
|
|
|
|
|
| |
Share common code for tests for PyLong_As*() functions.
(cherry picked from commit 69f2dc5c06e62b4a9eb4da8f0cd456cc09b998ed)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
|
| |
|
|
|
| |
(cherry picked from commit 2894aa14f22430e9b6d4676afead6da7c79209ca)
Co-authored-by: Steve Dower <steve.dower@python.org>
|
| |
|
|
| |
*endianness* (GH-116053)
|
| |
|
|
| |
platforms (GH-117064)
|
| |
|
|
|
|
|
| |
* Split long.c tests of _testcapi into two parts: limited C API tests
in _testlimitedcapi and non-limited C API tests in _testcapi.
* Move testcapi_long.h from Modules/_testcapi/ to
Modules/_testlimitedcapi/.
* Add MODULE__TESTLIMITEDCAPI_DEPS to Makefile.pre.in.
|
| |
|
|
|
|
|
|
|
| |
(#115380)
This expands the examples to cover both realistic use cases for the API.
I noticed thing in the test that could be done better so I added those as well: We need to guarantee that all bytes of the result are overwritten and that too many are not written. Tests now pre-fills the result with data in order to ensure that.
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
|
| |
|
|
| |
functions (GH-114886)
|
| | |
|
| |
|
|
|
|
| |
* Rename _PyLong_AsInt() to PyLong_AsInt().
* Add documentation.
* Add test.
* For now, keep _PyLong_AsInt() as an alias to PyLong_AsInt().
|
|
|
Co-authored-by: Petr Viktorin <encukou@gmail.com>
|