On 3/2/2013 4:04 PM, Joćo Bernardo wrote:Load 3.3 and use it. If you need an external 3.x library that will not run on 3.3 yet, 6 months after release, bug the author. If you want your code to run on earlier releases, select new and old versions with 'if version....'/
I was thinking about "yield from" and how many times I wanted to use the
feature, but because of backward compatibilities, I couldn't.
But it will not take that long. 'yield from' plays an essential role in Guido's new asynch package (code name: Tulip), which he hope will be ready for 3.4. It will probably also run in 3.3, but that will be it. People who want to use it will have to upgrade.It's sad that it may take possibly 5 or 10 years to see this statement
being used in real programs...
Experimental modules and packages are usually available on PyPI. I think experimental syntax that might be removed is a BAD idea. Getting rid of things that were not experimental is bad enough.I don't know if this was proposed before, but why can't Python have an
"__experimental__" magic package for this kind of stuff?
Note that*the idea is not for people to use experimental features* when
they appear, but to have a fallback for when the feature becomes official!
The details of a new feature are not fixed until they are fixed, when it becomes official be being added. Even future imports are not backported as bugfix releases do not get new features.