On Mon, Oct 6, 2008 at 7:27 PM, Robert Kern <[EMAIL PROTECTED]> wrote:
> Robert Kern wrote:
>> Robert Bradshaw wrote:
>>> On Oct 6, 2008, at 9:47 AM, Robert Kern wrote:
>>>
>>>> Robert Bradshaw wrote:
>>>>> I polished off some more of the pure python mode stuff tonight. I
>>>>> just pushed it to cython-devel. Now you can do stuff like:
>>>>>
>>>>>> import cython  # you need a single file to be in your path to use
>>>>>> it in pure Python mode, provided (and installed) with Cython
>>>> Hmm, does this cause a problem on systems with case-insensitive
>>>> files? cython.py
>>>> and Cython/ won't actually conflict on the filesystem, but I
>>>> suspect the import
>>>> mechanism may get confused.
>>> Currently all the emulating stuff is in Cython/Shadow.py. Both Cython/
>>> __init__.py and cython.py import it, thus it should work on both case-
>>> sensitive and case-insensitive filesystems.
>>
>> Cython/Shadow.py is not what I'm concerned about. It's the presence of both
>> cython.py and Cython/__init__.py. I'm wondering if the statement "import 
>> cython"
>> might actually import Cython/__init__.py on some case-insensitive file 
>> system.
>
> Oh, never mind. I see what you're saying. But then why do we need cython.py if
> everything is provided by Cython/__init__.py?

Exactly. Also it behaves identically (fails) on my system.

Ondrej
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to