In the discussions in python/cpython#127210 and python/cpython#127369, it was noted that the Python standard library's ctypes functions ctypes.DllCanUnloadNow and ctypes.DllGetClassObject depend on functions of the same name in comtypes.server.inprocserver (DllCanUnloadNow and DllGetClassObject).
Eventually, these functions might either be redesigned to remove the dependency on comtypes or be deprecated and removed from ctypes altogether after a few years.
Users currently relying on these ctypes APIs might need to switch to using the equivalent APIs provided by comtypes.
However, I have never directly called these functions (neither in ctypes nor in comtypes), so I am not aware of the use cases or expected behaviors associated with them.
To help with adding tests and providing proper migration guidance, I encourage anyone familiar with the use cases of these APIs to share their insights by commenting on this issue.
In the discussions in python/cpython#127210 and python/cpython#127369, it was noted that the Python standard library's
ctypesfunctionsctypes.DllCanUnloadNowandctypes.DllGetClassObjectdepend on functions of the same name incomtypes.server.inprocserver(DllCanUnloadNowandDllGetClassObject).Eventually, these functions might either be redesigned to remove the dependency on
comtypesor be deprecated and removed fromctypesaltogether after a few years.Users currently relying on these
ctypesAPIs might need to switch to using the equivalent APIs provided bycomtypes.However, I have never directly called these functions (neither in
ctypesnor incomtypes), so I am not aware of the use cases or expected behaviors associated with them.To help with adding tests and providing proper migration guidance, I encourage anyone familiar with the use cases of these APIs to share their insights by commenting on this issue.