intellimath / recordclass

Mutable variant of namedtuple -- recordclass, which support assignments, compact dataclasses and other memory saving variants.
Other
14 stars 3 forks source link

Make the code ready for pypgrade, drop python<=3.7 support and other minor cleanups #9

Open kloczek opened 1 month ago

kloczek commented 1 month ago

Drop use custom ifing acivating exact code on exact python versions and make recordclass code ready for pypgrade.

kloczek commented 1 month ago

I'm not able to test all those changes (because #8) however I'm almost sure that after those changes everything should be still OK.

intellimath commented 1 month ago

Dropping 3.7 is an incompatible change. I think that this pull request may be applied in 0.23?

kloczek commented 1 month ago

OK .. I understand. Nevertheless you now what cen be done. Crucial is first patch which prepares all code to be filterable by pyupgrade.