Release Notes¶
Release 0.5.4¶
| Release: | 0.5.4 |
|---|---|
| Date: | TBD |
New Features¶
None
Experimental Types¶
Warning
Experimental types are subject to change.
- Records can now be constructed with the new syntax:
R['field0':type0, 'field1':type1, ...]where each slice object represents a field in the record.Racts as an alias forRecordto make it more pleasant to construct these literal types (#186).
API Changes¶
datashapeno longer supports Python 2.6 (#189).datashapeno longer support Python 3.3 (#191).The default
reprofMonosubclass now prints out the slot names as keyword arguments next to their values (#188). For exampleInstead of
>>> from datashape import Decimal >>> Decimal(precision=11, scale=2) Decimal(11, 2)
we have
>>> Decimal(precision=11, scale=2) Decimal(precision=11, scale=2)
Fields are now always constructed with
strin Record datashapes (#197).
Bug Fixes¶
- Makes the parser recognize
nullandvoid(#183). - Cache the datashape hash value to avoid potentially expensive recomputation during memoization (#184).
- Fix discovery of strings that start with things that look like numbers (#190).
- Makes the parser recognize
object(#193). - Make string field names in Record types have the same string type (#200).
- Fix the reprs for
Functionobjects (#194).
Miscellaneous¶
None