If the Num nodes also had a .str member with the unparsed string ("1",
"2.000", and "3.0j"), it would be possible to influence their
interpretation with an AST transform - for instance, turning them into
decimal.Decimal construction calls, or wrapping them in something that
automatically keeps track of significant figures (which would mean
that "2.000" is considered more precise than a mere "2.0" or "2.").
It shouldn't be too difficult to do, and it could simply be ignored in
most cases; any sort of change to the actual number could leave the
original string out of sync with it, which isn't a problem.
Thoughts?