scott-griffiths / bitstring

A Python module to help you manage your bits
https://bitstring.readthedocs.io/en/stable/index.html
MIT License
401 stars 67 forks source link

Change string representation of dtypes to short version when available. #324

Closed scott-griffiths closed 1 month ago

scott-griffiths commented 3 months ago

For __str__ and __repr__ I now prefer the shorter dtype names, and I'd also like them to be used in the bitformat project.

It's possible that some code might depend on the string representation of the data type, but frankly it shouldn't (unless it's my own test code!) so I don't consider this a backwardly incompatible change.

scott-griffiths commented 1 month ago

No longer needed as bitformat doesn't have bitstring as a dependency any more.