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: <C92051E5205B41489F6CAFCAF0AECD640E9EE66E@FRAUVJ99EX5MSX.ww931.my-it-solutions.net>
References: <C92051E5205B41489F6CAFCAF0AECD640E9EE66E@FRAUVJ99EX5MSX.ww931.my-it-solutions.net>
Message-ID: <CAL0kPAVO9qSfQM8Ss1urt-J=3YbaMVdkWr8haYqt7O75iZf0fA@mail.gmail.com>

On Mon, Jul 20, 2015 at 1:43 PM, CARANNANTE, MARTINE
<martine.carannante at atos.net> 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: <C92051E5205B41489F6CAFCAF0AECD640E9EE66E@FRAUVJ99EX5MSX.ww931.my-it-solutions.net>
References: <C92051E5205B41489F6CAFCAF0AECD640E9EE66E@FRAUVJ99EX5MSX.ww931.my-it-solutions.net>
Message-ID: <20150808203134.F377A250FB5@webabinitio.net>

On Mon, 20 Jul 2015 11:43:46 -0000, "CARANNANTE, MARTINE" <martine.carannante at atos.net> 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: <CAP1=2W4JzxqAr_-3Er5dnemQCZ19bWrXPqi4FGVg9xg1onAwBQ@mail.gmail.com>

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: <http://mail.python.org/pipermail/python-porting/attachments/20150810/4150732f/attachment.html>