Steven D'Aprano, 08.07.2012 15:48: >> Hey all, I have a question on using self-modifying code/code generation >> in Python; namely how to do it. > > I know others have already said not to do this, and to be honest I was > going to say that same thing, but I have changed my mind. Buggrit, this is > Python, where we are all consenting adults and you're allowed to shoot > yourself in the foot if you want.
:) You're right. Saying "don't do that" is easy, but giving people the freedom to shoot themselves in the foot sometimes has accidental side effects that end up pushing our world another bit forward. (Though usually not, but that's ok) Stefan _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor