You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting @tyralla. I think this is related with #5636, PR #5746 implements a fix. Would you like to help us testing the PR I mention to see if that fixes this issue?
Description of the problem
Weird output in the internal console when trying to overwrite the special method
__repr__
for subclasses ofstr
.Minimal test case
For reproducing the problem, the following test class should be sufficient:
Writing...
Test()
...returns (as expected):
something
But when I write...
...the following error message is returned:
So far, I could reproduce this problem only when using the IPython console in Spyder.
Versions and main components
Dependencies
IPython >=4.0 : 6.1.0 (OK)
cython >=0.21 : 0.25.2 (OK)
jedi >=0.9.0 : 0.10.2 (OK)
nbconvert >=4.0 : 5.1.1 (OK)
numpy >=1.7 : 1.13.3 (OK)
pandas >=0.13.1 : 0.20.1 (OK)
pycodestyle >=2.3: 2.3.1 (OK)
pyflakes >=0.6.0 : 1.5.0 (OK)
pygments >=2.0 : 2.2.0 (OK)
pylint >=0.25 : 1.6.4 (OK)
qtconsole >=4.2.0: 4.3.1 (OK)
rope >=0.9.4 : 0.9.4-1 (OK)
sphinx >=0.6.6 : 1.5.1 (OK)
sympy >=0.7.3 : 1.0 (OK)
The text was updated successfully, but these errors were encountered: