python / cpython

The Python programming language
https://www.python.org
Other
63.03k stars 30.19k forks source link

About whether to add `arch` attribute in `sys.impelemtation` #125639

Closed rruuaanng closed 2 hours ago

rruuaanng commented 2 hours ago

Proposal:

# Add a code block here, if required

Actually, the discussion in the PR failed because no one decided whether to merge it or not (it seems that the only supporter is @zooba). The newly added arch is used to get the current build architecture in Windows (it comes from python.props). What do you think?

Has this already been discussed elsewhere?

https://github.com/python/cpython/pull/124582 https://discuss.python.org/t/regarding-whether-we-should-add-py-currentarch-or-py-archname-function/65191/17

Links to previous discussion of this feature:

No response

vstinner commented 2 hours ago

This issue is a duplicate of issue gh-102536. Please continue the discussion her.