Closed Bug 629085 Opened 13 years ago Closed 6 years ago

Convert all tamarin python scripts to be python 2 & 3 compatible.

Categories

(Tamarin Graveyard :: Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Q1 12 - Brannan

People

(Reporter: cpeyer, Assigned: brbaker)

Details

The acceptance tests run much faster on python 3.2 due to some changes to the python threading code (See Bug 629047).  In order to simplify life for everybody, we should have all the tamarin python files be py3 compatible (and still retain py 2.6+ backwards compatibility).

This work has been done for most of the test scripts (See Bugs 627832, 611312 and 627527).  The remaining work would be:

configure.py
build/*.py
core/*.py
shell/*.py
./MMgc/winmo-stacktraces.py
utils/nativegen.py
Trying to run core\builtin.py with Python 3.0, or 3.2.1 fails with

File "../utils/nativegen.py", line 1325
   print dir(name)
           ^
SyntaxError: invalid syntax  (pointer at the r of dir)
Flags: flashplayer-qrb?
Target Milestone: --- → Future
Assignee: nobody → brbaker
Status: NEW → ASSIGNED
Flags: flashplayer-qrb? → flashplayer-qrb+
Target Milestone: Future → Q1 12 - Brannan
changeset: 7318:c30bdea0d5bf
user:      Brent Baker <brbaker@adobe.com>
summary:   Bug 629085: convertAcceptanceToJunit.py script was using a deprecated in python 3.0  dict method

http://hg.mozilla.org/tamarin-redux/rev/c30bdea0d5bf
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.