(Sorry about the length of this email)
Python 2.7 deprecated the PyCObject API in favor of a new "capsule" API.
http://docs.python.org/dev/whatsnew/2.7.html#capsules
The deprecations are set to "ignore" by default, so in theory the API
still works: every time an extension uses the API, a deprec
On Fri, Aug 13, 2010 at 10:20 AM, David Malcolm wrote:
> Personally, I'm leaning towards option (a) above (the "don't override
> warnings" option): closing the various as WONTFIX, and adding a section
> to the release notes, whilst working towards fixing this in Fedora 15.
> Affected applications
On Fri, Aug 13, 2010 at 02:20:51PM -0400, David Malcolm wrote:
> (Sorry about the length of this email)
>
> Python 2.7 deprecated the PyCObject API in favor of a new "capsule" API.
> http://docs.python.org/dev/whatsnew/2.7.html#capsules
>
> The deprecations are set to "ignore" by default, so in
On Fri, 2010-08-13 at 19:38 -0400, Toshio Kuratomi wrote:
> On Fri, Aug 13, 2010 at 02:20:51PM -0400, David Malcolm wrote:
> > (Sorry about the length of this email)
> >
> > Python 2.7 deprecated the PyCObject API in favor of a new "capsule" API.
> > http://docs.python.org/dev/whatsnew/2.7.html#
On Fri, 2010-08-13 at 13:44 -0800, Jeff Spaleta wrote:
> On Fri, Aug 13, 2010 at 10:20 AM, David Malcolm wrote:
> > Personally, I'm leaning towards option (a) above (the "don't override
> > warnings" option): closing the various as WONTFIX, and adding a section
> > to the release notes, whilst wor
On Fri, Aug 13, 2010 at 4:24 PM, David Malcolm wrote:
> Sorry about this.
You don't know how sorry! You've made it onto my Christmas Card list.
Which means I send you a live puppy in the mail COD overnight delivery
for Christmas day to your place of work. Now you have a choice. You
can either b
On Fri, Aug 13, 2010 at 08:24:07PM -0400, David Malcolm wrote:
> On Fri, 2010-08-13 at 19:38 -0400, Toshio Kuratomi wrote:
> > On Fri, Aug 13, 2010 at 02:20:51PM -0400, David Malcolm wrote:
> > > Possible ways forward:
> > > (a) don't fix this; treat enabling the warning in the "Doctor, it
> > >
Toshio Kuratomi wrote:
> This already sounds like something that is too involved for maintainers
> and package reviewers to do. I think this might be something that doesn't
> leave the drawing board without tooling to at least do part of the
> detective work.
Well, people, as opposed to automated
On Fri, Aug 13, 2010 at 02:20:51PM -0400, David Malcolm wrote:
> (Sorry about the length of this email)
>
> Python 2.7 deprecated the PyCObject API in favor of a new "capsule" API.
> http://docs.python.org/dev/whatsnew/2.7.html#capsules
> (b) try to fix the ones that are self-contained; send f
On Fri, 2010-08-13 at 21:57 -0400, Toshio Kuratomi wrote:
> On Fri, Aug 13, 2010 at 08:24:07PM -0400, David Malcolm wrote:
> > On Fri, 2010-08-13 at 19:38 -0400, Toshio Kuratomi wrote:
> > > On Fri, Aug 13, 2010 at 02:20:51PM -0400, David Malcolm wrote:
> > > > Possible ways forward:
> > > > (a)
On Sat, 2010-08-14 at 19:42 +0100, Richard W.M. Jones wrote:
> On Fri, Aug 13, 2010 at 02:20:51PM -0400, David Malcolm wrote:
> > (Sorry about the length of this email)
> >
> > Python 2.7 deprecated the PyCObject API in favor of a new "capsule" API.
> > http://docs.python.org/dev/whatsnew/2.7.h
On Mon, 2010-08-16 at 14:19 -0400, David Malcolm wrote:
> On Sat, 2010-08-14 at 19:42 +0100, Richard W.M. Jones wrote:
> > On Fri, Aug 13, 2010 at 02:20:51PM -0400, David Malcolm wrote:
[snip]
> Porting to the capsule API, I believe the code needs to look something
> like this (caution: untested)
On Mon, Aug 16, 2010 at 02:03:51PM -0400, David Malcolm wrote:
> On Fri, 2010-08-13 at 21:57 -0400, Toshio Kuratomi wrote:
> > > > On Fri, Aug 13, 2010 at 02:20:51PM -0400, David Malcolm wrote:
> > If this is okay, then I'd modify your point (a) to be this plan:
> >
> > When code that turns all wa
Thanks for the tip. It's sort of annoying that this new API is not in
Python < 2.7, necessitating a bunch of #ifdef's in the code. This is
the patch I came up with:
https://www.redhat.com/archives/libguestfs/2010-August/msg00053.html
Rich.
--
Richard Jones, Virtualization Group, Red Hat http:
On Mon, 2010-08-16 at 15:14 -0400, Toshio Kuratomi wrote:
> On Mon, Aug 16, 2010 at 02:03:51PM -0400, David Malcolm wrote:
> > On Fri, 2010-08-13 at 21:57 -0400, Toshio Kuratomi wrote:
> > > > > On Fri, Aug 13, 2010 at 02:20:51PM -0400, David Malcolm wrote:
> > > If this is okay, then I'd modify
15 matches
Mail list logo