Convert the JS tests suites to Python 3. (/js/src/tests/jstests.py )
Categories
(Core :: JavaScript Engine, enhancement, P2)
Tracking
()
People
(Reporter: hamzah18051, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 obsolete file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 1•5 years ago
|
||
Depends on D33365
Updated•5 years ago
|
https://docs.python.org/3/library/2to3.html could we just use this?
Updated•4 years ago
|
Reporter | ||
Comment 3•4 years ago
|
||
A lot of the changes for this bug were split into multiple other patches and merged there.
I don't exactly what else is remaining here.
(In reply to yozaam from comment #2)
https://docs.python.org/3/library/2to3.html could we just use this?
If you wanna give it a try go ahead, 2to3 is a great tool, along with that you can also take a look at six module as it's a "Python 2 and 3 compatibility library. It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on both Python versions."
https://pypi.org/project/six/
Reporter | ||
Comment 4•4 years ago
|
||
Also if you wanna work on the py2 to py3 migration task, here the tree that tracks all the remaining work https://bugzilla.mozilla.org/showdependencytree.cgi?id=1496527&hide_resolved=1
Updated•4 years ago
|
Comment hidden (spam) |
Comment hidden (spam) |
Comment 7•3 years ago
|
||
IIUC, /js/src/tests/jstests.py
is a reftest, and reftests run with python-3: true
.
Marking as fixed 👍
Comment hidden (spam) |
Description
•