Sublime Forum

Can anyone confirm that the ctypes module works correctly on windows?

#1

Sublime text ships with it’s own embedded python install, with modified modules. A plugin I want to use is seeing some errors that indicate something might be wrong with the ctypes shipped with sublime text on windows. More details here: https://github.com/niosus/test-complete-plugin .

Can anyone confirm that ctypes works correctly for them? Sublime text doesn’t ship with any of these modules: ctypes.test, test, _ctypes_test, or _testcapi. So running the ctypes unit tests (which would be the most preferred way to determine this) isn’t an option.

0 Likes

#2

Yup, I use ctypes in a number of my Sublime plugins.

0 Likes

#3

@facelessuser thanks for the feedback! Could you maybe share some examples of your projects so I could take a look at the code and see if I maybe do anything wrong? The issues I face in the plugin are libclang related. And the errors only appear in sublime text, but not from command line

0 Likes

#4

Sure, here’s a couple:

0 Likes