You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The client does a common anti-pattern of doing a closure with *args,**kwargs but that sadly breaks introspection of wrapped methods.
This is a concrete problem e.g. if you wrap Pyramid views that get different arguments depending on how many arguments are present (either context, request or just request).
So you could live with depending on decorator? It’s python-only without further dependencies.
I still have the problem that I can’t run the tests locally on OS X because of the s.connect(('localhost', 0)) thing. If you’d fix that, I’ll happily fix your decorators. :)
I‘m fine with if you just skip the test on OS X (and mostly likely all BSDs? at least FreeBSD breaks too).
I just need a way to run tests locally. Once that’s fixed, I can do the tox/Travis CI/codecov integration for you too if you wish. By not being able to run the test suite on all BSDs you’re limiting the set of contributors quite a bit.
Activity
brian-brazil commentedon Apr 14, 2016
Would you like to send a pull request to fix this?
wrapt appears to have C dependencies, so that's not going to work out.
hynek commentedon Apr 15, 2016
So you could live with depending on decorator? It’s python-only without further dependencies.
I still have the problem that I can’t run the tests locally on OS X because of the
s.connect(('localhost', 0))thing. If you’d fix that, I’ll happily fix your decorators. :)brian-brazil commentedon Apr 15, 2016
I'd prefer to copy it in. While it's old enough that it should be everywhere, let's play it safe.
hynek commentedon Apr 18, 2016
As you wish.
I still need you to fix the test suite tho. :)
brian-brazil commentedon Apr 18, 2016
If you've got an alternative way to get the machine's IP that also works on Windows and Linux then I'm happy to change it.
hynek commentedon Apr 18, 2016
I‘m fine with if you just skip the test on OS X (and mostly likely all BSDs? at least FreeBSD breaks too).
I just need a way to run tests locally. Once that’s fixed, I can do the tox/Travis CI/codecov integration for you too if you wish. By not being able to run the test suite on all BSDs you’re limiting the set of contributors quite a bit.