gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] [PATCH 3/4] Fixes gps.gps.gps iterator for Python 3.


From: Eric S. Raymond
Subject: Re: [gpsd-dev] [PATCH 3/4] Fixes gps.gps.gps iterator for Python 3.
Date: Sat, 16 Apr 2016 03:57:03 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

Fred Wright <address@hidden>:
> Python 3 renames the iterator next() method to __next__().  Without
> the new name, attempting to use the object as an iterator doesn't
> work.  This didn't surface until trying webgps.py.

Sounds like this should be acced to Practical Python Porting.  Does
2to3 do the method renaming?
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]