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


Groups > comp.lang.python.announce > #1037

[RELEASE] six 1.4.0

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <benjamin@python.org>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=python.org; s=200901; t=1378070671; bh=HtegvnlKA5JD+fLK/hRFKnRTBhwkHxEPEiITAwREJbs=; h=Date:Subject:From:To:From; b=XIC9mzlwcb1pV5iUtFc8d2CurhyKDgTPB/Nq6VLtDjOAvXo0V3aee8FaM4mBCzql3 0pBqUr8uSXcK2OLzgasAgcrs+JMAqI+TX/dY0zrwPAJisXx1dQdMegJrnanJ1tETl3 umrylcT+1vxxnBtApiQbFCF5jn99MKtoJJYpkGFg=
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:date:message-id:subject:from:to:content-type; bh=BWkRZmUGilf7qH3Mc7c8rmuoKaVsQ6lOwPD/sjnGhPM=; b=l5OXsKJI8+n/gr8VOUmsOdHUNcbNzl5CGfjwJwZnF5wB2V2oU2CwAZ0Yey8Po8JWdK ntxib8t7OKgZZpd8szrdGky3ty/SnT/H20MXTKcywSMBteROVQGKg6iu776lFpr92cx9 m3+pukdKF1fhnmVI//B9WxoezomHUxftp2NVRbOl+UGhCAg1F/2QurwijpVueNvzPj/s TA4RDbTwkh8vsZKPf+dJRvLpmV1yVPUAQ2SRGYhjfWj8uzWuOpzO+Uh05KYcFdt6b85m 2pobeSEZjBKUrf91BCMIaEJTHoO32yp0QMT24dvgMEIRL3wCVNO7T4dgcdTjHUqOpKrN 1RWg==
MIME-Version 1.0
X-Received by 10.49.50.42 with SMTP id z10mr3837323qen.40.1378070669695; Sun, 01 Sep 2013 14:24:29 -0700 (PDT)
Date Sun, 1 Sep 2013 17:24:29 -0400
Subject [RELEASE] six 1.4.0
From Benjamin Peterson <benjamin@python.org>
To python-porting <python-porting@python.org>, python-announce-list@python.org
Content-Type text/plain; charset=UTF-8
X-Mailman-Approved-At Mon, 02 Sep 2013 09:44:28 +0200
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To python-list@python.org
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.472.1378107868.19984.python-announce-list@python.org> (permalink)
Lines 51
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1378107868 news.xs4all.nl 15931 [2001:888:2000:d::a6]:57715
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python.announce:1037

Show key headers only | View raw


I'm pleased to announce the release of six 1.4.0. This release sees
some nice improvements, most significantly a much-requested
compatibility layer for the Py3 urllib package. I'd like to thank Marc
Abramowitz for contributing that as well as Jason R. Coombs for
several other helpful pull requests. See the appended changelog for a
complete picture of the changes in this release.

Download six at https://pypi.python.org/pypi/six

Online documentation is at http://packages.python.org/six/.

Bugs can be reported to http://bitbucket.org/gutworth/six.  The code can also be
found there.

Changelog
-----------------

- Issue #31: Add six.moves mapping for UserString.

- Pull request #12: Add six.add_metaclass, a decorator for adding a metaclass to
  a class.

- Add six.moves.zip_longest and six.moves.filterfalse, which correspond
  respectively to itertools.izip_longest and itertools.ifilterfalse on Python 2
  and itertools.zip_longest and itertools.filterfalse on Python 3.

- Issue #25: Add the unichr function, which returns a string for a Unicode
  codepoint.

- Issue #26: Add byte2int function, which complements int2byte.

- Add a PY2 constant with obvious semantics.

- Add helpers for indexing and iterating over bytes: iterbytes and indexbytes.

- Add create_bound_method() wrapper.

- Issue #23: Allow multiple base classes to be passed to with_metaclass.

- Issue #24: Add six.moves.range alias. This exactly the same as the current
  xrange alias.

- Pull request #5: Create six.moves.urllib, which contains abstractions for a
  bunch of things which are in urllib in Python 3 and spread out across urllib,
  urllib2, and urlparse in Python 2.



-- 
Regards,
Benjamin

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


Thread

[RELEASE] six 1.4.0 Benjamin Peterson <benjamin@python.org> - 2013-09-01 17:24 -0400

csiph-web