Message 289697 - Python tracker
i played a little with a patch earlier today, but stopped because I am short on time. anyway, just in case my code is not totally rubbish, I attach my patch draft, which should avoid OverflowError also for big positive ints. (of course, I don't suggest to use my code instead of PR 680. I just put it here in case it might be useful for someone.) (on my Windows 10, it passed some manual tests by me, and the test module (except for test_venv, which fails also without the patch))