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 georg.brandl
Recipients anon, georg.brandl, hct, josh.r, mark.dickinson, martin.panter, meador.inge, pitrou, rhettinger, serhiy.storchaka, tim.peters, vstinner
Date 2014-10-02.10:31:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:39georg.brandlsetrecipients: + georg.brandl, tim.peters, rhettinger, mark.dickinson, pitrou, vstinner, meador.inge, martin.panter, serhiy.storchaka, hct, anon, josh.r
2014-10-02 10:31:39georg.brandlsetmessageid: <>
2014-10-02 10:31:39georg.brandllinkissue19915 messages
2014-10-02 10:31:39georg.brandlcreate