[issue25782] CPython hangs on error __context__ set to the error itself

2017-04-18 Thread larsonreever
larsonreever added the comment: My patch works for your example too. Since it checks for loops in __context__ setter, you shouldn't be able to create complicated loops. However, since PyException_SetContext and PyException_SetCause are public APIs, and their return type is 'void', I can't

[issue15873] datetime: add ability to parse RFC 3339 dates and times

2017-04-17 Thread larsonreever
larsonreever added the comment: Otherwise, py8601 (https://bitbucket.org/micktwomey/pyiso8601/) looks pretty popular and well maintained (various committers, started in 2012, last commit in 2016). I don't think that we should add the iso8601 module to the stdlib, but merge iso8601 "fea