stcorp / coda

The Common Data Access toolset
http://stcorp.github.io/coda/doc/html/index.html
BSD 3-Clause "New" or "Revised" License
37 stars 17 forks source link

Recursion error in coda.CodacError.__repr__ #96

Closed svniemeijer closed 1 year ago

svniemeijer commented 1 year ago

Example:

>>> import coda
>>> a = coda.CodacError()
>>> print(a)
success (no error)
>>> a
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RecursionError: maximum recursion depth exceeded while getting the repr of an object
srepmub commented 1 year ago

fixed. I cannot quickly find the exact reason, but it's easy to work around, resulting in more explicit behaviour, so that's what I did :P

svniemeijer commented 1 year ago

Ok with latest commits. Issue can be closed