Apache Mod-Python - Created: (MODPYTHON-49) publisher : new module loading mechanism does not allow omitin

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > April 2005 > Created: (MODPYTHON-49) publisher : new module loading mechanism does not allow omitin





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Created: (MODPYTHON-49) publisher : new module loading mechanism does not allow omitin
Nicolas Lehuen (JIRA)

2005-04-30, 2:45 am

publisher : new module loading mechanism does not allow omiting the '.py' extension
-----------------------------------------------------------------------------------

Key: MODPYTHON-49
URL: http://issues.apache.org/jira/browse/MODPYTHON-49
Project: mod_python
Type: Bug
Environment: mod_python 3.2.0-dev-20050428
Reporter: Nicolas Lehuen
Assigned to: Nicolas Lehuen
Fix For: 3.2.0


Before the fix for MODPYTHON-9, when you had a module named foobar.py in a published directory, you could access it with a request to /dir/foobar.py, but also with /dir/foobar (the .py was not required since we relied upon the import_module facilities).
Now, /dir/foobar is not supported. For compatibility, we should support it and automagically find the proper module.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com