Open yaniv256 opened 9 years ago
Hi Yaniv,
When merging this I get some regressions on tests. Could you have a look at those by running nosetests contracts
?
A.
I don't know how to work with nosetest, and I have to get back to my main project. I apologize.
Best, Yaniv
Hi Andrea,
Love the project. This is my first pull request on Github, and note that I am also new to Python in general. I fixed a bug I was getting with bound methods that originated from the imported decorator module. I also added support to callable objects by replacing them with their call. This now runs on 2.7:
The output is:
BTW, I have a branch, ContractAttribute, with a working descriptor for enforcing a contract on an object's static function attribute. Let me know if you are interested.