[CF-Devel] Python questions

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Sun Jan 9 06:03:38 CST 2005


Nicolas Weeger wrote:
>
     
      --> if (!PyArg_ParseTuple(args,"lL",&whoptr,&to_pay))
     
     >
     
              return NULL;
     
     >
     
     
     >
     
      I get an 'internal error' on that. Is my Python version too old (using
     
     >
     
      2.1) to handle the "lL" ?
     
     
Sorry, didn't think of older Python versions. The "L" format specifier
seems to be available since Python 2.2 only.

I need 64 bit variables to hold money and experience values. Therefore I
can't see a sensible way to support Python versions before 2.2 any
longer. I'll try to add a check to the configure script to reject
unusable Python versions.

_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list