Skip to content

Conversation

@andlaus
Copy link
Member

@andlaus andlaus commented Oct 24, 2025

This is only relevant if weak references ought to be used: The problem is that weakref.proxy(x) raises an exception if x already is a proxy object. This can happen if, e.g., a diag comm is referenced via ODXLINK which in turn gets referenced by a short-name reference.

Andreas Lauser <[email protected]>, on behalf of MBition GmbH.
Provider Information

... and weak references ought to be used. The problem is that
`weakref.proxy(x)` raises an exception if `x` already is a proxy
object. This can happen if, e.g., a diag comm is referenced via an
ODXLINK ref which in turn gets referenced by a short-name reference.

Signed-off-by: Andreas Lauser <[email protected]>
Approved-by: Michael Hahn <[email protected]>
@andlaus andlaus requested a review from kayoub5 October 24, 2025 10:11
Signed-off-by: Andreas Lauser <[email protected]>
Requested-by: [at]kayoub5
@andlaus andlaus merged commit 4075dc1 into mercedes-benz:main Oct 27, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants