30 Jul
2018
30 Jul
'18
3:28 p.m.
On 30 July 2018 at 22:12, Jeroen Demeyer
I think it has been argued before that it's a feature that self is counted. So I consider the error message for list().append a bug. This is one of the many oddities I noticed while working on improving built-in functions.
Would you agree to change the error message for built-in methods to be closer to Python methods?
I would, and I think it would make sense for the PEP to cite improving consistency (and reducing code duplication?) in that regard as an advantage of the PEP. Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia