Message107211
| Author |
brett.cannon |
| Recipients |
belopolsky, brett.cannon, docs@python |
| Date |
2010年06月06日.19:15:18 |
| SpamBayes Score |
0.028130487 |
| Marked as misclassified |
No |
| Message-id |
<1275851720.56.0.383189869494.issue8913@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I don't find it odd at all that you use datetime-specific formats instead of integral formats to get numbers out of a datetime object; they are totally different things. And one of the reasons for __format__ support is to have DSLs such as the one for datetime objects.
As for pulling out individual objects, that just looks ugly, so I wouldn't advocate pulling out individual values and then formatting them individually in the string itself. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年06月06日 19:15:20 | brett.cannon | set | recipients:
+ brett.cannon, belopolsky, docs@python |
| 2010年06月06日 19:15:20 | brett.cannon | set | messageid: <1275851720.56.0.383189869494.issue8913@psf.upfronthosting.co.za> |
| 2010年06月06日 19:15:18 | brett.cannon | link | issue8913 messages |
| 2010年06月06日 19:15:18 | brett.cannon | create |
|