[issue40302] Add pycore_byteswap.h internal header file with _Py_bswap32() function

2020-05-10 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- nosy: +sir-sigurd nosy_count: 3.0 -> 4.0 pull_requests: +19338 pull_request: https://github.com/python/cpython/pull/15659 ___ Python tracker ___

[issue40302] Add pycore_byteswap.h internal header file with _Py_bswap32() function

2020-04-17 Thread STINNER Victor
STINNER Victor added the comment: FYI this issue was motivated by the implementation of random.Random().randbytes(): bpo-40286. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue40302] Add pycore_byteswap.h internal header file with _Py_bswap32() function

2020-04-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1a1bd2e23871619adc1405e1cdc7c1e61252fd2c by Victor Stinner in branch 'master': bpo-40302: Replace PY_INT64_T with int64_t (GH-19573) https://github.com/python/cpython/commit/1a1bd2e23871619adc1405e1cdc7c1e61252fd2c --

[issue40302] Add pycore_byteswap.h internal header file with _Py_bswap32() function

2020-04-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset d7c657d4b121164caa439253da5266b2e29a1bed by Victor Stinner in branch 'master': bpo-40302: UTF-32 encoder SWAB4() macro use a|b rather than a+b (GH-19572) https://github.com/python/cpython/commit/d7c657d4b121164caa439253da5266b2e29a1bed

[issue40302] Add pycore_byteswap.h internal header file with _Py_bswap32() function

2020-04-17 Thread STINNER Victor
Change by STINNER Victor : -- title: Add pycore_byteswap.h header file with _Py_bswap32() function -> Add pycore_byteswap.h internal header file with _Py_bswap32() function ___ Python tracker