Message205449
I like the i.bits_at(pos, width=1) suggestion. Unless slicing is chosen instead this seems the most future-proof idea.
I think slicing semantically "seems wrong" but it might be more elegant. It might also make catching errors harder (in the case where an int is sent to a function that does slicing and now won't fail with a TypeError). |
|
Date |
User |
Action |
Args |
2013-12-07 11:19:29 | anon | set | recipients:
+ anon, tim.peters, rhettinger, mark.dickinson, serhiy.storchaka, hct |
2013-12-07 11:19:29 | anon | set | messageid: <1386415169.35.0.798178286397.issue19915@psf.upfronthosting.co.za> |
2013-12-07 11:19:29 | anon | link | issue19915 messages |
2013-12-07 11:19:29 | anon | create | |
|