Re: [libgpiod][PATCH v9 1/1] bindings: python: optionally include module in sdist

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

 



On Fri, Nov 3, 2023 at 10:31 AM Phil Howard <phil@xxxxxxxxxxxxx> wrote:
>
> A quick aside, if modified to run on your system, does this script segfault?
>
> ```
>
> import gpiod
> from gpiod.line import Direction, Value
>
> a = gpiod.request_lines("/dev/gpiochip0", consumer="test", config={
>     23: gpiod.LineSettings(direction=Direction.OUTPUT,
> output_value=Value.INACTIVE)
> })
>
> b = gpiod.request_lines("/dev/gpiochip0", consumer="test", config={
>     24: gpiod.LineSettings(direction=Direction.OUTPUT,
> output_value=Value.INACTIVE)
> })
>
> a.release()
> b.release()
> ```

Nope, works fine. What is the stack trace?

Bartosz

>
>
> On Fri, 3 Nov 2023 at 09:06, Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
> >
> > On Fri, Nov 3, 2023 at 9:56 AM Phil Howard <phil@xxxxxxxxxxxxx> wrote:
> > >
> > > So, today's the day?
> > >
> > > What's the plan?
> > >
> >
> > Yes! I'll apply this, release libgpiod v2.1, generate the python
> > v2.1.0 release from it and upload it to pypi - this time to the gpiod
> > package.
> >
> > Bart
> >
> > > On Thu, 26 Oct 2023 at 10:29, Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
> > > >
> > > > On Wed, Oct 25, 2023 at 3:06 PM Kent Gibson <warthog618@xxxxxxxxx> wrote:
> > > > >
> > > > > On Wed, Oct 25, 2023 at 02:50:57PM +0200, Bartosz Golaszewski wrote:
> > > > > > On Wed, Oct 25, 2023 at 10:27 AM Phil Howard <phil@xxxxxxxxxxxxx> wrote:
> > > > > > >
> > > > > >
> > > > > > This now looks good to me. I'll leave it here until Friday and if
> > > > > > there are no objections (Kent, would you mind reviewing this one?),
> > > > >
> > > > > I've got nothing to add.
> > > > >
> > > > > Cheers,
> > > > > Kent.
> > > > >
> > > >
> > > > Ok, I will actually delay it for a week until next Friday because I'll
> > > > be off Mon-Thu and I don't want to leave stuff broken if anything goes
> > > > wrong.
> > > >
> > > > Bart
> > >
> > >
> > >
> > > --
> > > Philip Howard
> > > Technology & Lifestyle Writer
> > > gadgetoid.com
> > >
> > > Gadgetoid gadg-et-oid [gaj-it-oid]
> > >
> > >                                      -adjective
> > >
> > > 1. having the characteristics or form of a gadget; resembling a
> > > mechanical contrivance or device.




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux