Message377579
The tough one is that no-one wants an ugly sys._getframe() call, but by avoiding it in the standard library, we force each library that needs this to have the ugly sys._getframe() call rather than it being an unpleasant implementation detail of get_type_hints that users of the function don't have to know about.
That said, I've only hit this so far when writing a unit test, but will update this issue if I see real-world cases of this. |
|
Date |
User |
Action |
Args |
2020-09-27 21:23:14 | cjw296 | set | recipients:
+ cjw296, gvanrossum, levkivskyi |
2020-09-27 21:23:14 | cjw296 | set | messageid: <1601241794.88.0.820353328979.issue41872@roundup.psfhosted.org> |
2020-09-27 21:23:14 | cjw296 | link | issue41872 messages |
2020-09-27 21:23:14 | cjw296 | create | |
|