Message398093
> it doesn't do a normal import of the `__future__.py` module, it is actually a compiler directive.
It’s both! The compiler has special handling for this line (pseudo-module), and the interpreter does a regular import that gets the regular python module which can be used for introspection (the third purpose noted in the module doc). |
|
Date |
User |
Action |
Args |
2021-07-23 20:08:21 | eric.araujo | set | recipients:
+ eric.araujo, steven.daprano, docs@python, StevenHsuYL |
2021-07-23 20:08:21 | eric.araujo | set | messageid: <1627070901.27.0.220963824745.issue44693@roundup.psfhosted.org> |
2021-07-23 20:08:21 | eric.araujo | link | issue44693 messages |
2021-07-23 20:08:21 | eric.araujo | create | |
|