[Python-3000] PEP 3119 - Introducing Abstract Base Classes (original) (raw)

Barry Warsaw barry at python.org
Tue May 1 01:53:58 CEST 2007


-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

On Apr 30, 2007, at 7:43 PM, Guido van Rossum wrote:

Right. int (long doesn't exist in py3k!) doesn't change -- the only thing that "changes" is that the question subclass(int, Integer) is answered positively, but since you can't ask that question without first importing Integer (from abc), there is no way that you can detect this as a change. Note that you won't find Integer if you traverse int.mro or int.bases.

Cool.

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin)

iQCVAwUBRjaBlnEjvBPtnXfVAQLxgAQApwDaBmGw5UHemDloVr7NIxRhgaAXpg9p x2JyoCi82xnHNw1kZl120thlc8PuWO4lEZ9YLh12CjZnyY22Q1W68WqJi3n6D6cq UGXha0ANi7c82FpqZldtztAb3zPKSYr7g1XB2uAUz7lVcHdGYfr5HAAPKsDMWJXs dTs1sBuoZkE= =Q6Kq -----END PGP SIGNATURE-----



More information about the Python-3000 mailing list