Message106207
> I think this should be rejected. The OP's premise was that
> t.timetuple()[7] was unreadable, but in the modern python, the same
> can be written as t.timetuple().tm_yday.
Could I suggest such example be added to the documentation, though?
The datetime / time jungle is difficult to navigate through, and I think
for most people it is not obvious that the answer to their needs is to
look at one of the attributes of the timetuple() result... |
|
Date |
User |
Action |
Args |
2010-05-20 23:27:17 | pitrou | set | recipients:
+ pitrou, lemburg, mark.dickinson, belopolsky, mwtoews, jborgohain |
2010-05-20 23:27:16 | pitrou | link | issue1436346 messages |
2010-05-20 23:27:16 | pitrou | create | |
|