For some reason next() in prufer.py gets renamed to __next__; the same
thing doesn't happen in graycode.py, however. There are 3 places in
sympy where this happens after running 2to3:
C:\Users\leslie\sympy\py3k-sympy\sympy\combinatorics\prufer.py (1
hits)
Line 277: def __next__(self):
C:\Users\leslie\sympy\py3k-sympy\sympy\physics\secondquant.py (1
hits)
Line 2436: def __next__(self):
C:\Users\leslie\sympy\py3k-sympy\sympy\utilities\iterables.py (1
hits)
Line 214: def __next__(self):
Apparently those lines aren't being tested or else they would have
failed in py3k like the prufer code is failing(?).
Why are these occurances being renamed? (I read in the 2to3 docs that
the next fixer is responsible for this, but I don't know why it leaves
graycode's next alone but changes these other 3 occurances.)
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy?hl=en.