intelxed / xed

The X86 Encoder Decoder (XED), is a software library for encoding and decoding X86 (IA32 and Intel64) instructions
https://intelxed.github.io/
Apache License 2.0
1.38k stars 146 forks source link

Fixup genutil.py #307

Closed Serial-ATA closed 6 months ago

Serial-ATA commented 8 months ago

This is part of https://github.com/intelxed/xed/pull/306#issuecomment-1804613030.

There are no functionality changes, these are purely stylistic and QOL changes.

I started with genutil.py, since it's used everywhere.

This PR:

See the commit messages for explanations of the changes made.

marjevan commented 7 months ago

Thanks for the great work. I added a few more changes like Python 3.8 support (list[] -> List[]).

The changes will be available with the next XED external release.

Serial-ATA commented 7 months ago

The changes will be available with the next XED external release.

Thanks. Is there a planned release date? I'd like to have the current state of genutil.py before continuing to add types to other files.

marjevan commented 7 months ago

Thanks. Is there a planned release date? I'd like to have the current state of genutil.py before continuing to add types to other files.

Early December