From regebro at gmail.com Tue Mar 5 16:47:20 2013 From: regebro at gmail.com (Lennart Regebro) Date: Tue, 5 Mar 2013 16:47:20 +0100 Subject: [Python-porting] (no subject) In-Reply-To: <20130215162505.SSH5W.88832.root@cdptpa-web10-z01> References: <20130215162505.SSH5W.88832.root@cdptpa-web10-z01> Message-ID: On Fri, Feb 15, 2013 at 5:25 PM, wrote: > > > which uses python version 2.7.3 for some reason although python3.2 is in the lib folder. > > ~$ python -m trace --count -C . op25_grc.py You are running it with Python 2. To run it with Python 3, you need to call python3. It seems like GNURadioCompanion should support Python 2.7, though, so I don't think that's the issue. But by all means, try. :-) //Lennart From benjamin at python.org Mon Mar 18 22:02:41 2013 From: benjamin at python.org (Benjamin Peterson) Date: Mon, 18 Mar 2013 14:02:41 -0700 Subject: [Python-porting] [ANN] six 1.3.0 released Message-ID: I'm happy to announce the release of six 1.3.0. There's nothing particularly ground-breaking here; gradual improvement on a few fronts. Thanks to Marc Abramowitz for some pull requests. Six is a Python 2 and 3 compatibility library. It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on both Python versions. See the documentation for more information on what is provided. Six supports Python 2.4+. Online documentation is at http://packages.python.org/six/. Bugs can be reported to http://bitbucket.org/gutworth/six. The code can also be found there. Here is the changelog for six 1.3.0: - Issue #21: Add methods to access the closure and globals of a function. - In six.iter(items/keys/values/lists), passed keyword arguments through to the underlying method. - Add six.iterlists(). - Issue #20: Fix tests if tkinter is not available. - Issue #17: Define callable to be builtin callable when it is available again in Python 3.2+. - Issue #16: Rename Python 2 exec_'s arguments, so casually calling exec_ with keyword arguments will raise. - Issue #14: Put the six.moves package in sys.modules based on the name six is imported under. - Fix Jython detection. - Pull request #4: Add email_mime_multipart, email_mime_text, and email_mime_base to six.moves. Have fun, Benjamin