Changes by Tiago Antao :
--
versions: +Python 3.6, Python 3.7
___
Python tracker
<http://bugs.python.org/issue28326>
___
___
Python-bugs-list mailing list
Unsub
Changes by Tiago Antao :
--
pull_requests: +1515
___
Python tracker
<http://bugs.python.org/issue28326>
___
___
Python-bugs-list mailing list
Unsubscribe:
Tiago Antao added the comment:
This is the first patch that I am submitting. More than willing to do any
changes deemed necessary...
--
___
Python tracker
<http://bugs.python.org/issue28
Tiago Antao added the comment:
I made a small patch for this. This is the first time I submit one, so please
be careful with this...
--
keywords: +patch
nosy: +tiagoantao
Added file: http://bugs.python.org/file44919/mp.patch
___
Python tracker
New submission from Tiago Antao :
Currently 2to3 has to be called twice in order to do a full code conversion:
one for the code and another for the doctests.
Would it be possible to do both things simultaneously (on passing a flag)?
It would be nice if distutils.command.build_py.build_py_2to3
Tiago Antao 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 able to
Tiago Antao 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
Tiago Antao 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_
New submission from Tiago Antao :
2to3 crashes with a apparently simple for.
An example is presented (the first line is actually enough)
>>> for clade in tree.find_clades(branch_length=True, order='level'):
>>> if (clade.branch_length <
Tiago Antao added the comment:
BTW, this happens in 2.6 also
--
versions: +Python 2.6
___
Python tracker
<http://bugs.python.org/issue9217>
___
___
Python-bug
Tiago Antao 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 manually after it
Changes by Tiago Antao :
--
type: -> crash
___
Python tracker
<http://bugs.python.org/issue9217>
___
___
Python-bugs-list mailing list
Unsubscri
New submission from Tiago Antao :
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", li
13 matches
Mail list logo