quantifiedcode / python-anti-patterns

An open collection of Python anti-patterns and worst practices.
https://quantifiedcode.github.io/python-anti-patterns
Other
1.71k stars 249 forks source link

super best practices needs to address python3 #72

Closed tacaswell closed 8 years ago

tacaswell commented 9 years ago

http://docs.quantifiedcode.com/python-anti-patterns/correctness/bad_first_argument_given_to_super.html

This should address that in python3 you can use super() with no arguments and it will do the right thing.

vogelsgesang commented 9 years ago

Yes, you are completely right that we should mention the possibility to call super() without arguments in Python3. Are you already writing a pull request or should we fix it?

Just asking in order to avoid duplicated work :)

tacaswell commented 9 years ago

I am not working on PRs for any of these. I am happy to review and can take a shot at a PR if you want, but my to-do list is already longer than I can possibly complete so not sure when I will (I don't want to commit and fail to follow through).