I agree... I'm not opposed to moving to 2.5, but I don't want to rush into
it based on a trivially fixable minor piece of code.  I'd rather wait for a
compelling argument like some major python 2.5 feature that really makes
some new capability we're developing a lot easier (if there is such a
thing).

Steve

On Wed, Mar 21, 2012 at 9:42 AM, Ali Saidi <[email protected]> wrote:

>
>
> Probably the best plan.
>
> Ali
>
> On 21.03.2012 11:33, Andreas Hansson
> wrote:
>
> > It's a trivial change indeed. I'm happy to change it to a
> traditional
> > if/else, and then we can have the 2.5 discussion
> independent of this
> > modification.
> >
> > Andreas
> >
> > -----Original
> Message-----
> > From: [email protected]
> [mailto:[email protected]] On Behalf Of nathan binkert
> > Sent:
> 21 March 2012 16:20
> > To: gem5 Developer List
> > Subject: Re: [gem5-dev]
> Python version
> >
> > I have no problem going to 2.5 if that is the
> consensus and desire (so
> > we can get things like the with statement and
> context managers, -m for
> > executing gem5 as a module, and relative
> imports), that said, this
> > change is super trivial and isn't a good
> reason to move.
> >
> > By the way, "x if y else z" can be done in older
> versions of python as
> > "y and x or z". That said, I'm not much of a fan
> of either really.
> >
> > Nate
> >
> >> I would be for making 2.5 the minimum
> version. All supported versions of Ubuntu have python >=2.5 as does the
> last two revisions of OS X. RHEL 6 and newer also have python 2.5. While
> RHEL 5 has 2.4 and is probably still widely in use, it also has gcc
> 4.1.2 which we don't support, so that probably isn't an argument for
> staying with 2.4. Ali On 21.03.2012 09:50, Nilay Vaish wrote:
> >>
> >>>
> Changeset 7d74a97c525f
> >> uses python syntax that was made available
> from
> >>
> >>> version 2.5 onwards.
> >> Should we re-write this changeset,
> or should we move -- Nilay
> _______________________________________________
> >
> >
> _______________________________________________
> > gem5-dev mailing
> list
> > [email protected]
> > http://m5sim.org/mailman/listinfo/gem5-dev
> >
>
> > -- IMPORTANT NOTICE: The contents of this email and any attachments
> are confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy
> the information in any medium. Thank you.
> >
> >
> _______________________________________________
> > gem5-dev mailing
> list
> > [email protected]
> > http://m5sim.org/mailman/listinfo/gem5-dev
>
>
>
>
> Links:
> ------
> [1] mailto:[email protected]
> [2]
> mailto:[email protected]
> _______________________________________________
> gem5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/gem5-dev
>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to