17
0

Accepting request 156426 from home:posophe:branches:devel:languages:python

Update

OBS-URL: https://build.opensuse.org/request/show/156426
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitstring?expand=0&rev=4
This commit is contained in:
Sascha Peilicke
2013-02-26 13:23:49 +00:00
committed by Git OBS Bridge
parent a17d5b6263
commit 653157fc28
5 changed files with 21 additions and 5 deletions

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Feb 26 13:12:50 UTC 2013 - p.drouand@gmail.com
- Update to version 3.1.0:
* New 'pad' token
This token can be used in reads and when packing/unpacking to indicate that
you don't care about the contents of these bits. Any padding bits will just
be skipped over when reading/unpacking or zero-filled when packing.
>>> a, b = s.readlist('pad:5, uint:3, pad:1, uint:3')
Here only two items are returned in the list - the padding bits are ignored.
* New clear and copy convenience methods
These methods have been introduced in Python 3.3 for lists and bytearrays,
as more obvious ways of clearing and copying, and we mirror that change here.
t = s.copy() is equivalent to t = s[:], and s.clear() is equivalent to del s[:].
* Some bug fixes.
-------------------------------------------------------------------
Fri Jan 11 14:31:13 UTC 2013 - p.drouand@gmail.com