WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Python version

To: Sean Atkinson <sean@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Python version
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 19 Mar 2004 07:58:45 +0000
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 19 Mar 2004 08:00:33 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Fri, 19 Mar 2004 08:39:26 +0100." <1079681966.1568.31.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> > Whoops! I use Python 2.3 for most testing, so these backward
> > incompatibilities tend to creep in.  Python earlier than 2.2 we don't
> > care about, but 2.2 is used by a lot of distros.  Since we certainly
> > want to support Python 2.2 we'll need an alternative to tempfile. I'll
> > look into this.
> 
> Great - I'm glad 2.2 is to be maintained since it should avoid a whole
> lot of bother.  However I didn't want to suggest dropping mkdtemp since
> I read that it's more secure than previous methods like mktemp, which is
> now deprecated:
> 
> http://www.python.org/doc/2.3.3/lib/module-tempfile.html
> 
> Perhaps somebody who knows Python better than me would be able to work
> around this without having force such compromises into Xen?

I checked in a fix yesterday --- if the installer sees Python <2.3 it
installs a private copy of the Python 2.3 tempfile module.

I also fixed the --home= vs. root= problem.

 -- Keir


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel