Comments (4)
For from tomorrow import threads
to work, it probably would have to be contained in a single file (instead of a directory with __init__
).
...or just change __init__
to from tomorrow.tomorrow import threads
By the way, tests also use Python2's print
.
from tomorrow.
So oddly enough, it's non-trivial to port this code to Python 3. This is because I rely on old-style Python class behavior to ensure calls to __method__
's are intercepted. See https://docs.python.org/2/reference/datamodel.html#new-style-and-classic-classes for details.
from tomorrow.
2.7 is love, 2.7 is life.
from tomorrow.
Allright i will close this
from tomorrow.
Related Issues (16)
- Support @processes(n) with ProcessPoolExecutor HOT 2
- threads(n) get rid of that n! HOT 2
- Example contains two imports of time module. HOT 3
- cannot import name threads HOT 5
- Does this support Python3 HOT 7
- run test.py error HOT 1
- Document `timeout` argument.
- Old-style classes interfere with returning strings HOT 3
- Tomorrow prevents script from terminating HOT 3
- Function returns object type of Tomorrow when decorated HOT 3
- Will it support retry after raising a timeout exception?
- tomorrow pip package installs tests for no real reason HOT 3
- "Syntax Error" in Python version 3.8.1 async name HOT 1
- Python 3 compatibility
- Clarify which versions of Python are supported 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 tomorrow.