Re: [Python-Dev] Negative timedelta strings

2014-04-02 Thread M.-A. Lemburg
n 31.03.2014 21:09, Chris Barker wrote: On Fri, Mar 28, 2014 at 2:52 PM, Fred Drake f...@fdrake.net wrote: On Fri, Mar 28, 2014 at 5:19 PM, Greg Ewing greg.ew...@canterbury.ac.nz wrote: ISO 8601 doesn't seem to define a representation for negative durations, though, so it wouldn't solve the

Re: [Python-Dev] Negative timedelta strings

2014-04-02 Thread Skip Montanaro
On Wed, Apr 2, 2014 at 7:52 AM, M.-A. Lemburg m...@egenix.com wrote: print now() + RelativeDateTime(months=+1, day=1) 2014-05-01 14:49:05.83 I find this sort date arithmetic unintuitive, though I'm at a loss to come up with better logic than you have: d = Date(2014, 2, 28) d +

Re: [Python-Dev] Negative timedelta strings

2014-04-02 Thread Xavier Morel
On 2014-04-02, at 15:04 , Skip Montanaro s...@pobox.com wrote: On Wed, Apr 2, 2014 at 7:52 AM, M.-A. Lemburg m...@egenix.com wrote: print now() + RelativeDateTime(months=+1, day=1) 2014-05-01 14:49:05.83 I find this sort date arithmetic unintuitive, though I'm at a loss to come up with

Re: [Python-Dev] Negative timedelta strings

2014-04-02 Thread M.-A. Lemburg
On 02.04.2014 15:04, Skip Montanaro wrote: On Wed, Apr 2, 2014 at 7:52 AM, M.-A. Lemburg m...@egenix.com wrote: print now() + RelativeDateTime(months=+1, day=1) 2014-05-01 14:49:05.83 I find this sort date arithmetic unintuitive, though I'm at a loss to come up with better logic than you

Re: [Python-Dev] libpython added to ABI tracker

2014-04-02 Thread Andrey Ponomarenko
Nick Coghlan wrote: Regarding the warnings for this one - is there a way for the checker to warn if data structures are exposed directly, rather than as opaque types? It's fine if there isn't, it would just be cool if there was - one of the premises of the stable ABI is that it *doesn't* expose

Re: [Python-Dev] libpython added to ABI tracker

2014-04-02 Thread Martin v. Löwis
Am 01.04.14 13:45, schrieb Nick Coghlan: Interesting to see the UCS2 removal there for 3.3. That's a genuine removal from the public ABI as part of PEP 393. I guess the reason nobody complained is because most 3.2 Linux builds used the UCS4 ABI instead, and the stable ABI hadn't seen broad

[Python-Dev] Gmane not functioning.

2014-04-02 Thread Terry Reedy
Just to let those who read the list as a list (or via mail.python.org, as I just did as a backup) know, news.gmane.org appears to have stoppedreceiving new messages from mailing listsat about 0:30 this morning (apr 2). (I am judging this from the last recorded post on the super-busy linux