Thomas Adamcik
|
86481b1d50
|
models: Shortcut case where copy didn't change anything
We no longer copy in this case and will just give you the same instance back.
|
2015-04-08 00:34:02 +02:00 |
|
Thomas Adamcik
|
0fee1b4b11
|
models: Switch to slots to reduce memory usage per instance
|
2015-04-08 00:30:53 +02:00 |
|
Thomas Adamcik
|
08fd99ffdb
|
models: Add Identifer type which interns values.
This gives some moderate memory saving since the values are used in multiple
places.
|
2015-04-08 00:11:23 +02:00 |
|
Thomas Adamcik
|
9b442e1563
|
review: Address review comments
|
2015-04-06 23:27:46 +02:00 |
|
Thomas Adamcik
|
2d03cd7290
|
models: Make fields handle unsetting defaults in __dict__
|
2015-04-05 13:09:19 +02:00 |
|
Thomas Adamcik
|
73415ce60f
|
models: Make sure del on attributes does not work
|
2015-04-05 13:08:15 +02:00 |
|
Thomas Adamcik
|
07912e1091
|
models: Add fields for supporting validation of models
Feature makes use of python descriptors to hook in type checking and other
validation when fields get set.
|
2015-04-05 13:08:15 +02:00 |
|
Thomas Adamcik
|
5c0430ef4a
|
tests: Move models tests into a directory
|
2015-04-05 13:08:15 +02:00 |
|