![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: Why new Python 2.5 feature "class C()" return old-style class ?
From: Aahz <aahz@pythoncraft.com>
Date: Tue Apr 11 2006 - 16:17:07 CEST
In article <1144763219.936992.219110@g10g2000cwb.googlegroups.com>,
The BDFL made that one of the very first Pronouncements of 3.0. ;-)
>(So in Python 2.5 the second version can be made to mean the same thing
Can, yes. But should it? The whole point of adding the () option to
class C(): pass
behave differently from
class C: pass
would be of no benefit for that purpose.
-- Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/ "LL YR VWL R BLNG T S"Received on Sun Apr 30 22:50:49 2006 |