[Python-Dev] PEP 417: Adding mock to the Python Standard Library

Guido van Rossum guido at python.org
Tue Mar 13 00:55:33 CET 2012

On Mon, Mar 12, 2012 at 4:47 PM, Michael Foord <michael at voidspace.org.uk> wrote:
> On 12 Mar 2012, at 16:31, Guido van Rossum wrote:
>> More to the point, I am approving the PEP.
>> We chatted briefly at the sprint and I just want to emphasize that the
>> external version should not grow new features before the stdlib
>> version has those same features (we don't want users complaining that
>> the stdlib version is no good). Also, if you have some new features
>> you're planning to add, add them now, before inclusion into the
>> stdlib; and likewise, if you have some things you would like to
>> remove, remove them now.
> Thanks. I'm happy to live with new feature releases only every 18 months in the external backport.
> Before inclusion there is one obsolete feature I'd like to remove (mocksignature) and two minor features I'd like to add (support for attribute deletion and a helper function for mocking open as a context manager). Beyond that the api is stable. A bunch of Python 2  compatibility code can also be removed in the standard library version.

Sounds good. Congrats!

--Guido van Rossum (python.org/~guido)

More information about the Python-Dev mailing list