Message287758
Looking through Python's history, it's interesting that PyObject_Call() did apply the args == NULL checks up until Python 2.1.
In Python 2.2 this was replaced by a direct call to tp_call, without the checks. However, the tp_call slots don't do this check as you can see in function_call() of function objects. And indeed, the documentation of PyObject_Call() was changed in that version as well to disallow args == NULL. |
|
Date |
User |
Action |
Args |
2017-02-14 10:09:53 | lemburg | set | recipients:
+ lemburg, mark.dickinson, vstinner, methane, serhiy.storchaka |
2017-02-14 10:09:53 | lemburg | set | messageid: <1487066993.17.0.129702033196.issue29548@psf.upfronthosting.co.za> |
2017-02-14 10:09:53 | lemburg | link | issue29548 messages |
2017-02-14 10:09:52 | lemburg | create | |
|