Message262380
FWIW I already invented this :) as written in Issue 22247. Although I think I only used it once or twice in my own personal librarie(s). So it’s a nice sign that we came up with the same @public name and usage.
I’m not a fan of hacks depending on the calling frame, and I prefer APIs that “only do one thing”. So I am okay with accepting an object and work off its __name__ and __module__, but not okay with also accepting a string and guessing what module it was defined in. |
|
Date |
User |
Action |
Args |
2016-03-24 22:31:02 | martin.panter | set | recipients:
+ martin.panter, barry, ethan.furman |
2016-03-24 22:31:02 | martin.panter | set | messageid: <1458858662.74.0.965745902297.issue26632@psf.upfronthosting.co.za> |
2016-03-24 22:31:02 | martin.panter | link | issue26632 messages |
2016-03-24 22:31:02 | martin.panter | create | |
|