diff options
author | Brett Cannon <brett@python.org> | 2012-04-20 22:04:03 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2012-04-20 22:04:03 (GMT) |
commit | 24117a748b02e0d2d028956c7b118f4ecd55361c (patch) | |
tree | da68d8bba60af0d5b373f330f0c30b9af3bed28b /Doc/library/unittest.mock.rst | |
parent | 9e924ed1ac516107a91745ca6210b66388f15468 (diff) | |
download | cpython-24117a748b02e0d2d028956c7b118f4ecd55361c.zip cpython-24117a748b02e0d2d028956c7b118f4ecd55361c.tar.gz cpython-24117a748b02e0d2d028956c7b118f4ecd55361c.tar.bz2 |
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.
Diffstat (limited to 'Doc/library/unittest.mock.rst')
0 files changed, 0 insertions, 0 deletions