On PEP 322 (ireverse)

Aahz aahz at pythoncraft.com
Sat Nov 1 18:45:51 CET 2003

In article <VHQob.78295$e5.2907888 at news1.tin.it>,
Alex Martelli  <aleaxit at yahoo.com> wrote:
>I think one needs *more* work to add an attribute to a C-coded function:
>it needs to be made into a different type.  To add a classmethod to a type
>one only needs to supply the classmethod flag in one's C sources -- hard
>to see how that might be more troublesome...?

Someone claimed that making iter() a type constructor would not be
backward-compatible.  This certainly would be.
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan

More information about the Python-list mailing list