This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Oren Milman, mark.dickinson, serhiy.storchaka, vstinner
Date 2017-03-17.09:36:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thank you Oren, but your code doesn't work when PY_SSIZE_T_MAX < b < PY_SSIZE_T_MAX * PyLong_SHIFT and a > 2 ** b. When you drop wordshift and left only loshift_d you should drop lower wordshift digits in a.

The code for left shift would be even more complex.
Date User Action Args
2017-03-17 09:36:10serhiy.storchakasetrecipients: + serhiy.storchaka, mark.dickinson, vstinner, Oren Milman
2017-03-17 09:36:10serhiy.storchakasetmessageid: <>
2017-03-17 09:36:10serhiy.storchakalinkissue29816 messages
2017-03-17 09:36:10serhiy.storchakacreate