Simon Willison
Simon Willison
I think the bug may be in this code: https://github.com/davidblewett/rure-python/blob/024bf4b8139c159fe2c9156c5acc9b61c9505866/rure/regex.py#L235-L251
This happens without `.finditer()` too: ```pycon >>> rure.compile('(?P\w+)').match("hello").groupdict() {'name': 'h'} >>> rure.compile('(?P\w+)(?P)').match("hello").groupdict() {'name': 'hello', 'nomatch': ''} ```
Also: ``` InvalidCacheBackendError: Could not find backend 'redis_cache.RedisCache': cannot import name 'python_2_unicode_compatible' from 'django.utils.encoding' (/app/.heroku/python/lib/python3.7/site-packages/django/utils/encoding.py) ```
ASGI is mentioned in #649 and #1896 but there's no single issue advocating for ASGI support to be added directly to Zappa, so I opened this one.
I'd be disappointed to see this not land in Starlette. I'd understand if it required additional dependencies and a complex implementation, but I feel like the implementation in #1013 is...
> If I may... This issue has more than two years, would you mind sharing what you did to overcome Starlette's limitation here? I took the easiest possible route and...
I can show deprecation warnings for `--extra-options` and remove the option entirely in Datasette 1.0.
This can generate a `config.json` file that's included the published deployment, thanks to the work in #731 (pull request #739).
Relevant support question on Twitter: https://twitter.com/simonw/status/1312926103627988993
See also #992 which will rename `--config` to `--setting`.