-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
766 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Release notes | ||
|
||
## 0.2.1 (2014-12-20) | ||
|
||
- changed type checking keyword argument names: `opt` -> `or_none` | ||
and `nodups` -> `unique` | ||
- improved error messages for constructing Structs | ||
- significant updates to readme and examples | ||
- using `opt=True` on `TypedField` no longer implies that `None` is | ||
the default value | ||
- made mixin version of `checktype()` and `checktype_seq()` | ||
- added `check()` and `normalize()` hooks to `TypedField` | ||
- accessing fields descriptors from classes is now permissible | ||
- added support for default values in general, and optional values | ||
for type-checked fields | ||
- fixed `__repr__()` on recursive Structs | ||
|
||
## 0.2.0 (2014-12-15) | ||
|
||
- initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Wishlist # | ||
- add support for `__slots__` | ||
- make exceptions appear to be raised from the stack frame of user code | ||
where the type error occurred, rather than inside this library (with | ||
a flag to disable, for debugging) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.