Guido van Rossum
894d35ea61
Thomas Wouters pointed out that _Abstract.__new__ should use super().__new__()
...
instead of going straight to object.__new__().
2007-09-11 20:42:30 +00:00
Guido van Rossum
c1e315d2b0
Rename __whatever variables defined by ABCMeta to _abc_whatever, so as
...
to simplify legitimate use of these.
2007-08-20 19:29:24 +00:00
Guido van Rossum
787794f8e2
Fix _dump_registry() to use the correct prefix for the private
...
methods. Reset the negative cache *before* resetting the invalidation
counter, hoping this may plug a race condition (but then again, this
whole module isn't coded to be thread-safe).
2007-08-18 00:08:26 +00:00
Guido van Rossum
70d2b890de
Tests for @abstractproperty by Jeffrey Yasskin.
...
(The previous changes to abc.py were also by him).
Put back a comment about using super() for properties
(I didn't realize this worked).
2007-08-01 17:52:23 +00:00
Guido van Rossum
b31339fa02
Add @abstractproperty.
2007-08-01 17:32:28 +00:00
Guido van Rossum
bb5f590323
Modernize the super() call in ABCMeta.__new__() -- I had messed with
...
it when I thought something was broken, and forgotten to restore it
before checking in (maybe I did a svn revert which had the wrong effect?).
2007-06-14 03:27:55 +00:00
Guido van Rossum
8518bdc382
Somehow this needed adding.
2007-06-14 00:03:37 +00:00