py3: PythonScript: func_{code,defaults} (Python2 only) => __{code,defaults}__ (Python2/Python3).
Use the latter form that works on both. On non-PythonScript code, this is of course not an issue but Python2 PythonScript does not have a __code__ properties and requires a patch on Shared.DC.Scripts.Signature (applied by SlapOS recipe) so that FuncCode() object is set to not only func_code but also __code__.
Showing
-
mentioned in commit romain/erp5@74764524
-
mentioned in commit romain/erp5@4f400904
-
mentioned in merge request !1622 (closed)
-
mentioned in commit romain/erp5@922157a1
-
mentioned in commit romain/erp5@19840451
-
mentioned in commit romain/erp5@2e67e71f
-
mentioned in commit romain/erp5@3dbbd864
-
mentioned in commit romain/erp5@777e12d8
-
mentioned in commit romain/erp5@f0583917
-
mentioned in commit romain/erp5@b7c5db2c
Please register or sign in to comment