This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author BTaskaya
Recipients BTaskaya, pablogsal, serhiy.storchaka
Date 2020-05-06.13:16:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
> I was also thinking about getting rid of "string" nodes and just use Constant for those. Having the strings raw make the AST inconsistent because nodes that are 'strings' do not have line numbers and other metadata, making tools that need the source to report stuff more complex than it should.

I'm +1 on that (especially for finding import aliases, as we discussed earlier), if necessary precautions happen to ensure minimum breakage (from what I understand, it is something that will break everyone's code. Maybe we can implement custom Constant.__str__? and other different things to ensure it breaks small).
History
Date User Action Args
2020-05-06 13:16:11BTaskayasetrecipients: + BTaskaya, serhiy.storchaka, pablogsal
2020-05-06 13:16:11BTaskayasetmessageid: <[email protected]>
2020-05-06 13:16:11BTaskayalinkissue40528 messages
2020-05-06 13:16:11BTaskayacreate