[Python-Dev] [Python-checkins] peps: PEP 422 rewrite to present an idea that a) isn't crazy and b) it turns out (original) (raw)
Eric Snow ericsnowcurrently at gmail.com
Thu Jun 7 00:07:08 CEST 2012
- Previous message: [Python-Dev] [Python-checkins] peps: PEP 422 rewrite to present an idea that a) isn't crazy and b) it turns out
- Next message: [Python-Dev] [Python-checkins] peps: PEP 422 rewrite to present an idea that a) isn't crazy and b) it turns out
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Jun 6, 2012 at 5:40 AM, nick.coghlan <python-checkins at python.org> wrote:
+ +Alternatives +============ +
Would it be worth also (briefly) rehashing why the class instance couldn't be created before the class body is executed*? It might seem like a viable alternative if you haven't looked at how classes get created.
-eric
- i.e. meta.new() would have to be called before the class body is executed for the class to exist during that execution. Perhaps in an alternate universe classes get created like modules do...
- Previous message: [Python-Dev] [Python-checkins] peps: PEP 422 rewrite to present an idea that a) isn't crazy and b) it turns out
- Next message: [Python-Dev] [Python-checkins] peps: PEP 422 rewrite to present an idea that a) isn't crazy and b) it turns out
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]