Christian Heimes
043d6f67c7
Copied doc for reload() from trunk's function.rst to imp.rst
2008-01-07 17:19:16 +00:00
Christian Heimes
45031dfd1c
Backmerge -r59233:59232
...
Guido said:
Please roll this back. The error message you added is inappropriate
when the parameter to a legitimate register() call is omitted, e.g.
collections.Sequence.register()
2007-11-30 15:13:13 +00:00
Christian Heimes
2e510fb920
Fix for bug #1109
...
Warning required when calling register() on an ABCMeta subclass.
2007-11-30 14:32:41 +00:00
Georg Brandl
3b8cb17695
#1061 (mainly by Thomas Wouters): use weak sets for abc caches.
2007-10-23 06:26:46 +00:00
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