laggardkernel
laggardkernel
`Settings.get()` default value is `None`. The default value for `SELENIUM_DRIVER_ARGUMENTS` should be an empty list to support `for` loop. ```python class SeleniumMiddleware: def __init__(self, driver_name, driver_executable_path, browser_executable_path, command_executor, driver_arguments): ......
The canonical way to share info between `Request` and download middleware is `Request.meta`. Custom attributes `Request.custom_attr` should be avoided, cause it may be dropped after possible serialization and de-serialization in...
Specify the cookie format to be "semicolon separated name=value pairs".
Wrong use of experimental header "Encoding". Seems a bug. ```python class Request: # added by Reitz, 10/14/18 # 36c57393180a03e19ca65424cf6d1bcb808b904e @property async def declared_encoding(self): if "Encoding" in self.headers: return self.headers["Encoding"] class...
Param "before_request" is never passed to `Route.__init__()`. Or say it in another way, a "before_request" function is never converted to a `Route` instance. It's saved to `Router.before_requests` during route registration....
Just noticed the startup time increased dramatically on branch "next" compared with branch "master". branch | default conf | 0 segment ------- | ---------|---- master | 40 ms| 35 ms...
According to the comment introduced in tornadoweb/tornado#1873, bytearray shrink is done automatically in Python 3.4+.
This colorizer plugin is very powerful with so many options. The `"colorize.languages"` option is not enough to meet my need. Sometimes I wanna enable it for the current file, but...
2022.05.12: switched backend from aioredis` to `redis-py >= 4.2.0`. --- **Update**: - To test with `aioredis` 2.0.0 automatically. Travis and tox configurations need to be updated. - Fixes aio-libs/aiocache#543 ##...
A problem occurred when I was parsing an XHML file from index page of pipenv doc: https://pipenv.readthedocs.io/en/latest/ Here's part of the codes I'm using: ```python def remove_pics(filename): doc = pq(filename=filename,...