[Python-Dev] CPython on Windows ARM32
Paul.Monson at microsoft.com
Wed Feb 6 14:50:45 EST 2019
The PR is here: https://github.com/python/cpython/pull/11774
Searching _M_ARM I see these #ifdef changes outside of ctypes:
* Include\pyport.h - adds on to existing MSVC ifdef
* Include\pythonrun.h - adds on to existing MSVC ifdef
* Python\ceval.c - workaround compiler bug, could be replaced with #pragma optimize around entire function.
From: Steve Dower <steve.dower at python.org>
Sent: Wednesday, February 6, 2019 11:16 AM
To: Terry Reedy <tjreedy at udel.edu>; python-dev at python.org; Paul Monson <Paul.Monson at microsoft.com>
Subject: Re: [Python-Dev] CPython on Windows ARM32
On 06Feb2019 0054, Terry Reedy wrote:
> On 2/5/2019 10:10 PM, Zachary Ware wrote:
>> I'm all for the first two changes (especially the second), and if 10
>> years of pledged corporate support for a new platform is the price we
>> have to pay for them, I'm ok with that :).
> I would expect that the main question should be the density of
> WinArm32-specific ifdefs in the main code and extensions other than ctypes.
Agreed. I've asked Paul to post the "final" PR early, even though it will take some refactoring as other PRs go in, so that we can see the broader picture now.
There's also an option to create an ARM-specific pyconfig.h if necessary, but I don't believe it will be.
I created https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.python.org%2Fissue35920&data=02%7C01%7Cpaul.monson%40microsoft.com%7Cf1e74ec935774410f37008d68c678537%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636850773687302395&sdata=OPOHUbWy3%2FFEdjXC5MY8NRMVetZ73Rwo2lsngrLL8rs%3D&reserved=0 for this work.
More information about the Python-Dev