On Thu, May 03, 2012 at 10:22:16AM +0200, James Miller wrote: [...] > D3 would be fine, iff it was easy to port D2 across and easy to > continue using D2 code. A big problem with Python2 -> Python3 is the > fact that it is a nightmare to have both running side-by-side. > > I don't really think that D3 is a good idea, it would probably be > better to gradually deprecate code going forward and replace the > broken syntax and non backwards-compatible code. > > Another useful could be to have a pragma(version, 2) so the compiler > compiles with version 2 rules, no porting needed, just a single line > near the top. [...]
+1 to the pragma. If there ever will be a D3, this will be indispensible to not lose the majority of existing users. OTOH, it will make the compiler much harder to maintain. T -- Once bitten, twice cry...
