This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: import and capital letters
Type: Stage:
Components: Interpreter Core Versions: Python 2.4
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: loewis, omsynge, sf-robot
Priority: normal Keywords:

Created on 2007-04-13 15:06 by omsynge, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg31778 - (view) Author: omsynge (omsynge) Date: 2007-04-13 15:06
Interactive and relative paths allow unlimited
(Or at least I have not found a limit yet) number of characters to be uppercase. This is fine, but when the python interpreter reads directories from PYTHONPATH with 3 capital letters you then get a failure to locate the files.

I have replicated this issue with python 2.2 and python 2.4. These where with red hat el3 and ubuntu (Some version not sure which)

and an example

import dcacheYaimInstallerTest.logger as logger

works fine in interactive or relative paths, but not when installed via an RPM.


import dcacheYaimInstallertest.logger as logger

is just fine in both scenarios. 

This bug cost me some hours to trace and would have cost more had I not had a lot of experience of packaging, so I would be pleased if this could be fixed in all versions of Python.

Regards

Owen






msg31779 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2007-04-16 05:09
I cannot reproduce the problem. The import statement works fine for me when I create 

/usr/lib/python2.4/site-packages/dcacheYaimInstallerTest/logger.py

Can you share the RPM file that causes the problem?
msg31780 - (view) Author: SourceForge Robot (sf-robot) Date: 2007-05-27 02:20
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
History
Date User Action Args
2022-04-11 14:56:23adminsetgithub: 44841
2007-04-13 15:06:26omsyngecreate