[Python-3000] PEP 3119 - Introducing Abstract Base Classes

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


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

On Apr 27, 2007, at 2:17 PM, Tony Lownds wrote:

> +0 on abstract attributes. Methods seem to dominate most APIs that  
> make
> use of interfaces, but there are always a few exceptions.

One of the reasons to be able to specify attributes in an ABC or  
interface is so that you can use something more Pythonic than getters  
and setters.

- -Barry

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

iQCVAwUBRjZ22HEjvBPtnXfVAQLbwAQAlicMWta8mZSQEgiRcc+VvQG1kPVYRy/t
3Dlp5cEHog6VMdTH7iEN+TSAszsXatjbeo9nl/fT/fI3RYrre5+hiclVoyLCnfUF
jJda589xj9EzKjJfYPl1dbCjxp5S/nK2RmtOMN3HxLMcuKQ0I3ZSbAlR+BKRO55T
qRSmKp6Ebb8=
=y7ge
-----END PGP SIGNATURE-----


More information about the Python-3000 mailing list