This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xxm
Recipients xxm
Date 2019-08-03.14:23:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1564842198.64.0.915142421848.issue37753@roundup.psfhosted.org>
In-reply-to
Content
After conversion of 2to3 , run simple-example.py and the following error will happen.
Traceback (most recent call last):
  File "/home/xxm/Desktop/instrument/datasetpy3/nflgame/simple_example.py", line 15, in <module>
    plays = nflgame.combine_plays(games)
  File "/home/xxm/Desktop/instrument/datasetpy3/nflgame/nflgame/__init__.py", line 396, in combine_plays
    chain = itertools.chain(*[g.drives.plays() for g in games])
  File "/home/xxm/Desktop/instrument/datasetpy3/nflgame/nflgame/__init__.py", line 396, in <listcomp>
    chain = itertools.chain(*[g.drives.plays() for g in games])
  File "/home/xxm/Desktop/instrument/datasetpy3/nflgame/nflgame/game.py", line 407, in __getattr__
    self.__drives = _json_drives(self, self.home, self.data['drives'])
  File "/home/xxm/Desktop/instrument/datasetpy3/nflgame/nflgame/game.py", line 675, in _json_drives
    d = Drive(game, i, home_team, data[str(drive_num)])
  File "/home/xxm/Desktop/instrument/datasetpy3/nflgame/nflgame/game.py", line 516, in __init__
    if self.time_end <= self.time_start \
TypeError: '<=' not supported between instances of 'GameClock' and 'GameClock'
History
Date User Action Args
2019-08-03 14:23:18xxmsetrecipients: + xxm
2019-08-03 14:23:18xxmsetmessageid: <1564842198.64.0.915142421848.issue37753@roundup.psfhosted.org>
2019-08-03 14:23:18xxmlinkissue37753 messages
2019-08-03 14:23:18xxmcreate