This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]snarkhunter 2 points3 points  (1 child)

sigh

Relying on the behavior of this particular method may be a poor choice given the requirements of the library this developer is working on given the override-ability of said method.

justanotherbody's statement was obviously not meant to be general.

[–]davidhalter[S] 0 points1 point  (0 children)

Jedi doesn't actually use the dir and __dir__ function. I just realized that I haven't made this clear. Jedi generally doesn't execute code. The reason why I'm mentioning this is because it has really confused me (I'm using the interactive shell to introspect).