3 ms·
'args' being one of the arguments rings alarm bells beyond anything written in the article. Python libraries make it often unclear which arguments are possible
by throwaway13337 6y ago
'args' being one of the arguments rings alarm bells beyond anything written in the article.
Python libraries make it often unclear which arguments are possible. You have to hope it's in the docs or go digging around in the code.
It's extremely common and a horrible part of the python community.
Why is this standard?
- pbw 6y agoI totally agree, but in this case the args precisely are key/value pairs that appear the in the chrome://tracing GUI under the heading “Args”! So it actually works pretty nicely. But over use and misuse of args and kwargs is a huge problem in Python I agree.