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 bru
Recipients barry, bru, eli.bendersky, ethan.furman, serhiy.storchaka
Date 2015-03-11.18:09:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426097359.18.0.00650001245838.issue23640@psf.upfronthosting.co.za>
In-reply-to
Content
I took the liberty of putting together a small patch which makes from_bytes() call & return type(value_found) if type != long (Serhiy's & my 2nd solution).

Ethan: in that case, type.from_bytes() would always return an int, and not resort to build-a-pseudo-int, right? That way not overriding from_bytes() would not result in strange behaviour.
History
Date User Action Args
2015-03-11 18:09:19brusetrecipients: + bru, barry, eli.bendersky, ethan.furman, serhiy.storchaka
2015-03-11 18:09:19brusetmessageid: <1426097359.18.0.00650001245838.issue23640@psf.upfronthosting.co.za>
2015-03-11 18:09:19brulinkissue23640 messages
2015-03-11 18:09:19brucreate