[Python-3000] __reduce__() and __reduce_ex__()

Guido van Rossum guido at python.org
Mon Feb 11 02:22:01 CET 2008


On Feb 10, 2008 4:57 PM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Guido van Rossum wrote:
> > Yeah -- the _ex suffix on the name suggests that that's the API we
> > wanted but we'd already released a version with a suboptimal API...
>
> Hmmm, that convention isn't very scalable. What happens
> when you update the API again -- do you use an _ex_ex
> suffix? :-)
>
> Also it tends to make things look unpleasanty Microsoftish. :-(

Whine, whine.

Do you have a better idea?

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list