Staging
v0.5.1
https://github.com/python/cpython
Revision d8b6425e58a1fccdf8ddbbcde63066c13c1bcfaf authored by Ned Deily on 13 October 2018, 02:30:30 UTC, committed by Ned Deily on 13 October 2018, 05:38:43 UTC
For 3.7.1rc1 and 3.6.7rc1 we used a pre-release development
snapshot of Tk 8.6 to pick up some post-8.6.8 fixes for macOS.
But the snapshot introduced at least one regression (bpo-34927).
For rc2, revert to using the standard release 8.6.8 for now.
This reverts commit d9cfe5ed2c2c61eeae915b76f5e10aadbbb28da6.
1 parent 5d8ef8b
Raw File
Tip revision: d8b6425e58a1fccdf8ddbbcde63066c13c1bcfaf authored by Ned Deily on 13 October 2018, 02:30:30 UTC
bpo-34370: Revert to using released Tk 8.6.8 with macOS installers
Tip revision: d8b6425
_cryptmodule.c.h
/*[clinic input]
preserve
[clinic start generated code]*/

PyDoc_STRVAR(crypt_crypt__doc__,
"crypt($module, word, salt, /)\n"
"--\n"
"\n"
"Hash a *word* with the given *salt* and return the hashed password.\n"
"\n"
"*word* will usually be a user\'s password.  *salt* (either a random 2 or 16\n"
"character string, possibly prefixed with $digit$ to indicate the method)\n"
"will be used to perturb the encryption algorithm and produce distinct\n"
"results for a given *word*.");

#define CRYPT_CRYPT_METHODDEF    \
    {"crypt", (PyCFunction)crypt_crypt, METH_FASTCALL, crypt_crypt__doc__},

static PyObject *
crypt_crypt_impl(PyObject *module, const char *word, const char *salt);

static PyObject *
crypt_crypt(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{
    PyObject *return_value = NULL;
    const char *word;
    const char *salt;

    if (!_PyArg_ParseStack(args, nargs, "ss:crypt",
        &word, &salt)) {
        goto exit;
    }
    return_value = crypt_crypt_impl(module, word, salt);

exit:
    return return_value;
}
/*[clinic end generated code: output=8d803e53466b1cd3 input=a9049054013a1b77]*/
back to top