Issue Details (XML | Word | Printable)

Key: MODPYTHON-9
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Nicolas Lehuen
Reporter: Nicolas Lehuen
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
mod_python

mod_python.publisher does not support modules with the same name but in different directories

Created: 24/Jan/05 04:13 PM   Updated: 05/Mar/06 01:35 PM
Return to search
Component/s: None
Affects Version/s: 3.1.3
Fix Version/s: 3.2.7

Time Tracking:
Not Specified

Resolution Date: 28/Apr/05 12:54 AM


 Description  « Hide
Using mod_python.publisher, you have two modules :

/index.py
/subdir/index.py

The problem is that due to the way published modules are imported, the resulting behaviour is unpredictable. Sometimes when calling /subdir/index.py the /index.py module is called, and vice versa.

This bug is very annoying because new mod_python users encounter it frequently, and I don't think it gives good press to mod_python.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #164998 Wed Apr 27 15:53:36 UTC 2005 nlehuen Tentative fix for MODPYTHON-8 and MODPYTHON-9.
Files Changed
ADD /httpd/mod_python/trunk/lib/python/mod_python/cache.py
MODIFY /httpd/mod_python/trunk/lib/python/mod_python/publisher.py