Closed
Bug 1447735
Opened 7 years ago
Closed 7 years ago
[mozterm] Add support for Python 3
Categories
(Testing :: Mozbase, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1428362
People
(Reporter: emorley, Unassigned)
References
Details
Unfortunately the mozlog Python 3 compatibility bug has regressed due to the new mozterm package:
../python/lib/python3.6/site-packages/mozlog/formatters/machformatter.py:10: in <module>
from mozterm import Terminal
../python/lib/python3.6/site-packages/mozterm/__init__.py:6: in <module>
from .terminal import Terminal, NullTerminal # noqa
../python/lib/python3.6/site-packages/mozterm/terminal.py:11: in <module>
class NullTerminal(object):
../python/lib/python3.6/site-packages/mozterm/terminal.py:24: in NullTerminal
class NullCallableString(unicode):
E NameError: name 'unicode' is not defined
It would be good to fix this and expand the Python 3 linter coverage to include mozterm too (and ideally have an opt-out rather than opt-in system for what's passing the linters under Python 3, so no more newly added packages get created as Python 3 incompatible).
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•