Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #7077

Re: Removing some python3-* packages

Path csiph.com!aioe.org!goblin2!goblin.stu.neva.ru!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Robert Collins <robertc@robertcollins.net>
Newsgroups linux.debian.maint.python
Subject Re: Removing some python3-* packages
Date Fri, 03 Jul 2015 05:10:02 +0200
Message-ID <pHZwu-36m-15@gated-at.bofh.it> (permalink)
References <pHSOm-6Yq-13@gated-at.bofh.it> <pHWoV-X2-9@gated-at.bofh.it>
X-Original-To Ben Finney <ben+debian@benfinney.id.au>
Old-Return-Path <robertc@robertcollins.net>
X-Amavis-Spam-Status No, score=-6.7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, GMAIL=1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .robertcollins. - helo: .mail-oi0-f45.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=W33aQHEXWVxOPTWtSauUnGxcIu+sHRstOvDuLAc3IVY=; b=nDKBWB0+ThLphRWv10i+N68XgoOwZM5zX198ia+cd6Hr1/iCEePLLmYiWsEK544sWb O6DejjLTqbapjWtK/J3vjpfKCwlt2/IWfzpFFpJdV/7goPlch9Ra8wR7D3yMXherr0Ty 7mVKZKvnrMYqPvoZ0E3qPe+cizgM7njWB8GX5QV/dUxiz6U4Ea9R+wb2nIljpcGcKuUd lpaaxEvd3tAknSc0TsPn/mEtezDnx+QQh7pg3jLzkzas/Mu/iDRX7mbIr+gAJOhtr3Wk yj9hSI5y7TliBulyqGCE1oFQXJcYbAtlJ5b553JEwe6X1T5fGiFFNhSMJXJms35Y1zxV hn3Q==
X-Gm-Message-State ALoCoQmXAvkPn/Z3BkwXZ4RvDVXAQ5wFsIy8jrEyHIXgv0ITM2e2GLp+foJPwP2GsLoZYiFt7q4P
MIME-Version 1.0
X-Received by 10.60.35.8 with SMTP id d8mr32864030oej.37.1435892526923; Thu, 02 Jul 2015 20:02:06 -0700 (PDT)
X-Originating-IP [122.57.100.81]
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Mailing-List <debian-python@lists.debian.org> archive/latest/12377
List-ID <debian-python.lists.debian.org>
List-URL <http://lists.debian.org/debian-python/>
Approved robomod@news.nic.it
Lines 54
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Debian Python <debian-python@lists.debian.org>
X-Original-Date Fri, 3 Jul 2015 15:02:06 +1200
X-Original-Message-ID <CAJ3HoZ04F=S8AF224XL6BCeApg8hqEO+tPv+cdFvgKyOwJiYjQ@mail.gmail.com>
X-Original-References <20150702155530.4e93b05d@limelight.wooz.org> <85lheyqgb3.fsf@benfinney.id.au>
Xref aioe.org linux.debian.maint.python:7077

Show key headers only | View raw


On 3 July 2015 at 11:40, Ben Finney <ben+debian@benfinney.id.au> wrote:
> Barry Warsaw <barry@debian.org> writes:
>
>> […] there's actually no reason to have a Python 3 version of enum in
>> any version >= Python 3.4. […]
>
> Ian Cordasco <graffatcolmingov@gmail.com> writes:
>
>> Probably a silly question, but are other libraries like unittest2 also
>> being packaged for python3? Another library is mock. That was included
>> in the stdlib in 3.3.
>
> One consideration is: What code is written to be Python 2 and Python 3
> compatible from the same code base, which achieves this by importing a
> module which is backported to Python 2?
>
> In some of my code I'm doing ‘import unit2’ to have features from that
> library available in Python 2 code.

I hope you mean 'import unittest2' - and great, thats the intent.

> Since those features are all in Python 3's standard library, the case
> could be made that ‘python3-unit2’ is pointless; but against that is the
> fact that a Python 3 ‘unit2’ package means that ‘import unit2’ will work
> the same on both runtime versions.

unittest2 also has new features in it for python 3.2, 3.3, 3.4, and
will soon have new features for 3.5 as well.

> So I'd argue that ‘python3-mock’ and the like do have a place in Debian:
> they make it easier to follow the recommended strategy of having a code
> base run unchanged on Python2 and Python 3.

+1.

-Rob



-- 
Robert Collins <rbtcollins@hp.com>
Distinguished Technologist
HP Converged Cloud


-- 
To UNSUBSCRIBE, email to debian-python-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: https://lists.debian.org/CAJ3HoZ04F=S8AF224XL6BCeApg8hqEO+tPv+cdFvgKyOwJiYjQ@mail.gmail.com

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Find similar


Thread

Re: Removing some python3-* packages Ben Finney <ben+debian@benfinney.id.au> - 2015-07-03 01:50 +0200
  Re: Removing some python3-* packages Ian Cordasco <graffatcolmingov@gmail.com> - 2015-07-03 02:10 +0200
    Re: Removing some python3-* packages Robert Collins <robertc@robertcollins.net> - 2015-07-03 05:10 +0200
  Re: Removing some python3-* packages Robert Collins <robertc@robertcollins.net> - 2015-07-03 05:10 +0200

csiph-web