Re: [webkit-dev] Moving to Python 3
12 Jul
2019
12 Jul
'19
8:09 p.m.
On Jul 12, 2019, at 1:07 PM, Keith Rollin <krollin@apple.com> wrote:
On Jul 12, 2019, at 13:37, Tim Horton <timothy_horton@apple.com> wrote:
See "Migrating to the common subset of Python 2 and 3” — you define different iteritems() helpers in the two cases. Seems pretty reasonable to me.
I did something like this in webkit-triage. Search for “viewitems” for the compatibility function I used, as well as for “PY3” to see some of the other thunks I put into place.
— Keith
Actually, hadn’t seen those tricks yet, thanks Tim and Keith for calling them out! Those would allow us to keep scripts both Python 2.7 and Python 3 compatible for longer. Jonathan
2312
Age (days ago)
2312
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jonathan Bedard