Apache Mod-Python - Closed: (MODPYTHON-49) publisher : new module loading

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > March 2006 > Closed: (MODPYTHON-49) publisher : new module loading





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 Closed: (MODPYTHON-49) publisher : new module loading
Graham Dumpleton (JIRA)

2006-03-05, 2:45 am

[ http://issues.apache.org/jira/brows...HON-49?page=all ]

Graham Dumpleton closed MODPYTHON-49:
-------------------------------------


> 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
> Assignee: Nicolas Lehuen
> Fix For: 3.2.7


>
> 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