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

fix of #1023 with changes from #1028 #1051

Merged

Conversation

jmfrank63
Copy link
Contributor

One year no changes, then two PR just 20 minutes apart ;-) I've seen #1028 was just a little faster. I put this one in, nevertheless, as it contains the fix for the argument reverse of #952 which also seems to be broken.

@jmfrank63
Copy link
Contributor Author

I have tested importing symbols with sympy 1.9 and octave 5.2.0.

@@ -82,7 +82,8 @@
'import collections'
'from re import split'
'# patch pretty printer, issue #952'
'_mypp = pretty.__globals__["PrettyPrinter"]'
'from sympy.printing.pretty.pretty import PrettyPrinter'
'_mypp = PrettyPrinter'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome I was just looking at this. For older sympy maybe we need to keep the old form? I haven't figured out the earlier sympy where this works....

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work on sympy 1.6. I think I will just do a try: except: and fall back on the old way, until we have our CI up and running again

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

Successfully merging this pull request may close these issues.

2 participants