Gabriel Corona

Results 204 comments of Gabriel Corona

The depends (and inclues) #170.

PR #153 is probably better because it does not rely on private headers which might possibly change between patch releases.

For 3.7, there is no `_PyThreadState_Current` symbol anymore. ```c # define _PyThreadState_Current _PyRuntime.gilstate.tstate_current ```

I think my fix (#170) is the correct fix for this. `ELF::GetBaseAddress()` computs the base address of the SO. This is supposed to be the address of the first (well,...

What about this solution? ~~~python def with_injection(f): f = inject(f) def wrapper(): injector = Injector([BaseModule(), StubModule()]) return injector.call_with_injection(f) return wrapper @with_injection def test_foo(session: Session): # session is injected! ... ~~~

> Edit: As long as one's fine with separate Injector (with new scopes) per test. Well yes, if that's not good for you, you can: ~~~python injector = Injector([BaseModule(), StubModule()])...

@johnwilander, the title is a reference to [proposal](https://datatracker.ietf.org/doc/html/draft-west-cookie-incrementalism-01#section-3.3) in the [incrementalism](https://datatracker.ietf.org/doc/html/draft-west-cookie-incrementalism-0) draft.

What's wrong with TUN? We need to be root to create the TUN device but AFAIU it's neeeded to open the USB device anyway.

The second part is not a pathl leak but is because yo u are installing on a subpath of the the source dir. The path leaks are present : -...