On Sun, May 24, 2015 at 6:11 AM, Steven D'Aprano st...@pearwood.info
wrote:
On Sun, 24 May 2015 11:53 am, Dr. John Q. Hacker wrote:
But, frankly, what you describe is more likely to be a weakness of multiple
inheritance and mixins, one which should be avoided. One attempt to avoid
The post on different types of inheritence... brought up a thought.
Let's say, I'm adding flexibility to a module by letting users change class
behaviors by adding different mix-in classes.
What should happen when there's a name collision on method names between
mix-ins? Since they're mix-ins,
Hello,
I'm thinking how interesting it would be to add code blocks to Python, so
that arbitrary strings of code can be passed around. It would open up
some interesting possibilities for self-modifying code and generic
programming.
Since Python has already a plethora of ambiguous string