[issue1921] Confusing Descrintro example

2009-07-11 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: georg.brandl - gvanrossum nosy: +gvanrossum ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1921 ___

[issue1921] Confusing Descrintro example

2009-07-11 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: I'm guessing you weren't ready for learning about metaclasses if you didn't get the fact that 'name' was the loop control variable in the two different loops. The example is only 11 lines long! Still, I'm fine with the two suggested renames.

[issue1921] Confusing Descrintro example

2009-07-11 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I've now updated the website to Guido's new code. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue1921] Confusing Descrintro example

2009-07-03 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - georg.brandl nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1921 ___

[issue1921] Confusing Descrintro example

2008-01-24 Thread Antti Rasinen
New submission from Antti Rasinen: Guido's document Unifying types and classes in Python 2.2 (descrintro) contains a confusing example for metaclass newbies. http://www.python.org/download/releases/2.2.3/descrintro/#metaclass_examples The example in question is autoprop, which uses the

[issue1921] Confusing Descrintro example

2008-01-24 Thread Christian Heimes
Changes by Christian Heimes: -- keywords: +easy priority: - low versions: -Python 2.1.1, Python 2.1.2, Python 2.2, Python 2.2.1, Python 2.2.2, Python 2.2.3, Python 2.3, Python 2.4, Python 2.5 __ Tracker [EMAIL PROTECTED]