Message370079
> It,sounds like you are trying to get the effect of putting 'from __future__ import dataclasses' at the top of dataclasses'.py, right?
Yes, since compile will automatically inherit the flags of the current frame to the compiled code I'm basically inserting a 'future annotations' import at the top of the file.
> Are you saying that without this, the output of the test script is correct?
Yes. |
|
Date |
User |
Action |
Args |
2020-05-27 13:45:29 | BTaskaya | set | recipients:
+ BTaskaya, gvanrossum, vstinner, eric.smith, lukasz.langa, yselivanov |
2020-05-27 13:45:29 | BTaskaya | set | messageid: <1590587129.29.0.615402941634.issue40794@roundup.psfhosted.org> |
2020-05-27 13:45:29 | BTaskaya | link | issue40794 messages |
2020-05-27 13:45:29 | BTaskaya | create | |
|