[issue30516] Documentation for datetime substract operation incorrect?

2018-07-04 Thread Alexander Belopolsky
Change by Alexander Belopolsky : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue30516] Documentation for datetime substract operation incorrect?

2018-07-04 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: New changeset a8bb18bbb9c286cfac5a0b8c8679c440e5c49305 by Alexander Belopolsky (Miss Islington (bot)) in branch '3.7': bpo-30516: Fix documentation issue with -timedelta in datetime (GH-7348) (GH-8093) https://github.com/python/cpython/commit/a8bb18bbb

[issue30516] Documentation for datetime substract operation incorrect?

2018-07-04 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: New changeset 55f39bdabc91b387c18451c78ee077e6d05d6cfe by Alexander Belopolsky (Miss Islington (bot)) in branch '3.6': bpo-30516: Fix documentation issue with -timedelta in datetime (GH-7348) (GH-8092) https://github.com/python/cpython/commit/55f39bdab

[issue30516] Documentation for datetime substract operation incorrect?

2018-07-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +7694 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30516] Documentation for datetime substract operation incorrect?

2018-07-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +7693 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30516] Documentation for datetime substract operation incorrect?

2018-07-04 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: New changeset 5b6e49a1393b3e2313471696e3568e26296137b4 by Alexander Belopolsky (Farhaan Bukhsh) in branch 'master': bpo-30516: Fix documentation issue with -timedelta in datetime (GH-7348) https://github.com/python/cpython/commit/5b6e49a1393b3e231347169

[issue30516] Documentation for datetime substract operation incorrect?

2018-06-03 Thread Farhaan Bukhsh
Change by Farhaan Bukhsh : -- keywords: +patch pull_requests: +6974 stage: needs patch -> patch review ___ Python tracker ___ ___ Py

[issue30516] Documentation for datetime substract operation incorrect?

2018-02-02 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +easy type: -> enhancement versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list

[issue30516] Documentation for datetime substract operation incorrect?

2017-07-24 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I agree. The documentation can be improved here. The note about x - y not being quite the same as x + (-y) belongs to the timedelta - timedelta operation. It should be removed from both date - timedelta and datetime-timedelta footnotes. -- ass

[issue30516] Documentation for datetime substract operation incorrect?

2017-07-24 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue30516] Documentation for datetime substract operation incorrect?

2017-05-30 Thread Martin Panter
Martin Panter added the comment: The C "_datetime" implementation seems to handle this as documented. But either way, the "timedelta" range is greater than the "datetime" range, so it seems to be just a difference in OverflowError messages, not a big practical problem: Python "datetime" implem

[issue30516] Documentation for datetime substract operation incorrect?

2017-05-30 Thread René Hernández Remedios
New submission from René Hernández Remedios: In the documentation for the supported arithmetic operations for a datetime object, there is the following note, among other: datetime2 = datetime1 - timedelta Comment: Computes the datetime2 such that datetime2 + timedelta == datetime1. As for add