Message237896
| 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. |
|