You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, debug mode (enabling DPRINTF statements) requires a recompile to enable/disable. It'd be nicer if that was available all the time but switched off by default. Ideas for turning on debug statements at runtime include --
Different classes (e.g. SemaphoreDebug)
Flag passed at init (e.g. sem = Semaphore(..., debug=True))
Context manager (e.g. with posix_ipc.DebugMode:)
Global on/off flag (e.g. posix_ipc.debug = True)
I also want to consider proper logging instead of always writing to stdout.
Suggestions are welcome. :-)
The text was updated successfully, but these errors were encountered:
Right now, debug mode (enabling
DPRINTF
statements) requires a recompile to enable/disable. It'd be nicer if that was available all the time but switched off by default. Ideas for turning on debug statements at runtime include --SemaphoreDebug
)sem = Semaphore(..., debug=True)
)with posix_ipc.DebugMode:
)posix_ipc.debug = True
)I also want to consider proper logging instead of always writing to
stdout
.Suggestions are welcome.
:-)
The text was updated successfully, but these errors were encountered: