Comments (5)
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/).
from six.
Original comment by peterjc (Bitbucket: peterjc, GitHub: peterjc):
Thank you!
from six.
mapping for _thread module (fixes #39)
from six.
Original comment by peterjc (Bitbucket: peterjc, GitHub: peterjc):
The Python 3 _thread
is only private under the leading underscore convention, but more to the point is not deprecated and the 2to3 tool effectively encourages its use: http://docs.python.org/3.3/library/_thread.html
I'm currently (trying to) use six to get a large library working under Python 2 and 3 without using 2to3, and having six support thread
versus _thread
would help (as a short term measure to moving to threading
).
Even if you won't personally fix it, would you accept a pull request that did?
from six.
_thread
is not public in Python 3, so I don't think it should be exposed. Hopefully, it should be easy to transition to threading
.
from six.
Related Issues (20)
- add six.ensure_bytes alias to six.ensure_binary
- provide provide a decorator to alias keyword kwargs into `_` suffix alternatives
- html_parser causing "Deprecation Warning" in Python 3.8 HOT 1
- Implement create_module() and exec_module() for _SixMetaPathImporter HOT 8
- switch to GH actions HOT 2
- six urlib urlopen faces certificate has expired error HOT 1
- Implement find_spec() for _SixMetaPathImporter
- 1.15.0: pytest warnings HOT 2
- Please make a new release with the py3.10 fixes
- bad magic number in 'six' HOT 4
- What version of collections_abc is supported? HOT 2
- Different versions of packages (geckodriver) can be installed on linux and windows
- can i use six just like run command on cmd like six filename.py? HOT 1
- ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to find_module()
- RuntimeError: restricted attribute setting __doc__ when being imported in python2.7 in a restricted frame
- Module MD5 could be moved to hashlib.md5? HOT 1
- Python:3.11 failing to install six (pip version: 22.3.1)
- Version 1.16.0 vulnerable to OS Command Injection
- Failure when using six.with_metaclass in python 2.7 when metaclass doesn't directly inherit from type
- SIX new version HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from six.