Displaying 4 results from an estimated 4 matches for "guestfs_no_deprec".
2019 Apr 23
8
[PATCH 0/7] Make deprecation warnings more prominent
...s are used
The Java binding already emits warnings since libguestfs 1.29.25
(85b6b5e589bea56046b85a5b0143a364e20dacd1).
Pino Toscano (7):
tests: switch last-errno away from deprecated APIs
lib: enable deprecation warnings by default
build: stop using GUESTFS_WARN_DEPRECATED
lib: introduce GUESTFS_NO_DEPRECATED
python: show warnings for deprecated functions
ruby: show warnings for deprecated functions
perl: show warnings for deprecated functions
align/Makefile.am | 2 +-
cat/Makefile.am | 10 +++++-----
common/edit/Makefile.am | 2 +-
common/options/Makefile.a...
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
2020 Jan 09
0
[PATCH 6/7] python: stop including config.h
...lude <stdlib.h>
#include <assert.h>
@@ -251,8 +249,6 @@ and generate_python_actions actions () =
generate_header CStyle LGPLv2plus;
pr "\
-#include <config.h>
-
/* It is safe to call deprecated functions from this file. */
#define GUESTFS_NO_WARN_DEPRECATED
#undef GUESTFS_NO_DEPRECATED
@@ -542,8 +538,6 @@ and generate_python_module () =
generate_header CStyle LGPLv2plus;
pr "\
-#include <config.h>
-
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
diff --git a/python/handle.c b/python/handle.c
index 21077bba9..8200adb52 100644...
2020 Jan 10
2
Re: [PATCH 6/7] python: stop including config.h
...gt;
> @@ -251,8 +249,6 @@ and generate_python_actions actions () =
> generate_header CStyle LGPLv2plus;
>
> pr "\
> -#include <config.h>
> -
> /* It is safe to call deprecated functions from this file. */
> #define GUESTFS_NO_WARN_DEPRECATED
> #undef GUESTFS_NO_DEPRECATED
> @@ -542,8 +538,6 @@ and generate_python_module () =
> generate_header CStyle LGPLv2plus;
>
> pr "\
> -#include <config.h>
> -
> #include <stdio.h>
> #include <stdlib.h>
> #include <assert.h>
> diff --git a/python/handle.c b...