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


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

Re: Removing some python3-* packages

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Ben Finney <ben+debian@benfinney.id.au>
Newsgroups linux.debian.maint.python
Subject Re: Removing some python3-* packages
Date Fri, 03 Jul 2015 01:50:01 +0200
Message-ID <pHWoV-X2-9@gated-at.bofh.it> (permalink)
References <pHSOm-6Yq-13@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
Old-Return-Path <debian-python@m.gmane.org>
X-Amavis-Spam-Status No, score=-7.299 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, GMAIL=1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.599] autolearn=ham
X-Policyd-Weight using cached result; rate: -6.1
X-Injected-Via-Gmane http://gmane.org/
Lines 38
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host jigong.madmonks.org
X-Public-Key-ID 0xAC128405
X-Public-Key-Fingerprint 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405
X-Public-Key-URL http://www.benfinney.id.au/contact/bfinney-pubkey.asc
X-Post-From Ben Finney <bignose+hates-spam@benfinney.id.au>
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock sha1:BEWVTCsWFZXWP5kJaoMcALMFNMI=
X-Mailing-List <debian-python@lists.debian.org> archive/latest/12374
List-ID <debian-python.lists.debian.org>
List-URL <http://lists.debian.org/debian-python/>
Approved robomod@news.nic.it
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 03 Jul 2015 09:40:32 +1000
X-Original-Message-ID <85lheyqgb3.fsf@benfinney.id.au>
X-Original-References <20150702155530.4e93b05d@limelight.wooz.org>
X-Original-X-Complaints-To usenet@ger.gmane.org
Xref aioe.org linux.debian.maint.python:7073

Show key headers only | View raw


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.

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.

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.

-- 
 \      “Nullius in verba” (“Take no-one's word for it”) —motto of the |
  `\                                   Royal Society, since 1663-06-30 |
_o__)                                                                  |
Ben Finney


-- 
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/85lheyqgb3.fsf@benfinney.id.au

Back to linux.debian.maint.python | Previous | NextNext 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