[Python-Dev] New Python Initialization API

Brett Cannon brett at python.org
Wed Mar 27 16:23:01 EDT 2019


On Wed, Mar 27, 2019 at 12:39 PM Steve Dower <steve.dower at python.org> wrote:

> On 27Mar2019 1048, Victor Stinner wrote:
> > Since November 2017, I'm refactoring the Python Initialization code to
> > cleanup the code and prepare a new ("better") API to configure Python
> > Initialization. I just fixed the last issues that Nick Coghlan asked
> > me to fix (add a pre-initialization step: done, fix mojibake: done).
> > My work is inspired by Nick Coghlan's PEP 432, but it is not
> > implementing it directly. I had other motivations than Nick even if we
> > are somehow going towards the same direction.
>
> I this this should be its own PEP, since as you say it is not
> implementing the only PEP we have (or alternatively, maybe you should
> collaborate to update PEP 432 so that it reflects what you think we
> ought to be implementing).
>

I agree that if this isn't doing what PEP 432 set out but going its own way
we should probably discuss in regards to 432.

-Brett


>
> Having formal writeups of both ideas is important to help decide between
> the two. It's not good to overrule a PEP by pretending that your change
> isn't big enough to need its own.
>
> (Not trying to devalue the work you've been doing so far, since it's
> great! But internal changes are one thing, while updating the public,
> documented interfaces deserves a more thorough process.)
>
> Cheers,
> Steve
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/brett%40python.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20190327/d211cfcc/attachment.html>


More information about the Python-Dev mailing list