diff Python/random.c @ 76384:c1399cf7bd6a

Issue #12599: Be more strict in accepting None vs. a false-like object in importlib. Thanks to PJE for pointing out the issue and Nick Coghlan for filing the bug.
author Brett Cannon <brett@python.org>
date Tue, 17 Apr 2012 21:41:35 -0400
parents 198e31774f0f
children 6a782496f90a a53fc9982e2a
line wrap: on
line diff