推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
bleutail
V2EX  ›  Python

我可以把一个 queue_a 放进一个 queue_b 里,通过 queue_b 取出 queue_a 再用 queue_a 取内容吗?

  •  
  •   bleutail · Sep 15, 2021 · 1728 views
    This topic created in 1725 days ago, the information mentioned may be changed or developed.

    我想用 queue 从取出一个接口的返回值,但是这个封装的接口需要定期开关,我想每次启动接口的时候创建一个对应 queue,然后把新 queue_a 通过固定的 queue_b 传回主函数。

    sivacohan
        1
    sivacohan  
    PRO
       Sep 15, 2021 via iPhone
    可以,但是不建议。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2512 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 15:56 · PVG 23:56 · LAX 08:56 · JFK 11:56
    ♥ Do have faith in what you're doing.