7#include "nuitka/prelude.h"
11PyObject *IMPORT_HARD___FUTURE__(
void) {
12 static PyObject *module_import_hard___future__ = NULL;
14 if (module_import_hard___future__ == NULL) {
15 module_import_hard___future__ = PyImport_ImportModule(
"__future__");
17 if (unlikely(module_import_hard___future__ == NULL)) {
18#ifndef __NUITKA_NO_ASSERT__
21 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of '__future__'");
25 return module_import_hard___future__;
29#if PYTHON_VERSION >= 0x300
30PyObject *IMPORT_HARD__FROZEN_IMPORTLIB(
void) {
31 static PyObject *module_import_hard__frozen_importlib = NULL;
33 if (module_import_hard__frozen_importlib == NULL) {
34 module_import_hard__frozen_importlib = PyImport_ImportModule(
"_frozen_importlib");
36 if (unlikely(module_import_hard__frozen_importlib == NULL)) {
37#ifndef __NUITKA_NO_ASSERT__
40 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of '_frozen_importlib'");
44 return module_import_hard__frozen_importlib;
49#if PYTHON_VERSION >= 0x350
50PyObject *IMPORT_HARD__FROZEN_IMPORTLIB_EXTERNAL(
void) {
51 static PyObject *module_import_hard__frozen_importlib_external = NULL;
53 if (module_import_hard__frozen_importlib_external == NULL) {
54 module_import_hard__frozen_importlib_external = PyImport_ImportModule(
"_frozen_importlib_external");
56 if (unlikely(module_import_hard__frozen_importlib_external == NULL)) {
57#ifndef __NUITKA_NO_ASSERT__
60 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of '_frozen_importlib_external'");
64 return module_import_hard__frozen_importlib_external;
69PyObject *IMPORT_HARD__IO(
void) {
70 static PyObject *module_import_hard__io = NULL;
72 if (module_import_hard__io == NULL) {
73 module_import_hard__io = PyImport_ImportModule(
"_io");
75 if (unlikely(module_import_hard__io == NULL)) {
76#ifndef __NUITKA_NO_ASSERT__
79 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of '_io'");
83 return module_import_hard__io;
87PyObject *IMPORT_HARD_BUILTINS(
void) {
88 static PyObject *module_import_hard_builtins = NULL;
90 if (module_import_hard_builtins == NULL) {
91 module_import_hard_builtins = PyImport_ImportModule(
"builtins");
93 if (unlikely(module_import_hard_builtins == NULL)) {
94#ifndef __NUITKA_NO_ASSERT__
97 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'builtins'");
101 return module_import_hard_builtins;
105PyObject *IMPORT_HARD_CTYPES(
void) {
106 static PyObject *module_import_hard_ctypes = NULL;
108 if (module_import_hard_ctypes == NULL) {
109 module_import_hard_ctypes = PyImport_ImportModule(
"ctypes");
111 if (unlikely(module_import_hard_ctypes == NULL)) {
112#ifndef __NUITKA_NO_ASSERT__
115 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'ctypes'");
119 return module_import_hard_ctypes;
123PyObject *IMPORT_HARD_CTYPES___AIX(
void) {
124 static PyObject *module_import_hard_ctypes___aix = NULL;
126 if (module_import_hard_ctypes___aix == NULL) {
127 module_import_hard_ctypes___aix = PyImport_ImportModule(
"ctypes._aix");
129 if (unlikely(module_import_hard_ctypes___aix == NULL)) {
130#ifndef __NUITKA_NO_ASSERT__
133 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'ctypes._aix'");
137 return module_import_hard_ctypes___aix;
141PyObject *IMPORT_HARD_CTYPES___ENDIAN(
void) {
142 static PyObject *module_import_hard_ctypes___endian = NULL;
144 if (module_import_hard_ctypes___endian == NULL) {
145 module_import_hard_ctypes___endian = PyImport_ImportModule(
"ctypes._endian");
147 if (unlikely(module_import_hard_ctypes___endian == NULL)) {
148#ifndef __NUITKA_NO_ASSERT__
151 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'ctypes._endian'");
155 return module_import_hard_ctypes___endian;
159PyObject *IMPORT_HARD_CTYPES__MACHOLIB(
void) {
160 static PyObject *module_import_hard_ctypes__macholib = NULL;
162 if (module_import_hard_ctypes__macholib == NULL) {
163 module_import_hard_ctypes__macholib = PyImport_ImportModule(
"ctypes.macholib");
165 if (unlikely(module_import_hard_ctypes__macholib == NULL)) {
166#ifndef __NUITKA_NO_ASSERT__
169 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'ctypes.macholib'");
173 return module_import_hard_ctypes__macholib;
177PyObject *IMPORT_HARD_CTYPES__UTIL(
void) {
178 static PyObject *module_import_hard_ctypes__util = NULL;
180 if (module_import_hard_ctypes__util == NULL) {
181 module_import_hard_ctypes__util = PyImport_ImportModule(
"ctypes.util");
183 if (unlikely(module_import_hard_ctypes__util == NULL)) {
184#ifndef __NUITKA_NO_ASSERT__
187 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'ctypes.util'");
191 return module_import_hard_ctypes__util;
196PyObject *IMPORT_HARD_CTYPES__WINTYPES(
void) {
197 static PyObject *module_import_hard_ctypes__wintypes = NULL;
199 if (module_import_hard_ctypes__wintypes == NULL) {
200 module_import_hard_ctypes__wintypes = PyImport_ImportModule(
"ctypes.wintypes");
202 if (unlikely(module_import_hard_ctypes__wintypes == NULL)) {
203#ifndef __NUITKA_NO_ASSERT__
206 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'ctypes.wintypes'");
210 return module_import_hard_ctypes__wintypes;
215PyObject *IMPORT_HARD_FUNCTOOLS(
void) {
216 static PyObject *module_import_hard_functools = NULL;
218 if (module_import_hard_functools == NULL) {
219 module_import_hard_functools = PyImport_ImportModule(
"functools");
221 if (unlikely(module_import_hard_functools == NULL)) {
222#ifndef __NUITKA_NO_ASSERT__
225 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'functools'");
229 return module_import_hard_functools;
233PyObject *IMPORT_HARD_IMPORTLIB(
void) {
234 static PyObject *module_import_hard_importlib = NULL;
236 if (module_import_hard_importlib == NULL) {
237 module_import_hard_importlib = PyImport_ImportModule(
"importlib");
239 if (unlikely(module_import_hard_importlib == NULL)) {
240#ifndef __NUITKA_NO_ASSERT__
243 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'importlib'");
247 return module_import_hard_importlib;
251#if PYTHON_VERSION >= 0x380
252PyObject *IMPORT_HARD_IMPORTLIB__METADATA(
void) {
253 static PyObject *module_import_hard_importlib__metadata = NULL;
255 if (module_import_hard_importlib__metadata == NULL) {
256 module_import_hard_importlib__metadata = PyImport_ImportModule(
"importlib.metadata");
258 if (unlikely(module_import_hard_importlib__metadata == NULL)) {
259#ifndef __NUITKA_NO_ASSERT__
262 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'importlib.metadata'");
266 return module_import_hard_importlib__metadata;
271#if PYTHON_VERSION >= 0x370
272PyObject *IMPORT_HARD_IMPORTLIB__RESOURCES(
void) {
273 static PyObject *module_import_hard_importlib__resources = NULL;
275 if (module_import_hard_importlib__resources == NULL) {
276 module_import_hard_importlib__resources = PyImport_ImportModule(
"importlib.resources");
278 if (unlikely(module_import_hard_importlib__resources == NULL)) {
279#ifndef __NUITKA_NO_ASSERT__
282 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'importlib.resources'");
286 return module_import_hard_importlib__resources;
291PyObject *IMPORT_HARD_IMPORTLIB_METADATA(
void) {
292 static PyObject *module_import_hard_importlib_metadata = NULL;
294 if (module_import_hard_importlib_metadata == NULL) {
295 module_import_hard_importlib_metadata = PyImport_ImportModule(
"importlib_metadata");
297 if (unlikely(module_import_hard_importlib_metadata == NULL)) {
302 return module_import_hard_importlib_metadata;
306PyObject *IMPORT_HARD_IMPORTLIB_RESOURCES(
void) {
307 static PyObject *module_import_hard_importlib_resources = NULL;
309 if (module_import_hard_importlib_resources == NULL) {
310 module_import_hard_importlib_resources = PyImport_ImportModule(
"importlib_resources");
312 if (unlikely(module_import_hard_importlib_resources == NULL)) {
317 return module_import_hard_importlib_resources;
321PyObject *IMPORT_HARD_IO(
void) {
322 static PyObject *module_import_hard_io = NULL;
324 if (module_import_hard_io == NULL) {
325 module_import_hard_io = PyImport_ImportModule(
"io");
327 if (unlikely(module_import_hard_io == NULL)) {
328#ifndef __NUITKA_NO_ASSERT__
331 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'io'");
335 return module_import_hard_io;
339PyObject *IMPORT_HARD_NTPATH(
void) {
340 static PyObject *module_import_hard_ntpath = NULL;
342 if (module_import_hard_ntpath == NULL) {
343 module_import_hard_ntpath = PyImport_ImportModule(
"ntpath");
345 if (unlikely(module_import_hard_ntpath == NULL)) {
346#ifndef __NUITKA_NO_ASSERT__
349 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'ntpath'");
353 return module_import_hard_ntpath;
357PyObject *IMPORT_HARD_OS(
void) {
358 static PyObject *module_import_hard_os = NULL;
360 if (module_import_hard_os == NULL) {
361 module_import_hard_os = PyImport_ImportModule(
"os");
363 if (unlikely(module_import_hard_os == NULL)) {
364#ifndef __NUITKA_NO_ASSERT__
367 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'os'");
371 return module_import_hard_os;
375#if PYTHON_VERSION >= 0x3d0
376PyObject *IMPORT_HARD_PATHLIB(
void) {
377 static PyObject *module_import_hard_pathlib = NULL;
379 if (module_import_hard_pathlib == NULL) {
380 module_import_hard_pathlib = PyImport_ImportModule(
"pathlib");
382 if (unlikely(module_import_hard_pathlib == NULL)) {
383#ifndef __NUITKA_NO_ASSERT__
386 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'pathlib'");
390 return module_import_hard_pathlib;
395#if PYTHON_VERSION >= 0x3d0
396PyObject *IMPORT_HARD_PATHLIB___ABC(
void) {
397 static PyObject *module_import_hard_pathlib___abc = NULL;
399 if (module_import_hard_pathlib___abc == NULL) {
400 module_import_hard_pathlib___abc = PyImport_ImportModule(
"pathlib._abc");
402 if (unlikely(module_import_hard_pathlib___abc == NULL)) {
403#ifndef __NUITKA_NO_ASSERT__
406 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'pathlib._abc'");
410 return module_import_hard_pathlib___abc;
415#if PYTHON_VERSION >= 0x3d0
416PyObject *IMPORT_HARD_PATHLIB___LOCAL(
void) {
417 static PyObject *module_import_hard_pathlib___local = NULL;
419 if (module_import_hard_pathlib___local == NULL) {
420 module_import_hard_pathlib___local = PyImport_ImportModule(
"pathlib._local");
422 if (unlikely(module_import_hard_pathlib___local == NULL)) {
423#ifndef __NUITKA_NO_ASSERT__
426 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'pathlib._local'");
430 return module_import_hard_pathlib___local;
435PyObject *IMPORT_HARD_PKG_RESOURCES(
void) {
436 static PyObject *module_import_hard_pkg_resources = NULL;
438 if (module_import_hard_pkg_resources == NULL) {
439 module_import_hard_pkg_resources = PyImport_ImportModule(
"pkg_resources");
441 if (unlikely(module_import_hard_pkg_resources == NULL)) {
446 return module_import_hard_pkg_resources;
450PyObject *IMPORT_HARD_PKGUTIL(
void) {
451 static PyObject *module_import_hard_pkgutil = NULL;
453 if (module_import_hard_pkgutil == NULL) {
454 module_import_hard_pkgutil = PyImport_ImportModule(
"pkgutil");
456 if (unlikely(module_import_hard_pkgutil == NULL)) {
457#ifndef __NUITKA_NO_ASSERT__
460 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'pkgutil'");
464 return module_import_hard_pkgutil;
468PyObject *IMPORT_HARD_POSIXPATH(
void) {
469 static PyObject *module_import_hard_posixpath = NULL;
471 if (module_import_hard_posixpath == NULL) {
472 module_import_hard_posixpath = PyImport_ImportModule(
"posixpath");
474 if (unlikely(module_import_hard_posixpath == NULL)) {
475#ifndef __NUITKA_NO_ASSERT__
478 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'posixpath'");
482 return module_import_hard_posixpath;
486PyObject *IMPORT_HARD_SITE(
void) {
487 static PyObject *module_import_hard_site = NULL;
489 if (module_import_hard_site == NULL) {
490 module_import_hard_site = PyImport_ImportModule(
"site");
492 if (unlikely(module_import_hard_site == NULL)) {
497 return module_import_hard_site;
501PyObject *IMPORT_HARD_SYS(
void) {
502 static PyObject *module_import_hard_sys = NULL;
504 if (module_import_hard_sys == NULL) {
505 module_import_hard_sys = PyImport_ImportModule(
"sys");
507 if (unlikely(module_import_hard_sys == NULL)) {
508#ifndef __NUITKA_NO_ASSERT__
511 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'sys'");
515 return module_import_hard_sys;
519PyObject *IMPORT_HARD_SYSCONFIG(
void) {
520 static PyObject *module_import_hard_sysconfig = NULL;
522 if (module_import_hard_sysconfig == NULL) {
523 module_import_hard_sysconfig = PyImport_ImportModule(
"sysconfig");
525 if (unlikely(module_import_hard_sysconfig == NULL)) {
526#ifndef __NUITKA_NO_ASSERT__
529 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'sysconfig'");
533 return module_import_hard_sysconfig;
537PyObject *IMPORT_HARD_TENSORFLOW(
void) {
538 static PyObject *module_import_hard_tensorflow = NULL;
540 if (module_import_hard_tensorflow == NULL) {
541 module_import_hard_tensorflow = PyImport_ImportModule(
"tensorflow");
543 if (unlikely(module_import_hard_tensorflow == NULL)) {
548 return module_import_hard_tensorflow;
552PyObject *IMPORT_HARD_TYPES(
void) {
553 static PyObject *module_import_hard_types = NULL;
555 if (module_import_hard_types == NULL) {
556 module_import_hard_types = PyImport_ImportModule(
"types");
558 if (unlikely(module_import_hard_types == NULL)) {
559#ifndef __NUITKA_NO_ASSERT__
562 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'types'");
566 return module_import_hard_types;
570#if PYTHON_VERSION >= 0x350
571PyObject *IMPORT_HARD_TYPING(
void) {
572 static PyObject *module_import_hard_typing = NULL;
574 if (module_import_hard_typing == NULL) {
575 module_import_hard_typing = PyImport_ImportModule(
"typing");
577 if (unlikely(module_import_hard_typing == NULL)) {
578#ifndef __NUITKA_NO_ASSERT__
581 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'typing'");
585 return module_import_hard_typing;
590PyObject *IMPORT_HARD_UNITTEST(
void) {
591 static PyObject *module_import_hard_unittest = NULL;
593 if (module_import_hard_unittest == NULL) {
594 module_import_hard_unittest = PyImport_ImportModule(
"unittest");
596 if (unlikely(module_import_hard_unittest == NULL)) {
597#ifndef __NUITKA_NO_ASSERT__
600 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'unittest'");
604 return module_import_hard_unittest;
608#if PYTHON_VERSION >= 0x300
609PyObject *IMPORT_HARD_UNITTEST__MOCK(
void) {
610 static PyObject *module_import_hard_unittest__mock = NULL;
612 if (module_import_hard_unittest__mock == NULL) {
613 module_import_hard_unittest__mock = PyImport_ImportModule(
"unittest.mock");
615 if (unlikely(module_import_hard_unittest__mock == NULL)) {
616#ifndef __NUITKA_NO_ASSERT__
619 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'unittest.mock'");
623 return module_import_hard_unittest__mock;