Accepted deb822 0.3 (source)
Ubuntu Installer
archive at ubuntu.com
Thu Jun 14 14:55:29 BST 2007
Accepted:
OK: deb822_0.3.tar.gz
OK: deb822_0.3.dsc
-> Component: universe Section: python
Origin: Debian/unstable
Format: 1.7
Date: Thu, 14 Jun 2007 14:54:19 +0100
Source: deb822
Binary: python-deb822
Architecture: source
Version: 0.3
Distribution: gutsy
Urgency: low
Maintainer: John Wright <john at movingsucks.org>
Changed-By: Michael Bienia <michael at vorlon.ping.de>
Closes: 428540
Changes:
deb822 (0.3) unstable; urgency=low
.
* deb822.py:
- Allow Deb822 objects to be initialized with a dict containing the initial
key-value pairs.
- _multivalued class:
+ Make all the multivalued dicts Deb822Dict objects, so the keys are
case-preserving, but case-insensitive
- Add a Release class, which knows about Release-file multivalued fields.
Thanks to Alexandre Fayolle. (Closes: 428540)
- Deb822Dict no longer directly subclasses dict. All of the important
methods were already implemented with userdict.DictMixin; the dict
subclass was so that Python would see a Deb822Dict instance as a dict
instance. Unfortunately, this causes confusion if you do something like
d = dict(Deb822Dict({'foo': 'bar'})
The "Pythonic" way to check for a dictionary interface is to check for
the 'items' attribute.
* test_deb822.py:
- Add a test case for deriving a Python dict from a Deb822Dict.
* debian/control:
- Add a XS-Vcs-Bzr field
Files:
529c90ed1313e8b548666cc7a5b4a0a2 11708 python optional deb822_0.3.tar.gz
9e21184763c44749a225cee47e709861 584 python optional deb822_0.3.dsc
More information about the gutsy-changes
mailing list