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
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 &quo