Tom Most

Results 65 issues of Tom Most

## Scope and purpose Add a few words about why this PR is needed and what is its scope. Add mentions of things that are not covered here and are...

This is #741 merged forward. I couldn't resolve the conflicts on that PR directly, perhaps because the original author has deleted their fork. Fixes #9076. ## Contributor Checklist: * [x]...

needs-changes

The readme says: > bind_address : The address to bind on. Defaults to 0.0.0.0 However the actual default is ``::``: https://github.com/statsite/statsite/blob/8422ff676243bae8e458b60e0513adeaaf003151/src/config.c#L33

[`strawberry.GraphQLView.dispatch_request()`](https://github.com/strawberry-graphql/strawberry/blob/05c94aea86d5c44e226d0f5a0d453079308ce8b9/strawberry/flask/views.py#L46) is typed as returning `flask.Request`, which is much more restrictive than the [superclass method return type](https://flask.palletsprojects.com/en/2.1.x/api/#flask.views.View.dispatch_request): > [Union](https://docs.python.org/3/library/typing.html#typing.Union)[Response, str, bytes, Dict[str, Any], Iterator[str], Iterator[bytes], Tuple[Union[[Response](https://flask.palletsprojects.com/en/2.1.x/api/#flask.Response), [str](https://docs.python.org/3/library/stdtypes.html#str), [bytes](https://docs.python.org/3/library/stdtypes.html#bytes), [Dict](https://docs.python.org/3/library/typing.html#typing.Dict)[str, Any],...

bug

It's not in the docs proper, but `with_fallback()` is described in the readme: > Usage: `config3 = config1.with_fallback(config2)` or `config3 = config1.with_fallback('samples/aws.conf')` I read this to mean that `config3` is...

bug

https://github.com/twisted/klein/blob/4dbd5f304fcdba516ee4dcebf003cf05b630ddb9/src/klein/_form.py#L98 This causes attrs to issue a deprecation warning: > builtins.DeprecationWarning: The usage of `cmp` is deprecated and will be removed on or after 2021-06-01. Please use `eq` and `order`...

bug

``` Traceback (most recent call last): File "/home/runner/work/treq/treq/.tox/py39-twisted_latest/lib/python3.9/site-packages/twisted/trial/runner.py", line 596, in loadPackage module = modinfo.load() File "/home/runner/work/treq/treq/.tox/py39-twisted_latest/lib/python3.9/site-packages/twisted/python/modules.py", line 389, in load return self.pathEntry.pythonPath.moduleLoader(self.name) File "/home/runner/work/treq/treq/.tox/py39-twisted_latest/lib/python3.9/site-packages/twisted/python/reflect.py", line 297, in namedAny topLevelPackage...

bug

Fixes #352. httpbin 0.7.0 gets us compatibility with current versions of MarkupSafe, which dropped `soft_unicode` in [version 2.1.0][1]. [werkzeug 2.0.3][2] is the most recent version that includes the deprecated `BaseResponse`...