Files
fesmoo_perdoliq/baraban.build/module.future.builtins.newnext.c

1374 lines
45 KiB
C
Raw Normal View History

2019-12-06 12:23:21 +03:00
/* Generated code for Python source for module 'future.builtins.newnext'
* 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_future$builtins$newnext 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_future$builtins$newnext;
PyDictObject *moduledict_future$builtins$newnext;
/* The module constants used, if any. */
static PyObject *const_str_digest_4a56f00f6b46165284ad338e0aacdb8e;
extern PyObject *const_str_plain_newnext;
extern PyObject *const_str_plain__SENTINEL;
extern PyObject *const_str_plain___name__;
extern PyObject *const_str_plain___all__;
extern PyObject *const_str_plain___next__;
static PyObject *const_tuple_str_plain_iterator_str_plain_default_str_plain_e_tuple;
extern PyObject *const_str_plain_object;
extern PyObject *const_str_plain___file__;
static PyObject *const_str_plain__builtin_next;
static PyObject *const_str_digest_528985f449dd6e1875989bffa381b86d;
extern PyObject *const_str_plain_default;
extern PyObject *const_str_plain_e;
static PyObject *const_str_digest_79fd771a7a077278148848597302e28c;
extern PyObject *const_tuple_empty;
extern PyObject *const_str_digest_487193d10fdf4fbc27e5ac4c56dd788b;
static PyObject *const_str_digest_0dc2ad10af0edd30ef7f2edf1adda708;
extern PyObject *const_str_plain_next;
extern PyObject *const_str_plain_format;
extern PyObject *const_str_plain_iterator;
static PyObject *const_list_str_plain_newnext_list;
extern PyObject *const_str_plain___doc__;
extern PyObject *const_str_plain___cached__;
static PyObject *const_str_digest_94b1e54b0245e5e6178518699c07d60a;
static PyObject *module_filename_obj;
static bool constants_created = false;
static void createModuleConstants( void )
{
const_str_digest_4a56f00f6b46165284ad338e0aacdb8e = UNSTREAM_STRING( &constant_bin[ 702482 ], 188, 0 );
const_tuple_str_plain_iterator_str_plain_default_str_plain_e_tuple = PyTuple_New( 3 );
PyTuple_SET_ITEM( const_tuple_str_plain_iterator_str_plain_default_str_plain_e_tuple, 0, const_str_plain_iterator ); Py_INCREF( const_str_plain_iterator );
PyTuple_SET_ITEM( const_tuple_str_plain_iterator_str_plain_default_str_plain_e_tuple, 1, const_str_plain_default ); Py_INCREF( const_str_plain_default );
PyTuple_SET_ITEM( const_tuple_str_plain_iterator_str_plain_default_str_plain_e_tuple, 2, const_str_plain_e ); Py_INCREF( const_str_plain_e );
const_str_plain__builtin_next = UNSTREAM_STRING( &constant_bin[ 702670 ], 13, 1 );
const_str_digest_528985f449dd6e1875989bffa381b86d = UNSTREAM_STRING( &constant_bin[ 702683 ], 32, 0 );
const_str_digest_79fd771a7a077278148848597302e28c = UNSTREAM_STRING( &constant_bin[ 702715 ], 1158, 0 );
const_str_digest_0dc2ad10af0edd30ef7f2edf1adda708 = UNSTREAM_STRING( &constant_bin[ 703873 ], 59, 0 );
const_list_str_plain_newnext_list = PyList_New( 1 );
PyList_SET_ITEM( const_list_str_plain_newnext_list, 0, const_str_plain_newnext ); Py_INCREF( const_str_plain_newnext );
const_str_digest_94b1e54b0245e5e6178518699c07d60a = UNSTREAM_STRING( &constant_bin[ 703932 ], 31, 0 );
constants_created = true;
}
#ifndef __NUITKA_NO_ASSERT__
void checkModuleConstants_future$builtins$newnext( void )
{
// The module may not have been used at all.
if (constants_created == false) return;
}
#endif
// The module code objects.
static PyCodeObject *codeobj_9fbe7d661276ab213997149c73c887d4;
static PyCodeObject *codeobj_f4f5b2974e9d7ed7cb4975888f2718a9;
static void createModuleCodeObjects(void)
{
module_filename_obj = const_str_digest_0dc2ad10af0edd30ef7f2edf1adda708;
codeobj_9fbe7d661276ab213997149c73c887d4 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_528985f449dd6e1875989bffa381b86d, 1, const_tuple_empty, 0, 0, CO_NOFREE );
codeobj_f4f5b2974e9d7ed7cb4975888f2718a9 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_newnext, 43, const_tuple_str_plain_iterator_str_plain_default_str_plain_e_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
}
// The module function declarations.
static PyObject *MAKE_FUNCTION_future$builtins$newnext$$$function_1_newnext( PyObject *defaults );
// The module function definitions.
static PyObject *impl_future$builtins$newnext$$$function_1_newnext( 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_iterator = python_pars[ 0 ];
PyObject *par_default = python_pars[ 1 ];
PyObject *var_e = NULL;
struct Nuitka_FrameObject *frame_f4f5b2974e9d7ed7cb4975888f2718a9;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = 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;
PyObject *exception_preserved_type_2;
PyObject *exception_preserved_value_2;
PyTracebackObject *exception_preserved_tb_2;
int tmp_res;
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_preserved_type_1;
PyObject *exception_preserved_value_1;
PyTracebackObject *exception_preserved_tb_1;
bool tmp_result;
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 *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_preserved_type_3;
PyObject *exception_preserved_value_3;
PyTracebackObject *exception_preserved_tb_3;
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;
static struct Nuitka_FrameObject *cache_frame_f4f5b2974e9d7ed7cb4975888f2718a9 = 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;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_f4f5b2974e9d7ed7cb4975888f2718a9, codeobj_f4f5b2974e9d7ed7cb4975888f2718a9, module_future$builtins$newnext, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_f4f5b2974e9d7ed7cb4975888f2718a9 = cache_frame_f4f5b2974e9d7ed7cb4975888f2718a9;
// Push the new frame as the currently active one.
pushFrameStack( frame_f4f5b2974e9d7ed7cb4975888f2718a9 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_f4f5b2974e9d7ed7cb4975888f2718a9 ) == 2 ); // Frame stack
// Framed code:
{
// Tried code:
{
// Tried code:
{
PyObject *tmp_called_instance_1;
CHECK_OBJECT( par_iterator );
tmp_called_instance_1 = par_iterator;
frame_f4f5b2974e9d7ed7cb4975888f2718a9->m_frame.f_lineno = 56;
tmp_return_value = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain___next__ );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 56;
type_description_1 = "ooo";
goto try_except_handler_3;
}
goto frame_return_exit_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$builtins$newnext$$$function_1_newnext );
return NULL;
// Exception handler code:
try_except_handler_3:;
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;
{
// Preserve existing published exception.
exception_preserved_type_2 = EXC_TYPE(PyThreadState_GET());
Py_XINCREF( exception_preserved_type_2 );
exception_preserved_value_2 = EXC_VALUE(PyThreadState_GET());
Py_XINCREF( exception_preserved_value_2 );
exception_preserved_tb_2 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET());
Py_XINCREF( exception_preserved_tb_2 );
}
{
if ( exception_keeper_tb_1 == NULL )
{
exception_keeper_tb_1 = MAKE_TRACEBACK( frame_f4f5b2974e9d7ed7cb4975888f2718a9, exception_keeper_lineno_1 );
}
else if ( exception_keeper_lineno_1 != 0 )
{
exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_f4f5b2974e9d7ed7cb4975888f2718a9, exception_keeper_lineno_1 );
}
NORMALIZE_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 );
PyException_SetTraceback( exception_keeper_value_1, (PyObject *)exception_keeper_tb_1 );
PUBLISH_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 );
}
{
// Tried code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_compexpr_right_1 = PyExc_AttributeError;
tmp_res = EXCEPTION_MATCH_BOOL( 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 = 57;
type_description_1 = "ooo";
goto try_except_handler_4;
}
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
// Tried code:
{
PyObject *tmp_called_instance_2;
if ( par_iterator == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "iterator" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 59;
type_description_1 = "ooo";
goto try_except_handler_5;
}
tmp_called_instance_2 = par_iterator;
frame_f4f5b2974e9d7ed7cb4975888f2718a9->m_frame.f_lineno = 59;
tmp_return_value = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_next );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 59;
type_description_1 = "ooo";
goto try_except_handler_5;
}
goto try_return_handler_4;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$builtins$newnext$$$function_1_newnext );
return NULL;
// Exception handler code:
try_except_handler_5:;
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;
{
// Preserve existing published exception.
exception_preserved_type_1 = EXC_TYPE(PyThreadState_GET());
Py_XINCREF( exception_preserved_type_1 );
exception_preserved_value_1 = EXC_VALUE(PyThreadState_GET());
Py_XINCREF( exception_preserved_value_1 );
exception_preserved_tb_1 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET());
Py_XINCREF( exception_preserved_tb_1 );
}
{
if ( exception_keeper_tb_2 == NULL )
{
exception_keeper_tb_2 = MAKE_TRACEBACK( frame_f4f5b2974e9d7ed7cb4975888f2718a9, exception_keeper_lineno_2 );
}
else if ( exception_keeper_lineno_2 != 0 )
{
exception_keeper_tb_2 = ADD_TRACEBACK( exception_keeper_tb_2, frame_f4f5b2974e9d7ed7cb4975888f2718a9, exception_keeper_lineno_2 );
}
NORMALIZE_EXCEPTION( &exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2 );
PyException_SetTraceback( exception_keeper_value_2, (PyObject *)exception_keeper_tb_2 );
PUBLISH_EXCEPTION( &exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2 );
}
{
// Tried code:
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_compexpr_left_2;
PyObject *tmp_compexpr_right_2;
tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_compexpr_right_2 = PyExc_AttributeError;
tmp_res = EXCEPTION_MATCH_BOOL( 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 = 60;
type_description_1 = "ooo";
goto try_except_handler_6;
}
tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
{
goto branch_yes_2;
}
else
{
goto branch_no_2;
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_args_element_name_1;
PyObject *tmp_source_name_2;
PyObject *tmp_source_name_3;
tmp_source_name_1 = const_str_digest_94b1e54b0245e5e6178518699c07d60a;
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_format );
assert( !(tmp_called_name_1 == NULL) );
if ( par_iterator == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "iterator" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 62;
type_description_1 = "ooo";
goto try_except_handler_6;
}
tmp_source_name_3 = par_iterator;
tmp_source_name_2 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_3 );
if ( tmp_source_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_1 );
exception_lineno = 62;
type_description_1 = "ooo";
goto try_except_handler_6;
}
tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___name__ );
Py_DECREF( tmp_source_name_2 );
if ( tmp_args_element_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_1 );
exception_lineno = 62;
type_description_1 = "ooo";
goto try_except_handler_6;
}
frame_f4f5b2974e9d7ed7cb4975888f2718a9->m_frame.f_lineno = 61;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_make_exception_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_element_name_1 );
if ( tmp_make_exception_arg_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 61;
type_description_1 = "ooo";
goto try_except_handler_6;
}
frame_f4f5b2974e9d7ed7cb4975888f2718a9->m_frame.f_lineno = 61;
{
PyObject *call_args[] = { tmp_make_exception_arg_1 };
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_TypeError, call_args );
}
Py_DECREF( tmp_make_exception_arg_1 );
assert( !(tmp_raise_type_1 == NULL) );
exception_type = tmp_raise_type_1;
exception_lineno = 61;
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
type_description_1 = "ooo";
goto try_except_handler_6;
}
goto branch_end_2;
branch_no_2:;
{
tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
if (unlikely( tmp_result == false ))
{
exception_lineno = 58;
}
if (exception_tb && exception_tb->tb_frame == &frame_f4f5b2974e9d7ed7cb4975888f2718a9->m_frame) frame_f4f5b2974e9d7ed7cb4975888f2718a9->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_6;
}
branch_end_2:;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$builtins$newnext$$$function_1_newnext );
return NULL;
// Exception handler code:
try_except_handler_6:;
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;
{
// Restore previous exception.
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
}
{
// 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 try_except_handler_4;
}
// End of try:
}
// End of try:
}
goto branch_end_1;
branch_no_1:;
{
tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
if (unlikely( tmp_result == false ))
{
exception_lineno = 55;
}
if (exception_tb && exception_tb->tb_frame == &frame_f4f5b2974e9d7ed7cb4975888f2718a9->m_frame) frame_f4f5b2974e9d7ed7cb4975888f2718a9->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_4;
}
branch_end_1:;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$builtins$newnext$$$function_1_newnext );
return NULL;
// Return handler code:
try_return_handler_4:;
{
// Restore previous exception.
SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 );
}
{
goto frame_return_exit_1;
}
// Exception handler code:
try_except_handler_4:;
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;
{
// Restore previous exception.
SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 );
}
{
// 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 try_except_handler_2;
}
// End of try:
}
// End of try:
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$builtins$newnext$$$function_1_newnext );
return NULL;
// Exception handler code:
try_except_handler_2:;
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;
{
// Preserve existing published exception.
exception_preserved_type_3 = EXC_TYPE(PyThreadState_GET());
Py_XINCREF( exception_preserved_type_3 );
exception_preserved_value_3 = EXC_VALUE(PyThreadState_GET());
Py_XINCREF( exception_preserved_value_3 );
exception_preserved_tb_3 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET());
Py_XINCREF( exception_preserved_tb_3 );
}
{
if ( exception_keeper_tb_5 == NULL )
{
exception_keeper_tb_5 = MAKE_TRACEBACK( frame_f4f5b2974e9d7ed7cb4975888f2718a9, exception_keeper_lineno_5 );
}
else if ( exception_keeper_lineno_5 != 0 )
{
exception_keeper_tb_5 = ADD_TRACEBACK( exception_keeper_tb_5, frame_f4f5b2974e9d7ed7cb4975888f2718a9, exception_keeper_lineno_5 );
}
NORMALIZE_EXCEPTION( &exception_keeper_type_5, &exception_keeper_value_5, &exception_keeper_tb_5 );
PyException_SetTraceback( exception_keeper_value_5, (PyObject *)exception_keeper_tb_5 );
PUBLISH_EXCEPTION( &exception_keeper_type_5, &exception_keeper_value_5, &exception_keeper_tb_5 );
}
{
// Tried code:
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_compexpr_left_3;
PyObject *tmp_compexpr_right_3;
tmp_compexpr_left_3 = EXC_TYPE(PyThreadState_GET());
tmp_compexpr_right_3 = PyExc_StopIteration;
tmp_res = EXCEPTION_MATCH_BOOL( 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 = 63;
type_description_1 = "ooo";
goto try_except_handler_7;
}
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
{
goto branch_yes_3;
}
else
{
goto branch_no_3;
}
branch_yes_3:;
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = EXC_VALUE(PyThreadState_GET());
assert( var_e == NULL );
Py_INCREF( tmp_assign_source_1 );
var_e = tmp_assign_source_1;
}
{
// Tried code:
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_compexpr_left_4;
PyObject *tmp_compexpr_right_4;
PyObject *tmp_mvar_value_1;
if ( par_default == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "default" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 64;
type_description_1 = "ooo";
goto try_except_handler_8;
}
tmp_compexpr_left_4 = par_default;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$builtins$newnext, (Nuitka_StringObject *)const_str_plain__SENTINEL );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__SENTINEL );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_SENTINEL" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 64;
type_description_1 = "ooo";
goto try_except_handler_8;
}
tmp_compexpr_right_4 = tmp_mvar_value_1;
tmp_condition_result_4 = ( tmp_compexpr_left_4 == tmp_compexpr_right_4 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
{
goto branch_yes_4;
}
else
{
goto branch_no_4;
}
branch_yes_4:;
{
PyObject *tmp_raise_type_2;
if ( var_e == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "e" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 65;
type_description_1 = "ooo";
goto try_except_handler_8;
}
tmp_raise_type_2 = var_e;
exception_type = tmp_raise_type_2;
Py_INCREF( tmp_raise_type_2 );
exception_lineno = 65;
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
type_description_1 = "ooo";
goto try_except_handler_8;
}
goto branch_end_4;
branch_no_4:;
{
if ( par_default == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "default" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 67;
type_description_1 = "ooo";
goto try_except_handler_8;
}
tmp_return_value = par_default;
Py_INCREF( tmp_return_value );
goto try_return_handler_8;
}
branch_end_4:;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$builtins$newnext$$$function_1_newnext );
return NULL;
// Return handler code:
try_return_handler_8:;
{
Py_XDECREF( var_e );
var_e = NULL;
}
{
goto try_return_handler_7;
}
// Exception handler code:
try_except_handler_8:;
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;
{
Py_XDECREF( var_e );
var_e = NULL;
}
{
// 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 try_except_handler_7;
}
// End of try:
}
goto branch_end_3;
branch_no_3:;
{
tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
if (unlikely( tmp_result == false ))
{
exception_lineno = 54;
}
if (exception_tb && exception_tb->tb_frame == &frame_f4f5b2974e9d7ed7cb4975888f2718a9->m_frame) frame_f4f5b2974e9d7ed7cb4975888f2718a9->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_7;
}
branch_end_3:;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$builtins$newnext$$$function_1_newnext );
return NULL;
// Return handler code:
try_return_handler_7:;
{
// Restore previous exception.
SET_CURRENT_EXCEPTION( exception_preserved_type_3, exception_preserved_value_3, exception_preserved_tb_3 );
}
{
goto frame_return_exit_1;
}
// Exception handler code:
try_except_handler_7:;
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;
{
// Restore previous exception.
SET_CURRENT_EXCEPTION( exception_preserved_type_3, exception_preserved_value_3, exception_preserved_tb_3 );
}
{
// 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:
}
// End of try:
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_f4f5b2974e9d7ed7cb4975888f2718a9 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_f4f5b2974e9d7ed7cb4975888f2718a9 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_f4f5b2974e9d7ed7cb4975888f2718a9 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_f4f5b2974e9d7ed7cb4975888f2718a9, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_f4f5b2974e9d7ed7cb4975888f2718a9->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_f4f5b2974e9d7ed7cb4975888f2718a9, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_f4f5b2974e9d7ed7cb4975888f2718a9,
type_description_1,
par_iterator,
par_default,
var_e
);
// Release cached frame.
if ( frame_f4f5b2974e9d7ed7cb4975888f2718a9 == cache_frame_f4f5b2974e9d7ed7cb4975888f2718a9 )
{
Py_DECREF( frame_f4f5b2974e9d7ed7cb4975888f2718a9 );
}
cache_frame_f4f5b2974e9d7ed7cb4975888f2718a9 = NULL;
assertFrameObject( frame_f4f5b2974e9d7ed7cb4975888f2718a9 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$builtins$newnext$$$function_1_newnext );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_iterator );
par_iterator = NULL;
}
{
Py_XDECREF( par_default );
par_default = NULL;
}
{
Py_XDECREF( var_e );
var_e = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
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_XDECREF( par_iterator );
par_iterator = NULL;
}
{
Py_XDECREF( par_default );
par_default = NULL;
}
{
Py_XDECREF( var_e );
var_e = 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 function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( future$builtins$newnext$$$function_1_newnext );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *MAKE_FUNCTION_future$builtins$newnext$$$function_1_newnext( PyObject *defaults )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_future$builtins$newnext$$$function_1_newnext,
const_str_plain_newnext,
#if PYTHON_VERSION >= 300
NULL,
#endif
codeobj_f4f5b2974e9d7ed7cb4975888f2718a9,
defaults,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_future$builtins$newnext,
const_str_digest_4a56f00f6b46165284ad338e0aacdb8e,
0
);
return (PyObject *)result;
}
#if PYTHON_VERSION >= 300
static struct PyModuleDef mdef_future$builtins$newnext =
{
PyModuleDef_HEAD_INIT,
"future.builtins.newnext", /* 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( future$builtins$newnext )
{
#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_future$builtins$newnext );
}
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("future.builtins.newnext: 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("future.builtins.newnext: Calling createModuleConstants().");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
puts("future.builtins.newnext: Calling createModuleCodeObjects().");
#endif
createModuleCodeObjects();
// puts( "in initfuture$builtins$newnext" );
// 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_future$builtins$newnext = Py_InitModule4(
"future.builtins.newnext", // 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_future$builtins$newnext = PyModule_Create( &mdef_future$builtins$newnext );
#endif
moduledict_future$builtins$newnext = MODULE_DICT( module_future$builtins$newnext );
// Update "__package__" value to what it ought to be.
{
#if 0
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_future$builtins$newnext, (Nuitka_StringObject *)const_str_plain___name__ );
UPDATE_STRING_DICT1(
moduledict_future$builtins$newnext,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 300
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_future$builtins$newnext, (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_future$builtins$newnext,
(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_future$builtins$newnext, (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_future$builtins$newnext,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring( module_name, 0, dot_index )
);
}
#endif
#endif
}
CHECK_OBJECT( module_future$builtins$newnext );
// 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_487193d10fdf4fbc27e5ac4c56dd788b, module_future$builtins$newnext );
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_future$builtins$newnext, (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_future$builtins$newnext, (Nuitka_StringObject *)const_str_plain___builtins__, value );
}
#if PYTHON_VERSION >= 300
UPDATE_STRING_DICT0( moduledict_future$builtins$newnext, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader );
#endif
#if PYTHON_VERSION >= 340
#if 0
UPDATE_STRING_DICT0( moduledict_future$builtins$newnext, (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_future$builtins$newnext, (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_future$builtins$newnext, (Nuitka_StringObject *)const_str_plain___spec__, spec_value );
Py_DECREF( module_spec_class );
}
#endif
#endif
// Temp variables if any
struct Nuitka_FrameObject *frame_9fbe7d661276ab213997149c73c887d4;
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;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = const_str_digest_79fd771a7a077278148848597302e28c;
UPDATE_STRING_DICT0( moduledict_future$builtins$newnext, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 );
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = const_str_digest_0dc2ad10af0edd30ef7f2edf1adda708;
UPDATE_STRING_DICT0( moduledict_future$builtins$newnext, (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_future$builtins$newnext, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 );
}
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = LOOKUP_BUILTIN( const_str_plain_next );
assert( tmp_assign_source_4 != NULL );
UPDATE_STRING_DICT0( moduledict_future$builtins$newnext, (Nuitka_StringObject *)const_str_plain__builtin_next, tmp_assign_source_4 );
}
// Frame without reuse.
frame_9fbe7d661276ab213997149c73c887d4 = MAKE_MODULE_FRAME( codeobj_9fbe7d661276ab213997149c73c887d4, module_future$builtins$newnext );
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack( frame_9fbe7d661276ab213997149c73c887d4 );
assert( Py_REFCNT( frame_9fbe7d661276ab213997149c73c887d4 ) == 2 );
// Framed code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_name_1;
tmp_called_name_1 = (PyObject *)&PyBaseObject_Type;
frame_9fbe7d661276ab213997149c73c887d4->m_frame.f_lineno = 41;
tmp_assign_source_5 = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 );
if ( tmp_assign_source_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1( moduledict_future$builtins$newnext, (Nuitka_StringObject *)const_str_plain__SENTINEL, tmp_assign_source_5 );
}
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION( frame_9fbe7d661276ab213997149c73c887d4 );
#endif
popFrameStack();
assertFrameObject( frame_9fbe7d661276ab213997149c73c887d4 );
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_9fbe7d661276ab213997149c73c887d4 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_9fbe7d661276ab213997149c73c887d4, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_9fbe7d661276ab213997149c73c887d4->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_9fbe7d661276ab213997149c73c887d4, exception_lineno );
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_1:;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_defaults_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_mvar_value_1;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$builtins$newnext, (Nuitka_StringObject *)const_str_plain__SENTINEL );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__SENTINEL );
}
CHECK_OBJECT( tmp_mvar_value_1 );
tmp_tuple_element_1 = tmp_mvar_value_1;
tmp_defaults_1 = PyTuple_New( 1 );
Py_INCREF( tmp_tuple_element_1 );
PyTuple_SET_ITEM( tmp_defaults_1, 0, tmp_tuple_element_1 );
tmp_assign_source_6 = MAKE_FUNCTION_future$builtins$newnext$$$function_1_newnext( tmp_defaults_1 );
UPDATE_STRING_DICT1( moduledict_future$builtins$newnext, (Nuitka_StringObject *)const_str_plain_newnext, tmp_assign_source_6 );
}
{
PyObject *tmp_assign_source_7;
tmp_assign_source_7 = LIST_COPY( const_list_str_plain_newnext_list );
UPDATE_STRING_DICT1( moduledict_future$builtins$newnext, (Nuitka_StringObject *)const_str_plain___all__, tmp_assign_source_7 );
}
return MOD_RETURN_VALUE( module_future$builtins$newnext );
module_exception_exit:
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return MOD_RETURN_VALUE( NULL );
}