Issue1165

classification
Title: 2.2.1 imp module impl doesn't compile and load some modules
Type: Severity: normal
Components: Core Versions: 2.2.2
Milestone:
process
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: dols, fwierzbicki, pjenvey
Priority: low Keywords:

Created on 2008-10-30.16:31:59 by dols, last changed 2009-06-21.22:10:01 by pjenvey.

Messages
msg3726 (view) Author: Brian Dols (dols) Date: 2008-10-30.16:31:59
Seems like a pointers to sources after a certain length have problems
finding the __init__.py.
around line 220 I added this line in findFromSource to get around the issue:

        nlen=sourceName.length(); // WORKAROUND
        if (sourceFile.isFile() && caseok(sourceFile, sourceName, nlen)) {
            if (compiledFile.isFile() && caseok(compiledFile,
compiledName, nlen)) {
                Py.writeDebug("import", "trying precompiled " +
compiledFile.getPath());
msg4284 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2009-03-14.02:17:10
We need more detail -- if you could provide a code snippet that
reproduces the problem, that would help.
msg4841 (view) Author: Philip Jenvey (pjenvey) Date: 2009-06-21.22:10:00
caseok has significantly changed in 2.5, so I don't know if this is even 
still a problem. Regardless, there's been no response, so closing out
History
Date User Action Args
2009-06-21 22:10:01pjenveysetstatus: open -> closed
resolution: invalid
messages: + msg4841
nosy: + pjenvey
2009-03-14 14:11:28fwierzbickisetpriority: low
versions: + 2.2.2, - 2.2.1rc1
2009-03-14 02:17:10fwierzbickisetnosy: + fwierzbicki
messages: + msg4284
2008-10-30 16:31:59dolscreate