similar to: [PATCH] Fixed checks for libpython features

Displaying 20 results from an estimated 300 matches similar to: "[PATCH] Fixed checks for libpython features"

2014 Nov 04
1
Re: [PATCH 7/9] python: fix detection of libpython features
On Tue, Nov 04, 2014 at 04:35:30PM +0100, Pino Toscano wrote: > Instead of querying distutils.sysconfig for the library name, just use > the $PYTHON_LIBS returned by pkg-config. This makes sure the tests can > link even with a libpython in a non-standard library directory. > --- > configure.ac | 10 ++-------- > 1 file changed, 2 insertions(+), 8 deletions(-) > > diff
2014 Nov 04
0
[PATCH 7/9] python: fix detection of libpython features
Instead of querying distutils.sysconfig for the library name, just use the $PYTHON_LIBS returned by pkg-config. This makes sure the tests can link even with a libpython in a non-standard library directory. --- configure.ac | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 87e066c..1bf291c 100644 --- a/configure.ac +++ b/configure.ac
2019 Sep 11
0
[PATCH nbdkit] python: Drop support for Python 2.
Starting with nbdkit 1.16, Python >= 3.3 will be required. Python 2 reaches end of life on 2020-01-01: https://python3statement.org/ https://pythonclock.org/ Debian oldoldstable and RHEL 7 have Python 3.4 and 3.6 respectively, so it seems pointless to try to support Python < 3.3 which lacked support for PyUnicode_AsUTF8. --- README | 13 +++++++------ configure.ac
2018 Apr 05
0
[PATCH nbdkit] python: Turn python exceptions into nbdkit errors properly.
--- configure.ac | 8 +++++++ plugins/python/python.c | 51 +++++++++++++++++++++++++++++++++++++++--- tests/Makefile.am | 1 + tests/python-exception.py | 45 +++++++++++++++++++++++++++++++++++++ tests/test-python-exception.sh | 42 ++++++++++++++++++++++++++++++++++ 5 files changed, 144 insertions(+), 3 deletions(-) diff --git a/configure.ac
2014 Aug 08
2
[PATCH 1/2] Add type checking, support integers as value
Before this patch, Python would segfault once you pass a non-string key or value to node_set_value. It was also not possible to set bytes on Python 3 as Unicode was assumed (Python 2 was not affected by this). This patch fixes recognition of bytes for Python 3, but in addition it recognizes ints (includes 'long' in Python 2) for DWORD (LE + BE) and QWORDs. For this purpose, a new field
2019 Dec 02
0
Debian Stretch - > buster: samba packages
Am 02.12.19 um 11:43 schrieb Rowland penny via samba: > On 02/12/2019 10:07, Stefan G. Weichinger via samba wrote: >> Am 02.12.19 um 08:47 schrieb L.P.H. van Belle via samba: >>> Hai, >>> >>> Sorry for the late reply. >> Never mind, weekend is important ... >> >>> Here its just apt-get distupgrade --autoremove --purge >>> Without
2019 Dec 02
0
Debian Stretch - > buster: samba packages
In that case. apt-get update apt-get remove samba winbind --autoremove apt-get dist-upgrade --autoremove apt-get install samba winbind libnss-winbind libpam-winbind tdb-tools apt-get dist-upgrade --autoremove --purge As long as you dont use --purge, everything of samba will stay on the system and you able to install the buster version. Greetz, Louis > -----Oorspronkelijk bericht-----
2019 Dec 02
1
Debian Stretch - > buster: samba packages
On 02/12/2019 10:51, Stefan G. Weichinger via samba wrote: > Am 02.12.19 um 11:43 schrieb Rowland penny via samba: >> On 02/12/2019 10:07, Stefan G. Weichinger via samba wrote: >>> Am 02.12.19 um 08:47 schrieb L.P.H. van Belle via samba: >>>> Hai, >>>> >>>> Sorry for the late reply. >>> Never mind, weekend is important ... >>>
2018 Jan 29
0
Re: python 3 bindings on libguestfs
The logs here: > checking for python... /opt/python/x86_64/3.1.1/bin/python3 > checking Python version... 3.1 > checking for PYTHON... no > checking for PYTHON... no > checking Python prefix... /opt/python/x86_64/3.1.1 > checking for Python site-packages path... /opt/python/x86_64/3.1.1/lib/python3.1/site-packages > checking for Python extension suffix (PEP-3149)... .so >
2020 Jan 09
9
[PATCH 0/7] Various Python cleanups.
Patch #7 depends on: https://www.redhat.com/archives/libguestfs/2020-January/msg00035.html No, Python < 3 support is not dropped yet, however it will be easier after this series. Pino Toscano (7): build: enforce a minimum Python version python: drop code for Python < 2.5 python: assume support for Capsules python: remove compile time check for PyString_AsString python: replace
2019 Sep 11
3
[PATCH nbdkit] python: Drop support for Python 2.
This patch proposes to drop support for Python 2 in nbdkit. Rather than abruptly drop it everywhere, my proposal is that we point people to nbdkit 1.14 (the current stable version) if they want to continue with Python 2 plugins, while gently reminding them of the upcoming Python 2.7 end of life announcement. Libnbd never supported Python 2. Libguestfs in theory supports Python 2 but I dropped
2018 Apr 05
4
[PATCH nbdkit] python: Turn python exceptions into nbdkit errors
Much more annoying that it needs to be, but I have tested it and it works on Python 2 & 3. Note this will not work on Python 3.0 - 3.2, but I guess we don't care about those versions. Rich.
2014 Nov 04
13
[PATCH 0/9] Small bits of non-Linux porting - #2
Hi, continuing what started a couple of weeks ago [1], the attached patch series continues the work in making it easier to build and run libguestfs (in fixed appliance mode) on OSes different than Linux. The provided changes should cause no functional changes on Linux. [1] https://www.redhat.com/archives/libguestfs/2014-October/msg00176.html Thanks, -- Pino Pino Toscano (9): build: check
2015 Oct 27
1
[PATCH] configure: Move language binding detection to separate files.
This commit starts to split our massive, monolithic configure.ac file into smaller files, using the m4_include mechanism to combine them. I don't know if we should really do this, so I'm open to comments about it. However: - Our configure.ac script is 1800+ lines long, and that's pretty long. - configure.ac lacks structure; splitting it up might improve that. - From what I read,
2019 Dec 02
4
Debian Stretch - > buster: samba packages
On 02/12/2019 10:07, Stefan G. Weichinger via samba wrote: > Am 02.12.19 um 08:47 schrieb L.P.H. van Belle via samba: >> Hai, >> >> Sorry for the late reply. > Never mind, weekend is important ... > >> Here its just apt-get distupgrade --autoremove --purge >> Without the autoremove libldb1 is not removed so libldb2 can be installed. > # apt-get distupgrade
2019 Mar 29
0
Attempts to Set Max Password Age in Samba Tool Fails
On Fri, 29 Mar 2019 16:46:13 -0500 Matthew Delfino <mdelfino.list.samba at knockinc.com> wrote: > Hey Rowland, thank you for getting back to me so quickly. Answers in > line below... > > From: Rowland Penny via samba <samba at lists.samba.org>  > > To: <samba at lists.samba.org> > Sent: 3/29/2019 4:33 PM > Subject: Re: [Samba] Attempts to
2017 May 09
1
[PATCH v2] python: add simple wrappers for PyObject<->string functions
The current need for #ifdef's based on the presence of PyString_FromString makes both the OCaml code of the generator, and the generated C code a mess to read. Hence, add three simple wrappers to make both the OCaml, and C code more readable, and easier to tweak in the future. --- generator/python.ml | 72 ++++++++++++----------------------------------------- python/handle.c | 65
2014 Aug 04
6
[hivex] Segfault for an integer value to node_set_value
Hi, When an integer argument is passed as value, node_set_value segfaults. Reproducer is at the end of this message The backtrace points at hivex-py.c, function get_value. While obj is non-NULL, `bytes = PyUnicode_AsUTF8String (obj);` returns NULL. Kind regards, Peter https://lekensteyn.nl #!/usr/bin/env python3 import hivex, sys h = hivex.Hivex(sys.argv[1]) print(h) val = {
2014 Aug 16
7
[hivex] [PATCH 0/6] Python fixes for node_set_value
Hi, This patch series is based on a prior patch[1], splitting off changes as requested and incorporating feedback from Richard Jones. It introduces type validation to avoid segmentation faults (instead, it reports an exception) and fixes handling of the bytes type in Python 3. Major changes since that series: - Drop newly introduced support for integer types for DWORD/QWORDS - Reject Unicode
2019 Mar 30
1
Attempts to Set Max Password Age in Samba Tool Fails
From: Rowland Penny via samba <samba at lists.samba.org> To: "samba at lists.samba.org" <samba at lists.samba.org> Sent: 3/29/2019 5:35 PM Subject: Re: [Samba] Attempts to Set Max Password Age in Samba Tool Fails On Fri, 29 Mar 2019 16:46:13 -0500 Matthew Delfino <mdelfino.list.samba at knockinc.com> wrote: > Hey Rowland, thank you for getting