Message228204
While everybody is throwing ideas around: what about the opposite?
If extracting bit ranges from bitfields is common enough to warrant this addition, updating bitfields with a bit range is probably just as common.
This'd need something like
i.with_bits(value, pos, width=1)
No preference if it should raise an exception if value is wider than "width". |
|
Date |
User |
Action |
Args |
2014-10-02 10:31:39 | georg.brandl | set | recipients:
+ georg.brandl, tim.peters, rhettinger, mark.dickinson, pitrou, vstinner, meador.inge, martin.panter, serhiy.storchaka, hct, anon, josh.r |
2014-10-02 10:31:39 | georg.brandl | set | messageid: <1412245899.3.0.584082611098.issue19915@psf.upfronthosting.co.za> |
2014-10-02 10:31:39 | georg.brandl | link | issue19915 messages |
2014-10-02 10:31:39 | georg.brandl | create | |
|