1. Summary
I have 64-bit Windows. But if I use platform.architecture()[0]
or sublime.arch()
in my Sublime Text plugin, I get 32bit
value.
2. Settings
I create a file ExampleSashaPlugin.py
in $packages/TestPlugin
folder. Content of this file:
import platform
import sublime
get_bitness = platform.architecture()[0]
print(get_bitness)
get_bitness_2 = sublime.arch()
print(get_bitness_2)
3. Steps to reproduce
I reproduce the problem in a version of Sublime Text without plugins and user settings.
I save ExampleSashaPlugin.py
.
4. Expected behavior
If I get Windows bitness in Python interpreter:
>>> import platform
>>> platform.architecture()[0]
'64bit'
5. Actual behavior
Sublime Text console output:
key evt: control+s
command: save
reloading plugin TestPlugin.ExampleSashaPlugin
32bit
x32
6. Environment
Operating system and version:
Windows 10 Enterprise LTSB 64-bit EN
Sublime Text:
Build 3126 portable for Windows 64-bit
Thanks.