[issue4290] 2to3 fails with sympy

2008-11-09 Thread Ondrej Certik
New submission from Ondrej Certik <[EMAIL PROTECTED]>: Download my branch of sympy from here: http://github.com/certik/sympy/tree/division3 and run the 2to3 tool with python2.5: $ python2.5 ../2to3/2to3 sympy/ [...] Traceback (most recent call last): File "../2to3/2to3&q

[issue4292] 2to3 fails to convert "from something import (a, b, c)"

2008-11-09 Thread Ondrej Certik
New submission from Ondrej Certik <[EMAIL PROTECTED]>: While converting the SymPy repo: the 2to3 failed to convert stuff like: from something import (a, b, c, ) Attached find the patch that I had to do by hand -- I think 2to3 should be able to fix this as well. --

[issue4292] 2to3 fails to convert "from something import (a, b, c)"

2008-11-10 Thread Ondrej Certik
Ondrej Certik <[EMAIL PROTECTED]> added the comment: Author: STINNER Victor (haypo): You would like to replace "from mptypes import ..." by "from .mptypes import ...". Is it really a bug? Python is unable to guess if mptypes, functions or settings are "global

[issue4290] 2to3 fails with sympy

2008-11-10 Thread Ondrej Certik
Ondrej Certik <[EMAIL PROTECTED]> added the comment: Hi Victor, thanks for the comments. I copied them to the issue 4292 where they belong and replied there. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4292] 2to3 fails to convert "from something import (a, b, c)"

2008-11-10 Thread Ondrej Certik
Ondrej Certik <[EMAIL PROTECTED]> added the comment: > You would like to replace "from mptypes import ..." by "from .mptypes > import ...". Yes, exactly, see the patch where I did that. > Is it really a bug? Python is unable to guess if mptypes, > func

[issue4290] 2to3 fails with sympy

2008-11-09 Thread Ondrej Certik
Ondrej Certik <[EMAIL PROTECTED]> added the comment: Thanks, that was quick! You can delete the thirdparty/pyglet, it's not imported by default. Then the 2to3 passes. But I found another bug: issue 4292 ___ Python tracker <[EMAIL PRO

[issue4292] 2to3 fails to convert "from something import (a, b, c)"

2008-11-10 Thread Ondrej Certik
Ondrej Certik <[EMAIL PROTECTED]> added the comment: Benjamin, thanks for the fantastic work! I discovered more bugs, but this time I reported to the py3000 list, as I need more feedback on it. But it seems you'll get another tasty bug for the 2to3, among o

[issue4290] 2to3 fails with sympy

2008-11-10 Thread Ondrej Certik
Ondrej Certik <[EMAIL PROTECTED]> added the comment: I can confirm this is now fixed. Thanks very much! ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue15540] Python 3.3 and numpy

2012-08-02 Thread Ondrej Certik
Ondrej Certik added the comment: I wrote this initial patch for the issue last week: https://github.com/numpy/numpy/pull/366 with huge help from Stefan and others. As far as the unicode issue goes, Travis and I just talked about this and I think I now understand what is going on the