Replies: 2 comments
-
|
Interesting, I hardly use l1 = Db.Line()
l2 = Db.Line.cast(l1)If debugpy is holding a reference on the python side, there’s really no way for PyRx to see it. This must have been reported with other wrappers, maybe it would be reproducible with numpy. I'll look at it |
Beta Was this translation helpful? Give feedback.
-
|
There seems to be other reports of this as well, I posted links in #480 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've noticed several times in my code that
eWasOpenForWriteerrors occur during debugging sessions, which don't occur during normal execution. Analyzed cases show that scopes are being used correctly and objects should be closed. I haven't been able to achieve similar behavior with a simple example (which may mean I have a bug in my code).Here's how I handle this:
I know I could just always use
.dispose(), butif DEBUG_SESSIONclearly shows why.dispose()is used here.Perhaps you have some ideas what could be the reasons for this or other better solutions.
Beta Was this translation helpful? Give feedback.
All reactions