defined_names doesn't show all definitions, repr fails for `self` definitions #1411
Comments
|
Why is this an issue Also for the other issues you found, please describe them clearer and post a traceback if there are exceptions. It's easier to fix them this way. Thanks! |
|
Sorry for the late reply.
You can reproduce it with the snippet above if you uncomment the last line. |
|
I seem to have fixed the traceback. The other issue still exists. Thanks again for the reproduction steps. That really helps a ton. I just tried to reproduce 3 other issues that I couldn't, which is a bit frustrating. |
|
I wrote a test and then realized that this is actually about a
|
|
@mpanarin Does it makes sense for you if other side effects are also listed? IMO that's the only thing that makes sense. Say someone your code writes |
This does make sens, yes. Is there any possibility to easily narrow it down on the client side after? |
|
For now there's probably nothing like this. If anything |
|
Decided that it might make sense to make this possible in the future, but it's really a new type of definition or as I said a side effect and should be listed as such. Therefore a new feature, not a bug. |
|
I added Will be part of the 0.17.0 release. |
easy to reproduce with this snippet. Change to your filepath obviously:
The text was updated successfully, but these errors were encountered: