On 02/28/2014 07:00 AM, Paolo Bonzini wrote: > Il 28/02/2014 14:40, Eric Blake ha scritto: >> These should probably be 'int', not 'str'. If you have to hand-parse a >> string into a numeric value, you encoded the QMP wrong. > > Eric, note that this is not QMP. It is only used for option parsing.
But still, shouldn't option parsing be able to take advantage of non-'str' typing to ease the task of handling numeric parameters? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature