weixin_39942191 2020-11-20 20:33
浏览 0

six.moves missing thread / _thread

Originally reported by: peterjc (Bitbucket: peterjc, GitHub: peterjc)

See http://docs.python.org/2/library/thread.html

Python 2:

import thread

Python 3 (or after running the 2to3 imports fixer):

import _thread

I would like to be able to use one of:

from six.moves import thread

or,

from six.moves import _thread
  • Bitbucket: https://bitbucket.org/gutworth/six/issue/39

该提问来源于开源项目:benjaminp/six

  • 写回答

5条回答 默认 最新

  • weixin_39942191 2020-11-20 20:33
    关注

    Original comment by Marc Abramowitz (Bitbucket: msabramo, GitHub: msabramo):

    Cool, I just ran into this when porting an IO framework called Diesel (http://diesel.io/).

    评论

报告相同问题?