[Interface-dev] Decorator naming
barry at python.org
Tue Apr 7 09:15:23 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
On Apr 7, 2009, at 7:29 AM, Lennart Regebro wrote:
> In the Python 3 porting effort, I have now reached the place where the
> @implementor(IFoo) decorator seems to work.
> Next step is to make a decorator for implementsOnly.
> But I don't know what to call that decorator. Here is some
> possibilities, in roughly the order of how much i dislike them, from
> quite a lot to even more. :) Better suggestions are very welcome.
> @implementer(IFoo, inherit=False)
I'll make a plea for PEP 8 names. ;)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
-----END PGP SIGNATURE-----
More information about the Interface-dev