Displaying 4 results from an estimated 4 matches for "guestfs_no_warn_deprec".
2019 Apr 23
8
[PATCH 0/7] Make deprecation warnings more prominent
Since there are deprecated APIs, make sure that users notice they are
deprecated in more prominent ways than done so far:
- using deprecated C functions now warns by default
- it is possible to use the C library making sure no deprecated function
is ever used
- Python/Ruby/Perl scripts now get warning messages (configured
according to their own systems) when deprecated functions are used
The
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
...;
-
#include <stdio.h>
#include <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
ind...
2020 Jan 10
2
Re: [PATCH 6/7] python: stop including config.h
...tdlib.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>...