[issue12611] 2to3 crashes when converting doctest using reduce()

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker

[issue12611] 2to3 crashes when converting doctest using reduce()

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: The test in issue12611_test.patch is still failing. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker

[issue12611] 2to3 crashes when converting doctest using reduce()

2019-08-13 Thread Aldwin Pollefeyt
Change by Aldwin Pollefeyt : -- nosy: +aldwinaldwin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12611] 2to3 crashes when converting doctest using reduce()

2019-08-13 Thread Aldwin Pollefeyt
Change by Aldwin Pollefeyt : -- pull_requests: +14970 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15249 ___ Python tracker ___

[issue12611] 2to3 crashes when converting doctest using reduce()

2011-08-14 Thread Catalin Iacob
Catalin Iacob iacobcata...@gmail.com added the comment: I looked at this and understood why it's happening. I don't know exactly how to fix it though, so here's what I found out. When a doctest appears in a docstring at line n in a file, RefactorTool.parse_block will return a tree

[issue12611] 2to3 crashes when converting doctest using reduce()

2011-08-06 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Attached a patch that adds a test case reproducing the issue. Hopely someone with more experience with lib2to3 can do the actual fixing... -- keywords: +patch type: - behavior Added file:

[issue12611] 2to3 crashes when converting doctest using reduce()

2011-08-02 Thread Vlada Peric
Vlada Peric vlada.pe...@gmail.com added the comment: Confirmed with the file Aaron linked to. I'm using 2to3-3.2 -w -n -d sympy/ntheory/factor_.py. This is what Python says about itself: Python 3.2 (r32:88445, Jun 8 2011, 16:34:06) [GCC 4.5.1 20101208 [gcc-4_5-branch revision 167585]] on

[issue12611] 2to3 crashes when converting doctest using reduce()

2011-07-29 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Still cannot reproduce with the linked file. Setting as pending until we hear the details from Vladimir. -- status: open - pending ___ Python tracker rep...@bugs.python.org

[issue12611] 2to3 crashes when converting doctest using reduce()

2011-07-28 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: I cannot reproduce the crash on neither 2.7 nor 3.2. Can you provide more details; attach the exact python source file that crashes 2to3 and give the complete crashing 2to3 command that you're running. -- nosy: +petri.lehtinen status:

[issue12611] 2to3 crashes when converting doctest using reduce()

2011-07-28 Thread Aaron Meurer
Aaron Meurer asmeu...@gmail.com added the comment: Vladimir will need to confirm how to reproduce this exactly, but here is corresponding SymPy issue: http://code.google.com/p/sympy/issues/detail?id=2605. The problem is with the sympy/ntheory/factor_.py file at

[issue12611] 2to3 crashes when converting doctest using reduce()

2011-07-25 Thread Aaron Meurer
Changes by Aaron Meurer asmeu...@gmail.com: -- nosy: +Aaron.Meurer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12611 ___ ___ Python-bugs-list

[issue12611] 2to3 crashes when converting doctest using reduce()

2011-07-22 Thread Vlada Peric
New submission from Vlada Peric vlada.pe...@gmail.com: 2to3 crashes when run on a doctest which uses reduce(). This happens with both 2.7 and 3.2's 2to3. I have the following code in a compatibility file, but even using that it fails with the same error: try: from functools import reduce

[issue12611] 2to3 crashes when converting doctest using reduce()

2011-07-22 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +benjamin.peterson, eric.araujo stage: - needs patch versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12611 ___