> On Thu, Mar 27, 2014 at 9:22 PM, Johannes Bauer <dfnsonfsdu...@gmx.de> wrote: > > Besides, there's an infinite amount of (braindead) timedelta string > > representations. For your -30 hours, it is perfectly legal to say > > > > 123 days, -2982 hours > > > > Yet Python doesn't (but chooses an equally braindead representation).
In article <mailman.8613.1395917059.18130.python-l...@python.org>, Chris Angelico <ros...@gmail.com> wrote: > It's not "equally braindead", it follows a simple and logical rule: > Only the day portion is negative. Simple and logical, yes. But also entirely braindead. > That might not be perfectly suited to all situations Give ma a real-life situation where you would want such behavior. > What you propose is completely arbitrary, and yes > it WOULD be braindead to have str() return that Chris, I believe you need to have your sarcasm detection circuitry recalibrated :-) -- https://mail.python.org/mailman/listinfo/python-list