decimal module:
- There’s a bunch of is_* methods (like is_signed()) in Decimal class returning a boolean value.
- Added an internal class to store the digits of log(10), so that they can be made available when necessary without recomputing.
enumerate() is no longer bounded to using sequences shorter than LONG_MAX. Formerly, it raised an OverflowError. Now, automatically shifts from ints to longs.
itertools.count() is no longer bounded to LONG_MAX. Formerly, it raised an OverflowError. Now, automatically shifts from ints to longs.
collections module:
- NamedTuple became named_tuple.
- named_tuple field specification can be a string or a list of strings.
- _ _ asdict _ _() have been added to convert a named tuple instance to dict.
- Add maxlen support to deque().
Splits Modules/_bsddb.c up into bsddb.h and _bsddb.c and adds a C API object available as bsddb.db.api.
Updates from Python SVN, Part 17
Related posts
A song for the lovers » Updates from Python SVN, Part 18 said,
[...] been definitely a while since my last update but having a new job changes a lot my [...]
RSS feed for comments on this post · TrackBack URI

