Message290058
Some code (_PyUnicode_FromId, bool_repr, create_filter) could be simpler if make _PY_ONCEVAR_INIT returning the value (NULL in case of error).
The signature of _PY_ONCEVAR_INIT() is the same as of _Py_SETREF(). If var == NULL both `_PY_ONCEVAR_INIT(var, expr)` and `_Py_SETREF(var, expr)` are equivalent to just `var = expr`. Maybe rename _PY_ONCEVAR_INIT to _Py_SET_ONCE? |
|
Date |
User |
Action |
Args |
2017-03-23 18:36:58 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ncoghlan, vstinner, eric.snow |
2017-03-23 18:36:58 | serhiy.storchaka | set | messageid: <1490294218.68.0.298732326103.issue29881@psf.upfronthosting.co.za> |
2017-03-23 18:36:58 | serhiy.storchaka | link | issue29881 messages |
2017-03-23 18:36:58 | serhiy.storchaka | create | |
|