|
|
|
|
|
by Udo
4445 days ago
|
|
Speaking as a Python outsider, this looks pathological. If backwards compatibility is such a big hindrance in switching from 2 to 3, why not ship a v2 legacy fallback interpreter along with the new stuff? If you wanted to make it fancy, you could even make a 3-to-2 bridge that allows people to run v2 code from v3. Am I missing something here? |
|
Then, without the fancy v2-to-v3 bridge, it wouldn't really be more useful than just having both interpreters installed separately.
The fancy bridge does sound like a cool idea. We can run Python 2 or 3 code from Julia (with limitations on the data passed between them), so why can't we run Python 2 code from Python 3, with the same limitations?
It's basically possible already with some RPC libraries, but the experience could certainly be streamlined.