[Python-ideas] Simpler Customization of Class Creation - PEP 487

Nick Coghlan ncoghlan at gmail.com
Mon Feb 8 01:50:43 EST 2016


On 7 February 2016 at 03:47, Andrew Barnert via Python-ideas
<python-ideas at python.org> wrote:
> One thing on the six idea: if some libraries get the type from six and others from your module, they'll have incompatible metaclasses for no good reason (when used on 3.5 and earlier). It seems like if this is going to end up in six, it should be in six as soon as possible, and direct use of the separate library should be strongly discouraged.

The daisy chain of fallbacks approach holds - six would just become
another stepping stone on the path to the standard library (and
eventually the type builtin).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-ideas mailing list