Skip to content

Commit

Permalink
MNT: try to avoid segfaults
Browse files Browse the repository at this point in the history
  • Loading branch information
tacaswell committed Nov 25, 2024
1 parent 0ead9f7 commit fb49ef8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ophyd/_pyepics_shim.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@

from ._dispatch import EventDispatcher, _CallbackThread, wrap_callback

# suspect attempt to monkey-patch printf is causing segfaults
if hasattr(ca, "WITH_CA_MESSAGES"):
ca.WITH_CA_MESSAGES = True

_min_pyepics = "3.4.2"

if parse(epics.__version__) < parse(_min_pyepics):
Expand Down

0 comments on commit fb49ef8

Please sign in to comment.