Message170538
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). |
|
Date |
User |
Action |
Args |
2012-09-15 22:45:38 | chris.jerdonek | set | recipients:
+ chris.jerdonek, brett.cannon, belopolsky, pitrou, ezio.melotti |
2012-09-15 22:45:38 | chris.jerdonek | set | messageid: <1347749138.58.0.216123143052.issue15933@psf.upfronthosting.co.za> |
2012-09-15 22:45:38 | chris.jerdonek | link | issue15933 messages |
2012-09-15 22:45:37 | chris.jerdonek | create | |
|