Re: [Twisted-Python] IPv6 comparison handling

2016-04-24 Thread Glyph
> On Apr 24, 2016, at 12:21 PM, Maciej Wasilak wrote: > > Hello, > > In my UDP Twisted based library there is a problem with IPv6 addresses > representation. Addresses are compared as simple strings, and it > sometimes causes mismatches: > > "fe80:::bbff:fecc:" should be equal to > "fe

[Twisted-Python] IPv6 comparison handling

2016-04-24 Thread Maciej Wasilak
Hello, In my UDP Twisted based library there is a problem with IPv6 addresses representation. Addresses are compared as simple strings, and it sometimes causes mismatches: "fe80:::bbff:fecc:" should be equal to "fe80:::::bbff:fecc:" I've noticed that Python 3 has nice