Message206263
I agree with Mark and Stafan. Hex/oct/bin are only defined for integers. __int__ is ambiguous -- it has the same problem as (int) in C in that it applies to floats and then loses the fraction.
I think the problem with Ethan's ternary logic is that it tries to act as an index and yet doesn't want to be an integer -- that doesn't make a lot of logical sense. (You should use a dict to map from true/false/unknown, not a list of size three.) |
|
Date |
User |
Action |
Args |
2013-12-15 22:50:45 | gvanrossum | set | recipients:
+ gvanrossum, rhettinger, mark.dickinson, pitrou, skrah, ethan.furman, serhiy.storchaka |
2013-12-15 22:50:45 | gvanrossum | set | messageid: <1387147845.36.0.725933180477.issue19988@psf.upfronthosting.co.za> |
2013-12-15 22:50:45 | gvanrossum | link | issue19988 messages |
2013-12-15 22:50:45 | gvanrossum | create | |
|