Emily Morehouse added the comment:

I also found what Eric did, specifically lines 4913-4918 in the commit he 
mentioned introduced the bug:

    if (PyBytes_GET_SIZE(key2) == 0 ||
        strchr(PyBytes_AS_STRING(key2) + 1, '=') != NULL)
    {
        PyErr_SetString(PyExc_ValueError, "illegal environment variable name");
        goto error;
    }

One of the tricks is that the test that fails was added after the commit that 
introduced the bug.

----------
nosy: +emilyemorehouse

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30769>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to