{"push_id":1069334913,"size":2,"distinct_size":2,"ref":"refs/heads/python3","head":"c0177b7f9d33822521f175326e23bbe57e1871e4","before":"c6eb56dc8ff4aa61d2397a8ec8f173d675da9a38","commits":[{"sha":"01faf2bc76c2278d71b3d61129e6da60327228e1","author":{"email":"cef439e78636cdab99cd2923826c5065a0743e5b@fwright.net","name":"Fred Wright"},"message":"Fixes gps.gps.gps iterator for Python 3.\n\nPython 3 renames the iterator next() method to __next__().  Without\nthe new name, attempting to use the object as an iterator doesn't\nwork.  This didn't surface until trying webgps.py.\n\nFor compatibility with both Python 2 and Python 3, both names need to\nbe provided.  This change renames the existing method to conformto\nPython 3 naming, and then adds a wrapper to provide the old name for\nPython 2.\n\nTESTED:\nRan webgps.py (with uncommitted fixes) with both Python 2 and Python\n3.","distinct":true,"url":"https://api.github.com/repos/fhgwright/gpsd/commits/01faf2bc76c2278d71b3d61129e6da60327228e1"},{"sha":"c0177b7f9d33822521f175326e23bbe57e1871e4","author":{"email":"cef439e78636cdab99cd2923826c5065a0743e5b@fwright.net","name":"Fred Wright"},"message":"Fixes contrib/webgps.py for Python 3.\n\nSince the import fallback hack doesn't work properly in Python 3, this\ngets rid of it and adds a symlink to make the 'gps' package directory\ndirectly available here (similar to what was done in devtools).  It\nthen makes a few minor fixes for Python 3.\n\nThe default Python 3 pickle protocol 3 doesn't work in Python 2, but\nprotocol 2 doesn't work correctly in this case either, so there\ndoesn't seem to be any way to make the tracks file\nbackward-compatible.  Thus, it just uses the default protocol and\npunts at load time if the load fails.\n\nThis change also fixes the reversed skyview, for consistency with\npretty much everything else.\n\nTESTED:\nRan with both Python 2 and Python 3.","distinct":true,"url":"https://api.github.com/repos/fhgwright/gpsd/commits/c0177b7f9d33822521f175326e23bbe57e1871e4"}]}