pcp
[Top] [All Lists]

Re: [pcp] python pmExtractValue segfault

To: Michele Baldessari <michele@xxxxxxxxxx>
Subject: Re: [pcp] python pmExtractValue segfault
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri, 30 May 2014 03:28:27 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <20140530071629.GB29113@xxxxxxxxxxxxxxx>
References: <20140527223044.GC4384@xxxxxxxxxxxxxxx> <1135934547.16110444.1401239312938.JavaMail.zimbra@xxxxxxxxxx> <20140528144433.GD4384@xxxxxxxxxxxxxxx> <827869715.16856930.1401326163702.JavaMail.zimbra@xxxxxxxxxx> <20140529211419.GA29113@xxxxxxxxxxxxxxx> <1918492899.17482214.1401410448076.JavaMail.zimbra@xxxxxxxxxx> <20140530071629.GB29113@xxxxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: Da4tezsJVhQ92Qs/hIfn1HWX+dV8Bw==
Thread-topic: python pmExtractValue segfault

----- Original Message -----
> [...]
> I was chatting with Marko about the minimum python version, as I was
> requiring python 2.7 (dictionary comprehensions, timedelta.total_seconds(),
> etc.). What's the general minimum python version I can assume to be
> installed? 2.6 (i.e. RHEL 6) or is 2.7 fine?

Its very much preferred if we can make everything work for RHEL 6 too.  :)
FWIW, pcp.pmapi has a timeval class which might suit for timedelta (feel
free to add to it as needed).  timevals are used extensively throughout
libpcp and hence the pcp python wrapper.

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>