mirror of
https://github.com/house-of-vanity/fesmoo_perdoliq.git
synced 2025-08-21 16:17:15 +00:00
3811 lines
121 KiB
C
3811 lines
121 KiB
C
/* Generated code for Python source for module 'cryptography.x509.certificate_transparency'
|
|
* created by Nuitka version 0.6.0
|
|
*
|
|
* This code is in part copyright 2018 Kay Hayen.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
#include "nuitka/prelude.h"
|
|
|
|
#include "__helpers.h"
|
|
|
|
/* The _module_cryptography$x509$certificate_transparency is a Python object pointer of module type. */
|
|
|
|
/* Note: For full compatibility with CPython, every module variable access
|
|
* needs to go through it except for cases where the module cannot possibly
|
|
* have changed in the mean time.
|
|
*/
|
|
|
|
PyObject *module_cryptography$x509$certificate_transparency;
|
|
PyDictObject *moduledict_cryptography$x509$certificate_transparency;
|
|
|
|
/* The module constants used, if any. */
|
|
extern PyObject *const_str_plain___orig_bases__;
|
|
extern PyObject *const_str_plain_log_id;
|
|
extern PyObject *const_str_plain___module__;
|
|
extern PyObject *const_str_plain_metaclass;
|
|
extern PyObject *const_tuple_type_object_tuple;
|
|
static PyObject *const_str_digest_5662573cdd717091f4926c768aa161c1;
|
|
extern PyObject *const_str_plain_v1;
|
|
extern PyObject *const_str_plain___name__;
|
|
extern PyObject *const_str_plain___class__;
|
|
extern PyObject *const_str_plain___getitem__;
|
|
extern PyObject *const_tuple_str_plain___class___tuple;
|
|
extern PyObject *const_tuple_str_plain_Enum_tuple;
|
|
extern PyObject *const_str_plain___qualname__;
|
|
extern PyObject *const_str_angle_metaclass;
|
|
extern PyObject *const_int_pos_1;
|
|
extern PyObject *const_str_plain_object;
|
|
extern PyObject *const_str_plain___file__;
|
|
extern PyObject *const_str_plain_abc;
|
|
extern PyObject *const_int_0;
|
|
extern PyObject *const_str_plain_add_metaclass;
|
|
static PyObject *const_str_digest_40bc1f59d618b145188018645bcb2b52;
|
|
extern PyObject *const_str_plain_six;
|
|
extern PyObject *const_tuple_str_plain_self_tuple;
|
|
extern PyObject *const_str_plain___prepare__;
|
|
extern PyObject *const_str_plain_ABCMeta;
|
|
extern PyObject *const_str_plain_division;
|
|
static PyObject *const_str_digest_2d13d1326897fe3c4e33305d1e0182be;
|
|
extern PyObject *const_str_plain___doc__;
|
|
extern PyObject *const_str_plain_enum;
|
|
extern PyObject *const_str_plain_abstractproperty;
|
|
extern PyObject *const_str_plain_timestamp;
|
|
extern PyObject *const_str_plain_self;
|
|
static PyObject *const_str_digest_616ad0fec345301881d8517989d60521;
|
|
static PyObject *const_str_digest_5a68ce4dbbc7818ebd0a52af02e4d8e3;
|
|
extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
static PyObject *const_str_digest_9c11c204937b27eb5c7b4018d0b1d665;
|
|
extern PyObject *const_str_plain_Version;
|
|
extern PyObject *const_tuple_empty;
|
|
static PyObject *const_str_plain_X509_CERTIFICATE;
|
|
extern PyObject *const_str_plain_PRE_CERTIFICATE;
|
|
extern PyObject *const_str_plain_version;
|
|
extern PyObject *const_str_digest_9c4dcd45c628f51f60b0e74617698ea7;
|
|
extern PyObject *const_str_plain_entry_type;
|
|
static PyObject *const_str_digest_f0baf65e2e641e67b238af9e2539997d;
|
|
static PyObject *const_str_digest_315bce3f57233a6b000ea3587b3cbb8d;
|
|
extern PyObject *const_str_plain_type;
|
|
extern PyObject *const_str_plain_Enum;
|
|
extern PyObject *const_str_plain_SignedCertificateTimestamp;
|
|
static PyObject *const_str_digest_76c9ef42049abf0477f56bced304b4aa;
|
|
extern PyObject *const_str_plain_absolute_import;
|
|
extern PyObject *const_str_plain___cached__;
|
|
extern PyObject *const_str_plain_print_function;
|
|
static PyObject *const_str_digest_42f09679c04964bc7bb8cc7f27f8cf08;
|
|
extern PyObject *const_str_plain_LogEntryType;
|
|
static PyObject *module_filename_obj;
|
|
|
|
static bool constants_created = false;
|
|
|
|
static void createModuleConstants( void )
|
|
{
|
|
const_str_digest_5662573cdd717091f4926c768aa161c1 = UNSTREAM_STRING( &constant_bin[ 518142 ], 86, 0 );
|
|
const_str_digest_40bc1f59d618b145188018645bcb2b52 = UNSTREAM_STRING( &constant_bin[ 482330 ], 34, 0 );
|
|
const_str_digest_2d13d1326897fe3c4e33305d1e0182be = UNSTREAM_STRING( &constant_bin[ 518228 ], 53, 0 );
|
|
const_str_digest_616ad0fec345301881d8517989d60521 = UNSTREAM_STRING( &constant_bin[ 485087 ], 33, 0 );
|
|
const_str_digest_5a68ce4dbbc7818ebd0a52af02e4d8e3 = UNSTREAM_STRING( &constant_bin[ 518281 ], 78, 0 );
|
|
const_str_digest_9c11c204937b27eb5c7b4018d0b1d665 = UNSTREAM_STRING( &constant_bin[ 483428 ], 36, 0 );
|
|
const_str_plain_X509_CERTIFICATE = UNSTREAM_STRING( &constant_bin[ 518359 ], 16, 1 );
|
|
const_str_digest_f0baf65e2e641e67b238af9e2539997d = UNSTREAM_STRING( &constant_bin[ 482825 ], 37, 0 );
|
|
const_str_digest_315bce3f57233a6b000ea3587b3cbb8d = UNSTREAM_STRING( &constant_bin[ 518375 ], 51, 0 );
|
|
const_str_digest_76c9ef42049abf0477f56bced304b4aa = UNSTREAM_STRING( &constant_bin[ 518426 ], 42, 0 );
|
|
const_str_digest_42f09679c04964bc7bb8cc7f27f8cf08 = UNSTREAM_STRING( &constant_bin[ 518468 ], 77, 0 );
|
|
|
|
constants_created = true;
|
|
}
|
|
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
void checkModuleConstants_cryptography$x509$certificate_transparency( void )
|
|
{
|
|
// The module may not have been used at all.
|
|
if (constants_created == false) return;
|
|
|
|
|
|
}
|
|
#endif
|
|
|
|
// The module code objects.
|
|
static PyCodeObject *codeobj_5e05ceda8afed9fc8633caf585bfc962;
|
|
static PyCodeObject *codeobj_04244c9ffcc1255c6eb8ee9865892bed;
|
|
static PyCodeObject *codeobj_486ce49b6574983b73cab377dacd4724;
|
|
static PyCodeObject *codeobj_622549b89d00b0d0c267a4595d84b575;
|
|
static PyCodeObject *codeobj_1d696bddc652f8c3209746ac75d55efa;
|
|
static PyCodeObject *codeobj_b6103811a00744fb1290aa7e80d01923;
|
|
static PyCodeObject *codeobj_7f11c07fc10ddd66d0a652bcf0d1e980;
|
|
static PyCodeObject *codeobj_0e64bad4fc824f36ea6ff4e0464d2c4c;
|
|
|
|
static void createModuleCodeObjects(void)
|
|
{
|
|
module_filename_obj = const_str_digest_5a68ce4dbbc7818ebd0a52af02e4d8e3;
|
|
codeobj_5e05ceda8afed9fc8633caf585bfc962 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_315bce3f57233a6b000ea3587b3cbb8d, 1, const_tuple_empty, 0, 0, CO_NOFREE );
|
|
codeobj_04244c9ffcc1255c6eb8ee9865892bed = MAKE_CODEOBJ( module_filename_obj, const_str_plain_LogEntryType, 13, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE );
|
|
codeobj_486ce49b6574983b73cab377dacd4724 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_SignedCertificateTimestamp, 23, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE );
|
|
codeobj_622549b89d00b0d0c267a4595d84b575 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Version, 18, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE );
|
|
codeobj_1d696bddc652f8c3209746ac75d55efa = MAKE_CODEOBJ( module_filename_obj, const_str_plain_entry_type, 42, const_tuple_str_plain_self_tuple, 1, 0, CO_NOFREE );
|
|
codeobj_b6103811a00744fb1290aa7e80d01923 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_log_id, 30, const_tuple_str_plain_self_tuple, 1, 0, CO_NOFREE );
|
|
codeobj_7f11c07fc10ddd66d0a652bcf0d1e980 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_timestamp, 36, const_tuple_str_plain_self_tuple, 1, 0, CO_NOFREE );
|
|
codeobj_0e64bad4fc824f36ea6ff4e0464d2c4c = MAKE_CODEOBJ( module_filename_obj, const_str_plain_version, 24, const_tuple_str_plain_self_tuple, 1, 0, CO_NOFREE );
|
|
}
|
|
|
|
// The module function declarations.
|
|
NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_cryptography$x509$certificate_transparency$$$function_1_version( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_cryptography$x509$certificate_transparency$$$function_2_log_id( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_cryptography$x509$certificate_transparency$$$function_3_timestamp( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_cryptography$x509$certificate_transparency$$$function_4_entry_type( );
|
|
|
|
|
|
// The module function definitions.
|
|
static PyObject *impl_cryptography$x509$certificate_transparency$$$function_1_version( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
PyObject *tmp_return_value = NULL;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( cryptography$x509$certificate_transparency$$$function_1_version );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( cryptography$x509$certificate_transparency$$$function_1_version );
|
|
return NULL;
|
|
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_cryptography$x509$certificate_transparency$$$function_2_log_id( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
PyObject *tmp_return_value = NULL;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( cryptography$x509$certificate_transparency$$$function_2_log_id );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( cryptography$x509$certificate_transparency$$$function_2_log_id );
|
|
return NULL;
|
|
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_cryptography$x509$certificate_transparency$$$function_3_timestamp( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
PyObject *tmp_return_value = NULL;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( cryptography$x509$certificate_transparency$$$function_3_timestamp );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( cryptography$x509$certificate_transparency$$$function_3_timestamp );
|
|
return NULL;
|
|
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_cryptography$x509$certificate_transparency$$$function_4_entry_type( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
PyObject *tmp_return_value = NULL;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( cryptography$x509$certificate_transparency$$$function_4_entry_type );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( cryptography$x509$certificate_transparency$$$function_4_entry_type );
|
|
return NULL;
|
|
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_cryptography$x509$certificate_transparency$$$function_1_version( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_cryptography$x509$certificate_transparency$$$function_1_version,
|
|
const_str_plain_version,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_40bc1f59d618b145188018645bcb2b52,
|
|
#endif
|
|
codeobj_0e64bad4fc824f36ea6ff4e0464d2c4c,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_cryptography$x509$certificate_transparency,
|
|
const_str_digest_76c9ef42049abf0477f56bced304b4aa,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_cryptography$x509$certificate_transparency$$$function_2_log_id( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_cryptography$x509$certificate_transparency$$$function_2_log_id,
|
|
const_str_plain_log_id,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_616ad0fec345301881d8517989d60521,
|
|
#endif
|
|
codeobj_b6103811a00744fb1290aa7e80d01923,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_cryptography$x509$certificate_transparency,
|
|
const_str_digest_42f09679c04964bc7bb8cc7f27f8cf08,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_cryptography$x509$certificate_transparency$$$function_3_timestamp( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_cryptography$x509$certificate_transparency$$$function_3_timestamp,
|
|
const_str_plain_timestamp,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_9c11c204937b27eb5c7b4018d0b1d665,
|
|
#endif
|
|
codeobj_7f11c07fc10ddd66d0a652bcf0d1e980,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_cryptography$x509$certificate_transparency,
|
|
const_str_digest_2d13d1326897fe3c4e33305d1e0182be,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_cryptography$x509$certificate_transparency$$$function_4_entry_type( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_cryptography$x509$certificate_transparency$$$function_4_entry_type,
|
|
const_str_plain_entry_type,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_f0baf65e2e641e67b238af9e2539997d,
|
|
#endif
|
|
codeobj_1d696bddc652f8c3209746ac75d55efa,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_cryptography$x509$certificate_transparency,
|
|
const_str_digest_5662573cdd717091f4926c768aa161c1,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
static struct PyModuleDef mdef_cryptography$x509$certificate_transparency =
|
|
{
|
|
PyModuleDef_HEAD_INIT,
|
|
"cryptography.x509.certificate_transparency", /* m_name */
|
|
NULL, /* m_doc */
|
|
-1, /* m_size */
|
|
NULL, /* m_methods */
|
|
NULL, /* m_reload */
|
|
NULL, /* m_traverse */
|
|
NULL, /* m_clear */
|
|
NULL, /* m_free */
|
|
};
|
|
#endif
|
|
|
|
extern PyObject *const_str_plain___package__;
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
extern PyObject *const_str_dot;
|
|
|
|
extern PyObject *const_str_plain___loader__;
|
|
extern PyObject *metapath_based_loader;
|
|
#endif
|
|
|
|
#if PYTHON_VERSION >= 340
|
|
extern PyObject *const_str_plain___spec__;
|
|
extern PyObject *const_str_plain__initializing;
|
|
#endif
|
|
|
|
extern void _initCompiledCellType();
|
|
extern void _initCompiledGeneratorType();
|
|
extern void _initCompiledFunctionType();
|
|
extern void _initCompiledMethodType();
|
|
extern void _initCompiledFrameType();
|
|
#if PYTHON_VERSION >= 350
|
|
extern void _initCompiledCoroutineTypes();
|
|
#endif
|
|
#if PYTHON_VERSION >= 360
|
|
extern void _initCompiledAsyncgenTypes();
|
|
#endif
|
|
|
|
// The exported interface to CPython. On import of the module, this function
|
|
// gets called. It has to have an exact function name, in cases it's a shared
|
|
// library export. This is hidden behind the MOD_INIT_DECL.
|
|
|
|
MOD_INIT_DECL( cryptography$x509$certificate_transparency )
|
|
{
|
|
#if defined(_NUITKA_EXE) || PYTHON_VERSION >= 300
|
|
static bool _init_done = false;
|
|
|
|
// Modules might be imported repeatedly, which is to be ignored.
|
|
if ( _init_done )
|
|
{
|
|
return MOD_RETURN_VALUE( module_cryptography$x509$certificate_transparency );
|
|
}
|
|
else
|
|
{
|
|
_init_done = true;
|
|
}
|
|
#endif
|
|
|
|
#ifdef _NUITKA_MODULE
|
|
// In case of a stand alone extension module, need to call initialization
|
|
// the init here because that's the first and only time we are going to get
|
|
// called here.
|
|
|
|
// Initialize the constant values used.
|
|
_initBuiltinModule();
|
|
createGlobalConstants();
|
|
|
|
/* Initialize the compiled types of Nuitka. */
|
|
_initCompiledCellType();
|
|
_initCompiledGeneratorType();
|
|
_initCompiledFunctionType();
|
|
_initCompiledMethodType();
|
|
_initCompiledFrameType();
|
|
#if PYTHON_VERSION >= 350
|
|
_initCompiledCoroutineTypes();
|
|
#endif
|
|
#if PYTHON_VERSION >= 360
|
|
_initCompiledAsyncgenTypes();
|
|
#endif
|
|
|
|
#if PYTHON_VERSION < 300
|
|
_initSlotCompare();
|
|
#endif
|
|
#if PYTHON_VERSION >= 270
|
|
_initSlotIternext();
|
|
#endif
|
|
|
|
patchBuiltinModule();
|
|
patchTypeComparison();
|
|
|
|
// Enable meta path based loader if not already done.
|
|
#ifdef _NUITKA_TRACE
|
|
puts("cryptography.x509.certificate_transparency: Calling setupMetaPathBasedLoader().");
|
|
#endif
|
|
setupMetaPathBasedLoader();
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
patchInspectModule();
|
|
#endif
|
|
|
|
#endif
|
|
|
|
/* The constants only used by this module are created now. */
|
|
#ifdef _NUITKA_TRACE
|
|
puts("cryptography.x509.certificate_transparency: Calling createModuleConstants().");
|
|
#endif
|
|
createModuleConstants();
|
|
|
|
/* The code objects used by this module are created now. */
|
|
#ifdef _NUITKA_TRACE
|
|
puts("cryptography.x509.certificate_transparency: Calling createModuleCodeObjects().");
|
|
#endif
|
|
createModuleCodeObjects();
|
|
|
|
// puts( "in initcryptography$x509$certificate_transparency" );
|
|
|
|
// Create the module object first. There are no methods initially, all are
|
|
// added dynamically in actual code only. Also no "__doc__" is initially
|
|
// set at this time, as it could not contain NUL characters this way, they
|
|
// are instead set in early module code. No "self" for modules, we have no
|
|
// use for it.
|
|
#if PYTHON_VERSION < 300
|
|
module_cryptography$x509$certificate_transparency = Py_InitModule4(
|
|
"cryptography.x509.certificate_transparency", // Module Name
|
|
NULL, // No methods initially, all are added
|
|
// dynamically in actual module code only.
|
|
NULL, // No "__doc__" is initially set, as it could
|
|
// not contain NUL this way, added early in
|
|
// actual code.
|
|
NULL, // No self for modules, we don't use it.
|
|
PYTHON_API_VERSION
|
|
);
|
|
#else
|
|
|
|
module_cryptography$x509$certificate_transparency = PyModule_Create( &mdef_cryptography$x509$certificate_transparency );
|
|
#endif
|
|
|
|
moduledict_cryptography$x509$certificate_transparency = MODULE_DICT( module_cryptography$x509$certificate_transparency );
|
|
|
|
// Update "__package__" value to what it ought to be.
|
|
{
|
|
#if 0
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain___name__ );
|
|
|
|
UPDATE_STRING_DICT1(
|
|
moduledict_cryptography$x509$certificate_transparency,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
module_name
|
|
);
|
|
|
|
#else
|
|
|
|
#if PYTHON_VERSION < 300
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain___name__ );
|
|
char const *module_name_cstr = PyString_AS_STRING( module_name );
|
|
|
|
char const *last_dot = strrchr( module_name_cstr, '.' );
|
|
|
|
if ( last_dot != NULL )
|
|
{
|
|
UPDATE_STRING_DICT1(
|
|
moduledict_cryptography$x509$certificate_transparency,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
PyString_FromStringAndSize( module_name_cstr, last_dot - module_name_cstr )
|
|
);
|
|
}
|
|
#else
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain___name__ );
|
|
Py_ssize_t dot_index = PyUnicode_Find( module_name, const_str_dot, 0, PyUnicode_GetLength( module_name ), -1 );
|
|
|
|
if ( dot_index != -1 )
|
|
{
|
|
UPDATE_STRING_DICT1(
|
|
moduledict_cryptography$x509$certificate_transparency,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
PyUnicode_Substring( module_name, 0, dot_index )
|
|
);
|
|
}
|
|
#endif
|
|
#endif
|
|
}
|
|
|
|
CHECK_OBJECT( module_cryptography$x509$certificate_transparency );
|
|
|
|
// Seems to work for Python2.7 out of the box, but for Python3, the module
|
|
// doesn't automatically enter "sys.modules", so do it manually.
|
|
#if PYTHON_VERSION >= 300
|
|
{
|
|
int r = PyObject_SetItem( PySys_GetObject( (char *)"modules" ), const_str_digest_9c4dcd45c628f51f60b0e74617698ea7, module_cryptography$x509$certificate_transparency );
|
|
|
|
assert( r != -1 );
|
|
}
|
|
#endif
|
|
|
|
// For deep importing of a module we need to have "__builtins__", so we set
|
|
// it ourselves in the same way than CPython does. Note: This must be done
|
|
// before the frame object is allocated, or else it may fail.
|
|
|
|
if ( GET_STRING_DICT_VALUE( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain___builtins__ ) == NULL )
|
|
{
|
|
PyObject *value = (PyObject *)builtin_module;
|
|
|
|
// Check if main module, not a dict then but the module itself.
|
|
#if !defined(_NUITKA_EXE) || !0
|
|
value = PyModule_GetDict( value );
|
|
#endif
|
|
|
|
UPDATE_STRING_DICT0( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain___builtins__, value );
|
|
}
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
UPDATE_STRING_DICT0( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader );
|
|
#endif
|
|
|
|
#if PYTHON_VERSION >= 340
|
|
#if 0
|
|
UPDATE_STRING_DICT0( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain___spec__, Py_None );
|
|
#else
|
|
{
|
|
PyObject *bootstrap_module = PyImport_ImportModule("importlib._bootstrap");
|
|
CHECK_OBJECT( bootstrap_module );
|
|
PyObject *module_spec_class = PyObject_GetAttrString( bootstrap_module, "ModuleSpec" );
|
|
Py_DECREF( bootstrap_module );
|
|
|
|
PyObject *args[] = {
|
|
GET_STRING_DICT_VALUE( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain___name__ ),
|
|
metapath_based_loader
|
|
};
|
|
|
|
PyObject *spec_value = CALL_FUNCTION_WITH_ARGS2(
|
|
module_spec_class,
|
|
args
|
|
);
|
|
|
|
SET_ATTRIBUTE( spec_value, const_str_plain__initializing, Py_True );
|
|
|
|
UPDATE_STRING_DICT1( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain___spec__, spec_value );
|
|
|
|
Py_DECREF( module_spec_class );
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
// Temp variables if any
|
|
PyObject *outline_0_var___class__ = NULL;
|
|
PyObject *outline_1_var___class__ = NULL;
|
|
PyObject *outline_2_var___class__ = NULL;
|
|
PyObject *tmp_class_creation_1__bases = NULL;
|
|
PyObject *tmp_class_creation_1__bases_orig = NULL;
|
|
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
|
|
PyObject *tmp_class_creation_1__metaclass = NULL;
|
|
PyObject *tmp_class_creation_1__prepared = NULL;
|
|
PyObject *tmp_class_creation_2__bases = NULL;
|
|
PyObject *tmp_class_creation_2__bases_orig = NULL;
|
|
PyObject *tmp_class_creation_2__class_decl_dict = NULL;
|
|
PyObject *tmp_class_creation_2__metaclass = NULL;
|
|
PyObject *tmp_class_creation_2__prepared = NULL;
|
|
PyObject *tmp_class_creation_3__bases = NULL;
|
|
PyObject *tmp_class_creation_3__class_decl_dict = NULL;
|
|
PyObject *tmp_class_creation_3__metaclass = NULL;
|
|
PyObject *tmp_class_creation_3__prepared = NULL;
|
|
PyObject *tmp_import_from_1__module = NULL;
|
|
struct Nuitka_FrameObject *frame_5e05ceda8afed9fc8633caf585bfc962;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
int tmp_res;
|
|
PyObject *tmp_dictdel_dict;
|
|
PyObject *tmp_dictdel_key;
|
|
bool tmp_result;
|
|
PyObject *locals_cryptography$x509$certificate_transparency_13 = NULL;
|
|
PyObject *tmp_dictset_value;
|
|
struct Nuitka_FrameObject *frame_04244c9ffcc1255c6eb8ee9865892bed_2;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_04244c9ffcc1255c6eb8ee9865892bed_2 = NULL;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
PyObject *exception_keeper_type_4;
|
|
PyObject *exception_keeper_value_4;
|
|
PyTracebackObject *exception_keeper_tb_4;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
|
PyObject *locals_cryptography$x509$certificate_transparency_18 = NULL;
|
|
struct Nuitka_FrameObject *frame_622549b89d00b0d0c267a4595d84b575_3;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_622549b89d00b0d0c267a4595d84b575_3 = NULL;
|
|
PyObject *exception_keeper_type_5;
|
|
PyObject *exception_keeper_value_5;
|
|
PyTracebackObject *exception_keeper_tb_5;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
|
|
PyObject *exception_keeper_type_6;
|
|
PyObject *exception_keeper_value_6;
|
|
PyTracebackObject *exception_keeper_tb_6;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
|
|
PyObject *exception_keeper_type_7;
|
|
PyObject *exception_keeper_value_7;
|
|
PyTracebackObject *exception_keeper_tb_7;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
|
|
PyObject *locals_cryptography$x509$certificate_transparency_23 = NULL;
|
|
struct Nuitka_FrameObject *frame_486ce49b6574983b73cab377dacd4724_4;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_486ce49b6574983b73cab377dacd4724_4 = NULL;
|
|
PyObject *exception_keeper_type_8;
|
|
PyObject *exception_keeper_value_8;
|
|
PyTracebackObject *exception_keeper_tb_8;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
|
|
PyObject *exception_keeper_type_9;
|
|
PyObject *exception_keeper_value_9;
|
|
PyTracebackObject *exception_keeper_tb_9;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
|
|
PyObject *exception_keeper_type_10;
|
|
PyObject *exception_keeper_value_10;
|
|
PyTracebackObject *exception_keeper_tb_10;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
|
|
|
|
// Module code.
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
tmp_assign_source_1 = Py_None;
|
|
UPDATE_STRING_DICT0( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
tmp_assign_source_2 = const_str_digest_5a68ce4dbbc7818ebd0a52af02e4d8e3;
|
|
UPDATE_STRING_DICT0( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain___file__, tmp_assign_source_2 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
tmp_assign_source_3 = Py_None;
|
|
UPDATE_STRING_DICT0( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
tmp_assign_source_4 = PyImport_ImportModule("__future__");
|
|
assert( !(tmp_assign_source_4 == NULL) );
|
|
assert( tmp_import_from_1__module == NULL );
|
|
Py_INCREF( tmp_assign_source_4 );
|
|
tmp_import_from_1__module = tmp_assign_source_4;
|
|
|
|
}
|
|
// Frame without reuse.
|
|
frame_5e05ceda8afed9fc8633caf585bfc962 = MAKE_MODULE_FRAME( codeobj_5e05ceda8afed9fc8633caf585bfc962, module_cryptography$x509$certificate_transparency );
|
|
|
|
// Push the new frame as the currently active one, and we should be exclusively
|
|
// owning it.
|
|
pushFrameStack( frame_5e05ceda8afed9fc8633caf585bfc962 );
|
|
assert( Py_REFCNT( frame_5e05ceda8afed9fc8633caf585bfc962 ) == 2 );
|
|
|
|
// Framed code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
PyObject *tmp_import_name_from_1;
|
|
CHECK_OBJECT( tmp_import_from_1__module );
|
|
tmp_import_name_from_1 = tmp_import_from_1__module;
|
|
tmp_assign_source_5 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_absolute_import );
|
|
if ( tmp_assign_source_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 5;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain_absolute_import, tmp_assign_source_5 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
PyObject *tmp_import_name_from_2;
|
|
CHECK_OBJECT( tmp_import_from_1__module );
|
|
tmp_import_name_from_2 = tmp_import_from_1__module;
|
|
tmp_assign_source_6 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_division );
|
|
if ( tmp_assign_source_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 5;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain_division, tmp_assign_source_6 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
PyObject *tmp_import_name_from_3;
|
|
CHECK_OBJECT( tmp_import_from_1__module );
|
|
tmp_import_name_from_3 = tmp_import_from_1__module;
|
|
tmp_assign_source_7 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_print_function );
|
|
if ( tmp_assign_source_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 5;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain_print_function, tmp_assign_source_7 );
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_import_from_1__module );
|
|
Py_DECREF( tmp_import_from_1__module );
|
|
tmp_import_from_1__module = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_import_from_1__module );
|
|
Py_DECREF( tmp_import_from_1__module );
|
|
tmp_import_from_1__module = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_8;
|
|
PyObject *tmp_name_name_1;
|
|
PyObject *tmp_globals_name_1;
|
|
PyObject *tmp_locals_name_1;
|
|
PyObject *tmp_fromlist_name_1;
|
|
PyObject *tmp_level_name_1;
|
|
tmp_name_name_1 = const_str_plain_abc;
|
|
tmp_globals_name_1 = (PyObject *)moduledict_cryptography$x509$certificate_transparency;
|
|
tmp_locals_name_1 = Py_None;
|
|
tmp_fromlist_name_1 = Py_None;
|
|
tmp_level_name_1 = const_int_0;
|
|
frame_5e05ceda8afed9fc8633caf585bfc962->m_frame.f_lineno = 7;
|
|
tmp_assign_source_8 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 );
|
|
if ( tmp_assign_source_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 7;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain_abc, tmp_assign_source_8 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_9;
|
|
PyObject *tmp_import_name_from_4;
|
|
PyObject *tmp_name_name_2;
|
|
PyObject *tmp_globals_name_2;
|
|
PyObject *tmp_locals_name_2;
|
|
PyObject *tmp_fromlist_name_2;
|
|
PyObject *tmp_level_name_2;
|
|
tmp_name_name_2 = const_str_plain_enum;
|
|
tmp_globals_name_2 = (PyObject *)moduledict_cryptography$x509$certificate_transparency;
|
|
tmp_locals_name_2 = Py_None;
|
|
tmp_fromlist_name_2 = const_tuple_str_plain_Enum_tuple;
|
|
tmp_level_name_2 = const_int_0;
|
|
frame_5e05ceda8afed9fc8633caf585bfc962->m_frame.f_lineno = 8;
|
|
tmp_import_name_from_4 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 );
|
|
if ( tmp_import_name_from_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 8;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_9 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_Enum );
|
|
Py_DECREF( tmp_import_name_from_4 );
|
|
if ( tmp_assign_source_9 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 8;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain_Enum, tmp_assign_source_9 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_10;
|
|
PyObject *tmp_name_name_3;
|
|
PyObject *tmp_globals_name_3;
|
|
PyObject *tmp_locals_name_3;
|
|
PyObject *tmp_fromlist_name_3;
|
|
PyObject *tmp_level_name_3;
|
|
tmp_name_name_3 = const_str_plain_six;
|
|
tmp_globals_name_3 = (PyObject *)moduledict_cryptography$x509$certificate_transparency;
|
|
tmp_locals_name_3 = Py_None;
|
|
tmp_fromlist_name_3 = Py_None;
|
|
tmp_level_name_3 = const_int_0;
|
|
frame_5e05ceda8afed9fc8633caf585bfc962->m_frame.f_lineno = 10;
|
|
tmp_assign_source_10 = IMPORT_MODULE5( tmp_name_name_3, tmp_globals_name_3, tmp_locals_name_3, tmp_fromlist_name_3, tmp_level_name_3 );
|
|
if ( tmp_assign_source_10 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 10;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain_six, tmp_assign_source_10 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_11;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain_Enum );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Enum );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_1 );
|
|
tmp_tuple_element_1 = tmp_mvar_value_1;
|
|
tmp_assign_source_11 = PyTuple_New( 1 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_assign_source_11, 0, tmp_tuple_element_1 );
|
|
assert( tmp_class_creation_1__bases_orig == NULL );
|
|
tmp_class_creation_1__bases_orig = tmp_assign_source_11;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_12;
|
|
PyObject *tmp_dircall_arg1_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases_orig );
|
|
tmp_dircall_arg1_1 = tmp_class_creation_1__bases_orig;
|
|
Py_INCREF( tmp_dircall_arg1_1 );
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
|
|
tmp_assign_source_12 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
|
|
}
|
|
if ( tmp_assign_source_12 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_class_creation_1__bases == NULL );
|
|
tmp_class_creation_1__bases = tmp_assign_source_12;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_13;
|
|
tmp_assign_source_13 = PyDict_New();
|
|
assert( tmp_class_creation_1__class_decl_dict == NULL );
|
|
tmp_class_creation_1__class_decl_dict = tmp_assign_source_13;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_14;
|
|
PyObject *tmp_metaclass_name_1;
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_key_name_1;
|
|
PyObject *tmp_dict_name_1;
|
|
PyObject *tmp_dict_name_2;
|
|
PyObject *tmp_key_name_2;
|
|
nuitka_bool tmp_condition_result_2;
|
|
int tmp_truth_name_1;
|
|
PyObject *tmp_type_arg_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
PyObject *tmp_bases_name_1;
|
|
tmp_key_name_1 = const_str_plain_metaclass;
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_dict_name_1 = tmp_class_creation_1__class_decl_dict;
|
|
tmp_res = PyDict_Contains( tmp_dict_name_1, tmp_key_name_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_1;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_1;
|
|
}
|
|
condexpr_true_1:;
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_dict_name_2 = tmp_class_creation_1__class_decl_dict;
|
|
tmp_key_name_2 = const_str_plain_metaclass;
|
|
tmp_metaclass_name_1 = DICT_GET_ITEM( tmp_dict_name_2, tmp_key_name_2 );
|
|
if ( tmp_metaclass_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
goto condexpr_end_1;
|
|
condexpr_false_1:;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_class_creation_1__bases );
|
|
if ( tmp_truth_name_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_2;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_2;
|
|
}
|
|
condexpr_true_2:;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_subscribed_name_1 = tmp_class_creation_1__bases;
|
|
tmp_subscript_name_1 = const_int_0;
|
|
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
|
|
if ( tmp_type_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_metaclass_name_1 = BUILTIN_TYPE1( tmp_type_arg_1 );
|
|
Py_DECREF( tmp_type_arg_1 );
|
|
if ( tmp_metaclass_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
goto condexpr_end_2;
|
|
condexpr_false_2:;
|
|
tmp_metaclass_name_1 = (PyObject *)&PyType_Type;
|
|
Py_INCREF( tmp_metaclass_name_1 );
|
|
condexpr_end_2:;
|
|
condexpr_end_1:;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_bases_name_1 = tmp_class_creation_1__bases;
|
|
tmp_assign_source_14 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 );
|
|
Py_DECREF( tmp_metaclass_name_1 );
|
|
if ( tmp_assign_source_14 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_class_creation_1__metaclass == NULL );
|
|
tmp_class_creation_1__metaclass = tmp_assign_source_14;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_3;
|
|
PyObject *tmp_key_name_3;
|
|
PyObject *tmp_dict_name_3;
|
|
tmp_key_name_3 = const_str_plain_metaclass;
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_dict_name_3 = tmp_class_creation_1__class_decl_dict;
|
|
tmp_res = PyDict_Contains( tmp_dict_name_3, tmp_key_name_3 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
|
|
tmp_dictdel_key = const_str_plain_metaclass;
|
|
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_4;
|
|
PyObject *tmp_source_name_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_source_name_1 = tmp_class_creation_1__metaclass;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_1, const_str_plain___prepare__ );
|
|
tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_2;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_2;
|
|
}
|
|
branch_yes_2:;
|
|
{
|
|
PyObject *tmp_assign_source_15;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_name_1;
|
|
PyObject *tmp_tuple_element_2;
|
|
PyObject *tmp_kw_name_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_source_name_2 = tmp_class_creation_1__metaclass;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___prepare__ );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_tuple_element_2 = const_str_plain_LogEntryType;
|
|
tmp_args_name_1 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_2 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_2 );
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_tuple_element_2 = tmp_class_creation_1__bases;
|
|
Py_INCREF( tmp_tuple_element_2 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_2 );
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict;
|
|
frame_5e05ceda8afed9fc8633caf585bfc962->m_frame.f_lineno = 13;
|
|
tmp_assign_source_15 = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 );
|
|
Py_DECREF( tmp_called_name_1 );
|
|
Py_DECREF( tmp_args_name_1 );
|
|
if ( tmp_assign_source_15 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_class_creation_1__prepared == NULL );
|
|
tmp_class_creation_1__prepared = tmp_assign_source_15;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_5;
|
|
PyObject *tmp_operand_name_1;
|
|
PyObject *tmp_source_name_3;
|
|
CHECK_OBJECT( tmp_class_creation_1__prepared );
|
|
tmp_source_name_3 = tmp_class_creation_1__prepared;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_3, const_str_plain___getitem__ );
|
|
tmp_operand_name_1 = ( tmp_res != 0 ) ? Py_True : Py_False;
|
|
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_condition_result_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_3;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_3;
|
|
}
|
|
branch_yes_3:;
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
PyObject *tmp_raise_value_1;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_tuple_element_3;
|
|
PyObject *tmp_getattr_target_1;
|
|
PyObject *tmp_getattr_attr_1;
|
|
PyObject *tmp_getattr_default_1;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_type_arg_2;
|
|
tmp_raise_type_1 = PyExc_TypeError;
|
|
tmp_left_name_1 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
|
|
tmp_getattr_attr_1 = const_str_plain___name__;
|
|
tmp_getattr_default_1 = const_str_angle_metaclass;
|
|
tmp_tuple_element_3 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 );
|
|
if ( tmp_tuple_element_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_right_name_1 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_3 );
|
|
CHECK_OBJECT( tmp_class_creation_1__prepared );
|
|
tmp_type_arg_2 = tmp_class_creation_1__prepared;
|
|
tmp_source_name_4 = BUILTIN_TYPE1( tmp_type_arg_2 );
|
|
assert( !(tmp_source_name_4 == NULL) );
|
|
tmp_tuple_element_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_4 );
|
|
if ( tmp_tuple_element_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_3 );
|
|
tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
if ( tmp_raise_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
exception_type = tmp_raise_type_1;
|
|
Py_INCREF( tmp_raise_type_1 );
|
|
exception_value = tmp_raise_value_1;
|
|
exception_lineno = 13;
|
|
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
branch_no_3:;
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
PyObject *tmp_assign_source_16;
|
|
tmp_assign_source_16 = PyDict_New();
|
|
assert( tmp_class_creation_1__prepared == NULL );
|
|
tmp_class_creation_1__prepared = tmp_assign_source_16;
|
|
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_17;
|
|
{
|
|
PyObject *tmp_set_locals_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__prepared );
|
|
tmp_set_locals_1 = tmp_class_creation_1__prepared;
|
|
locals_cryptography$x509$certificate_transparency_13 = tmp_set_locals_1;
|
|
Py_INCREF( tmp_set_locals_1 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_dictset_value = const_str_digest_9c4dcd45c628f51f60b0e74617698ea7;
|
|
tmp_res = PyObject_SetItem( locals_cryptography$x509$certificate_transparency_13, const_str_plain___module__, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_LogEntryType;
|
|
tmp_res = PyObject_SetItem( locals_cryptography$x509$certificate_transparency_13, const_str_plain___qualname__, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_04244c9ffcc1255c6eb8ee9865892bed_2, codeobj_04244c9ffcc1255c6eb8ee9865892bed, module_cryptography$x509$certificate_transparency, sizeof(void *) );
|
|
frame_04244c9ffcc1255c6eb8ee9865892bed_2 = cache_frame_04244c9ffcc1255c6eb8ee9865892bed_2;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_04244c9ffcc1255c6eb8ee9865892bed_2 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_04244c9ffcc1255c6eb8ee9865892bed_2 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
tmp_dictset_value = const_int_0;
|
|
tmp_res = PyObject_SetItem( locals_cryptography$x509$certificate_transparency_13, const_str_plain_X509_CERTIFICATE, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 14;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_int_pos_1;
|
|
tmp_res = PyObject_SetItem( locals_cryptography$x509$certificate_transparency_13, const_str_plain_PRE_CERTIFICATE, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 15;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_04244c9ffcc1255c6eb8ee9865892bed_2 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_2:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_04244c9ffcc1255c6eb8ee9865892bed_2 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_04244c9ffcc1255c6eb8ee9865892bed_2, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_04244c9ffcc1255c6eb8ee9865892bed_2->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_04244c9ffcc1255c6eb8ee9865892bed_2, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_04244c9ffcc1255c6eb8ee9865892bed_2,
|
|
type_description_2,
|
|
outline_0_var___class__
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_04244c9ffcc1255c6eb8ee9865892bed_2 == cache_frame_04244c9ffcc1255c6eb8ee9865892bed_2 )
|
|
{
|
|
Py_DECREF( frame_04244c9ffcc1255c6eb8ee9865892bed_2 );
|
|
}
|
|
cache_frame_04244c9ffcc1255c6eb8ee9865892bed_2 = NULL;
|
|
|
|
assertFrameObject( frame_04244c9ffcc1255c6eb8ee9865892bed_2 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto nested_frame_exit_1;
|
|
|
|
frame_no_exception_1:;
|
|
goto skip_nested_handling_1;
|
|
nested_frame_exit_1:;
|
|
|
|
goto try_except_handler_4;
|
|
skip_nested_handling_1:;
|
|
{
|
|
nuitka_bool tmp_condition_result_6;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_compexpr_left_1 = tmp_class_creation_1__bases;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases_orig );
|
|
tmp_compexpr_right_1 = tmp_class_creation_1__bases_orig;
|
|
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
tmp_condition_result_6 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_4;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_4;
|
|
}
|
|
branch_yes_4:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_1__bases_orig );
|
|
tmp_dictset_value = tmp_class_creation_1__bases_orig;
|
|
tmp_res = PyObject_SetItem( locals_cryptography$x509$certificate_transparency_13, const_str_plain___orig_bases__, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
branch_no_4:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_18;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_args_name_2;
|
|
PyObject *tmp_tuple_element_4;
|
|
PyObject *tmp_kw_name_2;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_called_name_2 = tmp_class_creation_1__metaclass;
|
|
tmp_tuple_element_4 = const_str_plain_LogEntryType;
|
|
tmp_args_name_2 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_4 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_4 );
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_tuple_element_4 = tmp_class_creation_1__bases;
|
|
Py_INCREF( tmp_tuple_element_4 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_4 );
|
|
tmp_tuple_element_4 = locals_cryptography$x509$certificate_transparency_13;
|
|
Py_INCREF( tmp_tuple_element_4 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_4 );
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict;
|
|
frame_5e05ceda8afed9fc8633caf585bfc962->m_frame.f_lineno = 13;
|
|
tmp_assign_source_18 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_2, tmp_kw_name_2 );
|
|
Py_DECREF( tmp_args_name_2 );
|
|
if ( tmp_assign_source_18 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
assert( outline_0_var___class__ == NULL );
|
|
outline_0_var___class__ = tmp_assign_source_18;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( outline_0_var___class__ );
|
|
tmp_assign_source_17 = outline_0_var___class__;
|
|
Py_INCREF( tmp_assign_source_17 );
|
|
goto try_return_handler_4;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( cryptography$x509$certificate_transparency );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_4:;
|
|
{
|
|
Py_DECREF( locals_cryptography$x509$certificate_transparency_13 );
|
|
locals_cryptography$x509$certificate_transparency_13 = NULL;
|
|
}
|
|
{
|
|
goto try_return_handler_3;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_4:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_DECREF( locals_cryptography$x509$certificate_transparency_13 );
|
|
locals_cryptography$x509$certificate_transparency_13 = NULL;
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
// End of try:
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( cryptography$x509$certificate_transparency );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_3:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)outline_0_var___class__ );
|
|
Py_DECREF( outline_0_var___class__ );
|
|
outline_0_var___class__ = NULL;
|
|
|
|
}
|
|
{
|
|
goto outline_result_1;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_3:;
|
|
exception_keeper_type_3 = exception_type;
|
|
exception_keeper_value_3 = exception_value;
|
|
exception_keeper_tb_3 = exception_tb;
|
|
exception_keeper_lineno_3 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_3;
|
|
exception_value = exception_keeper_value_3;
|
|
exception_tb = exception_keeper_tb_3;
|
|
exception_lineno = exception_keeper_lineno_3;
|
|
|
|
goto outline_exception_1;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( cryptography$x509$certificate_transparency );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
outline_exception_1:;
|
|
exception_lineno = 13;
|
|
goto try_except_handler_2;
|
|
outline_result_1:;
|
|
UPDATE_STRING_DICT1( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain_LogEntryType, tmp_assign_source_17 );
|
|
}
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_4 = exception_type;
|
|
exception_keeper_value_4 = exception_value;
|
|
exception_keeper_tb_4 = exception_tb;
|
|
exception_keeper_lineno_4 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_class_creation_1__bases );
|
|
tmp_class_creation_1__bases = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_1__class_decl_dict );
|
|
tmp_class_creation_1__class_decl_dict = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_1__metaclass );
|
|
tmp_class_creation_1__metaclass = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_1__prepared );
|
|
tmp_class_creation_1__prepared = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_4;
|
|
exception_value = exception_keeper_value_4;
|
|
exception_tb = exception_keeper_tb_4;
|
|
exception_lineno = exception_keeper_lineno_4;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__bases );
|
|
Py_DECREF( tmp_class_creation_1__bases );
|
|
tmp_class_creation_1__bases = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__class_decl_dict );
|
|
Py_DECREF( tmp_class_creation_1__class_decl_dict );
|
|
tmp_class_creation_1__class_decl_dict = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__metaclass );
|
|
Py_DECREF( tmp_class_creation_1__metaclass );
|
|
tmp_class_creation_1__metaclass = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__prepared );
|
|
Py_DECREF( tmp_class_creation_1__prepared );
|
|
tmp_class_creation_1__prepared = NULL;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_19;
|
|
PyObject *tmp_tuple_element_5;
|
|
PyObject *tmp_mvar_value_2;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain_Enum );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Enum );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Enum" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_tuple_element_5 = tmp_mvar_value_2;
|
|
tmp_assign_source_19 = PyTuple_New( 1 );
|
|
Py_INCREF( tmp_tuple_element_5 );
|
|
PyTuple_SET_ITEM( tmp_assign_source_19, 0, tmp_tuple_element_5 );
|
|
assert( tmp_class_creation_2__bases_orig == NULL );
|
|
tmp_class_creation_2__bases_orig = tmp_assign_source_19;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_20;
|
|
PyObject *tmp_dircall_arg1_2;
|
|
CHECK_OBJECT( tmp_class_creation_2__bases_orig );
|
|
tmp_dircall_arg1_2 = tmp_class_creation_2__bases_orig;
|
|
Py_INCREF( tmp_dircall_arg1_2 );
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_2};
|
|
tmp_assign_source_20 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
|
|
}
|
|
if ( tmp_assign_source_20 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
assert( tmp_class_creation_2__bases == NULL );
|
|
tmp_class_creation_2__bases = tmp_assign_source_20;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_21;
|
|
tmp_assign_source_21 = PyDict_New();
|
|
assert( tmp_class_creation_2__class_decl_dict == NULL );
|
|
tmp_class_creation_2__class_decl_dict = tmp_assign_source_21;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_22;
|
|
PyObject *tmp_metaclass_name_2;
|
|
nuitka_bool tmp_condition_result_7;
|
|
PyObject *tmp_key_name_4;
|
|
PyObject *tmp_dict_name_4;
|
|
PyObject *tmp_dict_name_5;
|
|
PyObject *tmp_key_name_5;
|
|
nuitka_bool tmp_condition_result_8;
|
|
int tmp_truth_name_2;
|
|
PyObject *tmp_type_arg_3;
|
|
PyObject *tmp_subscribed_name_2;
|
|
PyObject *tmp_subscript_name_2;
|
|
PyObject *tmp_bases_name_2;
|
|
tmp_key_name_4 = const_str_plain_metaclass;
|
|
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
|
|
tmp_dict_name_4 = tmp_class_creation_2__class_decl_dict;
|
|
tmp_res = PyDict_Contains( tmp_dict_name_4, tmp_key_name_4 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_condition_result_7 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_3;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_3;
|
|
}
|
|
condexpr_true_3:;
|
|
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
|
|
tmp_dict_name_5 = tmp_class_creation_2__class_decl_dict;
|
|
tmp_key_name_5 = const_str_plain_metaclass;
|
|
tmp_metaclass_name_2 = DICT_GET_ITEM( tmp_dict_name_5, tmp_key_name_5 );
|
|
if ( tmp_metaclass_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
goto condexpr_end_3;
|
|
condexpr_false_3:;
|
|
CHECK_OBJECT( tmp_class_creation_2__bases );
|
|
tmp_truth_name_2 = CHECK_IF_TRUE( tmp_class_creation_2__bases );
|
|
if ( tmp_truth_name_2 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_condition_result_8 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_4;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_4;
|
|
}
|
|
condexpr_true_4:;
|
|
CHECK_OBJECT( tmp_class_creation_2__bases );
|
|
tmp_subscribed_name_2 = tmp_class_creation_2__bases;
|
|
tmp_subscript_name_2 = const_int_0;
|
|
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 );
|
|
if ( tmp_type_arg_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_metaclass_name_2 = BUILTIN_TYPE1( tmp_type_arg_3 );
|
|
Py_DECREF( tmp_type_arg_3 );
|
|
if ( tmp_metaclass_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
goto condexpr_end_4;
|
|
condexpr_false_4:;
|
|
tmp_metaclass_name_2 = (PyObject *)&PyType_Type;
|
|
Py_INCREF( tmp_metaclass_name_2 );
|
|
condexpr_end_4:;
|
|
condexpr_end_3:;
|
|
CHECK_OBJECT( tmp_class_creation_2__bases );
|
|
tmp_bases_name_2 = tmp_class_creation_2__bases;
|
|
tmp_assign_source_22 = SELECT_METACLASS( tmp_metaclass_name_2, tmp_bases_name_2 );
|
|
Py_DECREF( tmp_metaclass_name_2 );
|
|
if ( tmp_assign_source_22 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
assert( tmp_class_creation_2__metaclass == NULL );
|
|
tmp_class_creation_2__metaclass = tmp_assign_source_22;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_9;
|
|
PyObject *tmp_key_name_6;
|
|
PyObject *tmp_dict_name_6;
|
|
tmp_key_name_6 = const_str_plain_metaclass;
|
|
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
|
|
tmp_dict_name_6 = tmp_class_creation_2__class_decl_dict;
|
|
tmp_res = PyDict_Contains( tmp_dict_name_6, tmp_key_name_6 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_condition_result_9 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_5;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_5;
|
|
}
|
|
branch_yes_5:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
|
|
tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict;
|
|
tmp_dictdel_key = const_str_plain_metaclass;
|
|
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
}
|
|
branch_no_5:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_10;
|
|
PyObject *tmp_source_name_5;
|
|
CHECK_OBJECT( tmp_class_creation_2__metaclass );
|
|
tmp_source_name_5 = tmp_class_creation_2__metaclass;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_5, const_str_plain___prepare__ );
|
|
tmp_condition_result_10 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_6;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_6;
|
|
}
|
|
branch_yes_6:;
|
|
{
|
|
PyObject *tmp_assign_source_23;
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_source_name_6;
|
|
PyObject *tmp_args_name_3;
|
|
PyObject *tmp_tuple_element_6;
|
|
PyObject *tmp_kw_name_3;
|
|
CHECK_OBJECT( tmp_class_creation_2__metaclass );
|
|
tmp_source_name_6 = tmp_class_creation_2__metaclass;
|
|
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain___prepare__ );
|
|
if ( tmp_called_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_tuple_element_6 = const_str_plain_Version;
|
|
tmp_args_name_3 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_6 );
|
|
PyTuple_SET_ITEM( tmp_args_name_3, 0, tmp_tuple_element_6 );
|
|
CHECK_OBJECT( tmp_class_creation_2__bases );
|
|
tmp_tuple_element_6 = tmp_class_creation_2__bases;
|
|
Py_INCREF( tmp_tuple_element_6 );
|
|
PyTuple_SET_ITEM( tmp_args_name_3, 1, tmp_tuple_element_6 );
|
|
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
|
|
tmp_kw_name_3 = tmp_class_creation_2__class_decl_dict;
|
|
frame_5e05ceda8afed9fc8633caf585bfc962->m_frame.f_lineno = 18;
|
|
tmp_assign_source_23 = CALL_FUNCTION( tmp_called_name_3, tmp_args_name_3, tmp_kw_name_3 );
|
|
Py_DECREF( tmp_called_name_3 );
|
|
Py_DECREF( tmp_args_name_3 );
|
|
if ( tmp_assign_source_23 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
assert( tmp_class_creation_2__prepared == NULL );
|
|
tmp_class_creation_2__prepared = tmp_assign_source_23;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_11;
|
|
PyObject *tmp_operand_name_2;
|
|
PyObject *tmp_source_name_7;
|
|
CHECK_OBJECT( tmp_class_creation_2__prepared );
|
|
tmp_source_name_7 = tmp_class_creation_2__prepared;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_7, const_str_plain___getitem__ );
|
|
tmp_operand_name_2 = ( tmp_res != 0 ) ? Py_True : Py_False;
|
|
tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_condition_result_11 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_11 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_7;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_7;
|
|
}
|
|
branch_yes_7:;
|
|
{
|
|
PyObject *tmp_raise_type_2;
|
|
PyObject *tmp_raise_value_2;
|
|
PyObject *tmp_left_name_2;
|
|
PyObject *tmp_right_name_2;
|
|
PyObject *tmp_tuple_element_7;
|
|
PyObject *tmp_getattr_target_2;
|
|
PyObject *tmp_getattr_attr_2;
|
|
PyObject *tmp_getattr_default_2;
|
|
PyObject *tmp_source_name_8;
|
|
PyObject *tmp_type_arg_4;
|
|
tmp_raise_type_2 = PyExc_TypeError;
|
|
tmp_left_name_2 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
CHECK_OBJECT( tmp_class_creation_2__metaclass );
|
|
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
|
|
tmp_getattr_attr_2 = const_str_plain___name__;
|
|
tmp_getattr_default_2 = const_str_angle_metaclass;
|
|
tmp_tuple_element_7 = BUILTIN_GETATTR( tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2 );
|
|
if ( tmp_tuple_element_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_right_name_2 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_7 );
|
|
CHECK_OBJECT( tmp_class_creation_2__prepared );
|
|
tmp_type_arg_4 = tmp_class_creation_2__prepared;
|
|
tmp_source_name_8 = BUILTIN_TYPE1( tmp_type_arg_4 );
|
|
assert( !(tmp_source_name_8 == NULL) );
|
|
tmp_tuple_element_7 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_8 );
|
|
if ( tmp_tuple_element_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_right_name_2 );
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_7 );
|
|
tmp_raise_value_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 );
|
|
Py_DECREF( tmp_right_name_2 );
|
|
if ( tmp_raise_value_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
exception_type = tmp_raise_type_2;
|
|
Py_INCREF( tmp_raise_type_2 );
|
|
exception_value = tmp_raise_value_2;
|
|
exception_lineno = 18;
|
|
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
branch_no_7:;
|
|
}
|
|
goto branch_end_6;
|
|
branch_no_6:;
|
|
{
|
|
PyObject *tmp_assign_source_24;
|
|
tmp_assign_source_24 = PyDict_New();
|
|
assert( tmp_class_creation_2__prepared == NULL );
|
|
tmp_class_creation_2__prepared = tmp_assign_source_24;
|
|
|
|
}
|
|
branch_end_6:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_25;
|
|
{
|
|
PyObject *tmp_set_locals_2;
|
|
CHECK_OBJECT( tmp_class_creation_2__prepared );
|
|
tmp_set_locals_2 = tmp_class_creation_2__prepared;
|
|
locals_cryptography$x509$certificate_transparency_18 = tmp_set_locals_2;
|
|
Py_INCREF( tmp_set_locals_2 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_dictset_value = const_str_digest_9c4dcd45c628f51f60b0e74617698ea7;
|
|
tmp_res = PyObject_SetItem( locals_cryptography$x509$certificate_transparency_18, const_str_plain___module__, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_Version;
|
|
tmp_res = PyObject_SetItem( locals_cryptography$x509$certificate_transparency_18, const_str_plain___qualname__, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_622549b89d00b0d0c267a4595d84b575_3, codeobj_622549b89d00b0d0c267a4595d84b575, module_cryptography$x509$certificate_transparency, sizeof(void *) );
|
|
frame_622549b89d00b0d0c267a4595d84b575_3 = cache_frame_622549b89d00b0d0c267a4595d84b575_3;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_622549b89d00b0d0c267a4595d84b575_3 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_622549b89d00b0d0c267a4595d84b575_3 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
tmp_dictset_value = const_int_0;
|
|
tmp_res = PyObject_SetItem( locals_cryptography$x509$certificate_transparency_18, const_str_plain_v1, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 19;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_622549b89d00b0d0c267a4595d84b575_3 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_2;
|
|
|
|
frame_exception_exit_3:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_622549b89d00b0d0c267a4595d84b575_3 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_622549b89d00b0d0c267a4595d84b575_3, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_622549b89d00b0d0c267a4595d84b575_3->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_622549b89d00b0d0c267a4595d84b575_3, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_622549b89d00b0d0c267a4595d84b575_3,
|
|
type_description_2,
|
|
outline_1_var___class__
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_622549b89d00b0d0c267a4595d84b575_3 == cache_frame_622549b89d00b0d0c267a4595d84b575_3 )
|
|
{
|
|
Py_DECREF( frame_622549b89d00b0d0c267a4595d84b575_3 );
|
|
}
|
|
cache_frame_622549b89d00b0d0c267a4595d84b575_3 = NULL;
|
|
|
|
assertFrameObject( frame_622549b89d00b0d0c267a4595d84b575_3 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto nested_frame_exit_2;
|
|
|
|
frame_no_exception_2:;
|
|
goto skip_nested_handling_2;
|
|
nested_frame_exit_2:;
|
|
|
|
goto try_except_handler_7;
|
|
skip_nested_handling_2:;
|
|
{
|
|
nuitka_bool tmp_condition_result_12;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
CHECK_OBJECT( tmp_class_creation_2__bases );
|
|
tmp_compexpr_left_2 = tmp_class_creation_2__bases;
|
|
CHECK_OBJECT( tmp_class_creation_2__bases_orig );
|
|
tmp_compexpr_right_2 = tmp_class_creation_2__bases_orig;
|
|
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_2, tmp_compexpr_right_2 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
tmp_condition_result_12 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_8;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_8;
|
|
}
|
|
branch_yes_8:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_2__bases_orig );
|
|
tmp_dictset_value = tmp_class_creation_2__bases_orig;
|
|
tmp_res = PyObject_SetItem( locals_cryptography$x509$certificate_transparency_18, const_str_plain___orig_bases__, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
}
|
|
branch_no_8:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_26;
|
|
PyObject *tmp_called_name_4;
|
|
PyObject *tmp_args_name_4;
|
|
PyObject *tmp_tuple_element_8;
|
|
PyObject *tmp_kw_name_4;
|
|
CHECK_OBJECT( tmp_class_creation_2__metaclass );
|
|
tmp_called_name_4 = tmp_class_creation_2__metaclass;
|
|
tmp_tuple_element_8 = const_str_plain_Version;
|
|
tmp_args_name_4 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_8 );
|
|
PyTuple_SET_ITEM( tmp_args_name_4, 0, tmp_tuple_element_8 );
|
|
CHECK_OBJECT( tmp_class_creation_2__bases );
|
|
tmp_tuple_element_8 = tmp_class_creation_2__bases;
|
|
Py_INCREF( tmp_tuple_element_8 );
|
|
PyTuple_SET_ITEM( tmp_args_name_4, 1, tmp_tuple_element_8 );
|
|
tmp_tuple_element_8 = locals_cryptography$x509$certificate_transparency_18;
|
|
Py_INCREF( tmp_tuple_element_8 );
|
|
PyTuple_SET_ITEM( tmp_args_name_4, 2, tmp_tuple_element_8 );
|
|
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
|
|
tmp_kw_name_4 = tmp_class_creation_2__class_decl_dict;
|
|
frame_5e05ceda8afed9fc8633caf585bfc962->m_frame.f_lineno = 18;
|
|
tmp_assign_source_26 = CALL_FUNCTION( tmp_called_name_4, tmp_args_name_4, tmp_kw_name_4 );
|
|
Py_DECREF( tmp_args_name_4 );
|
|
if ( tmp_assign_source_26 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
assert( outline_1_var___class__ == NULL );
|
|
outline_1_var___class__ = tmp_assign_source_26;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( outline_1_var___class__ );
|
|
tmp_assign_source_25 = outline_1_var___class__;
|
|
Py_INCREF( tmp_assign_source_25 );
|
|
goto try_return_handler_7;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( cryptography$x509$certificate_transparency );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_7:;
|
|
{
|
|
Py_DECREF( locals_cryptography$x509$certificate_transparency_18 );
|
|
locals_cryptography$x509$certificate_transparency_18 = NULL;
|
|
}
|
|
{
|
|
goto try_return_handler_6;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_7:;
|
|
exception_keeper_type_5 = exception_type;
|
|
exception_keeper_value_5 = exception_value;
|
|
exception_keeper_tb_5 = exception_tb;
|
|
exception_keeper_lineno_5 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_DECREF( locals_cryptography$x509$certificate_transparency_18 );
|
|
locals_cryptography$x509$certificate_transparency_18 = NULL;
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_5;
|
|
exception_value = exception_keeper_value_5;
|
|
exception_tb = exception_keeper_tb_5;
|
|
exception_lineno = exception_keeper_lineno_5;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
// End of try:
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( cryptography$x509$certificate_transparency );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_6:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)outline_1_var___class__ );
|
|
Py_DECREF( outline_1_var___class__ );
|
|
outline_1_var___class__ = NULL;
|
|
|
|
}
|
|
{
|
|
goto outline_result_2;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_6:;
|
|
exception_keeper_type_6 = exception_type;
|
|
exception_keeper_value_6 = exception_value;
|
|
exception_keeper_tb_6 = exception_tb;
|
|
exception_keeper_lineno_6 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_6;
|
|
exception_value = exception_keeper_value_6;
|
|
exception_tb = exception_keeper_tb_6;
|
|
exception_lineno = exception_keeper_lineno_6;
|
|
|
|
goto outline_exception_2;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( cryptography$x509$certificate_transparency );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
outline_exception_2:;
|
|
exception_lineno = 18;
|
|
goto try_except_handler_5;
|
|
outline_result_2:;
|
|
UPDATE_STRING_DICT1( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain_Version, tmp_assign_source_25 );
|
|
}
|
|
goto try_end_3;
|
|
// Exception handler code:
|
|
try_except_handler_5:;
|
|
exception_keeper_type_7 = exception_type;
|
|
exception_keeper_value_7 = exception_value;
|
|
exception_keeper_tb_7 = exception_tb;
|
|
exception_keeper_lineno_7 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_class_creation_2__bases );
|
|
tmp_class_creation_2__bases = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_2__class_decl_dict );
|
|
tmp_class_creation_2__class_decl_dict = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_2__metaclass );
|
|
tmp_class_creation_2__metaclass = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_2__prepared );
|
|
tmp_class_creation_2__prepared = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_7;
|
|
exception_value = exception_keeper_value_7;
|
|
exception_tb = exception_keeper_tb_7;
|
|
exception_lineno = exception_keeper_lineno_7;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_3:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__bases );
|
|
Py_DECREF( tmp_class_creation_2__bases );
|
|
tmp_class_creation_2__bases = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__class_decl_dict );
|
|
Py_DECREF( tmp_class_creation_2__class_decl_dict );
|
|
tmp_class_creation_2__class_decl_dict = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__metaclass );
|
|
Py_DECREF( tmp_class_creation_2__metaclass );
|
|
tmp_class_creation_2__metaclass = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__prepared );
|
|
Py_DECREF( tmp_class_creation_2__prepared );
|
|
tmp_class_creation_2__prepared = NULL;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_27;
|
|
PyObject *tmp_dircall_arg1_3;
|
|
tmp_dircall_arg1_3 = const_tuple_type_object_tuple;
|
|
Py_INCREF( tmp_dircall_arg1_3 );
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_3};
|
|
tmp_assign_source_27 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
|
|
}
|
|
if ( tmp_assign_source_27 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
assert( tmp_class_creation_3__bases == NULL );
|
|
tmp_class_creation_3__bases = tmp_assign_source_27;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_28;
|
|
tmp_assign_source_28 = PyDict_New();
|
|
assert( tmp_class_creation_3__class_decl_dict == NULL );
|
|
tmp_class_creation_3__class_decl_dict = tmp_assign_source_28;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_29;
|
|
PyObject *tmp_metaclass_name_3;
|
|
nuitka_bool tmp_condition_result_13;
|
|
PyObject *tmp_key_name_7;
|
|
PyObject *tmp_dict_name_7;
|
|
PyObject *tmp_dict_name_8;
|
|
PyObject *tmp_key_name_8;
|
|
nuitka_bool tmp_condition_result_14;
|
|
int tmp_truth_name_3;
|
|
PyObject *tmp_type_arg_5;
|
|
PyObject *tmp_subscribed_name_3;
|
|
PyObject *tmp_subscript_name_3;
|
|
PyObject *tmp_bases_name_3;
|
|
tmp_key_name_7 = const_str_plain_metaclass;
|
|
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
|
|
tmp_dict_name_7 = tmp_class_creation_3__class_decl_dict;
|
|
tmp_res = PyDict_Contains( tmp_dict_name_7, tmp_key_name_7 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
tmp_condition_result_13 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_5;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_5;
|
|
}
|
|
condexpr_true_5:;
|
|
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
|
|
tmp_dict_name_8 = tmp_class_creation_3__class_decl_dict;
|
|
tmp_key_name_8 = const_str_plain_metaclass;
|
|
tmp_metaclass_name_3 = DICT_GET_ITEM( tmp_dict_name_8, tmp_key_name_8 );
|
|
if ( tmp_metaclass_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
goto condexpr_end_5;
|
|
condexpr_false_5:;
|
|
CHECK_OBJECT( tmp_class_creation_3__bases );
|
|
tmp_truth_name_3 = CHECK_IF_TRUE( tmp_class_creation_3__bases );
|
|
if ( tmp_truth_name_3 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
tmp_condition_result_14 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_6;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_6;
|
|
}
|
|
condexpr_true_6:;
|
|
CHECK_OBJECT( tmp_class_creation_3__bases );
|
|
tmp_subscribed_name_3 = tmp_class_creation_3__bases;
|
|
tmp_subscript_name_3 = const_int_0;
|
|
tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 0 );
|
|
if ( tmp_type_arg_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
tmp_metaclass_name_3 = BUILTIN_TYPE1( tmp_type_arg_5 );
|
|
Py_DECREF( tmp_type_arg_5 );
|
|
if ( tmp_metaclass_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
goto condexpr_end_6;
|
|
condexpr_false_6:;
|
|
tmp_metaclass_name_3 = (PyObject *)&PyType_Type;
|
|
Py_INCREF( tmp_metaclass_name_3 );
|
|
condexpr_end_6:;
|
|
condexpr_end_5:;
|
|
CHECK_OBJECT( tmp_class_creation_3__bases );
|
|
tmp_bases_name_3 = tmp_class_creation_3__bases;
|
|
tmp_assign_source_29 = SELECT_METACLASS( tmp_metaclass_name_3, tmp_bases_name_3 );
|
|
Py_DECREF( tmp_metaclass_name_3 );
|
|
if ( tmp_assign_source_29 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
assert( tmp_class_creation_3__metaclass == NULL );
|
|
tmp_class_creation_3__metaclass = tmp_assign_source_29;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_15;
|
|
PyObject *tmp_key_name_9;
|
|
PyObject *tmp_dict_name_9;
|
|
tmp_key_name_9 = const_str_plain_metaclass;
|
|
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
|
|
tmp_dict_name_9 = tmp_class_creation_3__class_decl_dict;
|
|
tmp_res = PyDict_Contains( tmp_dict_name_9, tmp_key_name_9 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
tmp_condition_result_15 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_9;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_9;
|
|
}
|
|
branch_yes_9:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
|
|
tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict;
|
|
tmp_dictdel_key = const_str_plain_metaclass;
|
|
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
}
|
|
branch_no_9:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_16;
|
|
PyObject *tmp_source_name_9;
|
|
CHECK_OBJECT( tmp_class_creation_3__metaclass );
|
|
tmp_source_name_9 = tmp_class_creation_3__metaclass;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_9, const_str_plain___prepare__ );
|
|
tmp_condition_result_16 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_16 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_10;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_10;
|
|
}
|
|
branch_yes_10:;
|
|
{
|
|
PyObject *tmp_assign_source_30;
|
|
PyObject *tmp_called_name_5;
|
|
PyObject *tmp_source_name_10;
|
|
PyObject *tmp_args_name_5;
|
|
PyObject *tmp_tuple_element_9;
|
|
PyObject *tmp_kw_name_5;
|
|
CHECK_OBJECT( tmp_class_creation_3__metaclass );
|
|
tmp_source_name_10 = tmp_class_creation_3__metaclass;
|
|
tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain___prepare__ );
|
|
if ( tmp_called_name_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
tmp_tuple_element_9 = const_str_plain_SignedCertificateTimestamp;
|
|
tmp_args_name_5 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_9 );
|
|
PyTuple_SET_ITEM( tmp_args_name_5, 0, tmp_tuple_element_9 );
|
|
CHECK_OBJECT( tmp_class_creation_3__bases );
|
|
tmp_tuple_element_9 = tmp_class_creation_3__bases;
|
|
Py_INCREF( tmp_tuple_element_9 );
|
|
PyTuple_SET_ITEM( tmp_args_name_5, 1, tmp_tuple_element_9 );
|
|
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
|
|
tmp_kw_name_5 = tmp_class_creation_3__class_decl_dict;
|
|
frame_5e05ceda8afed9fc8633caf585bfc962->m_frame.f_lineno = 23;
|
|
tmp_assign_source_30 = CALL_FUNCTION( tmp_called_name_5, tmp_args_name_5, tmp_kw_name_5 );
|
|
Py_DECREF( tmp_called_name_5 );
|
|
Py_DECREF( tmp_args_name_5 );
|
|
if ( tmp_assign_source_30 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
assert( tmp_class_creation_3__prepared == NULL );
|
|
tmp_class_creation_3__prepared = tmp_assign_source_30;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_17;
|
|
PyObject *tmp_operand_name_3;
|
|
PyObject *tmp_source_name_11;
|
|
CHECK_OBJECT( tmp_class_creation_3__prepared );
|
|
tmp_source_name_11 = tmp_class_creation_3__prepared;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_11, const_str_plain___getitem__ );
|
|
tmp_operand_name_3 = ( tmp_res != 0 ) ? Py_True : Py_False;
|
|
tmp_res = CHECK_IF_TRUE( tmp_operand_name_3 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
tmp_condition_result_17 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_17 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_11;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_11;
|
|
}
|
|
branch_yes_11:;
|
|
{
|
|
PyObject *tmp_raise_type_3;
|
|
PyObject *tmp_raise_value_3;
|
|
PyObject *tmp_left_name_3;
|
|
PyObject *tmp_right_name_3;
|
|
PyObject *tmp_tuple_element_10;
|
|
PyObject *tmp_getattr_target_3;
|
|
PyObject *tmp_getattr_attr_3;
|
|
PyObject *tmp_getattr_default_3;
|
|
PyObject *tmp_source_name_12;
|
|
PyObject *tmp_type_arg_6;
|
|
tmp_raise_type_3 = PyExc_TypeError;
|
|
tmp_left_name_3 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
CHECK_OBJECT( tmp_class_creation_3__metaclass );
|
|
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
|
|
tmp_getattr_attr_3 = const_str_plain___name__;
|
|
tmp_getattr_default_3 = const_str_angle_metaclass;
|
|
tmp_tuple_element_10 = BUILTIN_GETATTR( tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3 );
|
|
if ( tmp_tuple_element_10 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
tmp_right_name_3 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_right_name_3, 0, tmp_tuple_element_10 );
|
|
CHECK_OBJECT( tmp_class_creation_3__prepared );
|
|
tmp_type_arg_6 = tmp_class_creation_3__prepared;
|
|
tmp_source_name_12 = BUILTIN_TYPE1( tmp_type_arg_6 );
|
|
assert( !(tmp_source_name_12 == NULL) );
|
|
tmp_tuple_element_10 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_12 );
|
|
if ( tmp_tuple_element_10 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_right_name_3 );
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_right_name_3, 1, tmp_tuple_element_10 );
|
|
tmp_raise_value_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 );
|
|
Py_DECREF( tmp_right_name_3 );
|
|
if ( tmp_raise_value_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
exception_type = tmp_raise_type_3;
|
|
Py_INCREF( tmp_raise_type_3 );
|
|
exception_value = tmp_raise_value_3;
|
|
exception_lineno = 23;
|
|
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
branch_no_11:;
|
|
}
|
|
goto branch_end_10;
|
|
branch_no_10:;
|
|
{
|
|
PyObject *tmp_assign_source_31;
|
|
tmp_assign_source_31 = PyDict_New();
|
|
assert( tmp_class_creation_3__prepared == NULL );
|
|
tmp_class_creation_3__prepared = tmp_assign_source_31;
|
|
|
|
}
|
|
branch_end_10:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_32;
|
|
PyObject *tmp_called_name_6;
|
|
PyObject *tmp_called_name_7;
|
|
PyObject *tmp_source_name_13;
|
|
PyObject *tmp_mvar_value_3;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_source_name_14;
|
|
PyObject *tmp_mvar_value_4;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain_six );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_six );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "six" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 22;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
|
|
tmp_source_name_13 = tmp_mvar_value_3;
|
|
tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_add_metaclass );
|
|
if ( tmp_called_name_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 22;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain_abc );
|
|
|
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_abc );
|
|
}
|
|
|
|
if ( tmp_mvar_value_4 == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_7 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "abc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 22;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
|
|
tmp_source_name_14 = tmp_mvar_value_4;
|
|
tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_ABCMeta );
|
|
if ( tmp_args_element_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_7 );
|
|
|
|
exception_lineno = 22;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
frame_5e05ceda8afed9fc8633caf585bfc962->m_frame.f_lineno = 22;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_called_name_6 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_7 );
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
if ( tmp_called_name_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 22;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
{
|
|
PyObject *tmp_set_locals_3;
|
|
CHECK_OBJECT( tmp_class_creation_3__prepared );
|
|
tmp_set_locals_3 = tmp_class_creation_3__prepared;
|
|
locals_cryptography$x509$certificate_transparency_23 = tmp_set_locals_3;
|
|
Py_INCREF( tmp_set_locals_3 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_dictset_value = const_str_digest_9c4dcd45c628f51f60b0e74617698ea7;
|
|
tmp_res = PyObject_SetItem( locals_cryptography$x509$certificate_transparency_23, const_str_plain___module__, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_10;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_SignedCertificateTimestamp;
|
|
tmp_res = PyObject_SetItem( locals_cryptography$x509$certificate_transparency_23, const_str_plain___qualname__, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_10;
|
|
}
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_486ce49b6574983b73cab377dacd4724_4, codeobj_486ce49b6574983b73cab377dacd4724, module_cryptography$x509$certificate_transparency, sizeof(void *) );
|
|
frame_486ce49b6574983b73cab377dacd4724_4 = cache_frame_486ce49b6574983b73cab377dacd4724_4;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_486ce49b6574983b73cab377dacd4724_4 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_486ce49b6574983b73cab377dacd4724_4 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_mvar_value_5;
|
|
PyObject *tmp_args_element_name_3;
|
|
tmp_called_instance_1 = PyObject_GetItem( locals_cryptography$x509$certificate_transparency_23, const_str_plain_abc );
|
|
|
|
if ( tmp_called_instance_1 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain_abc );
|
|
|
|
if (unlikely( tmp_mvar_value_5 == NULL ))
|
|
{
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_abc );
|
|
}
|
|
|
|
if ( tmp_mvar_value_5 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "abc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 24;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
|
|
tmp_called_instance_1 = tmp_mvar_value_5;
|
|
Py_INCREF( tmp_called_instance_1 );
|
|
}
|
|
}
|
|
|
|
tmp_args_element_name_3 = MAKE_FUNCTION_cryptography$x509$certificate_transparency$$$function_1_version( );
|
|
|
|
|
|
|
|
frame_486ce49b6574983b73cab377dacd4724_4->m_frame.f_lineno = 24;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_abstractproperty, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_instance_1 );
|
|
Py_DECREF( tmp_args_element_name_3 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 24;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_cryptography$x509$certificate_transparency_23, const_str_plain_version, tmp_dictset_value );
|
|
Py_DECREF( tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 24;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_called_instance_2;
|
|
PyObject *tmp_mvar_value_6;
|
|
PyObject *tmp_args_element_name_4;
|
|
tmp_called_instance_2 = PyObject_GetItem( locals_cryptography$x509$certificate_transparency_23, const_str_plain_abc );
|
|
|
|
if ( tmp_called_instance_2 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain_abc );
|
|
|
|
if (unlikely( tmp_mvar_value_6 == NULL ))
|
|
{
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_abc );
|
|
}
|
|
|
|
if ( tmp_mvar_value_6 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "abc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 30;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
|
|
tmp_called_instance_2 = tmp_mvar_value_6;
|
|
Py_INCREF( tmp_called_instance_2 );
|
|
}
|
|
}
|
|
|
|
tmp_args_element_name_4 = MAKE_FUNCTION_cryptography$x509$certificate_transparency$$$function_2_log_id( );
|
|
|
|
|
|
|
|
frame_486ce49b6574983b73cab377dacd4724_4->m_frame.f_lineno = 30;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_4 };
|
|
tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_abstractproperty, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_instance_2 );
|
|
Py_DECREF( tmp_args_element_name_4 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 30;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_cryptography$x509$certificate_transparency_23, const_str_plain_log_id, tmp_dictset_value );
|
|
Py_DECREF( tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 30;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_called_instance_3;
|
|
PyObject *tmp_mvar_value_7;
|
|
PyObject *tmp_args_element_name_5;
|
|
tmp_called_instance_3 = PyObject_GetItem( locals_cryptography$x509$certificate_transparency_23, const_str_plain_abc );
|
|
|
|
if ( tmp_called_instance_3 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain_abc );
|
|
|
|
if (unlikely( tmp_mvar_value_7 == NULL ))
|
|
{
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_abc );
|
|
}
|
|
|
|
if ( tmp_mvar_value_7 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "abc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 36;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
|
|
tmp_called_instance_3 = tmp_mvar_value_7;
|
|
Py_INCREF( tmp_called_instance_3 );
|
|
}
|
|
}
|
|
|
|
tmp_args_element_name_5 = MAKE_FUNCTION_cryptography$x509$certificate_transparency$$$function_3_timestamp( );
|
|
|
|
|
|
|
|
frame_486ce49b6574983b73cab377dacd4724_4->m_frame.f_lineno = 36;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_5 };
|
|
tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_abstractproperty, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_instance_3 );
|
|
Py_DECREF( tmp_args_element_name_5 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 36;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_cryptography$x509$certificate_transparency_23, const_str_plain_timestamp, tmp_dictset_value );
|
|
Py_DECREF( tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 36;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_called_instance_4;
|
|
PyObject *tmp_mvar_value_8;
|
|
PyObject *tmp_args_element_name_6;
|
|
tmp_called_instance_4 = PyObject_GetItem( locals_cryptography$x509$certificate_transparency_23, const_str_plain_abc );
|
|
|
|
if ( tmp_called_instance_4 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain_abc );
|
|
|
|
if (unlikely( tmp_mvar_value_8 == NULL ))
|
|
{
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_abc );
|
|
}
|
|
|
|
if ( tmp_mvar_value_8 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "abc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 42;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
|
|
tmp_called_instance_4 = tmp_mvar_value_8;
|
|
Py_INCREF( tmp_called_instance_4 );
|
|
}
|
|
}
|
|
|
|
tmp_args_element_name_6 = MAKE_FUNCTION_cryptography$x509$certificate_transparency$$$function_4_entry_type( );
|
|
|
|
|
|
|
|
frame_486ce49b6574983b73cab377dacd4724_4->m_frame.f_lineno = 42;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_6 };
|
|
tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_4, const_str_plain_abstractproperty, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_instance_4 );
|
|
Py_DECREF( tmp_args_element_name_6 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 42;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_cryptography$x509$certificate_transparency_23, const_str_plain_entry_type, tmp_dictset_value );
|
|
Py_DECREF( tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 42;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_486ce49b6574983b73cab377dacd4724_4 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_3;
|
|
|
|
frame_exception_exit_4:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_486ce49b6574983b73cab377dacd4724_4 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_486ce49b6574983b73cab377dacd4724_4, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_486ce49b6574983b73cab377dacd4724_4->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_486ce49b6574983b73cab377dacd4724_4, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_486ce49b6574983b73cab377dacd4724_4,
|
|
type_description_2,
|
|
outline_2_var___class__
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_486ce49b6574983b73cab377dacd4724_4 == cache_frame_486ce49b6574983b73cab377dacd4724_4 )
|
|
{
|
|
Py_DECREF( frame_486ce49b6574983b73cab377dacd4724_4 );
|
|
}
|
|
cache_frame_486ce49b6574983b73cab377dacd4724_4 = NULL;
|
|
|
|
assertFrameObject( frame_486ce49b6574983b73cab377dacd4724_4 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto nested_frame_exit_3;
|
|
|
|
frame_no_exception_3:;
|
|
goto skip_nested_handling_3;
|
|
nested_frame_exit_3:;
|
|
|
|
goto try_except_handler_10;
|
|
skip_nested_handling_3:;
|
|
{
|
|
nuitka_bool tmp_condition_result_18;
|
|
PyObject *tmp_compexpr_left_3;
|
|
PyObject *tmp_compexpr_right_3;
|
|
CHECK_OBJECT( tmp_class_creation_3__bases );
|
|
tmp_compexpr_left_3 = tmp_class_creation_3__bases;
|
|
tmp_compexpr_right_3 = const_tuple_type_object_tuple;
|
|
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_3, tmp_compexpr_right_3 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_10;
|
|
}
|
|
tmp_condition_result_18 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_18 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_12;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_12;
|
|
}
|
|
branch_yes_12:;
|
|
{
|
|
tmp_dictset_value = const_tuple_type_object_tuple;
|
|
tmp_res = PyObject_SetItem( locals_cryptography$x509$certificate_transparency_23, const_str_plain___orig_bases__, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_10;
|
|
}
|
|
}
|
|
branch_no_12:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_33;
|
|
PyObject *tmp_called_name_8;
|
|
PyObject *tmp_args_name_6;
|
|
PyObject *tmp_tuple_element_11;
|
|
PyObject *tmp_kw_name_6;
|
|
CHECK_OBJECT( tmp_class_creation_3__metaclass );
|
|
tmp_called_name_8 = tmp_class_creation_3__metaclass;
|
|
tmp_tuple_element_11 = const_str_plain_SignedCertificateTimestamp;
|
|
tmp_args_name_6 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_11 );
|
|
PyTuple_SET_ITEM( tmp_args_name_6, 0, tmp_tuple_element_11 );
|
|
CHECK_OBJECT( tmp_class_creation_3__bases );
|
|
tmp_tuple_element_11 = tmp_class_creation_3__bases;
|
|
Py_INCREF( tmp_tuple_element_11 );
|
|
PyTuple_SET_ITEM( tmp_args_name_6, 1, tmp_tuple_element_11 );
|
|
tmp_tuple_element_11 = locals_cryptography$x509$certificate_transparency_23;
|
|
Py_INCREF( tmp_tuple_element_11 );
|
|
PyTuple_SET_ITEM( tmp_args_name_6, 2, tmp_tuple_element_11 );
|
|
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
|
|
tmp_kw_name_6 = tmp_class_creation_3__class_decl_dict;
|
|
frame_5e05ceda8afed9fc8633caf585bfc962->m_frame.f_lineno = 23;
|
|
tmp_assign_source_33 = CALL_FUNCTION( tmp_called_name_8, tmp_args_name_6, tmp_kw_name_6 );
|
|
Py_DECREF( tmp_args_name_6 );
|
|
if ( tmp_assign_source_33 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 23;
|
|
|
|
goto try_except_handler_10;
|
|
}
|
|
assert( outline_2_var___class__ == NULL );
|
|
outline_2_var___class__ = tmp_assign_source_33;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( outline_2_var___class__ );
|
|
tmp_args_element_name_2 = outline_2_var___class__;
|
|
Py_INCREF( tmp_args_element_name_2 );
|
|
goto try_return_handler_10;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( cryptography$x509$certificate_transparency );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_10:;
|
|
{
|
|
Py_DECREF( locals_cryptography$x509$certificate_transparency_23 );
|
|
locals_cryptography$x509$certificate_transparency_23 = NULL;
|
|
}
|
|
{
|
|
goto try_return_handler_9;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_10:;
|
|
exception_keeper_type_8 = exception_type;
|
|
exception_keeper_value_8 = exception_value;
|
|
exception_keeper_tb_8 = exception_tb;
|
|
exception_keeper_lineno_8 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_DECREF( locals_cryptography$x509$certificate_transparency_23 );
|
|
locals_cryptography$x509$certificate_transparency_23 = NULL;
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_8;
|
|
exception_value = exception_keeper_value_8;
|
|
exception_tb = exception_keeper_tb_8;
|
|
exception_lineno = exception_keeper_lineno_8;
|
|
|
|
goto try_except_handler_9;
|
|
}
|
|
// End of try:
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( cryptography$x509$certificate_transparency );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_9:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)outline_2_var___class__ );
|
|
Py_DECREF( outline_2_var___class__ );
|
|
outline_2_var___class__ = NULL;
|
|
|
|
}
|
|
{
|
|
goto outline_result_3;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_9:;
|
|
exception_keeper_type_9 = exception_type;
|
|
exception_keeper_value_9 = exception_value;
|
|
exception_keeper_tb_9 = exception_tb;
|
|
exception_keeper_lineno_9 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_9;
|
|
exception_value = exception_keeper_value_9;
|
|
exception_tb = exception_keeper_tb_9;
|
|
exception_lineno = exception_keeper_lineno_9;
|
|
|
|
goto outline_exception_3;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( cryptography$x509$certificate_transparency );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
outline_exception_3:;
|
|
exception_lineno = 23;
|
|
goto try_except_handler_8;
|
|
outline_result_3:;
|
|
frame_5e05ceda8afed9fc8633caf585bfc962->m_frame.f_lineno = 22;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
tmp_assign_source_32 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_6 );
|
|
Py_DECREF( tmp_args_element_name_2 );
|
|
if ( tmp_assign_source_32 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 22;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_cryptography$x509$certificate_transparency, (Nuitka_StringObject *)const_str_plain_SignedCertificateTimestamp, tmp_assign_source_32 );
|
|
}
|
|
goto try_end_4;
|
|
// Exception handler code:
|
|
try_except_handler_8:;
|
|
exception_keeper_type_10 = exception_type;
|
|
exception_keeper_value_10 = exception_value;
|
|
exception_keeper_tb_10 = exception_tb;
|
|
exception_keeper_lineno_10 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_class_creation_3__bases );
|
|
tmp_class_creation_3__bases = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_3__class_decl_dict );
|
|
tmp_class_creation_3__class_decl_dict = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_3__metaclass );
|
|
tmp_class_creation_3__metaclass = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_3__prepared );
|
|
tmp_class_creation_3__prepared = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_10;
|
|
exception_value = exception_keeper_value_10;
|
|
exception_tb = exception_keeper_tb_10;
|
|
exception_lineno = exception_keeper_lineno_10;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_4:;
|
|
}
|
|
|
|
// Restore frame exception if necessary.
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5e05ceda8afed9fc8633caf585bfc962 );
|
|
#endif
|
|
popFrameStack();
|
|
|
|
assertFrameObject( frame_5e05ceda8afed9fc8633caf585bfc962 );
|
|
|
|
goto frame_no_exception_4;
|
|
|
|
frame_exception_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5e05ceda8afed9fc8633caf585bfc962 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_5e05ceda8afed9fc8633caf585bfc962, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_5e05ceda8afed9fc8633caf585bfc962->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_5e05ceda8afed9fc8633caf585bfc962, exception_lineno );
|
|
}
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto module_exception_exit;
|
|
|
|
frame_no_exception_4:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__bases );
|
|
Py_DECREF( tmp_class_creation_3__bases );
|
|
tmp_class_creation_3__bases = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__class_decl_dict );
|
|
Py_DECREF( tmp_class_creation_3__class_decl_dict );
|
|
tmp_class_creation_3__class_decl_dict = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__metaclass );
|
|
Py_DECREF( tmp_class_creation_3__metaclass );
|
|
tmp_class_creation_3__metaclass = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__prepared );
|
|
Py_DECREF( tmp_class_creation_3__prepared );
|
|
tmp_class_creation_3__prepared = NULL;
|
|
|
|
}
|
|
|
|
return MOD_RETURN_VALUE( module_cryptography$x509$certificate_transparency );
|
|
module_exception_exit:
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
}
|