Message 54249 - Python tracker (original) (raw)

Logged In: YES user_id=31435

binascii makes sense because that's where the hexlify and unhexlify functions live, which are small conceptual steps away from what's needed here.

Methods on numbers make sense too, and only seem strange because so few are clearly visible now (although, e.g., there are lots of them already, like number.abs and number.add).

The struct module makes sense too, although it would be darned ugly to document a refusal to accept the new codes in "native" mode; and struct has a high learning curve; and struct obviously never intended to support types that aren't supplied directly by C compilers (the "Pascal string" code seems weird now, but not at the time).