[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

Serhiy Storchaka report at bugs.python.org
Sun Dec 30 04:51:02 EST 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

PR 9213 added a compiler warning:

In file included from /home/serhiy/py/cpython/Modules/_hashopenssl.c:69:0:
/home/serhiy/py/cpython/Modules/clinic/_hashopenssl.c.h:90:1: warning: ‘EVP_tp_init’ defined but not used [-Wunused-function]
 EVP_tp_init(PyObject *self, PyObject *args, PyObject *kwargs)
 ^~~~~~~~~~~

help(_hashlib.HASH) shows now the signature of the constructor of the object. But a hash object can not be created using it.

class HASH(builtins.object)
 |  HASH(name, string=b'')
 |  
 |  A hash is an object used to calculate a checksum of a string of information.
...

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue20182>
_______________________________________


More information about the Python-bugs-list mailing list