[PyQt] QHostAddress is missing a method
phil at riverbankcomputing.com
Wed Jul 27 18:39:40 BST 2011
On Wed, 27 Jul 2011 18:57:53 +0200, Detlev Offenbach
<detlev at die-offenbachs.de> wrote:
> On Dienstag, 26. Juli 2011, Phil Thompson wrote:
>> On Sat, 16 Jul 2011 18:11:04 +0200, Detlev Offenbach
>> <detlev at die-offenbachs.de> wrote:
>> > Hello,
>> > I think the QHostAddress mappings are missing the method
>> > If I
>> > am right, would it be possible to add it?
>> What's the most useful way to represent it? Would anything be better
>> the obvious 16 byte string?
>> PyQt mailing list PyQt at riverbankcomputing.com
> The Qt docs say:
> Returns the IPv6 address as a Q_IPV6ADDR structure. The structure
> 16 unsigned characters.
> So in Python it should return a list (or tuple if it should be
> 16 integers.
Are you suggesting a list because that is the closest equivalent in
Python? If so I would disagree.
Or are you suggesting a list because of how you want to use the value?
More information about the PyQt