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


Groups > comp.lang.python > #10088

Re: Inconsistencies between zipfile and tarfile APIs

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <lars@g33x.de>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.053
X-Spam-Evidence '*H*': 0.89; '*S*': 0.00; 'guido': 0.04; 'apis': 0.07; 'backwards': 0.07; 'python': 0.08; '21,': 0.09; 'chime': 0.09; 'cleaned': 0.09; 'tackle': 0.09; 'wrote:': 0.15; '"hey': 0.16; 'devs': 0.16; 'do!': 0.16; 'grass-roots': 0.16; 'guys,': 0.16; 'modules?': 0.16; 'pep.': 0.16; 'rantingrick': 0.16; 'shouting': 0.16; 'stdlib.': 0.16; 'subject:between': 0.16; 'sure,': 0.16; 'great.': 0.16; 'cc:addr:python-list': 0.16; 'cc:2**0': 0.21; 'this?': 0.22; 'cc:no real name:2**0': 0.22; 'header:In-Reply-To:1': 0.22; 'code.': 0.22; 'happen.': 0.23; 'archive': 0.23; 'versions': 0.23; 'code': 0.24; 'creating': 0.24; 'modules': 0.25; 'thu,': 0.28; 'fine.': 0.29; 'fix': 0.29; 'cc:addr:python.org': 0.30; 'module': 0.30; '(first': 0.30; 'modules,': 0.30; 'looks': 0.30; 'least': 0.31; 'changes': 0.31; 'people,': 0.33; "i've": 0.33; 'header:User-Agent:1': 0.34; 'there': 0.34; 'however,': 0.34; 'be.': 0.34; 'nobody': 0.34; 'all.': 0.35; 'community': 0.35; 'convince': 0.35; 'duplicate': 0.35; 'fixing': 0.35; 'from:charset:iso-8859-1': 0.35; 'towards': 0.35; 'impression': 0.37; 'instead,': 0.37; 'some': 0.37; 'but': 0.37; 'could': 0.37; 'received:192': 0.38; 'subject:: ': 0.38; 'something': 0.38; 'think': 0.38; 'problems': 0.38; 'two': 0.38; 'put': 0.38; 'considered': 0.38; 'should': 0.39; 'difficult': 0.39; 'did': 0.40; 'your': 0.60; 'leading': 0.61; 'stop': 0.61; 'happen': 0.62; 'perfect': 0.63; 'our': 0.63; 'ready': 0.64; 'day,': 0.65; 'friendly': 0.65; 'warm': 0.66; 'man': 0.66; 'view': 0.67; 'go!': 0.67; 'intuitive': 0.67; 'movement': 0.68; 'dealing': 0.69; 'fighting': 0.73; 'why?': 0.73; 'hundred': 0.76; 'introduce': 0.79; '"yes,': 0.84; '4000': 0.84; 'heard.': 0.84; 'heck,': 0.84; 'voices': 0.84; 'mr.': 0.86; '(mark': 0.91; 'unite': 0.91; 'idea!': 0.93; 'notice.': 0.96
Date Fri, 22 Jul 2011 10:49:15 +0200
From Lars Gustäbel <lars@gustaebel.de>
To rantingrick <rantingrick@gmail.com>
Subject Re: Inconsistencies between zipfile and tarfile APIs
Mail-Followup-To Lars Gustäbel <lars@gustaebel.de>, rantingrick <rantingrick@gmail.com>, python-list@python.org
References <5fd8e664-c855-41a2-9d8b-36d4c486f0b9@n35g2000yqf.googlegroups.com> <mailman.1344.1311308080.1164.python-list@python.org> <3241cbe4-9829-438b-ac0e-a0b87aff62d9@q15g2000yqk.googlegroups.com> <mailman.1346.1311311483.1164.python-list@python.org> <96257847-f17d-4681-9b71-b353c76c86fe@s17g2000yqs.googlegroups.com>
MIME-Version 1.0
Content-Type text/plain; charset=iso-8859-1
Content-Disposition inline
Content-Transfer-Encoding 8bit
In-Reply-To <96257847-f17d-4681-9b71-b353c76c86fe@s17g2000yqs.googlegroups.com>
User-Agent Mutt/1.5.19 (2009-01-05)
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1355.1311324559.1164.python-list@python.org> (permalink)
Lines 55
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1311324559 news.xs4all.nl 23970 [2001:888:2000:d::a6]:40963
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:10088

Show key headers only | View raw


On Thu, Jul 21, 2011 at 10:58:37PM -0700, rantingrick wrote:
> My hat is off to you Mr. Richardson. I've even considered creating my
> own clean versions of these two modules, because heck, it is not that
> difficult to do! However we must stop fixing these warts on a local
> level Corey. We MUST clean up this damn python stdlib once and for
> all.

One could get the impression that you are leading a grass-roots movement
fighting a big faceless corporation. Instead, what you're dealing with is this
warm and friendly Python community you could as well be a part of if you are a
reasonable guy and write good code.

> I am willing and you are willing; that's two people. However, can we
> convince the powers that be to upgrade these modules? Sure, if we get
> enough people shouting for it to happen they will notice. So come on
> people make your voices heard. Chime in and let the devs know we are
> ready to unite and tackle these problems in our stdlib.

Yeah, great. Please write code. Or a PEP.

> What this community needs (first and foremost) is some positive
> attitudes. If you don't want to write the code fine. But at least
> chime in and say... "Hey guys, that's a good idea! I would like to see
> some of these APIs cleaned up too. good luck! +1"

+1

> Now, even if we get one hundred people chanting... "Yes, Yes, Fix This
> Mess!"... i know Guido and company are going to frown because of
> backwards incompatibility. But let me tell you something people, the
> longer we put off these changes the more painful they are going to
> be.

And backwards compatibility is bad why? Tell me, what exactly is your view
towards this? Should there be none?

> Python 3000 would have been the perfect time to introduce a more
> intuitive and unified zip/tar archive module however that did not
> happen. So now we need to think about adding a duplicate module
> "archive.py" and deprecating zipfile.py and tarfile.py. We can remove
> the old modules when Python 4000 rolls out.
> 
> That's just step one people, we have a long way to go!

archive.py is no new idea. Unfortunately, to this day, nobody had the time to
come up with an implementation.

Let me say it again: less false pathos, more code. Please.

-- 
Lars Gustäbel
lars@gustaebel.de

To a man with a hammer, everything looks like a nail.
(Mark Twain)

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PyWart 1001] Inconsistencies between zipfile and tarfile APIs rantingrick <rantingrick@gmail.com> - 2011-07-21 20:46 -0700
  Re: [PyWart 1001] Inconsistencies between zipfile and tarfile APIs Corey Richardson <kb1pkl@aim.com> - 2011-07-22 00:13 -0400
    Re: Inconsistencies between zipfile and tarfile APIs rantingrick <rantingrick@gmail.com> - 2011-07-21 21:48 -0700
      Re: Inconsistencies between zipfile and tarfile APIs Corey Richardson <kb1pkl@aim.com> - 2011-07-22 01:05 -0400
        Re: Inconsistencies between zipfile and tarfile APIs rantingrick <rantingrick@gmail.com> - 2011-07-21 22:58 -0700
          Re: Inconsistencies between zipfile and tarfile APIs Lars Gustäbel <lars@gustaebel.de> - 2011-07-22 10:49 +0200
            Re: Inconsistencies between zipfile and tarfile APIs rantingrick <rantingrick@gmail.com> - 2011-07-22 10:38 -0700
      Re: Inconsistencies between zipfile and tarfile APIs Terry Reedy <tjreedy@udel.edu> - 2011-07-22 01:45 -0400
        Re: Inconsistencies between zipfile and tarfile APIs rantingrick <rantingrick@gmail.com> - 2011-07-21 23:40 -0700
          Re: Inconsistencies between zipfile and tarfile APIs Corey Richardson <kb1pkl@aim.com> - 2011-07-22 03:19 -0400
          Re: Inconsistencies between zipfile and tarfile APIs Terry Reedy <tjreedy@udel.edu> - 2011-07-22 15:33 -0400
          Re: Inconsistencies between zipfile and tarfile APIs Ned Deily <nad@acm.org> - 2011-07-22 14:17 -0700
          Re: Inconsistencies between zipfile and tarfile APIs Terry Reedy <tjreedy@udel.edu> - 2011-07-22 20:31 -0400
      Re: Inconsistencies between zipfile and tarfile APIs Ryan Kelly <ryan@rfk.id.au> - 2011-07-22 15:56 +1000
  Re: [PyWart 1001] Inconsistencies between zipfile and tarfile APIs Lars Gustäbel <lars@gustaebel.de> - 2011-07-22 10:26 +0200
    Re: Inconsistencies between zipfile and tarfile APIs rantingrick <rantingrick@gmail.com> - 2011-07-22 10:11 -0700
      Re: Inconsistencies between zipfile and tarfile APIs Chris Angelico <rosuav@gmail.com> - 2011-07-23 03:23 +1000
      Re: Inconsistencies between zipfile and tarfile APIs Chris Angelico <rosuav@gmail.com> - 2011-07-23 03:25 +1000
  Re: [PyWart 1001] Inconsistencies between zipfile and tarfile APIs Thomas Jollans <t@jollybox.de> - 2011-07-22 12:31 +0200
  Re: [PyWart 1001] Inconsistencies between zipfile and tarfile APIs Tim Chase <python.list@tim.thechases.com> - 2011-07-22 06:25 -0500
  Re: [PyWart 1001] Inconsistencies between zipfile and tarfile APIs Terry Reedy <tjreedy@udel.edu> - 2011-07-22 15:49 -0400

csiph-web