Changes by Éric Araujo mer...@netwok.org:
--
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9217
___
Jeremy Thurgood fir...@gmail.com added the comment:
This seems to be fixed in 3.2 and the 2.7 maintenance branch, but here's a
(one-liner) patch for people who want to fix their local installations.
--
keywords: +patch
nosy: +jerith
Added file:
Changes by Peter p.j.a.c...@googlemail.com:
--
nosy: +maubp
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9217
___
___
Python-bugs-list mailing
Peter p.j.a.c...@googlemail.com added the comment:
Reverted accidental title change - had keyboard focus on the page not
the address bar I think. Sorry!
--
title: 2to3 doctests - 2to3 crashes with some doctests
___
Python tracker
Tiago Antao tiagoan...@gmail.com added the comment:
I've re-opened this bug because of the late examples that I've included that
still crash. I can open a new bug if you prefer with the late examples (just
tell me and I will open a new bug).
This is somewhat important for us: In order to be
Éric Araujo mer...@netwok.org added the comment:
Could it be because of the escaped triple quotes?
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9217
___
Tiago Antao tiagoan...@gmail.com added the comment:
A few more problematic examples (hope it helps)
my_mseq = MutableSeq(MKQHKAMIVALIVICITAVVAAL, \
IUPAC.protein)
Note the line continuation
rec.letter_annotations[secondary_structure] = \
(The same
Tiago Antao tiagoan...@gmail.com added the comment:
Another example
records = (record for record in \
SeqIO.parse(Roche/E3MFGYR02_random_10_reads.sff,sff) \
if record.seq[record.annotations[cli [...]
Note that ... does not apply here (it will fail on python2
New submission from Tiago Antao tiagoan...@gmail.com:
2to3 -d sometimes crashes.
The problem seems to be in refactor_doctest. The problematic line is:
if self.log.isEnabledFor(logging.DEBUG):
self.log does not exist. The error, as expected:
File /usr/lib/python3.1/lib2to3/refactor.py, line
Changes by Tiago Antao tiagoan...@gmail.com:
--
type: - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9217
___
___
Python-bugs-list mailing
Benjamin Peterson benja...@python.org added the comment:
Fixed in r82779. I'm curious as to what it's failing on.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Tiago Antao tiagoan...@gmail.com added the comment:
Benjamin,
Thanks for the fast answer.
I attach the problematic file.
This file is from Biopython. We are trying to have a Python 3 version of it.
We applied 2to3 (no -d) first (via distutils on setup.py build) and I was
applying 2to3 -d
Tiago Antao tiagoan...@gmail.com added the comment:
BTW, this happens in 2.6 also
--
versions: +Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9217
___
13 matches
Mail list logo