Robert wrote:
> Robert wrote:
>>
>> I've set up my Linux too now. That latest pyxi3.patch and it does.
>>
>> With reload_support=False its exactly like the old 0.11.1 behavior :
>>
>>  >>> import my   
>>  >>> reload(my)
>> Traceback (most recent call last):
>>    File "<stdin>", line 1, in ?
>> ImportError: No module named my
>>
>> which is in my opinion bogus, because
>>  >>> reload(time)
>> <module 'time' from '/usr/lib/python2.4/lib-dynload/time.so'>
>>
>>
>>
>> and with reload_support=True its now ok
>>
> 
> 
> I've done a few more tests on Linux and Win, and it does so far on my 
> side in all modes - for practical edit-run/reload debugging purposes. 
> The reload_support=False is anyway default.

Just a note that even though I started picking up this thread with all 
intentions on following up, I can't seem to find the time to review this 
for the next two weeks at least. If nobody else picks it up in the 
meantime I'll try to remember to get back to it, feel free to ping me if 
not.

Something to think about: It would be a lot easier to review 
pyximport-related changes if we had a test suite for pyximport. I 
suppose it wouldn't be very difficult to do:

1) Have a directory structure with py and pyx and various configuration 
files in it
2) Have a test script which just copies this whole directory and then 
runs doctest on test_*.py in the directory (each probably in a new 
Python instance, to get pyximport and pyx modules loaded/unloaded).

I made a wishlist ticket for this:

http://trac.cython.org/cython_trac/ticket/321

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

Reply via email to