[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Added the libudev python bindings



Hello,

the bug is in PyGObject, it is fixed already in some other branch, but the patches are extensive,
and when we talked to the maintainers, they don't want to put it in F12, and we need the bindings for RHEL6.
I wanted to try the new branch with the fixes, but I wasn't even able to get it working.
And these ctypes thing was not so complicated for our needs.

--

  Martin Gracik

----- "Jeremy Katz" <katzj fedoraproject org> wrote:

> So why not just help fix the bug now in libgudev rather than spend
> time on an interim thing that's going to be pulled out in the order
> of
> weeks to months?
> 
> - Jeremy
> 
> On Thu, Nov 12, 2009 at 2:21 AM, Martin Gracik <mgracik redhat com>
> wrote:
> > Also, there's the libgudev, which does dynamic python bindings,
> > but because of a bug in PyGObject, does not work 100%, but that
> should be fixed
> > with the patches for F13, so this pyudev is a temporary solution
> only.
> > I think we will use the libgudev, when it will be ready.
> >
> > --
> >
> >  Martin Gracik
> >
> > ----- "Hans de Goede" <hdegoede redhat com> wrote:
> >
> >> Hi,
> >>
> >> On 11/11/2009 05:34 PM, Bill Nottingham wrote:
> >> > Martin Gracik (mgracik redhat com) said:
> >> >> Also rewrote the baseudev.py to use the bindings instead of
> >> parsing
> >> >> the udev db file
> >> >
> >> > Any reason pyudev can't be pushed upstream to udev?
> >> >
> >>
> >> Its not really a proper library binding, it uses ctypes, so you
> >> manually
> >> have to free memory in python when you are done with it, also
> >> it does not cover the full libudev API, just what we need.
> >>
> >> Regards,
> >>
> >> Hans
> >>
> >> _______________________________________________
> >> Anaconda-devel-list mailing list
> >> Anaconda-devel-list redhat com
> >> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
> >
> > _______________________________________________
> > Anaconda-devel-list mailing list
> > Anaconda-devel-list redhat com
> > https://www.redhat.com/mailman/listinfo/anaconda-devel-list
> >
> 
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list redhat com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]