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 chris.jerdonek
Recipients belopolsky, brett.cannon, chris.jerdonek, ezio.melotti, pitrou
Date 2012-09-15.22:45:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347749138.58.0.216123143052.issue15933@psf.upfronthosting.co.za>
In-reply-to
Content
if today == todayagain:
-                break
+                return  # test passed

Might it make more sense to do the passing time-delta check inside the loop (at the above location), and then raise an exception at the end if the loop exhausts?  I think this might be clearer (in addition to preventing unnecessary looping).
History
Date User Action Args
2012-09-15 22:45:38chris.jerdoneksetrecipients: + chris.jerdonek, brett.cannon, belopolsky, pitrou, ezio.melotti
2012-09-15 22:45:38chris.jerdoneksetmessageid: <1347749138.58.0.216123143052.issue15933@psf.upfronthosting.co.za>
2012-09-15 22:45:38chris.jerdoneklinkissue15933 messages
2012-09-15 22:45:37chris.jerdonekcreate