Movatterモバイル変換


[0]ホーム

URL:


homepage

Message212786

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Authorbelopolsky
RecipientsAmber.Yust, Andreas.Pelme, Lakin.Wecker, belopolsky, cvrebert, dstufft, eric.araujo, georg.brandl, gwrtheyrn, lemburg, ncoghlan, r.david.murray, shai, tim.peters, yselivanov
Date2014-03-06.01:42:45
SpamBayes Score-1.0
Marked as misclassifiedYes
Message-id<1394070166.61.0.158345972367.issue13936@psf.upfronthosting.co.za>
In-reply-to
Content
Nick wrote:> any deprecation warning should explain how to convert> a time object to "seconds since midnight".I would like to see such an explanation regardless of the outcome here.The best I can think of istimedelta(hours=t.hour, minutes=t.minute, seconds=t.second, microseconds=t.microsecond).total_seconds()which is only a marginal improvement over (t.hour*60 + t.minute)*60 + t.second + 1e-6*t.microsecondSee also#17267.
History
DateUserActionArgs
2014-03-06 01:42:46belopolskysetrecipients: +belopolsky,lemburg,tim.peters,georg.brandl,ncoghlan,eric.araujo,r.david.murray,cvrebert,gwrtheyrn,Lakin.Wecker,yselivanov,shai,dstufft,Andreas.Pelme,Amber.Yust
2014-03-06 01:42:46belopolskysetmessageid: <1394070166.61.0.158345972367.issue13936@psf.upfronthosting.co.za>
2014-03-06 01:42:46belopolskylinkissue13936 messages
2014-03-06 01:42:45belopolskycreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp