FS#64674 - [hplip] PyInt_AS_LONG no longer provided by python3.8

Attached to Project: Arch Linux
Opened by bartus (bartus) - Thursday, 28 November 2019, 13:30 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 11 December 2019, 11:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

There's an old code using undefined symbol in `pcard/pcardext/pcardext.c`
```c
if( writesectorFunc )
{
result = PyObject_CallFunction( writesectorFunc, "iis#", sector, nsector, buf, size );

return PyInt_AS_LONG( result );
}


```
Shold be PyLong_AS_LONG().
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 11 December 2019, 11:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.19.11-6
Comment by Andreas Radke (AndyRTR) - Thursday, 28 November 2019, 18:31 GMT
Does it cause any failure? And of course this should be reported and fixed upstream.

Loading...