[Python-3000] pep 3124 plans

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Jul 18 03:37:10 CEST 2007


Phillip J. Eby wrote:
> It allows the framework to bootstrap via successive 
> approximation.  Initially, the 'implies()' function is just a plain 
> function, and then it later becomes a generic function.  (And of 
> course it gets called in between those two points.)  The same happens 
> for 'disjuncts()' and 'overrides()'.

But you know from the outset that these functions will
eventually become generic, so why can't they be defined
as some callable object that can have its insides
switched, if you're on a Python whose normal function
objects don't allow that?

--
Greg


More information about the Python-3000 mailing list