索毅

Results 13 issues of 索毅

启动后,打开网页报错 internal_error ![image](https://user-images.githubusercontent.com/12948621/176117941-94d8304a-076a-4c53-9b60-4690106b4c72.png)

### Description when under container environment, os.cpu_count() get the host cpu count, which may be too large for the container to use. Fixes: use cgroup to compute the virtual cpu...

### Description os.cpu_count() is not correct when running in docker environment, because it compute the cpu count of host machine should use cgroup instead!

### Description Dose the processpool can only create one task? and then finish it self? can I create a daemon Process Pool and send coro_task to it,get get result using...

## Description when it comes to setting correct Python path for lanuching a vsc, it should be python.interpreterPath instead of python.pythonPath ## Code review checklist (for code reviewer to complete)...

when execute ``` import debugpy from ipykernel.debugger import Debugger ``` in **pycharm debug mode**, result in `ImportError: cannot import name 'pydevd_defaults' from '_pydevd_bundle'` and an more specfic notice is :...

#https://github.com/jupyterlab/jupyterlab/issues/12408 Resolves: #950

run this code under Flask==2.2.2 and Werkzeug==2.2.2 will return 403 ``` import pytest import requests @pytest.mark.server(url='/v1/books/', response=[{'id': 1}], method='GET') def test_handler_responses(): response = requests.get('http://localhost:5000/v1/books/') assert response.status_code == 200 assert response.json()...