You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently implemented my own version of nameof just for fun after a discussion on python-ideas. I don't know if you'd want to actually use it in your library, but I thought you'd find it interesting. One cool feature is that it only uses bytecode, not source code, so it even works in the standard Python shell!
The text was updated successfully, but these errors were encountered:
Apart from being working with standard Python shell, is there anything better than the current implementation? More stable, for example?
If so, would you like to do a PR (to make sure all the current tests pass)?
I recently implemented my own version of nameof just for fun after a discussion on python-ideas. I don't know if you'd want to actually use it in your library, but I thought you'd find it interesting. One cool feature is that it only uses bytecode, not source code, so it even works in the standard Python shell!
The text was updated successfully, but these errors were encountered: