[Python-Dev] Script bootstrapping executables on Windows

2017-11-21 Thread Thomas Mansencal
Hi, This is a Windows specific question, to give a bit of context I'm working in a studio where depending on the project we use different Python interpreters installed in different locations, e.g. Python 2.7.13, Python 2.7.14, Python 3.6. We set PATH, PYTHONHOME and PYTHONPATH accordingly dependin

[Python-Dev] PEP 563: Postponed Evaluation of Annotations (Draft 3)

2017-11-21 Thread Lukasz Langa
Based on the feedback I gather in early November, I'm publishing the third draft for consideration on python-dev. I hope you like it! A nicely formatted rendering is available here: https://www.python.org/dev/peps/pep-0563/ The full list of changes between this version and the previous draft can

Re: [Python-Dev] Python initialization and embedded Python

2017-11-21 Thread Eric Snow
On Mon, Nov 20, 2017 at 3:03 PM, Victor Stinner wrote: > To statically initialize PyMemAllocatorEx fields, you need to export a > lot of allocator functions. I would prefer to not do that. > > [snip] > > The rules to choose the allocator to each domain are also complex > depending if pymalloc is e