c-bata
c-bata
## Summary Replace `threading.local` with Context Variables that will be added from Python 3.7. https://www.python.org/dev/peps/pep-0567/
like: https://github.com/Pylons/pyramid/blob/master/pyramid/settings.py
http://docs.python.jp/3/library/functools.html#functools.lru_cache
## Summary Sometimes, we want to set query_parameters when redirecting like: * http://flask.pocoo.org/docs/0.12/patterns/viewdecorators/ **Caution** This option bumped with url variables. ``` @app.route('/foo/{next}') def foo(next: str) -> Response: return Response('foo') ```
## Summary I want to exploit type hints for converting query parameters. ## Description ### IDEA 1 ```python from kobin import Kobin, Response, Param app = Kobin() @app.route('/tasks/{task_id}') def index(task_id:...
https://docs.python.org/3.6/whatsnew/3.6.html#pep-487-simpler-customization-of-class-creation
`secret` module is added by Python3.6 https://docs.python.org/3.6/whatsnew/3.6.html#secrets
## Summary http://docs.python.jp/3/library/pathlib.html