> The move to Python 3.0 is going to be significant, and we probably
> don't want to support both.
>

FWIW, you can write code for python 3.0 new standards that work on 2.6
and 2.7 (not 2.5). That is, 2.6 and 2.7, for the most part have a
superset of the language.

The issues I mostly ran into were:
1) use the print function, not the print statement
2) use the except Exception as ex: style
3) treat file IO as byte vectors, not strings

Then your code will happy be interpreted by 2.6->3.0. Its a real pain to
test it though. Good thing we have to wait on all those other
dependencies to catch up first.

-Josh

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to