News for hackers. Stuff that matters.
Re:Customizing class creation in Python by TTPrograms on Thursday March 30, 2017 @04:25PM (#13998586)
I don't really see how it's a problem that it's "leaking" a tuple API - it's not like there's private methods in Python. Everything can see everything. If anything having the state of an object available explicitly as a tuple seems like a good idea to me, as opposed to trying to figure out what's a stateful variable and what's a method etc.

There are no comments on this comment yet.