annotate Python/importlib.h @ 76445:c820aa9c0c00

Issue #13959: Keep imp.get_magic() in C code, but cache in importlib for performance. While get_magic() could move to Lib/imp.py, having to support PyImport_GetMagicNumber() would lead to equal, if not more, C code than sticking with the status quo.
author Brett Cannon <brett@python.org>
date Fri, 20 Apr 2012 18:04:03 -0400
parents a32be109bd86
children 163360370ad2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
76445
c820aa9c0c00 Issue #13959: Keep imp.get_magic() in C code, but cache in importlib
Brett Cannon <brett@python.org>
parents: 76428
diff changeset
1 (binary:text/plain)