Message357481
> This is already done in master branch ;)
Thanks, I noticed the speed improvement in master and 3.7 but assumed it's due to some other optimisation in master.
> Do you mind if I create PR for it? I would like to start contributing to CPython ;)
Sure, I will be happy to review. I would like to know others thoughts on this too on deferring whether the attribute is async check to the mock's own creation in _get_child_mock instead of making the parent mock construction slightly expensive as per the current approach. We can at least backport the NonCallableMock.__init__ signature fix which seems safe to make an improvement.
Thanks |
|
Date |
User |
Action |
Args |
2019-11-26 04:51:16 | xtreak | set | recipients:
+ xtreak, cjw296, michael.foord, lisroach, mariocj89, julianhille, marseel |
2019-11-26 04:51:16 | xtreak | set | messageid: <1574743876.02.0.727028087.issue38895@roundup.psfhosted.org> |
2019-11-26 04:51:16 | xtreak | link | issue38895 messages |
2019-11-26 04:51:15 | xtreak | create | |
|