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
Create an instance of this new class and try to print it
What is the expected output? What do you see instead?
Return of the newly defined repr should be printed instead
Please provide any additional information below
I was using Anaconda3.6
File "D:\Coding\lib\site-packages\qtconsole\base_frontend_mixin.py", line 163, in _dispatch
handler(msg)
File "D:\Coding\lib\site-packages\spyder\widgets\ipythonconsole\namespacebrowser.py", line 220, in _handle_execute_reply
self.handle_exec_method(msg)
File "D:\Coding\lib\site-packages\spyder\widgets\ipythonconsole\shell.py", line 354, in handle_exec_method
view = ast.literal_eval(literal)
File "D:\Coding\lib\ast.py", line 48, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "D:\Coding\lib\ast.py", line 35, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "", line 1
{'a': {'type': 'tp', 'size': 1, 'color': '#800000', 'view': tp:2016}}
^
SyntaxError: invalid syntax
Description
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Return of the newly defined repr should be printed instead
Please provide any additional information below
I was using Anaconda3.6
File "D:\Coding\lib\site-packages\qtconsole\base_frontend_mixin.py", line 163, in _dispatch
handler(msg)
File "D:\Coding\lib\site-packages\spyder\widgets\ipythonconsole\namespacebrowser.py", line 220, in _handle_execute_reply
self.handle_exec_method(msg)
File "D:\Coding\lib\site-packages\spyder\widgets\ipythonconsole\shell.py", line 354, in handle_exec_method
view = ast.literal_eval(literal)
File "D:\Coding\lib\ast.py", line 48, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "D:\Coding\lib\ast.py", line 35, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "", line 1
{'a': {'type': 'tp', 'size': 1, 'color': '#800000', 'view': tp:2016}}
^
SyntaxError: invalid syntax
Version and main components
Dependencies
The text was updated successfully, but these errors were encountered: