[issue32913] Improve regular expression HOWTO

2018-02-22 Thread Joshua Li
Change by Joshua Li <joshua.r.li...@gmail.com>: -- keywords: +patch pull_requests: +5597 stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue32913] Improve regular expression HOWTO

2018-02-22 Thread Joshua Li
New submission from Joshua Li <joshua.r.li...@gmail.com>: "Python HOWTOs are documents that cover a single, specific topic, and attempt to cover it fairly completely." It would be quite helpful if the section "non-capturing-and-named-groups" in the regex HOWTO co

[issue31167] timedelta produced by datetime.__sub__ does not take Daylight Savings Time into account

2017-08-09 Thread Joshua Li
New submission from Joshua Li: See my SO answer and the corresponding question for detail: https://stackoverflow.com/a/45602760/5348393 Essentially, given two datetime.datetime instances t1 and t2, the following two syntactically different lines of code should be logically equivalent