- 02 Eki, 2010 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85154 | benjamin.peterson | 2010-10-01 19:03:31 -0500 (Fri, 01 Oct 2010) | 1 line type.__abstractmethods__ should raise an AttributeError #10006 ........
-
- 21 Agu, 2010 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
This also causes the _weakref module to be built into the core.
-
- 17 Agu, 2010 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84125 | benjamin.peterson | 2010-08-16 20:07:53 -0500 (Mon, 16 Aug 2010) | 1 line use assertTrue/assertFalse ........
-
- 27 Ock, 2010 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 24 Ock, 2010 1 kayıt (commit)
-
-
Ezio Melotti yazdı
-
- 30 Haz, 2009 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 26 Agu, 2008 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
match Python 2.5 speed despite the __instancecheck__ / __subclasscheck__ mechanism. In the process, fix a bug where isinstance() and issubclass(), when given a tuple of classes as second argument, were looking up __instancecheck__ / __subclasscheck__ on the tuple rather than on each type object. Reviewed by Benjamin Peterson and Raymond Hettinger.
-
- 17 Mar, 2008 1 kayıt (commit)
-
-
Jeffrey Yasskin yazdı
an exception. Issue reported by Joseph Armbruster.
-
- 03 Mar, 2008 1 kayıt (commit)
-
-
Christian Heimes yazdı
Since abc._Abstract was replaces by a new type flags the regression test suite fails. I've added a new function inspect.isabstract(). Is the mmethod fine or should I check if object is a instance of type or subclass of object, too?
-
- 23 Şub, 2008 1 kayıt (commit)
-
-
Christian Heimes yazdı
-
- 13 Şub, 2008 1 kayıt (commit)
-
-
Jeffrey Yasskin yazdı
./python.exe -m timeit -s 'from fractions import Fraction; f = Fraction(3, 2)' 'isinstance(3, Fraction); isinstance(f, Fraction)' from 12.3 usec/loop to 3.44 usec/loop and ./python.exe -m timeit -s 'from fractions import Fraction' 'Fraction(3, 2)' from 48.8 usec to 23.6 usec by avoiding genexps and sets in __instancecheck__ and inlining the common case from __subclasscheck__.
-
- 07 Ock, 2008 1 kayıt (commit)
-
-
Jeffrey Yasskin yazdı
ABCs.
-
- 22 Kas, 2007 1 kayıt (commit)
-
-
Guido van Rossum yazdı
With some changes of my own thrown in (e.g. backport of r58107).
-
- 10 Eyl, 2007 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Backport abc.py and isinstance/issubclass overloading to 2.6. I had to backport test_typechecks.py myself, and make one small change to abc.py to avoid duplicate work when x.__class__ and type(x) are the same.
-