Closed TheDataLeek closed 8 years ago
Right, the new README is generally correct but I would like to raise to points:
I have been waiting for the release of Python 3.5.2. It fixed a major bug with init in Generics but also caused a number of new issues which I will mention in a separate issue later on.
I believe the best way to deal with those 'container' types (i.e. Dicts, Lists, etc.) performance issues, is by implementing Generics first as they are like in-built system 'Generics'. I have some ideas how it can be done. I will keep you updated on this issue.
We can potentially introduce a configurable 'eager'/'lazy' switch to enforcement of types. And then we can also introduce a limit to how deep we should check the data passed.
I would liike to release a next stable version as soon as all tests are green and Generics are working reasonably well. I think, if I am not overloaded again, it might happen this month. I shall create a 'release' issue at some point this week.
So, what do you think?
(PS. The current architecture cannot throw an exception due to Python recursion level being exceeded during the type validation as it is uses generators to avoid recusrion by implementing its own stack)
Sorry I'm only now getting back to you, it's been a rough past few weeks on my end.
Some thoughts...
Responding to your previous message:
Updated readme to better reflect current (and future) status of this project.
What are your thoughts on when we can get a more recent version on PyPI? It would also be cool to post this to reddit (once we get a "stable" version on pypi) to get some more publicity.