[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#785275: ITP: python-ipaddress -- Backport of the ipaddress module from Python 3.3



Control: tag -1 + wontfix

On 14 May 2015 at 13:45, Scott Kitterman <debian@kitterman.com> wrote:
> Is this 100% compatible with ipaddress from upstream now?  The problem I ran
> into before is that when importing ipaddress and it turned out to be this one
> and not the upstream one, the API was different, so it didn't work.

I assumed so, otherwise there would be no point in a backport, but I
haven't yet done the work to verify this.

> It's completely trivial to use ipaddr with
> python2 and ipaddress with python3 [1], so this backport seems pretty
> pointless to me.

Well, it's only completely trivial if they have the same API and you
count "putting a try/except wrapper around every single import of the
package" as trivial...

However, given that my initial experiments with using ipaddr seem to
show that it's feasible, I'll probably stick with that for now.
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar


Reply to: