-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Cannot pretty print a function named gamma #13556
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I define a function named
'gamma'
, pretty printing interprets that object as the Gamma function and drops any but the first argument. This happens in both the notebook and the terminal, though interestingly the notebook capitalizes gamma, whereas the terminal keeps it lowercase. I can get around this by naming my functionr'\gamma'
, but that prevents pickling the object. Here's the MWE:And the results:
This is related to #9253, but I agree that name collisions are inevitable — we just need to be able to overcome them. And I suppose this may be related to #9064. However, I don't find similar behavior with
beta
orphi
.The text was updated successfully, but these errors were encountered: