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__MACHOLIB(
void) {
124 static PyObject *module_import_hard_ctypes__macholib = NULL;
126 if (module_import_hard_ctypes__macholib == NULL) {
127 module_import_hard_ctypes__macholib = PyImport_ImportModule(
"ctypes.macholib");
129 if (unlikely(module_import_hard_ctypes__macholib == NULL)) {
130#ifndef __NUITKA_NO_ASSERT__
133 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'ctypes.macholib'");
137 return module_import_hard_ctypes__macholib;
142PyObject *IMPORT_HARD_CTYPES__WINTYPES(
void) {
143 static PyObject *module_import_hard_ctypes__wintypes = NULL;
145 if (module_import_hard_ctypes__wintypes == NULL) {
146 module_import_hard_ctypes__wintypes = PyImport_ImportModule(
"ctypes.wintypes");
148 if (unlikely(module_import_hard_ctypes__wintypes == NULL)) {
149#ifndef __NUITKA_NO_ASSERT__
152 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'ctypes.wintypes'");
156 return module_import_hard_ctypes__wintypes;
161PyObject *IMPORT_HARD_FUNCTOOLS(
void) {
162 static PyObject *module_import_hard_functools = NULL;
164 if (module_import_hard_functools == NULL) {
165 module_import_hard_functools = PyImport_ImportModule(
"functools");
167 if (unlikely(module_import_hard_functools == NULL)) {
168#ifndef __NUITKA_NO_ASSERT__
171 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'functools'");
175 return module_import_hard_functools;
179PyObject *IMPORT_HARD_IMPORTLIB(
void) {
180 static PyObject *module_import_hard_importlib = NULL;
182 if (module_import_hard_importlib == NULL) {
183 module_import_hard_importlib = PyImport_ImportModule(
"importlib");
185 if (unlikely(module_import_hard_importlib == NULL)) {
186#ifndef __NUITKA_NO_ASSERT__
189 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'importlib'");
193 return module_import_hard_importlib;
197#if PYTHON_VERSION >= 0x380
198PyObject *IMPORT_HARD_IMPORTLIB__METADATA(
void) {
199 static PyObject *module_import_hard_importlib__metadata = NULL;
201 if (module_import_hard_importlib__metadata == NULL) {
202 module_import_hard_importlib__metadata = PyImport_ImportModule(
"importlib.metadata");
204 if (unlikely(module_import_hard_importlib__metadata == NULL)) {
205#ifndef __NUITKA_NO_ASSERT__
208 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'importlib.metadata'");
212 return module_import_hard_importlib__metadata;
217#if PYTHON_VERSION >= 0x370
218PyObject *IMPORT_HARD_IMPORTLIB__RESOURCES(
void) {
219 static PyObject *module_import_hard_importlib__resources = NULL;
221 if (module_import_hard_importlib__resources == NULL) {
222 module_import_hard_importlib__resources = PyImport_ImportModule(
"importlib.resources");
224 if (unlikely(module_import_hard_importlib__resources == NULL)) {
225#ifndef __NUITKA_NO_ASSERT__
228 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'importlib.resources'");
232 return module_import_hard_importlib__resources;
237PyObject *IMPORT_HARD_IMPORTLIB_METADATA(
void) {
238 static PyObject *module_import_hard_importlib_metadata = NULL;
240 if (module_import_hard_importlib_metadata == NULL) {
241 module_import_hard_importlib_metadata = PyImport_ImportModule(
"importlib_metadata");
243 if (unlikely(module_import_hard_importlib_metadata == NULL)) {
248 return module_import_hard_importlib_metadata;
252PyObject *IMPORT_HARD_IMPORTLIB_RESOURCES(
void) {
253 static PyObject *module_import_hard_importlib_resources = NULL;
255 if (module_import_hard_importlib_resources == NULL) {
256 module_import_hard_importlib_resources = PyImport_ImportModule(
"importlib_resources");
258 if (unlikely(module_import_hard_importlib_resources == NULL)) {
263 return module_import_hard_importlib_resources;
267PyObject *IMPORT_HARD_IO(
void) {
268 static PyObject *module_import_hard_io = NULL;
270 if (module_import_hard_io == NULL) {
271 module_import_hard_io = PyImport_ImportModule(
"io");
273 if (unlikely(module_import_hard_io == NULL)) {
274#ifndef __NUITKA_NO_ASSERT__
277 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'io'");
281 return module_import_hard_io;
285PyObject *IMPORT_HARD_NTPATH(
void) {
286 static PyObject *module_import_hard_ntpath = NULL;
288 if (module_import_hard_ntpath == NULL) {
289 module_import_hard_ntpath = PyImport_ImportModule(
"ntpath");
291 if (unlikely(module_import_hard_ntpath == NULL)) {
292#ifndef __NUITKA_NO_ASSERT__
295 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'ntpath'");
299 return module_import_hard_ntpath;
303PyObject *IMPORT_HARD_OS(
void) {
304 static PyObject *module_import_hard_os = NULL;
306 if (module_import_hard_os == NULL) {
307 module_import_hard_os = PyImport_ImportModule(
"os");
309 if (unlikely(module_import_hard_os == NULL)) {
310#ifndef __NUITKA_NO_ASSERT__
313 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'os'");
317 return module_import_hard_os;
321PyObject *IMPORT_HARD_PKG_RESOURCES(
void) {
322 static PyObject *module_import_hard_pkg_resources = NULL;
324 if (module_import_hard_pkg_resources == NULL) {
325 module_import_hard_pkg_resources = PyImport_ImportModule(
"pkg_resources");
327 if (unlikely(module_import_hard_pkg_resources == NULL)) {
332 return module_import_hard_pkg_resources;
336PyObject *IMPORT_HARD_PKGUTIL(
void) {
337 static PyObject *module_import_hard_pkgutil = NULL;
339 if (module_import_hard_pkgutil == NULL) {
340 module_import_hard_pkgutil = PyImport_ImportModule(
"pkgutil");
342 if (unlikely(module_import_hard_pkgutil == NULL)) {
343#ifndef __NUITKA_NO_ASSERT__
346 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'pkgutil'");
350 return module_import_hard_pkgutil;
354PyObject *IMPORT_HARD_POSIXPATH(
void) {
355 static PyObject *module_import_hard_posixpath = NULL;
357 if (module_import_hard_posixpath == NULL) {
358 module_import_hard_posixpath = PyImport_ImportModule(
"posixpath");
360 if (unlikely(module_import_hard_posixpath == NULL)) {
361#ifndef __NUITKA_NO_ASSERT__
364 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'posixpath'");
368 return module_import_hard_posixpath;
372PyObject *IMPORT_HARD_SITE(
void) {
373 static PyObject *module_import_hard_site = NULL;
375 if (module_import_hard_site == NULL) {
376 module_import_hard_site = PyImport_ImportModule(
"site");
378 if (unlikely(module_import_hard_site == NULL)) {
383 return module_import_hard_site;
387PyObject *IMPORT_HARD_SYS(
void) {
388 static PyObject *module_import_hard_sys = NULL;
390 if (module_import_hard_sys == NULL) {
391 module_import_hard_sys = PyImport_ImportModule(
"sys");
393 if (unlikely(module_import_hard_sys == NULL)) {
394#ifndef __NUITKA_NO_ASSERT__
397 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'sys'");
401 return module_import_hard_sys;
405PyObject *IMPORT_HARD_SYSCONFIG(
void) {
406 static PyObject *module_import_hard_sysconfig = NULL;
408 if (module_import_hard_sysconfig == NULL) {
409 module_import_hard_sysconfig = PyImport_ImportModule(
"sysconfig");
411 if (unlikely(module_import_hard_sysconfig == NULL)) {
412#ifndef __NUITKA_NO_ASSERT__
415 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'sysconfig'");
419 return module_import_hard_sysconfig;
423PyObject *IMPORT_HARD_TENSORFLOW(
void) {
424 static PyObject *module_import_hard_tensorflow = NULL;
426 if (module_import_hard_tensorflow == NULL) {
427 module_import_hard_tensorflow = PyImport_ImportModule(
"tensorflow");
429 if (unlikely(module_import_hard_tensorflow == NULL)) {
434 return module_import_hard_tensorflow;
438PyObject *IMPORT_HARD_TYPES(
void) {
439 static PyObject *module_import_hard_types = NULL;
441 if (module_import_hard_types == NULL) {
442 module_import_hard_types = PyImport_ImportModule(
"types");
444 if (unlikely(module_import_hard_types == NULL)) {
445#ifndef __NUITKA_NO_ASSERT__
448 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'types'");
452 return module_import_hard_types;
456#if PYTHON_VERSION >= 0x350
457PyObject *IMPORT_HARD_TYPING(
void) {
458 static PyObject *module_import_hard_typing = NULL;
460 if (module_import_hard_typing == NULL) {
461 module_import_hard_typing = PyImport_ImportModule(
"typing");
463 if (unlikely(module_import_hard_typing == NULL)) {
464#ifndef __NUITKA_NO_ASSERT__
467 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'typing'");
471 return module_import_hard_typing;
476PyObject *IMPORT_HARD_UNITTEST(
void) {
477 static PyObject *module_import_hard_unittest = NULL;
479 if (module_import_hard_unittest == NULL) {
480 module_import_hard_unittest = PyImport_ImportModule(
"unittest");
482 if (unlikely(module_import_hard_unittest == NULL)) {
483#ifndef __NUITKA_NO_ASSERT__
486 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'unittest'");
490 return module_import_hard_unittest;
494#if PYTHON_VERSION >= 0x300
495PyObject *IMPORT_HARD_UNITTEST__MOCK(
void) {
496 static PyObject *module_import_hard_unittest__mock = NULL;
498 if (module_import_hard_unittest__mock == NULL) {
499 module_import_hard_unittest__mock = PyImport_ImportModule(
"unittest.mock");
501 if (unlikely(module_import_hard_unittest__mock == NULL)) {
502#ifndef __NUITKA_NO_ASSERT__
505 NUITKA_ERROR_EXIT(
"Unexpected failure of hard import of 'unittest.mock'");
509 return module_import_hard_unittest__mock;