Skip to content
Commit 4c5c8dca authored by Alex Gaynor's avatar Alex Gaynor
Browse files

Properly implement PEP 302 in the module_loading module. For unknown reasons...

Properly implement PEP 302 in the module_loading module.  For unknown reasons this doesn't actually raise an error under CPython, but PyPy does, and the currently implementation is clearly in violation of the PEP, which states that finder.find_module's second argument is either None or package.__path__ and imp.find_module whose second argument should be either None or a list of paths.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 723b5747
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment