Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find a way to keep the "original" symbol before the interop munging #360

Closed
olasd opened this issue Dec 5, 2013 · 1 comment · Fixed by #1517
Closed

Find a way to keep the "original" symbol before the interop munging #360

olasd opened this issue Dec 5, 2013 · 1 comment · Fixed by #1517

Comments

@olasd
Copy link
Member

olasd commented Dec 5, 2013

=> 'foo?
u'is_foo'

I think it'd be worthwhile to keep the original symbol, as it could be useful in pure hy stuff (typically printing quoted Hy expressions).

One way to do that would be to move all the munging to HySymbol's __init__, and keep the original as an attribute.

@algernon
Copy link
Member

This would be great indeed. I've been debugging some Hy code in pudb recently, and when I use an excessive amount of unicode chars in my symbol names, the munging becomes really annoying. While having this feature will not immediately make pudb more useful, it would make it possible to enhance it to know about the Hy attributes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants