Mark Williams

Results 15 issues of Mark Williams

Automat should have a benchmark suite so we can measure performance overhead.

Automat should have a test helper that asserts *all* transitions occurred. It might go a little something like this: ```python tracer = TraceAllTransitions() someMachineInstance.traceWith(tracer) # testing intensifies assertHasAllTransitions(tracer, for_=SomeMachine) ```...

Automat should have a test helper that asserts a given transition occurred after running a block of code. It might go a little something like this: ```python with assertTransitioned(someMachineInstance, through=[SomeMachine.state1,...

Per @moshez's suggestion: The `collector` callable passed to `upon` runs on a generator of outputs. That means replacing it with `next`, as suggested by the docs, for a transition that...

[`riko.bado.io.FileReader`](https://github.com/nerevu/riko/blob/0a3cab171b0e4ccdd2e47ecceef44d837f1747c6/riko/bado/io.py#L40) should be a [`push_ producer`](https://twistedmatrix.com/documents/current/core/howto/producers.html#push-producers). This will be easier to implement and conform to most Consumer's expectations.

enhancement
help wanted

`hyperlink.register_scheme` mutates global state. That's convenient but amounts to an import time side effect. If I do this in module `a`: ```python from hyperlink import register_scheme register_scheme("blah") ``` I have...

#196 will skip integration tests when run under Windows until the child process can be run reliably on that platform. We should make it run reliably on that platform.

`treq.client` [adds redirect wrappers](https://github.com/twisted/treq/blob/e0b3ad8253b455bcf63ec040f9c46e6caf194c67/treq/client.py#L206-L213) before it [adds the auth wrapper](https://github.com/twisted/treq/blob/e0b3ad8253b455bcf63ec040f9c46e6caf194c67/treq/client.py#L215-L217). This will break authorization implementations that need to go through a series of request-response cycles, like HTTP Digest authorization.

As a first step we should just get rid of `gvertix` and `gtk2hack`. We should replace it with [Toga](https://github.com/pybee/toga) later.