sloria / konch

Configures your Python shell.
https://konch.readthedocs.io/
MIT License
406 stars 18 forks source link

Address blank __name__ issue #107

Closed brl0 closed 5 years ago

brl0 commented 5 years ago

This PR address #105.

sloria commented 5 years ago

I really don't think #105 and #99 are related, so there's no reason to have them in the same PR.

Also, as I pointed out in your previous PR, the hash of an object will not be a valid Python identifier name.

I'm thinking it might be best to just return a useful error message or warning when an object's name can't be identified.