On 10/21/2014 08:34 AM, Peter Krempa wrote:
> From: Luyao Huang
>
> When 'flags' is set to
> 'libvirt.VIR_CONNECT_GET_ALL_DOMAINS_STATS_ENFORCE_STATS,
> python will report a error:
>
> OverflowError: signed integer is greater than maximum
>
> as VIR_CONNECT_GET_ALL_DOMAINS_STATS_ENFORCE_STATS
From: Luyao Huang
When 'flags' is set to
'libvirt.VIR_CONNECT_GET_ALL_DOMAINS_STATS_ENFORCE_STATS,
python will report a error:
OverflowError: signed integer is greater than maximum
as VIR_CONNECT_GET_ALL_DOMAINS_STATS_ENFORCE_STATS is defined as 1<<31.
This happens as PyArg_ParseTuple's format