[Python-checkins] cpython: Issue #3080: Fix case_ok() using case_bytes() (original) (raw)

victor.stinner python-checkins at python.org
Sun Mar 20 04:29:00 CET 2011


http://hg.python.org/cpython/rev/f8d6f6797909 changeset: 68741:f8d6f6797909 user: Victor Stinner <victor.stinner at haypocalc.com> date: Sun Mar 20 04:28:55 2011 +0100 summary: Issue #3080: Fix case_ok() using case_bytes()

Invert name and namelen arguments.

files: Python/import.c

diff --git a/Python/import.c b/Python/import.c --- a/Python/import.c +++ b/Python/import.c @@ -2208,8 +2208,8 @@ match = case_bytes( PyBytes_AS_STRING(filebytes), PyBytes_GET_SIZE(filebytes) + prefix_delta,

-- Repository URL: http://hg.python.org/cpython



More information about the Python-checkins mailing list