> On Jul 12, 2019, at 1:07 PM, Keith Rollin <krol...@apple.com> wrote:
> 
>> On Jul 12, 2019, at 13:37, Tim Horton <timothy_hor...@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
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to