Message368247
> 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). |
|
| Date |
User |
Action |
Args |
| 2020-05-06 13:16:11 | BTaskaya | set | recipients:
+ BTaskaya, serhiy.storchaka, pablogsal |
| 2020-05-06 13:16:11 | BTaskaya | set | messageid: <[email protected]> |
| 2020-05-06 13:16:11 | BTaskaya | link | issue40528 messages |
| 2020-05-06 13:16:11 | BTaskaya | create | |
|