[issue47116] Use _PyLong_FromUnsignedChar in bytearrayobject.c

2022-03-26 Thread Dennis Sweeney
Dennis Sweeney added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue47116] Use _PyLong_FromUnsignedChar in bytearrayobject.c

2022-03-26 Thread Dennis Sweeney
Dennis Sweeney added the comment: New changeset c23ddf5ec229b7302437a1cf32d366df5cc5b837 by Pieter Eendebak in branch 'main': bpo-47116: use _PyLong_FromUnsignedChar instead of PyLong_FromLong (GH-32110) https://github.com/python/cpython/commit/c23ddf5ec229b7302437a1cf32d366df5cc5b837 -

[issue47116] Use _PyLong_FromUnsignedChar in bytearrayobject.c

2022-03-25 Thread Pieter Eendebak
Change by Pieter Eendebak : -- keywords: +patch pull_requests: +30187 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32110 ___ Python tracker ___

[issue47116] Use _PyLong_FromUnsignedChar in bytearrayobject.c

2022-03-25 Thread Pieter Eendebak
New submission from Pieter Eendebak : In https://github.com/python/cpython/pull/31867 the method _PyLong_FromUnsignedChar was introduced for faster conversion of byteaarray elements. We can use the method in more places -- components: Interpreter Core messages: 415991 nosy: pieter.ee