On Feb 2, 2008 10:58 PM, <[EMAIL PROTECTED]> wrote: > > Leif> There is already an idiom with other packages (pygtk etc.) that > Leif> suggests syntax like > > Leif> try: > Leif> python.require('3.1') > Leif> except: > Leif> print('Some warning about version incompatibility') > Leif> exit(1) > > It won't work in this case. Compilation of the module might well fail > because of Python2/Python3 syntax differences.
Well, then this isn't something to be implemented for python 2, it's something to consider for python 3 and greater. I see what you're saying though, and perhaps in the interim, a shebang fix will suffice. -- Cheers, Leif _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com