-
Notifications
You must be signed in to change notification settings - Fork 845
Closed
Description
There's an issue with xlwings which was introduced with pywin32 v302:
xlwings/xlwings#1789 (comment)
current implementation of win32com.client.CoClassBaseClass
pywin32/com/win32com/client/__init__.py
Line 628 in 1e7016c
| for maybe in [ |
injects special methods on the instance via
setattr(self, '__specialmethod__')please note, that such methods can only be called explicitly i.e.
instance.__call__() but not implicitly instance() , in which case special method is always called from the class, and if the class doesn't define the method then you'll get an error (object is not callable in this case). I didn't investigate xlwings but I suppose that such implicit call produces an error which prevents release of com object from memory and creates a zombie process.Metadata
Metadata
Assignees
Labels
No labels