[object Object]

Results 53 comments of [object Object]
trafficstars

@menacher https://adamj.eu/tech/2019/03/11/pip-install-from-a-git-repository/

This should be ready for another test suite run and final review. Thanks for the very speedy review!

Whoops, I missed the instructions in the README about how to actually run the full test suite. I'm working on fixing the test collection bug in 2.7.

OK, should be passing on all supported versions of python. Thank you for your patience. ``` nox > Ran multiple sessions: nox > * tests-3.9: success nox > * tests-3.8:...

@smarie I believe I addressed your review comments. Please let me know if those changes were insufficient or if you need any other updates. Thanks very much!

I think adding a keyword-only argument with a default is almost always safe, unless there is an existing argument of the same name. Supporting that case seems useful. It also...

Adding the following lines after the definition of seems to work: ```python import types aux = types.FunctionType( decorated.__code__, foo.__globals__, name=decorated.__name__, argdefs=decorated.__defaults__, closure=foo.__closure__ ) decorated.__wrapped__ = aux ``` (Loosely based off...

[PEP 362](https://peps.python.org/pep-0362/) gives the following logic for the return value of `inspect.signature` and related behavior: > The function implements the following algorithm: > * If the object is not callable...