Re: [PATCH v12 4/6] devtools: add multi-provider AI documentation review script

sunyuechi
2026-04-02T04:05:11Z

> + try:
> + with urlopen(req) as response:
> + result = json.loads(response.read().decode("utf-8"))
> + except HTTPError as e:
>
Could add a timeout to avoid hanging if the server is unresponsive. (There's also another place that uses urlopen.)