From regebro at gmail.com Sat Aug 8 20:46:33 2015 From: regebro at gmail.com (Lennart Regebro) Date: Sat, 8 Aug 2015 20:46:33 +0200 Subject: [Python-porting] Does the Class UserGroup (issue 11588) exist for python 2.7 ? In-Reply-To: References: Message-ID: On Mon, Jul 20, 2015 at 1:43 PM, CARANNANTE, MARTINE wrote: > Hi > Could you tell me if the Class UserGroup (method add_usage_group to support > inclusive groups) exist for python 2.7 ? > The patch that I found on internet is only for python 3. What module/package/framework/context is this? From rdmurray at bitdance.com Sat Aug 8 22:31:34 2015 From: rdmurray at bitdance.com (R. David Murray) Date: Sat, 08 Aug 2015 16:31:34 -0400 Subject: [Python-porting] Does the Class UserGroup (issue 11588) exist for python 2.7 ? In-Reply-To: References: Message-ID: <20150808203134.F377A250FB5@webabinitio.net> On Mon, 20 Jul 2015 11:43:46 -0000, "CARANNANTE, MARTINE" wrote: > Could you tell me if the Class UserGroup (method add_usage_group to support inclusive groups) exist for python 2.7 ? > The patch that I found on internet is only for python 3. > > Thanks in advance for your answer I'm pretty sure that what exists is exactly what is in that issue[1]. I suspect it wouldn't be all that hard to backport the patch, but it won't ever appear in 2.7 itself. --David [1] http://bugs.python.org/issue11588 From bcannon at gmail.com Mon Aug 10 20:49:36 2015 From: bcannon at gmail.com (Brett Cannon) Date: Mon, 10 Aug 2015 18:49:36 +0000 Subject: [Python-porting] Porting HOWTO in Jupyter Notebook format Message-ID: http://nbviewer.ipython.org/gist/brettcannon/3e40637ab25761836b89 Nice thing about the notebook format is it shows live code and its results. Plus IPython has magic commands for running code as Python 2 or 3 which you can use in a notebook which ends up acting almost like syntax notation so people don't forget what code is being run in a cell. -------------- next part -------------- An HTML attachment was scrubbed... URL: