We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"python.jediEnabled"
python.languageServer
Show the full dictionary listing in the debugger "Variables" window.
The listing only shows the first occurance of duplicate __repr__ values for dictionary key items.
__repr__
class T: def __init__(self, name, value): self.name = name self.value = value def __repr__(self): return self.name td = {T("foo", 24): "bar", T("gad", 42): "zooks", T("foo", 12): "bur"} print("Keys: " + str((td.keys()))) print("Values: " + str((td.values()))) # Breakpoint here
__repr__()
Screenshot using the code example:
The text was updated successfully, but these errors were encountered:
It might be a VSCode limitation, or else we're shoving them into a dict somewhere and collapsing the keys in the process. Need to investigate.
Sorry, something went wrong.
I'll investigate this.
This really seems like a limitation VSCode: microsoft/vscode#107506
It seems we need some code to work around that (and I noted that the evaluateName is also wrong in this case).
evaluateName
Add object id if variable name would be duplicate. Fixes microsoft#148
6bbbbd6
573845a
cbcfe22
No branches or pull requests
Environment data
"python.jediEnabled"
set to; more info How to update the language server to the latest stable version vscode-python#3977): [default]python.languageServer
setting: [default](Fresh install of the insider build and default Python extension)
Expected behaviour
Show the full dictionary listing in the debugger "Variables" window.
Actual behaviour
The listing only shows the first occurance of duplicate
__repr__
values for dictionary key items.Steps to reproduce:
__repr__()
).Screenshot using the code example:
The text was updated successfully, but these errors were encountered: