[Python-Dev] NULL allowed in PyErr_SetString and friends? (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Mon Aug 12 14:10:30 CEST 2013
- Previous message: [Python-Dev] Dealing with import lock deadlock in Import Hooks
- Next message: [Python-Dev] NULL allowed in PyErr_SetString and friends?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
It seems NULL is allowed as the first argument of PyErr_Format, PyErr_SetString and PyErr_SetObject. Moreover, it means "clear the error indicator". However, this is not mentioned in the docs. I was wondering if we should officialize this behaviour or change it.
Regards
Antoine.
- Previous message: [Python-Dev] Dealing with import lock deadlock in Import Hooks
- Next message: [Python-Dev] NULL allowed in PyErr_SetString and friends?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]