On May 8, 2008, at 1:35 PM, Lisandro Dalcin wrote:

> On 5/8/08, Robert Bradshaw <[EMAIL PROTECTED]> wrote:
>> On May 8, 2008, at 11:12 AM, Lisandro Dalcin wrote:
>> Sure. I'll just need a htpasswd file so you can authenticate. (This
>>  will add you as a user to trac too.)
>
> The you will send me the password, right?

An htpasswd file is a file that contains a username and (hashed)  
password. You can do

     htpasswd -c -s somefile username

(available on most systems) and it will prompt for a password to  
associate with username and store the sha1 has. Then send me the  
somefile it created and I'll add it to the list. See man htpasswd for  
more details.

>
>>
>>>>  "PyInt_CheckExact" as in Py2 this implies that the size fits  
>>>> into a
>>>>  long, so it's not quite the same as PyLong_CheckExact.
>>
>> Perhaps this should be handled at a higher level--i.e. we should see
>>  where in the source we're using PyInt_CheckExact, etc. and do
>>  something else there so we don't need the #defines...
>
> You are right. But then I do not know how to do that right now, so
> this is for the near future...
>
>>> Just a question: Why Cython does not implement old-style classes  
>>> this
>>> way for Python2.X ? Filling a dict with PyCFunction's and next  
>>> calling
>>> PyClass_New does not work (I've never tried)?
>>
>>
>> No idea, this is how Greg wrote it.
>
> Well, could you ask Greg to post some comment about this? This way, I
> can follow the right path trying to fix this for the Py3K case...

I believe on this list now :-)

>> Having good tracebacks is important to me at least, hopefully we'll
>>  find a way to do it.
>
> BTW, I've tried to install the source files alongside the generated
> extensions modules, but IPython does not show the traceback. Could you
> give me a tip about this?  Please note that my *.so extension module
> is inside a dir with a __init__.py file, then it is actually a module
> inside a package...


Yeah, I'm not sure what mechanism IPython uses to look up source  
files, but something needs to be fixed there (either on our side or  
theirs). You can set it to not give context in which case it will  
give a traceback.

- Robert


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

Reply via email to