mirror of
https://github.com/house-of-vanity/fesmoo_perdoliq.git
synced 2025-08-21 16:17:15 +00:00
16801 lines
519 KiB
C
16801 lines
519 KiB
C
/* Generated code for Python source for module 'urllib3.packages.ordered_dict'
|
|
* 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_urllib3$packages$ordered_dict 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_urllib3$packages$ordered_dict;
|
|
PyDictObject *moduledict_urllib3$packages$ordered_dict;
|
|
|
|
/* The module constants used, if any. */
|
|
extern PyObject *const_str_plain__OrderedDict__map;
|
|
static PyObject *const_str_digest_98c0c6e564c3099f40ff00ff6f96da49;
|
|
extern PyObject *const_str_plain_result;
|
|
extern PyObject *const_str_digest_d76257728a0f131201c6285369c416b8;
|
|
extern PyObject *const_str_plain_metaclass;
|
|
extern PyObject *const_str_plain_dict;
|
|
extern PyObject *const_str_plain___name__;
|
|
extern PyObject *const_str_plain___reduce__;
|
|
extern PyObject *const_tuple_str_plain___class___tuple;
|
|
extern PyObject *const_str_angle_metaclass;
|
|
static PyObject *const_str_digest_05be935daaf4f5097ddb72b3876d1db8;
|
|
extern PyObject *const_str_digest_5e7c8c8b99ef864465e4c113b3237a03;
|
|
extern PyObject *const_str_plain_iterable;
|
|
extern PyObject *const_str_plain_object;
|
|
extern PyObject *const_str_plain___file__;
|
|
extern PyObject *const_str_digest_cfdbbd2b4f173bd816c499641f213719;
|
|
extern PyObject *const_tuple_str_plain_self_str_plain_root_str_plain_curr_tuple;
|
|
extern PyObject *const_tuple_e06328fd9ab1e0f8d752b21f6ba05a72_tuple;
|
|
extern PyObject *const_tuple_bc4b2160ec93de25902cf62d4c15ad8e_tuple;
|
|
extern PyObject *const_str_plain_args;
|
|
extern PyObject *const_str_digest_c8d31d42c1d4cdeea09aa03603f638fc;
|
|
extern PyObject *const_tuple_str_plain_get_ident_tuple;
|
|
extern PyObject *const_str_plain_default;
|
|
extern PyObject *const_str_plain_link;
|
|
extern PyObject *const_str_plain_items;
|
|
extern PyObject *const_str_digest_babdc4f66217a3c0e17d4cb34105d952;
|
|
static PyObject *const_tuple_str_plain_self_str_plain__repr_running_str_plain_call_key_tuple;
|
|
static PyObject *const_str_digest_b223e66ed79e2890a219c0b7394d2434;
|
|
extern PyObject *const_str_plain_None;
|
|
extern PyObject *const_str_plain_get_ident;
|
|
extern PyObject *const_str_digest_351154bb99ab4ba47a9bef35a8154a6c;
|
|
extern PyObject *const_str_plain_classmethod;
|
|
extern PyObject *const_str_plain_cls;
|
|
extern PyObject *const_tuple_true_tuple;
|
|
extern PyObject *const_tuple_type_dict_tuple;
|
|
static PyObject *const_str_digest_47c4edf0da473bf0c670a5848b1eac5c;
|
|
extern PyObject *const_str_digest_c1aa7c92f0d6e25521563c86e1b1e859;
|
|
extern PyObject *const_str_plain___doc__;
|
|
extern PyObject *const_str_plain___debug__;
|
|
extern PyObject *const_str_digest_88dd2ccf2861ee9cebb70a2286bf87a2;
|
|
extern PyObject *const_str_plain___orig_bases__;
|
|
extern PyObject *const_str_plain_root;
|
|
extern PyObject *const_str_plain_dummy_thread;
|
|
static PyObject *const_str_digest_4734fd9569ec338453e5f1f6113540a4;
|
|
extern PyObject *const_str_plain___ne__;
|
|
static PyObject *const_str_digest_0c6f045aac0417ed1c4f9b20c950f314;
|
|
extern PyObject *const_str_plain___qualname__;
|
|
static PyObject *const_str_digest_b16336e6ea5c08519a5191d4bed109af;
|
|
static PyObject *const_str_digest_1abc2e9d1e3e62fd652a2689a6f7f7f1;
|
|
extern PyObject *const_str_plain_iterkeys;
|
|
extern PyObject *const_str_plain_dict_setitem;
|
|
extern PyObject *const_str_plain_fromkeys;
|
|
extern PyObject *const_str_plain_node;
|
|
extern PyObject *const_tuple_str_plain_self_str_plain_other_tuple;
|
|
extern PyObject *const_str_plain_value;
|
|
extern PyObject *const_str_digest_7cfcb25a24e7cac7cc6ee84a854710d7;
|
|
extern PyObject *const_tuple_str_plain_self_tuple;
|
|
extern PyObject *const_str_plain_iteritems;
|
|
extern PyObject *const_str_digest_25d59e8546980c52df7a89187575c622;
|
|
extern PyObject *const_str_digest_c8da176fd6b7d11fbd22070ccb29a1af;
|
|
extern PyObject *const_str_digest_f9115856084c1c1c7e8d60bda6a9e62b;
|
|
static PyObject *const_str_digest_13abacc7a089ce9e4c110f667b93e006;
|
|
extern PyObject *const_str_digest_ebdcec19e7bcf2ba8bda64d6ba1f1cca;
|
|
static PyObject *const_str_digest_1b7b46297ae13365e38be4232da3c070;
|
|
extern PyObject *const_str_plain_keys;
|
|
extern PyObject *const_str_digest_3501979af1b70861f5e9d6a0f04129bf;
|
|
static PyObject *const_str_plain__repr_running;
|
|
extern PyObject *const_tuple_empty;
|
|
static PyObject *const_str_plain_ItemsView;
|
|
extern PyObject *const_str_digest_bbc5966bbdd6035a3d46e4935aaa5c75;
|
|
static PyObject *const_str_digest_9157e79e1b89ca82d9ea8399fc7aebaa;
|
|
static PyObject *const_str_plain__abcoll;
|
|
static PyObject *const_tuple_089f8850b35a20110be4c4da25e152d3_tuple;
|
|
extern PyObject *const_str_plain__OrderedDict__root;
|
|
extern PyObject *const_str_digest_398a9510626c28771e3016eab084a9df;
|
|
static PyObject *const_tuple_c80101eb4c4211883e5871ae48fab948_tuple;
|
|
extern PyObject *const_str_plain_popitem;
|
|
static PyObject *const_tuple_4bd3bcee5390310330fd11d6efc0682b_tuple;
|
|
extern PyObject *const_str_plain_k;
|
|
extern PyObject *const_str_plain___getitem__;
|
|
static PyObject *const_str_plain_ValuesView;
|
|
static PyObject *const_str_digest_3ee5faa90e790420739d976c7f83dde1;
|
|
extern PyObject *const_str_digest_68cfebc72b19eb789aadb3994e88afc6;
|
|
extern PyObject *const_str_plain_pop;
|
|
extern PyObject *const_str_plain___eq__;
|
|
static PyObject *const_str_plain__get_ident;
|
|
extern PyObject *const_int_0;
|
|
extern PyObject *const_str_plain_kwds;
|
|
extern PyObject *const_str_plain_dict_delitem;
|
|
extern PyObject *const_str_digest_83fac54d35e8d439a3cfefb870161c48;
|
|
static PyObject *const_str_digest_8d1441b7ba5d27607af9841e4a4b9f40;
|
|
extern PyObject *const_tuple_9767a74cc603476ebf2d046f7dece0f2_tuple;
|
|
static PyObject *const_str_plain_call_key;
|
|
extern PyObject *const_str_plain_OrderedDict;
|
|
extern PyObject *const_str_plain__OrderedDict__marker;
|
|
extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
static PyObject *const_str_digest_0c6474ca202428b6e3ca689cd6bfdca3;
|
|
extern PyObject *const_str_angle_listcomp;
|
|
static PyObject *const_str_digest_1619b46e9e4db126db384b1ce63f22e5;
|
|
static PyObject *const_str_digest_d3a2259107206567de2effacb97943de;
|
|
extern PyObject *const_str_plain_viewitems;
|
|
extern PyObject *const_str_plain_inst_dict;
|
|
extern PyObject *const_str_digest_c6c169daffc747096694e147807200e0;
|
|
extern PyObject *const_str_plain_setdefault;
|
|
static PyObject *const_tuple_str_plain_self_str_plain_k_tuple;
|
|
static PyObject *const_str_digest_7e7736f8404acff72a411b3b8f14c989;
|
|
extern PyObject *const_str_plain_type;
|
|
extern PyObject *const_str_plain_thread;
|
|
extern PyObject *const_str_digest_59e66388ada67b5c6aa016ad0dc01b72;
|
|
extern PyObject *const_str_plain_viewkeys;
|
|
extern PyObject *const_str_digest_87d3a5e375e293a56b73fae40629806c;
|
|
static PyObject *const_str_digest_94091037ba750208ff6e42e6b97c139a;
|
|
extern PyObject *const_str_plain_d;
|
|
extern PyObject *const_str_plain___cached__;
|
|
extern PyObject *const_str_digest_be94845c4c1f2f24c6e6fab02283c64f;
|
|
extern PyObject *const_str_digest_5058d5962a01eacde431860babc9703f;
|
|
static PyObject *const_str_digest_ab8d4602df1265ea8423de4daee1303b;
|
|
extern PyObject *const_str_plain___class__;
|
|
extern PyObject *const_str_digest_beb858f210df624f0783e699caf90c05;
|
|
extern PyObject *const_str_digest_76cbcf216040ade0f3f170fb1ee5b1bd;
|
|
extern PyObject *const_tuple_none_tuple;
|
|
extern PyObject *const_str_digest_43c170d8223c5638f8e1bef26d0a2d31;
|
|
static PyObject *const_str_digest_82e84a6f57600471c847d9787f10b5d9;
|
|
extern PyObject *const_str_digest_0e1156af3a88a8e936e8674a3d6b6806;
|
|
extern PyObject *const_str_plain___module__;
|
|
extern PyObject *const_str_plain___reversed__;
|
|
extern PyObject *const_str_plain_link_next;
|
|
extern PyObject *const_str_plain_curr;
|
|
static PyObject *const_str_digest_bd012b4b0748e99cf7a42eae75a1cea4;
|
|
extern PyObject *const_str_plain_update;
|
|
extern PyObject *const_int_pos_1;
|
|
extern PyObject *const_str_plain_values;
|
|
static PyObject *const_str_digest_f1826196b2a54e655c731dc016d4bb08;
|
|
static PyObject *const_tuple_str_plain_self_str_plain_args_str_plain_kwds_str_plain_root_tuple;
|
|
extern PyObject *const_str_plain_last;
|
|
extern PyObject *const_str_plain_copy;
|
|
static PyObject *const_str_digest_b4d10a9192e04b6032c14ae3d02a899a;
|
|
extern PyObject *const_str_plain_key;
|
|
extern PyObject *const_str_plain_link_prev;
|
|
extern PyObject *const_str_plain_other;
|
|
extern PyObject *const_str_plain___prepare__;
|
|
extern PyObject *const_str_plain__OrderedDict__update;
|
|
extern PyObject *const_str_plain___init__;
|
|
extern PyObject *const_str_plain___setitem__;
|
|
extern PyObject *const_str_digest_24436575bf9ec4ac30eb73338f660906;
|
|
extern PyObject *const_str_plain_itervalues;
|
|
extern PyObject *const_str_plain_self;
|
|
extern PyObject *const_str_plain_clear;
|
|
extern PyObject *const_slice_none_none_none;
|
|
extern PyObject *const_str_digest_9338244f6a909a8dde702d0422d1dae5;
|
|
extern PyObject *const_str_plain_viewvalues;
|
|
extern PyObject *const_str_digest_f385ad6f00729df87e8e065ba3237964;
|
|
extern PyObject *const_str_digest_6d198bd39eca79ed9cddf9957568617c;
|
|
static PyObject *const_tuple_str_plain_KeysView_str_plain_ValuesView_str_plain_ItemsView_tuple;
|
|
extern PyObject *const_str_plain___repr__;
|
|
static PyObject *const_tuple_str_plain_self_str_plain_node_str_plain_root_tuple;
|
|
static PyObject *const_str_digest_a588e6ed29534c2361246fd338307dec;
|
|
static PyObject *const_tuple_str_plain_key_str_plain_self_tuple;
|
|
static PyObject *const_str_digest_305239d008982df9b14c314167a24dd6;
|
|
extern PyObject *const_tuple_str_plain_k_str_plain_self_tuple;
|
|
static PyObject *const_str_digest_f3e0cbe88e70ec7277780b85c340c375;
|
|
extern PyObject *const_str_digest_d44bacc2290b5d18e632348ff9d94d65;
|
|
extern PyObject *const_int_pos_2;
|
|
static PyObject *const_str_plain_KeysView;
|
|
static PyObject *const_tuple_e6fa7f672437ad8bccf7e6a00102fc94_tuple;
|
|
extern PyObject *const_str_digest_ce8d4d4a7c94a9a19aa8f866b0be4ea6;
|
|
extern PyObject *const_str_digest_81a0f3fef26c32f921598862ebc4c7ab;
|
|
extern PyObject *const_str_plain___iter__;
|
|
extern PyObject *const_str_plain___delitem__;
|
|
extern PyObject *const_tuple_str_plain_self_str_plain_key_str_plain_default_tuple;
|
|
static PyObject *module_filename_obj;
|
|
|
|
static bool constants_created = false;
|
|
|
|
static void createModuleConstants( void )
|
|
{
|
|
const_str_digest_98c0c6e564c3099f40ff00ff6f96da49 = UNSTREAM_STRING( &constant_bin[ 1491524 ], 18, 0 );
|
|
const_str_digest_05be935daaf4f5097ddb72b3876d1db8 = UNSTREAM_STRING( &constant_bin[ 1491542 ], 64, 0 );
|
|
const_tuple_str_plain_self_str_plain__repr_running_str_plain_call_key_tuple = PyTuple_New( 3 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain__repr_running_str_plain_call_key_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
const_str_plain__repr_running = UNSTREAM_STRING( &constant_bin[ 659102 ], 13, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain__repr_running_str_plain_call_key_tuple, 1, const_str_plain__repr_running ); Py_INCREF( const_str_plain__repr_running );
|
|
const_str_plain_call_key = UNSTREAM_STRING( &constant_bin[ 1491606 ], 8, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain__repr_running_str_plain_call_key_tuple, 2, const_str_plain_call_key ); Py_INCREF( const_str_plain_call_key );
|
|
const_str_digest_b223e66ed79e2890a219c0b7394d2434 = UNSTREAM_STRING( &constant_bin[ 1491614 ], 387, 0 );
|
|
const_str_digest_47c4edf0da473bf0c670a5848b1eac5c = UNSTREAM_STRING( &constant_bin[ 1492001 ], 60, 0 );
|
|
const_str_digest_4734fd9569ec338453e5f1f6113540a4 = UNSTREAM_STRING( &constant_bin[ 1492061 ], 18, 0 );
|
|
const_str_digest_0c6f045aac0417ed1c4f9b20c950f314 = UNSTREAM_STRING( &constant_bin[ 1492079 ], 22, 0 );
|
|
const_str_digest_b16336e6ea5c08519a5191d4bed109af = UNSTREAM_STRING( &constant_bin[ 1492101 ], 20, 0 );
|
|
const_str_digest_1abc2e9d1e3e62fd652a2689a6f7f7f1 = UNSTREAM_STRING( &constant_bin[ 1492121 ], 21, 0 );
|
|
const_str_digest_13abacc7a089ce9e4c110f667b93e006 = UNSTREAM_STRING( &constant_bin[ 1492142 ], 128, 0 );
|
|
const_str_digest_1b7b46297ae13365e38be4232da3c070 = UNSTREAM_STRING( &constant_bin[ 1492270 ], 38, 0 );
|
|
const_str_plain_ItemsView = UNSTREAM_STRING( &constant_bin[ 1492308 ], 9, 1 );
|
|
const_str_digest_9157e79e1b89ca82d9ea8399fc7aebaa = UNSTREAM_STRING( &constant_bin[ 1492317 ], 169, 0 );
|
|
const_str_plain__abcoll = UNSTREAM_STRING( &constant_bin[ 1492486 ], 7, 1 );
|
|
const_tuple_089f8850b35a20110be4c4da25e152d3_tuple = PyTuple_New( 4 );
|
|
PyTuple_SET_ITEM( const_tuple_089f8850b35a20110be4c4da25e152d3_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_089f8850b35a20110be4c4da25e152d3_tuple, 1, const_str_plain_items ); Py_INCREF( const_str_plain_items );
|
|
PyTuple_SET_ITEM( const_tuple_089f8850b35a20110be4c4da25e152d3_tuple, 2, const_str_plain_inst_dict ); Py_INCREF( const_str_plain_inst_dict );
|
|
PyTuple_SET_ITEM( const_tuple_089f8850b35a20110be4c4da25e152d3_tuple, 3, const_str_plain_k ); Py_INCREF( const_str_plain_k );
|
|
const_tuple_c80101eb4c4211883e5871ae48fab948_tuple = PyTuple_New( 5 );
|
|
PyTuple_SET_ITEM( const_tuple_c80101eb4c4211883e5871ae48fab948_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_c80101eb4c4211883e5871ae48fab948_tuple, 1, const_str_plain_key ); Py_INCREF( const_str_plain_key );
|
|
PyTuple_SET_ITEM( const_tuple_c80101eb4c4211883e5871ae48fab948_tuple, 2, const_str_plain_dict_delitem ); Py_INCREF( const_str_plain_dict_delitem );
|
|
PyTuple_SET_ITEM( const_tuple_c80101eb4c4211883e5871ae48fab948_tuple, 3, const_str_plain_link_prev ); Py_INCREF( const_str_plain_link_prev );
|
|
PyTuple_SET_ITEM( const_tuple_c80101eb4c4211883e5871ae48fab948_tuple, 4, const_str_plain_link_next ); Py_INCREF( const_str_plain_link_next );
|
|
const_tuple_4bd3bcee5390310330fd11d6efc0682b_tuple = PyTuple_New( 6 );
|
|
PyTuple_SET_ITEM( const_tuple_4bd3bcee5390310330fd11d6efc0682b_tuple, 0, const_str_plain_args ); Py_INCREF( const_str_plain_args );
|
|
PyTuple_SET_ITEM( const_tuple_4bd3bcee5390310330fd11d6efc0682b_tuple, 1, const_str_plain_kwds ); Py_INCREF( const_str_plain_kwds );
|
|
PyTuple_SET_ITEM( const_tuple_4bd3bcee5390310330fd11d6efc0682b_tuple, 2, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_4bd3bcee5390310330fd11d6efc0682b_tuple, 3, const_str_plain_other ); Py_INCREF( const_str_plain_other );
|
|
PyTuple_SET_ITEM( const_tuple_4bd3bcee5390310330fd11d6efc0682b_tuple, 4, const_str_plain_key ); Py_INCREF( const_str_plain_key );
|
|
PyTuple_SET_ITEM( const_tuple_4bd3bcee5390310330fd11d6efc0682b_tuple, 5, const_str_plain_value ); Py_INCREF( const_str_plain_value );
|
|
const_str_plain_ValuesView = UNSTREAM_STRING( &constant_bin[ 1492493 ], 10, 1 );
|
|
const_str_digest_3ee5faa90e790420739d976c7f83dde1 = UNSTREAM_STRING( &constant_bin[ 1492503 ], 50, 0 );
|
|
const_str_plain__get_ident = UNSTREAM_STRING( &constant_bin[ 1492553 ], 10, 1 );
|
|
const_str_digest_8d1441b7ba5d27607af9841e4a4b9f40 = UNSTREAM_STRING( &constant_bin[ 1492563 ], 31, 0 );
|
|
const_str_digest_0c6474ca202428b6e3ca689cd6bfdca3 = UNSTREAM_STRING( &constant_bin[ 1492594 ], 61, 0 );
|
|
const_str_digest_1619b46e9e4db126db384b1ce63f22e5 = UNSTREAM_STRING( &constant_bin[ 1492655 ], 44, 0 );
|
|
const_str_digest_d3a2259107206567de2effacb97943de = UNSTREAM_STRING( &constant_bin[ 1492699 ], 56, 0 );
|
|
const_tuple_str_plain_self_str_plain_k_tuple = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_k_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_k_tuple, 1, const_str_plain_k ); Py_INCREF( const_str_plain_k );
|
|
const_str_digest_7e7736f8404acff72a411b3b8f14c989 = UNSTREAM_STRING( &constant_bin[ 1492755 ], 21, 0 );
|
|
const_str_digest_94091037ba750208ff6e42e6b97c139a = UNSTREAM_STRING( &constant_bin[ 1492776 ], 197, 0 );
|
|
const_str_digest_ab8d4602df1265ea8423de4daee1303b = UNSTREAM_STRING( &constant_bin[ 1492973 ], 35, 0 );
|
|
const_str_digest_82e84a6f57600471c847d9787f10b5d9 = UNSTREAM_STRING( &constant_bin[ 1493008 ], 22, 0 );
|
|
const_str_digest_bd012b4b0748e99cf7a42eae75a1cea4 = UNSTREAM_STRING( &constant_bin[ 1493030 ], 48, 0 );
|
|
const_str_digest_f1826196b2a54e655c731dc016d4bb08 = UNSTREAM_STRING( &constant_bin[ 1493078 ], 17, 0 );
|
|
const_tuple_str_plain_self_str_plain_args_str_plain_kwds_str_plain_root_tuple = PyTuple_New( 4 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_args_str_plain_kwds_str_plain_root_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_args_str_plain_kwds_str_plain_root_tuple, 1, const_str_plain_args ); Py_INCREF( const_str_plain_args );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_args_str_plain_kwds_str_plain_root_tuple, 2, const_str_plain_kwds ); Py_INCREF( const_str_plain_kwds );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_args_str_plain_kwds_str_plain_root_tuple, 3, const_str_plain_root ); Py_INCREF( const_str_plain_root );
|
|
const_str_digest_b4d10a9192e04b6032c14ae3d02a899a = UNSTREAM_STRING( &constant_bin[ 1493095 ], 65, 0 );
|
|
const_tuple_str_plain_KeysView_str_plain_ValuesView_str_plain_ItemsView_tuple = PyTuple_New( 3 );
|
|
const_str_plain_KeysView = UNSTREAM_STRING( &constant_bin[ 1493160 ], 8, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_KeysView_str_plain_ValuesView_str_plain_ItemsView_tuple, 0, const_str_plain_KeysView ); Py_INCREF( const_str_plain_KeysView );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_KeysView_str_plain_ValuesView_str_plain_ItemsView_tuple, 1, const_str_plain_ValuesView ); Py_INCREF( const_str_plain_ValuesView );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_KeysView_str_plain_ValuesView_str_plain_ItemsView_tuple, 2, const_str_plain_ItemsView ); Py_INCREF( const_str_plain_ItemsView );
|
|
const_tuple_str_plain_self_str_plain_node_str_plain_root_tuple = PyTuple_New( 3 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_node_str_plain_root_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_node_str_plain_root_tuple, 1, const_str_plain_node ); Py_INCREF( const_str_plain_node );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_node_str_plain_root_tuple, 2, const_str_plain_root ); Py_INCREF( const_str_plain_root );
|
|
const_str_digest_a588e6ed29534c2361246fd338307dec = UNSTREAM_STRING( &constant_bin[ 1493168 ], 20, 0 );
|
|
const_tuple_str_plain_key_str_plain_self_tuple = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_key_str_plain_self_tuple, 0, const_str_plain_key ); Py_INCREF( const_str_plain_key );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_key_str_plain_self_tuple, 1, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
const_str_digest_305239d008982df9b14c314167a24dd6 = UNSTREAM_STRING( &constant_bin[ 1493188 ], 66, 0 );
|
|
const_str_digest_f3e0cbe88e70ec7277780b85c340c375 = UNSTREAM_STRING( &constant_bin[ 1493254 ], 46, 0 );
|
|
const_tuple_e6fa7f672437ad8bccf7e6a00102fc94_tuple = PyTuple_New( 6 );
|
|
PyTuple_SET_ITEM( const_tuple_e6fa7f672437ad8bccf7e6a00102fc94_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_e6fa7f672437ad8bccf7e6a00102fc94_tuple, 1, const_str_plain_key ); Py_INCREF( const_str_plain_key );
|
|
PyTuple_SET_ITEM( const_tuple_e6fa7f672437ad8bccf7e6a00102fc94_tuple, 2, const_str_plain_value ); Py_INCREF( const_str_plain_value );
|
|
PyTuple_SET_ITEM( const_tuple_e6fa7f672437ad8bccf7e6a00102fc94_tuple, 3, const_str_plain_dict_setitem ); Py_INCREF( const_str_plain_dict_setitem );
|
|
PyTuple_SET_ITEM( const_tuple_e6fa7f672437ad8bccf7e6a00102fc94_tuple, 4, const_str_plain_root ); Py_INCREF( const_str_plain_root );
|
|
PyTuple_SET_ITEM( const_tuple_e6fa7f672437ad8bccf7e6a00102fc94_tuple, 5, const_str_plain_last ); Py_INCREF( const_str_plain_last );
|
|
|
|
constants_created = true;
|
|
}
|
|
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
void checkModuleConstants_urllib3$packages$ordered_dict( void )
|
|
{
|
|
// The module may not have been used at all.
|
|
if (constants_created == false) return;
|
|
|
|
|
|
}
|
|
#endif
|
|
|
|
// The module code objects.
|
|
static PyCodeObject *codeobj_c270493381a76103a0f976fa5a65de4b;
|
|
static PyCodeObject *codeobj_af62f8abb7756206b24090ca7443d38f;
|
|
static PyCodeObject *codeobj_adb31af0e425583385864fa298e40e70;
|
|
static PyCodeObject *codeobj_0879938208f39c05e407d2d3393339dc;
|
|
static PyCodeObject *codeobj_5bdf702659b5fc5f4d2de8bf9ba3fe66;
|
|
static PyCodeObject *codeobj_439eedee997259a51ce825a628e41d14;
|
|
static PyCodeObject *codeobj_3a770836e3fc4f27bf0b96e94da52382;
|
|
static PyCodeObject *codeobj_beb6946118b623cf4d4348890b102ddd;
|
|
static PyCodeObject *codeobj_fcc667f7afbc0f152e8100f0a39f0119;
|
|
static PyCodeObject *codeobj_0ffdda3a133b16cea42687c96033983f;
|
|
static PyCodeObject *codeobj_0827175ec9e4f390132c88b0aa197ff6;
|
|
static PyCodeObject *codeobj_ee444892aa68ae6ed30828670dd5241c;
|
|
static PyCodeObject *codeobj_9380b6497339e703ecb8d6d1322a10a3;
|
|
static PyCodeObject *codeobj_10a5689f470828578ae6bafdf0b39e73;
|
|
static PyCodeObject *codeobj_c6a9e8565fa7eb151f914174228091c9;
|
|
static PyCodeObject *codeobj_894b92b77a93529eb831df84bc615f87;
|
|
static PyCodeObject *codeobj_fc1ed1ea54d933a0f949256dfaa5c003;
|
|
static PyCodeObject *codeobj_5b5322524513e77e9a70e8e364cdd569;
|
|
static PyCodeObject *codeobj_b1c3a43a30f983109dc8743b4f23ba2a;
|
|
static PyCodeObject *codeobj_5f11a06b4e5888cbe0215ee8c54d1ccf;
|
|
static PyCodeObject *codeobj_0dda58c249de46050c9ac1ee0dc0436a;
|
|
static PyCodeObject *codeobj_64ab7b624ede46d7b283cb7d162b5585;
|
|
static PyCodeObject *codeobj_4f5b0613e9ab464afd620cec3e018f0d;
|
|
static PyCodeObject *codeobj_bee47b30ec592ee58c813e21fad3510a;
|
|
static PyCodeObject *codeobj_9a8c9df435f179d5a498bf41883a7f2a;
|
|
static PyCodeObject *codeobj_a8b295fb5076f17469773932f9d9ca51;
|
|
static PyCodeObject *codeobj_e0f0a0adc7659388592a68d5d7a59bcc;
|
|
static PyCodeObject *codeobj_77084e84de1b78cbf7066519251a0c1f;
|
|
static PyCodeObject *codeobj_70394ae44f3f81d741ea6d1c063eb27e;
|
|
static PyCodeObject *codeobj_e163af2316529daa451c1eb522a1a722;
|
|
|
|
static void createModuleCodeObjects(void)
|
|
{
|
|
module_filename_obj = const_str_digest_b4d10a9192e04b6032c14ae3d02a899a;
|
|
codeobj_c270493381a76103a0f976fa5a65de4b = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 122, const_tuple_str_plain_key_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_af62f8abb7756206b24090ca7443d38f = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 126, const_tuple_str_plain_key_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_adb31af0e425583385864fa298e40e70 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 212, const_tuple_str_plain_k_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_0879938208f39c05e407d2d3393339dc = MAKE_CODEOBJ( module_filename_obj, const_str_digest_1b7b46297ae13365e38be4232da3c070, 1, const_tuple_empty, 0, 0, CO_NOFREE );
|
|
codeobj_5bdf702659b5fc5f4d2de8bf9ba3fe66 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_OrderedDict, 16, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE );
|
|
codeobj_439eedee997259a51ce825a628e41d14 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___delitem__, 54, const_tuple_c80101eb4c4211883e5871ae48fab948_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_3a770836e3fc4f27bf0b96e94da52382 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___eq__, 235, const_tuple_str_plain_self_str_plain_other_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_beb6946118b623cf4d4348890b102ddd = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 28, const_tuple_str_plain_self_str_plain_args_str_plain_kwds_str_plain_root_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE );
|
|
codeobj_fcc667f7afbc0f152e8100f0a39f0119 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___iter__, 63, const_tuple_str_plain_self_str_plain_root_str_plain_curr_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_0ffdda3a133b16cea42687c96033983f = MAKE_CODEOBJ( module_filename_obj, const_str_plain___ne__, 244, const_tuple_str_plain_self_str_plain_other_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_0827175ec9e4f390132c88b0aa197ff6 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___reduce__, 210, const_tuple_089f8850b35a20110be4c4da25e152d3_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_ee444892aa68ae6ed30828670dd5241c = MAKE_CODEOBJ( module_filename_obj, const_str_plain___repr__, 197, const_tuple_str_plain_self_str_plain__repr_running_str_plain_call_key_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_9380b6497339e703ecb8d6d1322a10a3 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___reversed__, 71, const_tuple_str_plain_self_str_plain_root_str_plain_curr_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_10a5689f470828578ae6bafdf0b39e73 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___setitem__, 44, const_tuple_e6fa7f672437ad8bccf7e6a00102fc94_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_c6a9e8565fa7eb151f914174228091c9 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_clear, 79, const_tuple_str_plain_self_str_plain_node_str_plain_root_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_894b92b77a93529eb831df84bc615f87 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_copy, 220, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_fc1ed1ea54d933a0f949256dfaa5c003 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_fromkeys, 224, const_tuple_bc4b2160ec93de25902cf62d4c15ad8e_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_5b5322524513e77e9a70e8e364cdd569 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_items, 124, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_b1c3a43a30f983109dc8743b4f23ba2a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_iteritems, 137, const_tuple_str_plain_self_str_plain_k_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_5f11a06b4e5888cbe0215ee8c54d1ccf = MAKE_CODEOBJ( module_filename_obj, const_str_plain_iterkeys, 128, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_0dda58c249de46050c9ac1ee0dc0436a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_itervalues, 132, const_tuple_str_plain_self_str_plain_k_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_64ab7b624ede46d7b283cb7d162b5585 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_keys, 116, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_4f5b0613e9ab464afd620cec3e018f0d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_pop, 177, const_tuple_9767a74cc603476ebf2d046f7dece0f2_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_bee47b30ec592ee58c813e21fad3510a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_popitem, 91, const_tuple_e06328fd9ab1e0f8d752b21f6ba05a72_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_9a8c9df435f179d5a498bf41883a7f2a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_setdefault, 190, const_tuple_str_plain_self_str_plain_key_str_plain_default_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_a8b295fb5076f17469773932f9d9ca51 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_update, 142, const_tuple_4bd3bcee5390310330fd11d6efc0682b_tuple, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE );
|
|
codeobj_e0f0a0adc7659388592a68d5d7a59bcc = MAKE_CODEOBJ( module_filename_obj, const_str_plain_values, 120, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_77084e84de1b78cbf7066519251a0c1f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_viewitems, 257, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_70394ae44f3f81d741ea6d1c063eb27e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_viewkeys, 249, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_e163af2316529daa451c1eb522a1a722 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_viewvalues, 253, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
}
|
|
|
|
// The module function declarations.
|
|
static PyObject *urllib3$packages$ordered_dict$$$function_4___iter__$$$genobj_1___iter___maker( void );
|
|
|
|
|
|
static PyObject *urllib3$packages$ordered_dict$$$function_5___reversed__$$$genobj_1___reversed___maker( void );
|
|
|
|
|
|
static PyObject *urllib3$packages$ordered_dict$$$function_12_itervalues$$$genobj_1_itervalues_maker( void );
|
|
|
|
|
|
static PyObject *urllib3$packages$ordered_dict$$$function_13_iteritems$$$genobj_1_iteritems_maker( void );
|
|
|
|
|
|
NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars );
|
|
|
|
|
|
NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_4_complex_call_helper_star_list_star_dict( PyObject **python_pars );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_10_items( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_11_iterkeys( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_12_itervalues( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_13_iteritems( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_14_update( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_15_pop( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_16_setdefault( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_17___repr__( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_18___reduce__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_19_copy( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_1___init__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_20_fromkeys( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_21___eq__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_22___ne__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_23_viewkeys( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_24_viewvalues( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_25_viewitems( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_2___setitem__( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_3___delitem__( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_4___iter__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_5___reversed__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_6_clear( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_7_popitem( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_8_keys( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_9_values( );
|
|
|
|
|
|
// The module function definitions.
|
|
static PyObject *impl_urllib3$packages$ordered_dict$$$function_1___init__( 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 *par_args = python_pars[ 1 ];
|
|
PyObject *par_kwds = python_pars[ 2 ];
|
|
PyObject *var_root = NULL;
|
|
PyObject *tmp_assign_unpack_1__assign_source = NULL;
|
|
struct Nuitka_FrameObject *frame_beb6946118b623cf4d4348890b102ddd;
|
|
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;
|
|
int tmp_res;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
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_1;
|
|
PyObject *exception_preserved_value_1;
|
|
PyTracebackObject *exception_preserved_tb_1;
|
|
bool tmp_result;
|
|
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;
|
|
static struct Nuitka_FrameObject *cache_frame_beb6946118b623cf4d4348890b102ddd = NULL;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_keeper_type_4;
|
|
PyObject *exception_keeper_value_4;
|
|
PyTracebackObject *exception_keeper_tb_4;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_beb6946118b623cf4d4348890b102ddd, codeobj_beb6946118b623cf4d4348890b102ddd, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_beb6946118b623cf4d4348890b102ddd = cache_frame_beb6946118b623cf4d4348890b102ddd;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_beb6946118b623cf4d4348890b102ddd );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_beb6946118b623cf4d4348890b102ddd ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
PyObject *tmp_len_arg_1;
|
|
CHECK_OBJECT( par_args );
|
|
tmp_len_arg_1 = par_args;
|
|
tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 );
|
|
if ( tmp_compexpr_left_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 34;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_compexpr_right_1 = const_int_pos_1;
|
|
tmp_res = RICH_COMPARE_BOOL_GT( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 34;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
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:;
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
PyObject *tmp_make_exception_arg_1;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_len_arg_2;
|
|
tmp_left_name_1 = const_str_digest_5058d5962a01eacde431860babc9703f;
|
|
if ( par_args == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 35;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_len_arg_2 = par_args;
|
|
tmp_right_name_1 = BUILTIN_LEN( tmp_len_arg_2 );
|
|
if ( tmp_right_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 35;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_make_exception_arg_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
if ( tmp_make_exception_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 35;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_beb6946118b623cf4d4348890b102ddd->m_frame.f_lineno = 35;
|
|
{
|
|
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 = 35;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_source_name_1;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 37;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_1 = par_self;
|
|
tmp_unused = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__OrderedDict__root );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 37;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
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_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_1 == NULL )
|
|
{
|
|
exception_keeper_tb_1 = MAKE_TRACEBACK( frame_beb6946118b623cf4d4348890b102ddd, exception_keeper_lineno_1 );
|
|
}
|
|
else if ( exception_keeper_lineno_1 != 0 )
|
|
{
|
|
exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_beb6946118b623cf4d4348890b102ddd, 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_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 = 38;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
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_assign_source_1;
|
|
tmp_assign_source_1 = PyList_New( 0 );
|
|
assert( tmp_assign_unpack_1__assign_source == NULL );
|
|
tmp_assign_unpack_1__assign_source = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assattr_name_1;
|
|
PyObject *tmp_assattr_target_1;
|
|
CHECK_OBJECT( tmp_assign_unpack_1__assign_source );
|
|
tmp_assattr_name_1 = tmp_assign_unpack_1__assign_source;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 39;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_assattr_target_1 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__OrderedDict__root, tmp_assattr_name_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 39;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
goto try_end_2;
|
|
// 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;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_assign_unpack_1__assign_source );
|
|
Py_DECREF( tmp_assign_unpack_1__assign_source );
|
|
tmp_assign_unpack_1__assign_source = 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:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
CHECK_OBJECT( tmp_assign_unpack_1__assign_source );
|
|
tmp_assign_source_2 = tmp_assign_unpack_1__assign_source;
|
|
assert( var_root == NULL );
|
|
Py_INCREF( tmp_assign_source_2 );
|
|
var_root = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_assign_unpack_1__assign_source );
|
|
Py_DECREF( tmp_assign_unpack_1__assign_source );
|
|
tmp_assign_unpack_1__assign_source = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_list_element_1;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_ass_subscript_1;
|
|
if ( var_root == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "root" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 40;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_list_element_1 = var_root;
|
|
tmp_ass_subvalue_1 = PyList_New( 3 );
|
|
Py_INCREF( tmp_list_element_1 );
|
|
PyList_SET_ITEM( tmp_ass_subvalue_1, 0, tmp_list_element_1 );
|
|
if ( var_root == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "root" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 40;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_list_element_1 = var_root;
|
|
Py_INCREF( tmp_list_element_1 );
|
|
PyList_SET_ITEM( tmp_ass_subvalue_1, 1, tmp_list_element_1 );
|
|
tmp_list_element_1 = Py_None;
|
|
Py_INCREF( tmp_list_element_1 );
|
|
PyList_SET_ITEM( tmp_ass_subvalue_1, 2, tmp_list_element_1 );
|
|
if ( var_root == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "root" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 40;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_ass_subscribed_1 = var_root;
|
|
tmp_ass_subscript_1 = const_slice_none_none_none;
|
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 );
|
|
Py_DECREF( tmp_ass_subvalue_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 40;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_2;
|
|
PyObject *tmp_assattr_target_2;
|
|
tmp_assattr_name_2 = PyDict_New();
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_assattr_name_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 41;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_assattr_target_2 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__OrderedDict__map, tmp_assattr_name_2 );
|
|
Py_DECREF( tmp_assattr_name_2 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 41;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
if (unlikely( tmp_result == false ))
|
|
{
|
|
exception_lineno = 36;
|
|
}
|
|
|
|
if (exception_tb && exception_tb->tb_frame == &frame_beb6946118b623cf4d4348890b102ddd->m_frame) frame_beb6946118b623cf4d4348890b102ddd->m_frame.f_lineno = exception_tb->tb_lineno;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
goto try_end_3;
|
|
// 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;
|
|
|
|
{
|
|
// 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 frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_3:;
|
|
}
|
|
{
|
|
// Restore previous exception.
|
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
|
}
|
|
goto try_end_1;
|
|
// exception handler codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_1___init__ );
|
|
return NULL;
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_dircall_arg1_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_dircall_arg2_1;
|
|
PyObject *tmp_dircall_arg3_1;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 42;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__OrderedDict__update );
|
|
if ( tmp_dircall_arg1_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 42;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_args == NULL )
|
|
{
|
|
Py_DECREF( tmp_dircall_arg1_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 42;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dircall_arg2_1 = par_args;
|
|
if ( par_kwds == NULL )
|
|
{
|
|
Py_DECREF( tmp_dircall_arg1_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kwds" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 42;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dircall_arg3_1 = par_kwds;
|
|
Py_INCREF( tmp_dircall_arg2_1 );
|
|
Py_INCREF( tmp_dircall_arg3_1 );
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
|
|
tmp_unused = impl___internal__$$$function_4_complex_call_helper_star_list_star_dict( dir_call_args );
|
|
}
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 42;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_beb6946118b623cf4d4348890b102ddd );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_beb6946118b623cf4d4348890b102ddd );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_beb6946118b623cf4d4348890b102ddd, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_beb6946118b623cf4d4348890b102ddd->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_beb6946118b623cf4d4348890b102ddd, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_beb6946118b623cf4d4348890b102ddd,
|
|
type_description_1,
|
|
par_self,
|
|
par_args,
|
|
par_kwds,
|
|
var_root
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_beb6946118b623cf4d4348890b102ddd == cache_frame_beb6946118b623cf4d4348890b102ddd )
|
|
{
|
|
Py_DECREF( frame_beb6946118b623cf4d4348890b102ddd );
|
|
}
|
|
cache_frame_beb6946118b623cf4d4348890b102ddd = NULL;
|
|
|
|
assertFrameObject( frame_beb6946118b623cf4d4348890b102ddd );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
{
|
|
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( urllib3$packages$ordered_dict$$$function_1___init__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_args );
|
|
par_args = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_kwds );
|
|
par_kwds = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_root );
|
|
var_root = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
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( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_args );
|
|
par_args = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_kwds );
|
|
par_kwds = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_root );
|
|
var_root = 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_1___init__ );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_2___setitem__( 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 *par_key = python_pars[ 1 ];
|
|
PyObject *par_value = python_pars[ 2 ];
|
|
PyObject *par_dict_setitem = python_pars[ 3 ];
|
|
PyObject *var_root = NULL;
|
|
PyObject *var_last = NULL;
|
|
PyObject *tmp_assign_unpack_1__assign_source = NULL;
|
|
struct Nuitka_FrameObject *frame_10a5689f470828578ae6bafdf0b39e73;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
int tmp_res;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
bool tmp_result;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
static struct Nuitka_FrameObject *cache_frame_10a5689f470828578ae6bafdf0b39e73 = NULL;
|
|
PyObject *tmp_return_value = 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;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_10a5689f470828578ae6bafdf0b39e73, codeobj_10a5689f470828578ae6bafdf0b39e73, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_10a5689f470828578ae6bafdf0b39e73 = cache_frame_10a5689f470828578ae6bafdf0b39e73;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_10a5689f470828578ae6bafdf0b39e73 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_10a5689f470828578ae6bafdf0b39e73 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
CHECK_OBJECT( par_key );
|
|
tmp_compexpr_left_1 = par_key;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_compexpr_right_1 = par_self;
|
|
tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 48;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
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:;
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_source_name_1;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 49;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = par_self;
|
|
tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__OrderedDict__root );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 49;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_root == NULL );
|
|
var_root = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
CHECK_OBJECT( var_root );
|
|
tmp_subscribed_name_1 = var_root;
|
|
tmp_subscript_name_1 = const_int_0;
|
|
tmp_assign_source_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 50;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_last == NULL );
|
|
var_last = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_list_element_1;
|
|
CHECK_OBJECT( var_last );
|
|
tmp_list_element_1 = var_last;
|
|
tmp_assign_source_3 = PyList_New( 3 );
|
|
Py_INCREF( tmp_list_element_1 );
|
|
PyList_SET_ITEM( tmp_assign_source_3, 0, tmp_list_element_1 );
|
|
if ( var_root == NULL )
|
|
{
|
|
Py_DECREF( tmp_assign_source_3 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "root" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 51;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_list_element_1 = var_root;
|
|
Py_INCREF( tmp_list_element_1 );
|
|
PyList_SET_ITEM( tmp_assign_source_3, 1, tmp_list_element_1 );
|
|
if ( par_key == NULL )
|
|
{
|
|
Py_DECREF( tmp_assign_source_3 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 51;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_list_element_1 = par_key;
|
|
Py_INCREF( tmp_list_element_1 );
|
|
PyList_SET_ITEM( tmp_assign_source_3, 2, tmp_list_element_1 );
|
|
assert( tmp_assign_unpack_1__assign_source == NULL );
|
|
tmp_assign_unpack_1__assign_source = tmp_assign_source_3;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_ass_subscript_1;
|
|
int tmp_ass_subscript_res_1;
|
|
CHECK_OBJECT( tmp_assign_unpack_1__assign_source );
|
|
tmp_ass_subvalue_1 = tmp_assign_unpack_1__assign_source;
|
|
CHECK_OBJECT( var_last );
|
|
tmp_ass_subscribed_1 = var_last;
|
|
tmp_ass_subscript_1 = const_int_pos_1;
|
|
tmp_ass_subscript_res_1 = SET_SUBSCRIPT_CONST( tmp_ass_subscribed_1, tmp_ass_subscript_1, 1, tmp_ass_subvalue_1 );
|
|
if ( tmp_ass_subscript_res_1 == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 51;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_2;
|
|
PyObject *tmp_ass_subscribed_2;
|
|
PyObject *tmp_ass_subscript_2;
|
|
int tmp_ass_subscript_res_2;
|
|
CHECK_OBJECT( tmp_assign_unpack_1__assign_source );
|
|
tmp_ass_subvalue_2 = tmp_assign_unpack_1__assign_source;
|
|
if ( var_root == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "root" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 51;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_ass_subscribed_2 = var_root;
|
|
tmp_ass_subscript_2 = const_int_0;
|
|
tmp_ass_subscript_res_2 = SET_SUBSCRIPT_CONST( tmp_ass_subscribed_2, tmp_ass_subscript_2, 0, tmp_ass_subvalue_2 );
|
|
if ( tmp_ass_subscript_res_2 == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 51;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_3;
|
|
PyObject *tmp_ass_subscribed_3;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_ass_subscript_3;
|
|
CHECK_OBJECT( tmp_assign_unpack_1__assign_source );
|
|
tmp_ass_subvalue_3 = tmp_assign_unpack_1__assign_source;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 51;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_ass_subscribed_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__OrderedDict__map );
|
|
if ( tmp_ass_subscribed_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 51;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
if ( par_key == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subscribed_3 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 51;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_ass_subscript_3 = par_key;
|
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_3, tmp_ass_subscript_3, tmp_ass_subvalue_3 );
|
|
Py_DECREF( tmp_ass_subscribed_3 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 51;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
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;
|
|
|
|
{
|
|
Py_XDECREF( tmp_assign_unpack_1__assign_source );
|
|
tmp_assign_unpack_1__assign_source = 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_assign_unpack_1__assign_source );
|
|
Py_DECREF( tmp_assign_unpack_1__assign_source );
|
|
tmp_assign_unpack_1__assign_source = NULL;
|
|
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
PyObject *tmp_args_element_name_3;
|
|
if ( par_dict_setitem == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "dict_setitem" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 52;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = par_dict_setitem;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 52;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_self;
|
|
if ( par_key == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 52;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_key;
|
|
if ( par_value == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 52;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_3 = par_value;
|
|
frame_10a5689f470828578ae6bafdf0b39e73->m_frame.f_lineno = 52;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 52;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_10a5689f470828578ae6bafdf0b39e73 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_10a5689f470828578ae6bafdf0b39e73 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_10a5689f470828578ae6bafdf0b39e73, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_10a5689f470828578ae6bafdf0b39e73->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_10a5689f470828578ae6bafdf0b39e73, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_10a5689f470828578ae6bafdf0b39e73,
|
|
type_description_1,
|
|
par_self,
|
|
par_key,
|
|
par_value,
|
|
par_dict_setitem,
|
|
var_root,
|
|
var_last
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_10a5689f470828578ae6bafdf0b39e73 == cache_frame_10a5689f470828578ae6bafdf0b39e73 )
|
|
{
|
|
Py_DECREF( frame_10a5689f470828578ae6bafdf0b39e73 );
|
|
}
|
|
cache_frame_10a5689f470828578ae6bafdf0b39e73 = NULL;
|
|
|
|
assertFrameObject( frame_10a5689f470828578ae6bafdf0b39e73 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
{
|
|
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( urllib3$packages$ordered_dict$$$function_2___setitem__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_key );
|
|
par_key = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_dict_setitem );
|
|
par_dict_setitem = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_root );
|
|
var_root = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_last );
|
|
var_last = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
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_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_key );
|
|
par_key = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_dict_setitem );
|
|
par_dict_setitem = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_root );
|
|
var_root = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_last );
|
|
var_last = 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_2___setitem__ );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_3___delitem__( 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 *par_key = python_pars[ 1 ];
|
|
PyObject *par_dict_delitem = python_pars[ 2 ];
|
|
PyObject *var_link_prev = NULL;
|
|
PyObject *var_link_next = NULL;
|
|
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__element_3 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
|
|
struct Nuitka_FrameObject *frame_439eedee997259a51ce825a628e41d14;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
PyObject *tmp_iterator_attempt;
|
|
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_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
static struct Nuitka_FrameObject *cache_frame_439eedee997259a51ce825a628e41d14 = NULL;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_439eedee997259a51ce825a628e41d14, codeobj_439eedee997259a51ce825a628e41d14, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_439eedee997259a51ce825a628e41d14 = cache_frame_439eedee997259a51ce825a628e41d14;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_439eedee997259a51ce825a628e41d14 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_439eedee997259a51ce825a628e41d14 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
CHECK_OBJECT( par_dict_delitem );
|
|
tmp_called_name_1 = par_dict_delitem;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_args_element_name_1 = par_self;
|
|
CHECK_OBJECT( par_key );
|
|
tmp_args_element_name_2 = par_key;
|
|
frame_439eedee997259a51ce825a628e41d14->m_frame.f_lineno = 58;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 58;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_element_name_3;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 59;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__OrderedDict__map );
|
|
if ( tmp_source_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 59;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_pop );
|
|
Py_DECREF( tmp_source_name_1 );
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 59;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
if ( par_key == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 59;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_3 = par_key;
|
|
frame_439eedee997259a51ce825a628e41d14->m_frame.f_lineno = 59;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
if ( tmp_iter_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 59;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_assign_source_1 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 );
|
|
Py_DECREF( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 59;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_tuple_unpack_1__source_iter == NULL );
|
|
tmp_tuple_unpack_1__source_iter = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_unpack_1;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_2 = UNPACK_NEXT( tmp_unpack_1, 0, 3 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooo";
|
|
exception_lineno = 59;
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_1 == NULL );
|
|
tmp_tuple_unpack_1__element_1 = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_unpack_2;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_2, 1, 3 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooo";
|
|
exception_lineno = 59;
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_2 == NULL );
|
|
tmp_tuple_unpack_1__element_2 = tmp_assign_source_3;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_unpack_3;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_3 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_4 = UNPACK_NEXT( tmp_unpack_3, 2, 3 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooo";
|
|
exception_lineno = 59;
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_3 == NULL );
|
|
tmp_tuple_unpack_1__element_3 = tmp_assign_source_4;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_iterator_name_1;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
|
|
// Check if iterator has left-over elements.
|
|
CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) );
|
|
|
|
tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 );
|
|
|
|
if (likely( tmp_iterator_attempt == NULL ))
|
|
{
|
|
PyObject *error = GET_ERROR_OCCURRED();
|
|
|
|
if ( error != NULL )
|
|
{
|
|
if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration ))
|
|
{
|
|
CLEAR_ERROR_OCCURRED();
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "ooooo";
|
|
exception_lineno = 59;
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Py_DECREF( tmp_iterator_attempt );
|
|
|
|
// TODO: Could avoid PyErr_Format.
|
|
#if PYTHON_VERSION < 300
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack" );
|
|
#else
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 3)" );
|
|
#endif
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "ooooo";
|
|
exception_lineno = 59;
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
goto try_end_1;
|
|
// 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;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_1__source_iter );
|
|
tmp_tuple_unpack_1__source_iter = 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 try_except_handler_2;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
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_XDECREF( tmp_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_3 );
|
|
tmp_tuple_unpack_1__element_3 = 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 frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_1__source_iter );
|
|
tmp_tuple_unpack_1__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_1 );
|
|
tmp_assign_source_5 = tmp_tuple_unpack_1__element_1;
|
|
assert( var_link_prev == NULL );
|
|
Py_INCREF( tmp_assign_source_5 );
|
|
var_link_prev = tmp_assign_source_5;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_2 );
|
|
tmp_assign_source_6 = tmp_tuple_unpack_1__element_2;
|
|
assert( var_link_next == NULL );
|
|
Py_INCREF( tmp_assign_source_6 );
|
|
var_link_next = tmp_assign_source_6;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_3 );
|
|
tmp_assign_source_7 = tmp_tuple_unpack_1__element_3;
|
|
{
|
|
PyObject *old = par_key;
|
|
par_key = tmp_assign_source_7;
|
|
Py_INCREF( par_key );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_3 );
|
|
tmp_tuple_unpack_1__element_3 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_ass_subscript_1;
|
|
int tmp_ass_subscript_res_1;
|
|
if ( var_link_next == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "link_next" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 60;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subvalue_1 = var_link_next;
|
|
if ( var_link_prev == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "link_prev" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 60;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_1 = var_link_prev;
|
|
tmp_ass_subscript_1 = const_int_pos_1;
|
|
tmp_ass_subscript_res_1 = SET_SUBSCRIPT_CONST( tmp_ass_subscribed_1, tmp_ass_subscript_1, 1, tmp_ass_subvalue_1 );
|
|
if ( tmp_ass_subscript_res_1 == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 60;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_2;
|
|
PyObject *tmp_ass_subscribed_2;
|
|
PyObject *tmp_ass_subscript_2;
|
|
int tmp_ass_subscript_res_2;
|
|
if ( var_link_prev == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "link_prev" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 61;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subvalue_2 = var_link_prev;
|
|
if ( var_link_next == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "link_next" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 61;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_2 = var_link_next;
|
|
tmp_ass_subscript_2 = const_int_0;
|
|
tmp_ass_subscript_res_2 = SET_SUBSCRIPT_CONST( tmp_ass_subscribed_2, tmp_ass_subscript_2, 0, tmp_ass_subvalue_2 );
|
|
if ( tmp_ass_subscript_res_2 == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 61;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_439eedee997259a51ce825a628e41d14 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_439eedee997259a51ce825a628e41d14 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_439eedee997259a51ce825a628e41d14, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_439eedee997259a51ce825a628e41d14->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_439eedee997259a51ce825a628e41d14, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_439eedee997259a51ce825a628e41d14,
|
|
type_description_1,
|
|
par_self,
|
|
par_key,
|
|
par_dict_delitem,
|
|
var_link_prev,
|
|
var_link_next
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_439eedee997259a51ce825a628e41d14 == cache_frame_439eedee997259a51ce825a628e41d14 )
|
|
{
|
|
Py_DECREF( frame_439eedee997259a51ce825a628e41d14 );
|
|
}
|
|
cache_frame_439eedee997259a51ce825a628e41d14 = NULL;
|
|
|
|
assertFrameObject( frame_439eedee997259a51ce825a628e41d14 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
{
|
|
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( urllib3$packages$ordered_dict$$$function_3___delitem__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_key );
|
|
par_key = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_dict_delitem );
|
|
par_dict_delitem = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_link_prev );
|
|
var_link_prev = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_link_next );
|
|
var_link_next = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
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;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_key );
|
|
par_key = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_dict_delitem );
|
|
par_dict_delitem = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_link_prev );
|
|
var_link_prev = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_link_next );
|
|
var_link_next = NULL;
|
|
|
|
}
|
|
{
|
|
// 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_3___delitem__ );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_4___iter__( 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.
|
|
struct Nuitka_CellObject *par_self = PyCell_NEW1( python_pars[ 0 ] );
|
|
PyObject *tmp_return_value = NULL;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_return_value = urllib3$packages$ordered_dict$$$function_4___iter__$$$genobj_1___iter___maker();
|
|
|
|
((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_self;
|
|
Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] );
|
|
|
|
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_4___iter__ );
|
|
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( urllib3$packages$ordered_dict$$$function_4___iter__ );
|
|
return NULL;
|
|
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct urllib3$packages$ordered_dict$$$function_4___iter__$$$genobj_1___iter___locals {
|
|
PyObject *var_root;
|
|
PyObject *var_curr;
|
|
char const *type_description_1;
|
|
PyObject *exception_type;
|
|
PyObject *exception_value;
|
|
PyTracebackObject *exception_tb;
|
|
int exception_lineno;
|
|
char yield_tmps[1024];
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
int exception_keeper_lineno_1;
|
|
};
|
|
|
|
static PyObject *urllib3$packages$ordered_dict$$$function_4___iter__$$$genobj_1___iter___context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value )
|
|
{
|
|
CHECK_OBJECT( (PyObject *)generator );
|
|
assert( Nuitka_Generator_Check( (PyObject *)generator ) );
|
|
|
|
// Heap access if used.
|
|
struct urllib3$packages$ordered_dict$$$function_4___iter__$$$genobj_1___iter___locals *generator_heap = (struct urllib3$packages$ordered_dict$$$function_4___iter__$$$genobj_1___iter___locals *)generator->m_heap_storage;
|
|
|
|
// Dispatch to yield based on return label index:
|
|
switch(generator->m_yield_return_index) {
|
|
case 1: goto yield_return_1;
|
|
}
|
|
|
|
// Local variable initialization
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
static struct Nuitka_FrameObject *cache_m_frame = NULL;
|
|
generator_heap->var_root = NULL;
|
|
generator_heap->var_curr = NULL;
|
|
generator_heap->type_description_1 = NULL;
|
|
generator_heap->exception_type = NULL;
|
|
generator_heap->exception_value = NULL;
|
|
generator_heap->exception_tb = NULL;
|
|
generator_heap->exception_lineno = 0;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_m_frame, codeobj_fcc667f7afbc0f152e8100f0a39f0119, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
generator->m_frame = cache_m_frame;
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
Py_INCREF( generator->m_frame );
|
|
assert( Py_REFCNT( generator->m_frame ) == 2 ); // Frame stack
|
|
|
|
#if PYTHON_VERSION >= 340
|
|
generator->m_frame->m_frame.f_gen = (PyObject *)generator;
|
|
#endif
|
|
|
|
Py_CLEAR( generator->m_frame->m_frame.f_back );
|
|
|
|
generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame;
|
|
Py_INCREF( generator->m_frame->m_frame.f_back );
|
|
|
|
PyThreadState_GET()->frame = &generator->m_frame->m_frame;
|
|
Py_INCREF( generator->m_frame );
|
|
|
|
Nuitka_Frame_MarkAsExecuting( generator->m_frame );
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
// Accept currently existing exception as the one to publish again when we
|
|
// yield or yield from.
|
|
{
|
|
PyThreadState *thread_state = PyThreadState_GET();
|
|
|
|
#if PYTHON_VERSION < 370
|
|
generator->m_frame->m_frame.f_exc_type = EXC_TYPE( thread_state );
|
|
if ( generator->m_frame->m_frame.f_exc_type == Py_None ) generator->m_frame->m_frame.f_exc_type = NULL;
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_type );
|
|
generator->m_frame->m_frame.f_exc_value = EXC_VALUE( thread_state );
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_value );
|
|
generator->m_frame->m_frame.f_exc_traceback = EXC_TRACEBACK( thread_state );
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback );
|
|
#else
|
|
generator->m_exc_state.exc_type = EXC_TYPE( thread_state );
|
|
if ( generator->m_exc_state.exc_type == Py_None ) generator->m_exc_state.exc_type = NULL;
|
|
Py_XINCREF( generator->m_exc_state.exc_type );
|
|
generator->m_exc_state.exc_value = EXC_VALUE( thread_state );
|
|
Py_XINCREF( generator->m_exc_state.exc_value );
|
|
generator->m_exc_state.exc_traceback = EXC_TRACEBACK( thread_state );
|
|
Py_XINCREF( generator->m_exc_state.exc_traceback );
|
|
#endif
|
|
}
|
|
|
|
#endif
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_source_name_1;
|
|
if ( PyCell_GET( generator->m_closure[0] ) == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_NameError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 65;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = PyCell_GET( generator->m_closure[0] );
|
|
tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__OrderedDict__root );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 65;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( generator_heap->var_root == NULL );
|
|
generator_heap->var_root = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
CHECK_OBJECT( generator_heap->var_root );
|
|
tmp_subscribed_name_1 = generator_heap->var_root;
|
|
tmp_subscript_name_1 = const_int_pos_1;
|
|
tmp_assign_source_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 1 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 66;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( generator_heap->var_curr == NULL );
|
|
generator_heap->var_curr = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
if ( generator_heap->var_curr == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "curr" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 67;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_left_1 = generator_heap->var_curr;
|
|
if ( generator_heap->var_root == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "root" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 67;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_right_1 = generator_heap->var_root;
|
|
tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? 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:;
|
|
{
|
|
goto loop_end_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_expression_name_1;
|
|
PyObject *tmp_subscribed_name_2;
|
|
PyObject *tmp_subscript_name_2;
|
|
if ( generator_heap->var_curr == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "curr" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 68;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_2 = generator_heap->var_curr;
|
|
tmp_subscript_name_2 = const_int_pos_2;
|
|
tmp_expression_name_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 2 );
|
|
if ( tmp_expression_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 68;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_subscribed_name_2, sizeof(PyObject *), &tmp_subscript_name_2, sizeof(PyObject *), NULL );
|
|
generator->m_yield_return_index = 1;
|
|
return tmp_expression_name_1;
|
|
yield_return_1:
|
|
Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_subscribed_name_2, sizeof(PyObject *), &tmp_subscript_name_2, sizeof(PyObject *), NULL );
|
|
if ( yield_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 68;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_unused = yield_return_value;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_subscribed_name_3;
|
|
PyObject *tmp_subscript_name_3;
|
|
if ( generator_heap->var_curr == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "curr" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 69;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_3 = generator_heap->var_curr;
|
|
tmp_subscript_name_3 = const_int_pos_1;
|
|
tmp_assign_source_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 1 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 69;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = generator_heap->var_curr;
|
|
generator_heap->var_curr = tmp_assign_source_3;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 67;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
|
|
Nuitka_Frame_MarkAsNotExecuting( generator->m_frame );
|
|
|
|
#if PYTHON_VERSION >= 370
|
|
Py_CLEAR( generator->m_exc_state.exc_type );
|
|
Py_CLEAR( generator->m_exc_state.exc_value );
|
|
Py_CLEAR( generator->m_exc_state.exc_traceback );
|
|
#elif PYTHON_VERSION >= 300
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_type );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_value );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback );
|
|
#endif
|
|
|
|
// Allow re-use of the frame again.
|
|
Py_DECREF( generator->m_frame );
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
// If it's not an exit exception, consider and create a traceback for it.
|
|
if ( !EXCEPTION_MATCH_GENERATOR( generator_heap->exception_type ) )
|
|
{
|
|
if ( generator_heap->exception_tb == NULL )
|
|
{
|
|
generator_heap->exception_tb = MAKE_TRACEBACK( generator->m_frame, generator_heap->exception_lineno );
|
|
}
|
|
else if ( generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame )
|
|
{
|
|
generator_heap->exception_tb = ADD_TRACEBACK( generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno );
|
|
}
|
|
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)generator->m_frame,
|
|
generator_heap->type_description_1,
|
|
generator->m_closure[0],
|
|
generator_heap->var_root,
|
|
generator_heap->var_curr
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( generator->m_frame == cache_m_frame )
|
|
{
|
|
Py_DECREF( generator->m_frame );
|
|
}
|
|
cache_m_frame = NULL;
|
|
|
|
assertFrameObject( generator->m_frame );
|
|
}
|
|
|
|
#if PYTHON_VERSION >= 370
|
|
Py_CLEAR( generator->m_exc_state.exc_type );
|
|
Py_CLEAR( generator->m_exc_state.exc_value );
|
|
Py_CLEAR( generator->m_exc_state.exc_traceback );
|
|
#elif PYTHON_VERSION >= 300
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_type );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_value );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback );
|
|
#endif
|
|
|
|
Py_DECREF( generator->m_frame );
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
generator_heap->exception_keeper_type_1 = generator_heap->exception_type;
|
|
generator_heap->exception_keeper_value_1 = generator_heap->exception_value;
|
|
generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb;
|
|
generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno;
|
|
generator_heap->exception_type = NULL;
|
|
generator_heap->exception_value = NULL;
|
|
generator_heap->exception_tb = NULL;
|
|
generator_heap->exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( generator_heap->var_root );
|
|
generator_heap->var_root = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->var_curr );
|
|
generator_heap->var_curr = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
generator_heap->exception_type = generator_heap->exception_keeper_type_1;
|
|
generator_heap->exception_value = generator_heap->exception_keeper_value_1;
|
|
generator_heap->exception_tb = generator_heap->exception_keeper_tb_1;
|
|
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->var_root );
|
|
generator_heap->var_root = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->var_curr );
|
|
generator_heap->var_curr = NULL;
|
|
|
|
}
|
|
|
|
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( generator_heap->exception_type );
|
|
RESTORE_ERROR_OCCURRED( generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb );
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
static PyObject *urllib3$packages$ordered_dict$$$function_4___iter__$$$genobj_1___iter___maker( void )
|
|
{
|
|
return Nuitka_Generator_New(
|
|
urllib3$packages$ordered_dict$$$function_4___iter__$$$genobj_1___iter___context,
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_plain___iter__,
|
|
#if PYTHON_VERSION >= 350
|
|
const_str_digest_43c170d8223c5638f8e1bef26d0a2d31,
|
|
#endif
|
|
codeobj_fcc667f7afbc0f152e8100f0a39f0119,
|
|
1,
|
|
sizeof(struct urllib3$packages$ordered_dict$$$function_4___iter__$$$genobj_1___iter___locals)
|
|
);
|
|
}
|
|
|
|
|
|
static PyObject *impl_urllib3$packages$ordered_dict$$$function_5___reversed__( 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.
|
|
struct Nuitka_CellObject *par_self = PyCell_NEW1( python_pars[ 0 ] );
|
|
PyObject *tmp_return_value = NULL;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_return_value = urllib3$packages$ordered_dict$$$function_5___reversed__$$$genobj_1___reversed___maker();
|
|
|
|
((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_self;
|
|
Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] );
|
|
|
|
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_5___reversed__ );
|
|
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( urllib3$packages$ordered_dict$$$function_5___reversed__ );
|
|
return NULL;
|
|
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct urllib3$packages$ordered_dict$$$function_5___reversed__$$$genobj_1___reversed___locals {
|
|
PyObject *var_root;
|
|
PyObject *var_curr;
|
|
char const *type_description_1;
|
|
PyObject *exception_type;
|
|
PyObject *exception_value;
|
|
PyTracebackObject *exception_tb;
|
|
int exception_lineno;
|
|
char yield_tmps[1024];
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
int exception_keeper_lineno_1;
|
|
};
|
|
|
|
static PyObject *urllib3$packages$ordered_dict$$$function_5___reversed__$$$genobj_1___reversed___context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value )
|
|
{
|
|
CHECK_OBJECT( (PyObject *)generator );
|
|
assert( Nuitka_Generator_Check( (PyObject *)generator ) );
|
|
|
|
// Heap access if used.
|
|
struct urllib3$packages$ordered_dict$$$function_5___reversed__$$$genobj_1___reversed___locals *generator_heap = (struct urllib3$packages$ordered_dict$$$function_5___reversed__$$$genobj_1___reversed___locals *)generator->m_heap_storage;
|
|
|
|
// Dispatch to yield based on return label index:
|
|
switch(generator->m_yield_return_index) {
|
|
case 1: goto yield_return_1;
|
|
}
|
|
|
|
// Local variable initialization
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
static struct Nuitka_FrameObject *cache_m_frame = NULL;
|
|
generator_heap->var_root = NULL;
|
|
generator_heap->var_curr = NULL;
|
|
generator_heap->type_description_1 = NULL;
|
|
generator_heap->exception_type = NULL;
|
|
generator_heap->exception_value = NULL;
|
|
generator_heap->exception_tb = NULL;
|
|
generator_heap->exception_lineno = 0;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_m_frame, codeobj_9380b6497339e703ecb8d6d1322a10a3, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
generator->m_frame = cache_m_frame;
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
Py_INCREF( generator->m_frame );
|
|
assert( Py_REFCNT( generator->m_frame ) == 2 ); // Frame stack
|
|
|
|
#if PYTHON_VERSION >= 340
|
|
generator->m_frame->m_frame.f_gen = (PyObject *)generator;
|
|
#endif
|
|
|
|
Py_CLEAR( generator->m_frame->m_frame.f_back );
|
|
|
|
generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame;
|
|
Py_INCREF( generator->m_frame->m_frame.f_back );
|
|
|
|
PyThreadState_GET()->frame = &generator->m_frame->m_frame;
|
|
Py_INCREF( generator->m_frame );
|
|
|
|
Nuitka_Frame_MarkAsExecuting( generator->m_frame );
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
// Accept currently existing exception as the one to publish again when we
|
|
// yield or yield from.
|
|
{
|
|
PyThreadState *thread_state = PyThreadState_GET();
|
|
|
|
#if PYTHON_VERSION < 370
|
|
generator->m_frame->m_frame.f_exc_type = EXC_TYPE( thread_state );
|
|
if ( generator->m_frame->m_frame.f_exc_type == Py_None ) generator->m_frame->m_frame.f_exc_type = NULL;
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_type );
|
|
generator->m_frame->m_frame.f_exc_value = EXC_VALUE( thread_state );
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_value );
|
|
generator->m_frame->m_frame.f_exc_traceback = EXC_TRACEBACK( thread_state );
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback );
|
|
#else
|
|
generator->m_exc_state.exc_type = EXC_TYPE( thread_state );
|
|
if ( generator->m_exc_state.exc_type == Py_None ) generator->m_exc_state.exc_type = NULL;
|
|
Py_XINCREF( generator->m_exc_state.exc_type );
|
|
generator->m_exc_state.exc_value = EXC_VALUE( thread_state );
|
|
Py_XINCREF( generator->m_exc_state.exc_value );
|
|
generator->m_exc_state.exc_traceback = EXC_TRACEBACK( thread_state );
|
|
Py_XINCREF( generator->m_exc_state.exc_traceback );
|
|
#endif
|
|
}
|
|
|
|
#endif
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_source_name_1;
|
|
if ( PyCell_GET( generator->m_closure[0] ) == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_NameError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 73;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = PyCell_GET( generator->m_closure[0] );
|
|
tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__OrderedDict__root );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 73;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( generator_heap->var_root == NULL );
|
|
generator_heap->var_root = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
CHECK_OBJECT( generator_heap->var_root );
|
|
tmp_subscribed_name_1 = generator_heap->var_root;
|
|
tmp_subscript_name_1 = const_int_0;
|
|
tmp_assign_source_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 74;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( generator_heap->var_curr == NULL );
|
|
generator_heap->var_curr = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
if ( generator_heap->var_curr == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "curr" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 75;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_left_1 = generator_heap->var_curr;
|
|
if ( generator_heap->var_root == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "root" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 75;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_right_1 = generator_heap->var_root;
|
|
tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? 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:;
|
|
{
|
|
goto loop_end_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_expression_name_1;
|
|
PyObject *tmp_subscribed_name_2;
|
|
PyObject *tmp_subscript_name_2;
|
|
if ( generator_heap->var_curr == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "curr" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 76;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_2 = generator_heap->var_curr;
|
|
tmp_subscript_name_2 = const_int_pos_2;
|
|
tmp_expression_name_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 2 );
|
|
if ( tmp_expression_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 76;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_subscribed_name_2, sizeof(PyObject *), &tmp_subscript_name_2, sizeof(PyObject *), NULL );
|
|
generator->m_yield_return_index = 1;
|
|
return tmp_expression_name_1;
|
|
yield_return_1:
|
|
Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_subscribed_name_2, sizeof(PyObject *), &tmp_subscript_name_2, sizeof(PyObject *), NULL );
|
|
if ( yield_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 76;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_unused = yield_return_value;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_subscribed_name_3;
|
|
PyObject *tmp_subscript_name_3;
|
|
if ( generator_heap->var_curr == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "curr" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 77;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_3 = generator_heap->var_curr;
|
|
tmp_subscript_name_3 = const_int_0;
|
|
tmp_assign_source_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 0 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 77;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = generator_heap->var_curr;
|
|
generator_heap->var_curr = tmp_assign_source_3;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 75;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
|
|
Nuitka_Frame_MarkAsNotExecuting( generator->m_frame );
|
|
|
|
#if PYTHON_VERSION >= 370
|
|
Py_CLEAR( generator->m_exc_state.exc_type );
|
|
Py_CLEAR( generator->m_exc_state.exc_value );
|
|
Py_CLEAR( generator->m_exc_state.exc_traceback );
|
|
#elif PYTHON_VERSION >= 300
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_type );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_value );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback );
|
|
#endif
|
|
|
|
// Allow re-use of the frame again.
|
|
Py_DECREF( generator->m_frame );
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
// If it's not an exit exception, consider and create a traceback for it.
|
|
if ( !EXCEPTION_MATCH_GENERATOR( generator_heap->exception_type ) )
|
|
{
|
|
if ( generator_heap->exception_tb == NULL )
|
|
{
|
|
generator_heap->exception_tb = MAKE_TRACEBACK( generator->m_frame, generator_heap->exception_lineno );
|
|
}
|
|
else if ( generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame )
|
|
{
|
|
generator_heap->exception_tb = ADD_TRACEBACK( generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno );
|
|
}
|
|
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)generator->m_frame,
|
|
generator_heap->type_description_1,
|
|
generator->m_closure[0],
|
|
generator_heap->var_root,
|
|
generator_heap->var_curr
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( generator->m_frame == cache_m_frame )
|
|
{
|
|
Py_DECREF( generator->m_frame );
|
|
}
|
|
cache_m_frame = NULL;
|
|
|
|
assertFrameObject( generator->m_frame );
|
|
}
|
|
|
|
#if PYTHON_VERSION >= 370
|
|
Py_CLEAR( generator->m_exc_state.exc_type );
|
|
Py_CLEAR( generator->m_exc_state.exc_value );
|
|
Py_CLEAR( generator->m_exc_state.exc_traceback );
|
|
#elif PYTHON_VERSION >= 300
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_type );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_value );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback );
|
|
#endif
|
|
|
|
Py_DECREF( generator->m_frame );
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
generator_heap->exception_keeper_type_1 = generator_heap->exception_type;
|
|
generator_heap->exception_keeper_value_1 = generator_heap->exception_value;
|
|
generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb;
|
|
generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno;
|
|
generator_heap->exception_type = NULL;
|
|
generator_heap->exception_value = NULL;
|
|
generator_heap->exception_tb = NULL;
|
|
generator_heap->exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( generator_heap->var_root );
|
|
generator_heap->var_root = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->var_curr );
|
|
generator_heap->var_curr = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
generator_heap->exception_type = generator_heap->exception_keeper_type_1;
|
|
generator_heap->exception_value = generator_heap->exception_keeper_value_1;
|
|
generator_heap->exception_tb = generator_heap->exception_keeper_tb_1;
|
|
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->var_root );
|
|
generator_heap->var_root = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->var_curr );
|
|
generator_heap->var_curr = NULL;
|
|
|
|
}
|
|
|
|
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( generator_heap->exception_type );
|
|
RESTORE_ERROR_OCCURRED( generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb );
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
static PyObject *urllib3$packages$ordered_dict$$$function_5___reversed__$$$genobj_1___reversed___maker( void )
|
|
{
|
|
return Nuitka_Generator_New(
|
|
urllib3$packages$ordered_dict$$$function_5___reversed__$$$genobj_1___reversed___context,
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_plain___reversed__,
|
|
#if PYTHON_VERSION >= 350
|
|
const_str_digest_c8da176fd6b7d11fbd22070ccb29a1af,
|
|
#endif
|
|
codeobj_9380b6497339e703ecb8d6d1322a10a3,
|
|
1,
|
|
sizeof(struct urllib3$packages$ordered_dict$$$function_5___reversed__$$$genobj_1___reversed___locals)
|
|
);
|
|
}
|
|
|
|
|
|
static PyObject *impl_urllib3$packages$ordered_dict$$$function_6_clear( 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 *var_node = NULL;
|
|
PyObject *var_root = NULL;
|
|
PyObject *tmp_for_loop_1__for_iterator = NULL;
|
|
PyObject *tmp_for_loop_1__iter_value = NULL;
|
|
struct Nuitka_FrameObject *frame_c6a9e8565fa7eb151f914174228091c9;
|
|
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;
|
|
bool tmp_result;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
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;
|
|
int tmp_res;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
static struct Nuitka_FrameObject *cache_frame_c6a9e8565fa7eb151f914174228091c9 = NULL;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_keeper_type_4;
|
|
PyObject *exception_keeper_value_4;
|
|
PyTracebackObject *exception_keeper_tb_4;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_c6a9e8565fa7eb151f914174228091c9, codeobj_c6a9e8565fa7eb151f914174228091c9, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_c6a9e8565fa7eb151f914174228091c9 = cache_frame_c6a9e8565fa7eb151f914174228091c9;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_c6a9e8565fa7eb151f914174228091c9 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_c6a9e8565fa7eb151f914174228091c9 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_source_name_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__OrderedDict__map );
|
|
if ( tmp_called_instance_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 82;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
frame_c6a9e8565fa7eb151f914174228091c9->m_frame.f_lineno = 82;
|
|
tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_itervalues );
|
|
Py_DECREF( tmp_called_instance_1 );
|
|
if ( tmp_iter_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 82;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
Py_DECREF( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 82;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_for_loop_1__for_iterator == NULL );
|
|
tmp_for_loop_1__for_iterator = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_2;
|
|
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
|
|
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
|
|
tmp_assign_source_2 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_1;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "ooo";
|
|
exception_lineno = 82;
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_1__iter_value;
|
|
tmp_for_loop_1__iter_value = tmp_assign_source_2;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
CHECK_OBJECT( tmp_for_loop_1__iter_value );
|
|
tmp_assign_source_3 = tmp_for_loop_1__iter_value;
|
|
{
|
|
PyObject *old = var_node;
|
|
var_node = tmp_assign_source_3;
|
|
Py_INCREF( var_node );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_delsubscr_target_1;
|
|
PyObject *tmp_delsubscr_subscript_1;
|
|
CHECK_OBJECT( var_node );
|
|
tmp_delsubscr_target_1 = var_node;
|
|
tmp_delsubscr_subscript_1 = const_slice_none_none_none;
|
|
tmp_result = DEL_SUBSCRIPT( tmp_delsubscr_target_1, tmp_delsubscr_subscript_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 83;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 82;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
goto try_end_1;
|
|
// 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;
|
|
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = 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 try_except_handler_2;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_source_name_2;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 84;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_assign_source_4 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__OrderedDict__root );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 84;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( var_root == NULL );
|
|
var_root = tmp_assign_source_4;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_list_element_1;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_ass_subscript_1;
|
|
CHECK_OBJECT( var_root );
|
|
tmp_list_element_1 = var_root;
|
|
tmp_ass_subvalue_1 = PyList_New( 3 );
|
|
Py_INCREF( tmp_list_element_1 );
|
|
PyList_SET_ITEM( tmp_ass_subvalue_1, 0, tmp_list_element_1 );
|
|
CHECK_OBJECT( var_root );
|
|
tmp_list_element_1 = var_root;
|
|
Py_INCREF( tmp_list_element_1 );
|
|
PyList_SET_ITEM( tmp_ass_subvalue_1, 1, tmp_list_element_1 );
|
|
tmp_list_element_1 = Py_None;
|
|
Py_INCREF( tmp_list_element_1 );
|
|
PyList_SET_ITEM( tmp_ass_subvalue_1, 2, tmp_list_element_1 );
|
|
CHECK_OBJECT( var_root );
|
|
tmp_ass_subscribed_1 = var_root;
|
|
tmp_ass_subscript_1 = const_slice_none_none_none;
|
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 );
|
|
Py_DECREF( tmp_ass_subvalue_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 85;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_called_instance_2;
|
|
PyObject *tmp_source_name_3;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 86;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_3 = par_self;
|
|
tmp_called_instance_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__OrderedDict__map );
|
|
if ( tmp_called_instance_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 86;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
frame_c6a9e8565fa7eb151f914174228091c9->m_frame.f_lineno = 86;
|
|
tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_clear );
|
|
Py_DECREF( tmp_called_instance_2 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 86;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
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_c6a9e8565fa7eb151f914174228091c9, exception_keeper_lineno_2 );
|
|
}
|
|
else if ( exception_keeper_lineno_2 != 0 )
|
|
{
|
|
exception_keeper_tb_2 = ADD_TRACEBACK( exception_keeper_tb_2, frame_c6a9e8565fa7eb151f914174228091c9, 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_1;
|
|
PyObject *tmp_operand_name_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 = 87;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
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 = 87;
|
|
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:;
|
|
{
|
|
tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
if (unlikely( tmp_result == false ))
|
|
{
|
|
exception_lineno = 81;
|
|
}
|
|
|
|
if (exception_tb && exception_tb->tb_frame == &frame_c6a9e8565fa7eb151f914174228091c9->m_frame) frame_c6a9e8565fa7eb151f914174228091c9->m_frame.f_lineno = exception_tb->tb_lineno;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
goto try_end_3;
|
|
// Exception handler code:
|
|
try_except_handler_4:;
|
|
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 frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_3:;
|
|
}
|
|
{
|
|
// Restore previous exception.
|
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
|
}
|
|
goto try_end_2;
|
|
// exception handler codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_6_clear );
|
|
return NULL;
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_args_element_name_1;
|
|
tmp_source_name_4 = (PyObject *)&PyDict_Type;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_clear );
|
|
assert( !(tmp_called_name_1 == NULL) );
|
|
if ( par_self == 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", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 89;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_self;
|
|
frame_c6a9e8565fa7eb151f914174228091c9->m_frame.f_lineno = 89;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 89;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c6a9e8565fa7eb151f914174228091c9 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c6a9e8565fa7eb151f914174228091c9 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_c6a9e8565fa7eb151f914174228091c9, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_c6a9e8565fa7eb151f914174228091c9->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_c6a9e8565fa7eb151f914174228091c9, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_c6a9e8565fa7eb151f914174228091c9,
|
|
type_description_1,
|
|
par_self,
|
|
var_node,
|
|
var_root
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_c6a9e8565fa7eb151f914174228091c9 == cache_frame_c6a9e8565fa7eb151f914174228091c9 )
|
|
{
|
|
Py_DECREF( frame_c6a9e8565fa7eb151f914174228091c9 );
|
|
}
|
|
cache_frame_c6a9e8565fa7eb151f914174228091c9 = NULL;
|
|
|
|
assertFrameObject( frame_c6a9e8565fa7eb151f914174228091c9 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
{
|
|
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( urllib3$packages$ordered_dict$$$function_6_clear );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_node );
|
|
var_node = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_root );
|
|
var_root = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
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( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_node );
|
|
var_node = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_root );
|
|
var_root = 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_6_clear );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_7_popitem( 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 *par_last = python_pars[ 1 ];
|
|
PyObject *var_root = NULL;
|
|
PyObject *var_link = NULL;
|
|
PyObject *var_link_prev = NULL;
|
|
PyObject *var_link_next = NULL;
|
|
PyObject *var_key = NULL;
|
|
PyObject *var_value = NULL;
|
|
struct Nuitka_FrameObject *frame_bee47b30ec592ee58c813e21fad3510a;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
int tmp_res;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
bool tmp_result;
|
|
PyObject *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_bee47b30ec592ee58c813e21fad3510a = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_bee47b30ec592ee58c813e21fad3510a, codeobj_bee47b30ec592ee58c813e21fad3510a, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_bee47b30ec592ee58c813e21fad3510a = cache_frame_bee47b30ec592ee58c813e21fad3510a;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_bee47b30ec592ee58c813e21fad3510a );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_bee47b30ec592ee58c813e21fad3510a ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_operand_name_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_operand_name_1 = par_self;
|
|
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 = 96;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
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:;
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
PyObject *tmp_make_exception_arg_1;
|
|
tmp_make_exception_arg_1 = const_str_digest_88dd2ccf2861ee9cebb70a2286bf87a2;
|
|
frame_bee47b30ec592ee58c813e21fad3510a->m_frame.f_lineno = 97;
|
|
{
|
|
PyObject *call_args[] = { tmp_make_exception_arg_1 };
|
|
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_KeyError, call_args );
|
|
}
|
|
|
|
assert( !(tmp_raise_type_1 == NULL) );
|
|
exception_type = tmp_raise_type_1;
|
|
exception_lineno = 97;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_source_name_1;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 98;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = par_self;
|
|
tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__OrderedDict__root );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 98;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_root == NULL );
|
|
var_root = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
int tmp_truth_name_1;
|
|
if ( par_last == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "last" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 99;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_truth_name_1 = CHECK_IF_TRUE( par_last );
|
|
if ( tmp_truth_name_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 99;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_2 = tmp_truth_name_1 == 1 ? 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_assign_source_2;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
CHECK_OBJECT( var_root );
|
|
tmp_subscribed_name_1 = var_root;
|
|
tmp_subscript_name_1 = const_int_0;
|
|
tmp_assign_source_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 100;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_link == NULL );
|
|
var_link = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_subscribed_name_2;
|
|
PyObject *tmp_subscript_name_2;
|
|
CHECK_OBJECT( var_link );
|
|
tmp_subscribed_name_2 = var_link;
|
|
tmp_subscript_name_2 = const_int_0;
|
|
tmp_assign_source_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 101;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_link_prev == NULL );
|
|
var_link_prev = tmp_assign_source_3;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_ass_subscript_1;
|
|
int tmp_ass_subscript_res_1;
|
|
if ( var_root == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "root" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 102;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subvalue_1 = var_root;
|
|
CHECK_OBJECT( var_link_prev );
|
|
tmp_ass_subscribed_1 = var_link_prev;
|
|
tmp_ass_subscript_1 = const_int_pos_1;
|
|
tmp_ass_subscript_res_1 = SET_SUBSCRIPT_CONST( tmp_ass_subscribed_1, tmp_ass_subscript_1, 1, tmp_ass_subvalue_1 );
|
|
if ( tmp_ass_subscript_res_1 == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 102;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_2;
|
|
PyObject *tmp_ass_subscribed_2;
|
|
PyObject *tmp_ass_subscript_2;
|
|
int tmp_ass_subscript_res_2;
|
|
if ( var_link_prev == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "link_prev" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 103;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subvalue_2 = var_link_prev;
|
|
if ( var_root == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "root" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 103;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_2 = var_root;
|
|
tmp_ass_subscript_2 = const_int_0;
|
|
tmp_ass_subscript_res_2 = SET_SUBSCRIPT_CONST( tmp_ass_subscribed_2, tmp_ass_subscript_2, 0, tmp_ass_subvalue_2 );
|
|
if ( tmp_ass_subscript_res_2 == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 103;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_subscribed_name_3;
|
|
PyObject *tmp_subscript_name_3;
|
|
CHECK_OBJECT( var_root );
|
|
tmp_subscribed_name_3 = var_root;
|
|
tmp_subscript_name_3 = const_int_pos_1;
|
|
tmp_assign_source_4 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 1 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 105;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_link == NULL );
|
|
var_link = tmp_assign_source_4;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
PyObject *tmp_subscribed_name_4;
|
|
PyObject *tmp_subscript_name_4;
|
|
CHECK_OBJECT( var_link );
|
|
tmp_subscribed_name_4 = var_link;
|
|
tmp_subscript_name_4 = const_int_pos_1;
|
|
tmp_assign_source_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_4, tmp_subscript_name_4, 1 );
|
|
if ( tmp_assign_source_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 106;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_link_next == NULL );
|
|
var_link_next = tmp_assign_source_5;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_3;
|
|
PyObject *tmp_ass_subscribed_3;
|
|
PyObject *tmp_ass_subscript_3;
|
|
int tmp_ass_subscript_res_3;
|
|
CHECK_OBJECT( var_link_next );
|
|
tmp_ass_subvalue_3 = var_link_next;
|
|
if ( var_root == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "root" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 107;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_3 = var_root;
|
|
tmp_ass_subscript_3 = const_int_pos_1;
|
|
tmp_ass_subscript_res_3 = SET_SUBSCRIPT_CONST( tmp_ass_subscribed_3, tmp_ass_subscript_3, 1, tmp_ass_subvalue_3 );
|
|
if ( tmp_ass_subscript_res_3 == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 107;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_4;
|
|
PyObject *tmp_ass_subscribed_4;
|
|
PyObject *tmp_ass_subscript_4;
|
|
int tmp_ass_subscript_res_4;
|
|
if ( var_root == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "root" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 108;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subvalue_4 = var_root;
|
|
if ( var_link_next == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "link_next" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 108;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_4 = var_link_next;
|
|
tmp_ass_subscript_4 = const_int_0;
|
|
tmp_ass_subscript_res_4 = SET_SUBSCRIPT_CONST( tmp_ass_subscribed_4, tmp_ass_subscript_4, 0, tmp_ass_subvalue_4 );
|
|
if ( tmp_ass_subscript_res_4 == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 108;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
PyObject *tmp_subscribed_name_5;
|
|
PyObject *tmp_subscript_name_5;
|
|
if ( var_link == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "link" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 109;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_5 = var_link;
|
|
tmp_subscript_name_5 = const_int_pos_2;
|
|
tmp_assign_source_6 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_5, tmp_subscript_name_5, 2 );
|
|
if ( tmp_assign_source_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 109;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_key == NULL );
|
|
var_key = tmp_assign_source_6;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_delsubscr_target_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_delsubscr_subscript_1;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 110;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_delsubscr_target_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__OrderedDict__map );
|
|
if ( tmp_delsubscr_target_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 110;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( var_key == NULL )
|
|
{
|
|
Py_DECREF( tmp_delsubscr_target_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 110;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_delsubscr_subscript_1 = var_key;
|
|
tmp_result = DEL_SUBSCRIPT( tmp_delsubscr_target_1, tmp_delsubscr_subscript_1 );
|
|
Py_DECREF( tmp_delsubscr_target_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 110;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_source_name_3 = (PyObject *)&PyDict_Type;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_pop );
|
|
assert( !(tmp_called_name_1 == NULL) );
|
|
if ( par_self == 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", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 111;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_self;
|
|
if ( var_key == 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", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 111;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = var_key;
|
|
frame_bee47b30ec592ee58c813e21fad3510a->m_frame.f_lineno = 111;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_assign_source_7 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
if ( tmp_assign_source_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 111;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_value == NULL );
|
|
var_value = tmp_assign_source_7;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_tuple_element_1;
|
|
if ( var_key == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 112;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = var_key;
|
|
tmp_return_value = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_1 );
|
|
CHECK_OBJECT( var_value );
|
|
tmp_tuple_element_1 = var_value;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_1 );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_bee47b30ec592ee58c813e21fad3510a );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_bee47b30ec592ee58c813e21fad3510a );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_bee47b30ec592ee58c813e21fad3510a );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_bee47b30ec592ee58c813e21fad3510a, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_bee47b30ec592ee58c813e21fad3510a->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_bee47b30ec592ee58c813e21fad3510a, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_bee47b30ec592ee58c813e21fad3510a,
|
|
type_description_1,
|
|
par_self,
|
|
par_last,
|
|
var_root,
|
|
var_link,
|
|
var_link_prev,
|
|
var_link_next,
|
|
var_key,
|
|
var_value
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_bee47b30ec592ee58c813e21fad3510a == cache_frame_bee47b30ec592ee58c813e21fad3510a )
|
|
{
|
|
Py_DECREF( frame_bee47b30ec592ee58c813e21fad3510a );
|
|
}
|
|
cache_frame_bee47b30ec592ee58c813e21fad3510a = NULL;
|
|
|
|
assertFrameObject( frame_bee47b30ec592ee58c813e21fad3510a );
|
|
|
|
// 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( urllib3$packages$ordered_dict$$$function_7_popitem );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_last );
|
|
par_last = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_root );
|
|
var_root = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_link );
|
|
var_link = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_link_prev );
|
|
var_link_prev = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_link_next );
|
|
var_link_next = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_key );
|
|
var_key = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_value );
|
|
var_value = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// 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;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_last );
|
|
par_last = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_root );
|
|
var_root = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_link );
|
|
var_link = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_link_prev );
|
|
var_link_prev = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_link_next );
|
|
var_link_next = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_key );
|
|
var_key = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_value );
|
|
var_value = 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_7_popitem );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_8_keys( 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 ];
|
|
struct Nuitka_FrameObject *frame_64ab7b624ede46d7b283cb7d162b5585;
|
|
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;
|
|
static struct Nuitka_FrameObject *cache_frame_64ab7b624ede46d7b283cb7d162b5585 = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_64ab7b624ede46d7b283cb7d162b5585, codeobj_64ab7b624ede46d7b283cb7d162b5585, module_urllib3$packages$ordered_dict, sizeof(void *) );
|
|
frame_64ab7b624ede46d7b283cb7d162b5585 = cache_frame_64ab7b624ede46d7b283cb7d162b5585;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_64ab7b624ede46d7b283cb7d162b5585 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_64ab7b624ede46d7b283cb7d162b5585 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_list_arg_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_list_arg_1 = par_self;
|
|
tmp_return_value = PySequence_List( tmp_list_arg_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 118;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_64ab7b624ede46d7b283cb7d162b5585 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_64ab7b624ede46d7b283cb7d162b5585 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_64ab7b624ede46d7b283cb7d162b5585 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_64ab7b624ede46d7b283cb7d162b5585, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_64ab7b624ede46d7b283cb7d162b5585->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_64ab7b624ede46d7b283cb7d162b5585, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_64ab7b624ede46d7b283cb7d162b5585,
|
|
type_description_1,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_64ab7b624ede46d7b283cb7d162b5585 == cache_frame_64ab7b624ede46d7b283cb7d162b5585 )
|
|
{
|
|
Py_DECREF( frame_64ab7b624ede46d7b283cb7d162b5585 );
|
|
}
|
|
cache_frame_64ab7b624ede46d7b283cb7d162b5585 = NULL;
|
|
|
|
assertFrameObject( frame_64ab7b624ede46d7b283cb7d162b5585 );
|
|
|
|
// 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( urllib3$packages$ordered_dict$$$function_8_keys );
|
|
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;
|
|
}
|
|
// 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 *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_8_keys );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_9_values( 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 *outline_0_var_key = NULL;
|
|
PyObject *tmp_listcomp_1__$0 = NULL;
|
|
PyObject *tmp_listcomp_1__contraction = NULL;
|
|
PyObject *tmp_listcomp_1__iter_value_0 = NULL;
|
|
struct Nuitka_FrameObject *frame_e0f0a0adc7659388592a68d5d7a59bcc;
|
|
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;
|
|
struct Nuitka_FrameObject *frame_c270493381a76103a0f976fa5a65de4b_2;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
|
|
int tmp_res;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
static struct Nuitka_FrameObject *cache_frame_c270493381a76103a0f976fa5a65de4b_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;
|
|
static struct Nuitka_FrameObject *cache_frame_e0f0a0adc7659388592a68d5d7a59bcc = NULL;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_e0f0a0adc7659388592a68d5d7a59bcc, codeobj_e0f0a0adc7659388592a68d5d7a59bcc, module_urllib3$packages$ordered_dict, sizeof(void *) );
|
|
frame_e0f0a0adc7659388592a68d5d7a59bcc = cache_frame_e0f0a0adc7659388592a68d5d7a59bcc;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_e0f0a0adc7659388592a68d5d7a59bcc );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_e0f0a0adc7659388592a68d5d7a59bcc ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_iter_arg_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_iter_arg_1 = par_self;
|
|
tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 122;
|
|
type_description_1 = "o";
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_listcomp_1__$0 == NULL );
|
|
tmp_listcomp_1__$0 = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
tmp_assign_source_2 = PyList_New( 0 );
|
|
assert( tmp_listcomp_1__contraction == NULL );
|
|
tmp_listcomp_1__contraction = tmp_assign_source_2;
|
|
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_c270493381a76103a0f976fa5a65de4b_2, codeobj_c270493381a76103a0f976fa5a65de4b, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *) );
|
|
frame_c270493381a76103a0f976fa5a65de4b_2 = cache_frame_c270493381a76103a0f976fa5a65de4b_2;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_c270493381a76103a0f976fa5a65de4b_2 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_c270493381a76103a0f976fa5a65de4b_2 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_3;
|
|
CHECK_OBJECT( tmp_listcomp_1__$0 );
|
|
tmp_next_source_1 = tmp_listcomp_1__$0;
|
|
tmp_assign_source_3 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_1;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
type_description_2 = "oo";
|
|
exception_lineno = 122;
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_listcomp_1__iter_value_0;
|
|
tmp_listcomp_1__iter_value_0 = tmp_assign_source_3;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
CHECK_OBJECT( tmp_listcomp_1__iter_value_0 );
|
|
tmp_assign_source_4 = tmp_listcomp_1__iter_value_0;
|
|
{
|
|
PyObject *old = outline_0_var_key;
|
|
outline_0_var_key = tmp_assign_source_4;
|
|
Py_INCREF( outline_0_var_key );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_append_list_1;
|
|
PyObject *tmp_append_value_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
CHECK_OBJECT( tmp_listcomp_1__contraction );
|
|
tmp_append_list_1 = tmp_listcomp_1__contraction;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 122;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = par_self;
|
|
CHECK_OBJECT( outline_0_var_key );
|
|
tmp_subscript_name_1 = outline_0_var_key;
|
|
tmp_append_value_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
if ( tmp_append_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 122;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( PyList_Check( tmp_append_list_1 ) );
|
|
tmp_res = PyList_Append( tmp_append_list_1, tmp_append_value_1 );
|
|
Py_DECREF( tmp_append_value_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 122;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 122;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( tmp_listcomp_1__contraction );
|
|
tmp_return_value = tmp_listcomp_1__contraction;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_3;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_9_values );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_3:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 );
|
|
Py_DECREF( tmp_listcomp_1__$0 );
|
|
tmp_listcomp_1__$0 = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction );
|
|
Py_DECREF( tmp_listcomp_1__contraction );
|
|
tmp_listcomp_1__contraction = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_listcomp_1__iter_value_0 );
|
|
tmp_listcomp_1__iter_value_0 = NULL;
|
|
|
|
}
|
|
{
|
|
goto frame_return_exit_2;
|
|
}
|
|
// 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;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 );
|
|
Py_DECREF( tmp_listcomp_1__$0 );
|
|
tmp_listcomp_1__$0 = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction );
|
|
Py_DECREF( tmp_listcomp_1__contraction );
|
|
tmp_listcomp_1__contraction = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_listcomp_1__iter_value_0 );
|
|
tmp_listcomp_1__iter_value_0 = 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_2;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c270493381a76103a0f976fa5a65de4b_2 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_2:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c270493381a76103a0f976fa5a65de4b_2 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_2;
|
|
|
|
frame_exception_exit_2:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c270493381a76103a0f976fa5a65de4b_2 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_c270493381a76103a0f976fa5a65de4b_2, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_c270493381a76103a0f976fa5a65de4b_2->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_c270493381a76103a0f976fa5a65de4b_2, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_c270493381a76103a0f976fa5a65de4b_2,
|
|
type_description_2,
|
|
outline_0_var_key,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_c270493381a76103a0f976fa5a65de4b_2 == cache_frame_c270493381a76103a0f976fa5a65de4b_2 )
|
|
{
|
|
Py_DECREF( frame_c270493381a76103a0f976fa5a65de4b_2 );
|
|
}
|
|
cache_frame_c270493381a76103a0f976fa5a65de4b_2 = NULL;
|
|
|
|
assertFrameObject( frame_c270493381a76103a0f976fa5a65de4b_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:;
|
|
type_description_1 = "o";
|
|
goto try_except_handler_2;
|
|
skip_nested_handling_1:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_9_values );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_2:;
|
|
{
|
|
Py_XDECREF( outline_0_var_key );
|
|
outline_0_var_key = NULL;
|
|
|
|
}
|
|
{
|
|
goto outline_result_1;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
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_XDECREF( outline_0_var_key );
|
|
outline_0_var_key = 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 outline_exception_1;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_9_values );
|
|
return NULL;
|
|
outline_exception_1:;
|
|
exception_lineno = 122;
|
|
goto frame_exception_exit_1;
|
|
outline_result_1:;
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_e0f0a0adc7659388592a68d5d7a59bcc );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_2;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_e0f0a0adc7659388592a68d5d7a59bcc );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_e0f0a0adc7659388592a68d5d7a59bcc );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_e0f0a0adc7659388592a68d5d7a59bcc, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_e0f0a0adc7659388592a68d5d7a59bcc->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_e0f0a0adc7659388592a68d5d7a59bcc, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_e0f0a0adc7659388592a68d5d7a59bcc,
|
|
type_description_1,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_e0f0a0adc7659388592a68d5d7a59bcc == cache_frame_e0f0a0adc7659388592a68d5d7a59bcc )
|
|
{
|
|
Py_DECREF( frame_e0f0a0adc7659388592a68d5d7a59bcc );
|
|
}
|
|
cache_frame_e0f0a0adc7659388592a68d5d7a59bcc = NULL;
|
|
|
|
assertFrameObject( frame_e0f0a0adc7659388592a68d5d7a59bcc );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_2:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_9_values );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
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;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
// 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_9_values );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_10_items( 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 *outline_0_var_key = NULL;
|
|
PyObject *tmp_listcomp_1__$0 = NULL;
|
|
PyObject *tmp_listcomp_1__contraction = NULL;
|
|
PyObject *tmp_listcomp_1__iter_value_0 = NULL;
|
|
struct Nuitka_FrameObject *frame_5b5322524513e77e9a70e8e364cdd569;
|
|
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;
|
|
struct Nuitka_FrameObject *frame_af62f8abb7756206b24090ca7443d38f_2;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
|
|
int tmp_res;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
static struct Nuitka_FrameObject *cache_frame_af62f8abb7756206b24090ca7443d38f_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;
|
|
static struct Nuitka_FrameObject *cache_frame_5b5322524513e77e9a70e8e364cdd569 = NULL;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_5b5322524513e77e9a70e8e364cdd569, codeobj_5b5322524513e77e9a70e8e364cdd569, module_urllib3$packages$ordered_dict, sizeof(void *) );
|
|
frame_5b5322524513e77e9a70e8e364cdd569 = cache_frame_5b5322524513e77e9a70e8e364cdd569;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_5b5322524513e77e9a70e8e364cdd569 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_5b5322524513e77e9a70e8e364cdd569 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_iter_arg_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_iter_arg_1 = par_self;
|
|
tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 126;
|
|
type_description_1 = "o";
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_listcomp_1__$0 == NULL );
|
|
tmp_listcomp_1__$0 = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
tmp_assign_source_2 = PyList_New( 0 );
|
|
assert( tmp_listcomp_1__contraction == NULL );
|
|
tmp_listcomp_1__contraction = tmp_assign_source_2;
|
|
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_af62f8abb7756206b24090ca7443d38f_2, codeobj_af62f8abb7756206b24090ca7443d38f, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *) );
|
|
frame_af62f8abb7756206b24090ca7443d38f_2 = cache_frame_af62f8abb7756206b24090ca7443d38f_2;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_af62f8abb7756206b24090ca7443d38f_2 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_af62f8abb7756206b24090ca7443d38f_2 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_3;
|
|
CHECK_OBJECT( tmp_listcomp_1__$0 );
|
|
tmp_next_source_1 = tmp_listcomp_1__$0;
|
|
tmp_assign_source_3 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_1;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
type_description_2 = "oo";
|
|
exception_lineno = 126;
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_listcomp_1__iter_value_0;
|
|
tmp_listcomp_1__iter_value_0 = tmp_assign_source_3;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
CHECK_OBJECT( tmp_listcomp_1__iter_value_0 );
|
|
tmp_assign_source_4 = tmp_listcomp_1__iter_value_0;
|
|
{
|
|
PyObject *old = outline_0_var_key;
|
|
outline_0_var_key = tmp_assign_source_4;
|
|
Py_INCREF( outline_0_var_key );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_append_list_1;
|
|
PyObject *tmp_append_value_1;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
CHECK_OBJECT( tmp_listcomp_1__contraction );
|
|
tmp_append_list_1 = tmp_listcomp_1__contraction;
|
|
CHECK_OBJECT( outline_0_var_key );
|
|
tmp_tuple_element_1 = outline_0_var_key;
|
|
tmp_append_value_1 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_append_value_1, 0, tmp_tuple_element_1 );
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_append_value_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 126;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = par_self;
|
|
CHECK_OBJECT( outline_0_var_key );
|
|
tmp_subscript_name_1 = outline_0_var_key;
|
|
tmp_tuple_element_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_append_value_1 );
|
|
|
|
exception_lineno = 126;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_append_value_1, 1, tmp_tuple_element_1 );
|
|
assert( PyList_Check( tmp_append_list_1 ) );
|
|
tmp_res = PyList_Append( tmp_append_list_1, tmp_append_value_1 );
|
|
Py_DECREF( tmp_append_value_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 126;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 126;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( tmp_listcomp_1__contraction );
|
|
tmp_return_value = tmp_listcomp_1__contraction;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_3;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_10_items );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_3:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 );
|
|
Py_DECREF( tmp_listcomp_1__$0 );
|
|
tmp_listcomp_1__$0 = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction );
|
|
Py_DECREF( tmp_listcomp_1__contraction );
|
|
tmp_listcomp_1__contraction = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_listcomp_1__iter_value_0 );
|
|
tmp_listcomp_1__iter_value_0 = NULL;
|
|
|
|
}
|
|
{
|
|
goto frame_return_exit_2;
|
|
}
|
|
// 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;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 );
|
|
Py_DECREF( tmp_listcomp_1__$0 );
|
|
tmp_listcomp_1__$0 = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction );
|
|
Py_DECREF( tmp_listcomp_1__contraction );
|
|
tmp_listcomp_1__contraction = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_listcomp_1__iter_value_0 );
|
|
tmp_listcomp_1__iter_value_0 = 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_2;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_af62f8abb7756206b24090ca7443d38f_2 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_2:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_af62f8abb7756206b24090ca7443d38f_2 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_2;
|
|
|
|
frame_exception_exit_2:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_af62f8abb7756206b24090ca7443d38f_2 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_af62f8abb7756206b24090ca7443d38f_2, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_af62f8abb7756206b24090ca7443d38f_2->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_af62f8abb7756206b24090ca7443d38f_2, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_af62f8abb7756206b24090ca7443d38f_2,
|
|
type_description_2,
|
|
outline_0_var_key,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_af62f8abb7756206b24090ca7443d38f_2 == cache_frame_af62f8abb7756206b24090ca7443d38f_2 )
|
|
{
|
|
Py_DECREF( frame_af62f8abb7756206b24090ca7443d38f_2 );
|
|
}
|
|
cache_frame_af62f8abb7756206b24090ca7443d38f_2 = NULL;
|
|
|
|
assertFrameObject( frame_af62f8abb7756206b24090ca7443d38f_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:;
|
|
type_description_1 = "o";
|
|
goto try_except_handler_2;
|
|
skip_nested_handling_1:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_10_items );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_2:;
|
|
{
|
|
Py_XDECREF( outline_0_var_key );
|
|
outline_0_var_key = NULL;
|
|
|
|
}
|
|
{
|
|
goto outline_result_1;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
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_XDECREF( outline_0_var_key );
|
|
outline_0_var_key = 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 outline_exception_1;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_10_items );
|
|
return NULL;
|
|
outline_exception_1:;
|
|
exception_lineno = 126;
|
|
goto frame_exception_exit_1;
|
|
outline_result_1:;
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5b5322524513e77e9a70e8e364cdd569 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_2;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5b5322524513e77e9a70e8e364cdd569 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5b5322524513e77e9a70e8e364cdd569 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_5b5322524513e77e9a70e8e364cdd569, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_5b5322524513e77e9a70e8e364cdd569->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_5b5322524513e77e9a70e8e364cdd569, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_5b5322524513e77e9a70e8e364cdd569,
|
|
type_description_1,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_5b5322524513e77e9a70e8e364cdd569 == cache_frame_5b5322524513e77e9a70e8e364cdd569 )
|
|
{
|
|
Py_DECREF( frame_5b5322524513e77e9a70e8e364cdd569 );
|
|
}
|
|
cache_frame_5b5322524513e77e9a70e8e364cdd569 = NULL;
|
|
|
|
assertFrameObject( frame_5b5322524513e77e9a70e8e364cdd569 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_2:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_10_items );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
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;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
// 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_10_items );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_11_iterkeys( 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 ];
|
|
struct Nuitka_FrameObject *frame_5f11a06b4e5888cbe0215ee8c54d1ccf;
|
|
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;
|
|
static struct Nuitka_FrameObject *cache_frame_5f11a06b4e5888cbe0215ee8c54d1ccf = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_5f11a06b4e5888cbe0215ee8c54d1ccf, codeobj_5f11a06b4e5888cbe0215ee8c54d1ccf, module_urllib3$packages$ordered_dict, sizeof(void *) );
|
|
frame_5f11a06b4e5888cbe0215ee8c54d1ccf = cache_frame_5f11a06b4e5888cbe0215ee8c54d1ccf;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_5f11a06b4e5888cbe0215ee8c54d1ccf );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_5f11a06b4e5888cbe0215ee8c54d1ccf ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_iter_arg_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_iter_arg_1 = par_self;
|
|
tmp_return_value = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 130;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5f11a06b4e5888cbe0215ee8c54d1ccf );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5f11a06b4e5888cbe0215ee8c54d1ccf );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5f11a06b4e5888cbe0215ee8c54d1ccf );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_5f11a06b4e5888cbe0215ee8c54d1ccf, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_5f11a06b4e5888cbe0215ee8c54d1ccf->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_5f11a06b4e5888cbe0215ee8c54d1ccf, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_5f11a06b4e5888cbe0215ee8c54d1ccf,
|
|
type_description_1,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_5f11a06b4e5888cbe0215ee8c54d1ccf == cache_frame_5f11a06b4e5888cbe0215ee8c54d1ccf )
|
|
{
|
|
Py_DECREF( frame_5f11a06b4e5888cbe0215ee8c54d1ccf );
|
|
}
|
|
cache_frame_5f11a06b4e5888cbe0215ee8c54d1ccf = NULL;
|
|
|
|
assertFrameObject( frame_5f11a06b4e5888cbe0215ee8c54d1ccf );
|
|
|
|
// 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( urllib3$packages$ordered_dict$$$function_11_iterkeys );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// 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;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_11_iterkeys );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_12_itervalues( 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.
|
|
struct Nuitka_CellObject *par_self = PyCell_NEW1( python_pars[ 0 ] );
|
|
PyObject *tmp_return_value = NULL;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_return_value = urllib3$packages$ordered_dict$$$function_12_itervalues$$$genobj_1_itervalues_maker();
|
|
|
|
((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_self;
|
|
Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] );
|
|
|
|
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_12_itervalues );
|
|
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( urllib3$packages$ordered_dict$$$function_12_itervalues );
|
|
return NULL;
|
|
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct urllib3$packages$ordered_dict$$$function_12_itervalues$$$genobj_1_itervalues_locals {
|
|
PyObject *var_k;
|
|
PyObject *tmp_for_loop_1__for_iterator;
|
|
PyObject *tmp_for_loop_1__iter_value;
|
|
char const *type_description_1;
|
|
PyObject *exception_type;
|
|
PyObject *exception_value;
|
|
PyTracebackObject *exception_tb;
|
|
int exception_lineno;
|
|
char yield_tmps[1024];
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
int exception_keeper_lineno_1;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
int exception_keeper_lineno_2;
|
|
};
|
|
|
|
static PyObject *urllib3$packages$ordered_dict$$$function_12_itervalues$$$genobj_1_itervalues_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value )
|
|
{
|
|
CHECK_OBJECT( (PyObject *)generator );
|
|
assert( Nuitka_Generator_Check( (PyObject *)generator ) );
|
|
|
|
// Heap access if used.
|
|
struct urllib3$packages$ordered_dict$$$function_12_itervalues$$$genobj_1_itervalues_locals *generator_heap = (struct urllib3$packages$ordered_dict$$$function_12_itervalues$$$genobj_1_itervalues_locals *)generator->m_heap_storage;
|
|
|
|
// Dispatch to yield based on return label index:
|
|
switch(generator->m_yield_return_index) {
|
|
case 1: goto yield_return_1;
|
|
}
|
|
|
|
// Local variable initialization
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
static struct Nuitka_FrameObject *cache_m_frame = NULL;
|
|
generator_heap->var_k = NULL;
|
|
generator_heap->tmp_for_loop_1__for_iterator = NULL;
|
|
generator_heap->tmp_for_loop_1__iter_value = NULL;
|
|
generator_heap->type_description_1 = NULL;
|
|
generator_heap->exception_type = NULL;
|
|
generator_heap->exception_value = NULL;
|
|
generator_heap->exception_tb = NULL;
|
|
generator_heap->exception_lineno = 0;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_m_frame, codeobj_0dda58c249de46050c9ac1ee0dc0436a, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *) );
|
|
generator->m_frame = cache_m_frame;
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
Py_INCREF( generator->m_frame );
|
|
assert( Py_REFCNT( generator->m_frame ) == 2 ); // Frame stack
|
|
|
|
#if PYTHON_VERSION >= 340
|
|
generator->m_frame->m_frame.f_gen = (PyObject *)generator;
|
|
#endif
|
|
|
|
Py_CLEAR( generator->m_frame->m_frame.f_back );
|
|
|
|
generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame;
|
|
Py_INCREF( generator->m_frame->m_frame.f_back );
|
|
|
|
PyThreadState_GET()->frame = &generator->m_frame->m_frame;
|
|
Py_INCREF( generator->m_frame );
|
|
|
|
Nuitka_Frame_MarkAsExecuting( generator->m_frame );
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
// Accept currently existing exception as the one to publish again when we
|
|
// yield or yield from.
|
|
{
|
|
PyThreadState *thread_state = PyThreadState_GET();
|
|
|
|
#if PYTHON_VERSION < 370
|
|
generator->m_frame->m_frame.f_exc_type = EXC_TYPE( thread_state );
|
|
if ( generator->m_frame->m_frame.f_exc_type == Py_None ) generator->m_frame->m_frame.f_exc_type = NULL;
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_type );
|
|
generator->m_frame->m_frame.f_exc_value = EXC_VALUE( thread_state );
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_value );
|
|
generator->m_frame->m_frame.f_exc_traceback = EXC_TRACEBACK( thread_state );
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback );
|
|
#else
|
|
generator->m_exc_state.exc_type = EXC_TYPE( thread_state );
|
|
if ( generator->m_exc_state.exc_type == Py_None ) generator->m_exc_state.exc_type = NULL;
|
|
Py_XINCREF( generator->m_exc_state.exc_type );
|
|
generator->m_exc_state.exc_value = EXC_VALUE( thread_state );
|
|
Py_XINCREF( generator->m_exc_state.exc_value );
|
|
generator->m_exc_state.exc_traceback = EXC_TRACEBACK( thread_state );
|
|
Py_XINCREF( generator->m_exc_state.exc_traceback );
|
|
#endif
|
|
}
|
|
|
|
#endif
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_iter_arg_1;
|
|
if ( PyCell_GET( generator->m_closure[0] ) == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_NameError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 134;
|
|
generator_heap->type_description_1 = "co";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_iter_arg_1 = PyCell_GET( generator->m_closure[0] );
|
|
tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 134;
|
|
generator_heap->type_description_1 = "co";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( generator_heap->tmp_for_loop_1__for_iterator == NULL );
|
|
generator_heap->tmp_for_loop_1__for_iterator = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_2;
|
|
CHECK_OBJECT( generator_heap->tmp_for_loop_1__for_iterator );
|
|
tmp_next_source_1 = generator_heap->tmp_for_loop_1__for_iterator;
|
|
tmp_assign_source_2 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_1;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
generator_heap->type_description_1 = "co";
|
|
generator_heap->exception_lineno = 134;
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = generator_heap->tmp_for_loop_1__iter_value;
|
|
generator_heap->tmp_for_loop_1__iter_value = tmp_assign_source_2;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
CHECK_OBJECT( generator_heap->tmp_for_loop_1__iter_value );
|
|
tmp_assign_source_3 = generator_heap->tmp_for_loop_1__iter_value;
|
|
{
|
|
PyObject *old = generator_heap->var_k;
|
|
generator_heap->var_k = tmp_assign_source_3;
|
|
Py_INCREF( generator_heap->var_k );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_expression_name_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
if ( PyCell_GET( generator->m_closure[0] ) == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_NameError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 135;
|
|
generator_heap->type_description_1 = "co";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = PyCell_GET( generator->m_closure[0] );
|
|
CHECK_OBJECT( generator_heap->var_k );
|
|
tmp_subscript_name_1 = generator_heap->var_k;
|
|
tmp_expression_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
if ( tmp_expression_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 135;
|
|
generator_heap->type_description_1 = "co";
|
|
goto try_except_handler_2;
|
|
}
|
|
Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_subscribed_name_1, sizeof(PyObject *), &tmp_subscript_name_1, sizeof(PyObject *), NULL );
|
|
generator->m_yield_return_index = 1;
|
|
return tmp_expression_name_1;
|
|
yield_return_1:
|
|
Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_subscribed_name_1, sizeof(PyObject *), &tmp_subscript_name_1, sizeof(PyObject *), NULL );
|
|
if ( yield_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 135;
|
|
generator_heap->type_description_1 = "co";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_unused = yield_return_value;
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 134;
|
|
generator_heap->type_description_1 = "co";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
generator_heap->exception_keeper_type_1 = generator_heap->exception_type;
|
|
generator_heap->exception_keeper_value_1 = generator_heap->exception_value;
|
|
generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb;
|
|
generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno;
|
|
generator_heap->exception_type = NULL;
|
|
generator_heap->exception_value = NULL;
|
|
generator_heap->exception_tb = NULL;
|
|
generator_heap->exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( generator_heap->tmp_for_loop_1__iter_value );
|
|
generator_heap->tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)generator_heap->tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( generator_heap->tmp_for_loop_1__for_iterator );
|
|
generator_heap->tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
generator_heap->exception_type = generator_heap->exception_keeper_type_1;
|
|
generator_heap->exception_value = generator_heap->exception_keeper_value_1;
|
|
generator_heap->exception_tb = generator_heap->exception_keeper_tb_1;
|
|
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
|
|
Nuitka_Frame_MarkAsNotExecuting( generator->m_frame );
|
|
|
|
#if PYTHON_VERSION >= 370
|
|
Py_CLEAR( generator->m_exc_state.exc_type );
|
|
Py_CLEAR( generator->m_exc_state.exc_value );
|
|
Py_CLEAR( generator->m_exc_state.exc_traceback );
|
|
#elif PYTHON_VERSION >= 300
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_type );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_value );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback );
|
|
#endif
|
|
|
|
// Allow re-use of the frame again.
|
|
Py_DECREF( generator->m_frame );
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
// If it's not an exit exception, consider and create a traceback for it.
|
|
if ( !EXCEPTION_MATCH_GENERATOR( generator_heap->exception_type ) )
|
|
{
|
|
if ( generator_heap->exception_tb == NULL )
|
|
{
|
|
generator_heap->exception_tb = MAKE_TRACEBACK( generator->m_frame, generator_heap->exception_lineno );
|
|
}
|
|
else if ( generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame )
|
|
{
|
|
generator_heap->exception_tb = ADD_TRACEBACK( generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno );
|
|
}
|
|
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)generator->m_frame,
|
|
generator_heap->type_description_1,
|
|
generator->m_closure[0],
|
|
generator_heap->var_k
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( generator->m_frame == cache_m_frame )
|
|
{
|
|
Py_DECREF( generator->m_frame );
|
|
}
|
|
cache_m_frame = NULL;
|
|
|
|
assertFrameObject( generator->m_frame );
|
|
}
|
|
|
|
#if PYTHON_VERSION >= 370
|
|
Py_CLEAR( generator->m_exc_state.exc_type );
|
|
Py_CLEAR( generator->m_exc_state.exc_value );
|
|
Py_CLEAR( generator->m_exc_state.exc_traceback );
|
|
#elif PYTHON_VERSION >= 300
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_type );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_value );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback );
|
|
#endif
|
|
|
|
Py_DECREF( generator->m_frame );
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
generator_heap->exception_keeper_type_2 = generator_heap->exception_type;
|
|
generator_heap->exception_keeper_value_2 = generator_heap->exception_value;
|
|
generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb;
|
|
generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno;
|
|
generator_heap->exception_type = NULL;
|
|
generator_heap->exception_value = NULL;
|
|
generator_heap->exception_tb = NULL;
|
|
generator_heap->exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( generator_heap->var_k );
|
|
generator_heap->var_k = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
generator_heap->exception_type = generator_heap->exception_keeper_type_2;
|
|
generator_heap->exception_value = generator_heap->exception_keeper_value_2;
|
|
generator_heap->exception_tb = generator_heap->exception_keeper_tb_2;
|
|
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->tmp_for_loop_1__iter_value );
|
|
generator_heap->tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)generator_heap->tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( generator_heap->tmp_for_loop_1__for_iterator );
|
|
generator_heap->tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->var_k );
|
|
generator_heap->var_k = NULL;
|
|
|
|
}
|
|
|
|
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( generator_heap->exception_type );
|
|
RESTORE_ERROR_OCCURRED( generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb );
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
static PyObject *urllib3$packages$ordered_dict$$$function_12_itervalues$$$genobj_1_itervalues_maker( void )
|
|
{
|
|
return Nuitka_Generator_New(
|
|
urllib3$packages$ordered_dict$$$function_12_itervalues$$$genobj_1_itervalues_context,
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_plain_itervalues,
|
|
#if PYTHON_VERSION >= 350
|
|
const_str_digest_82e84a6f57600471c847d9787f10b5d9,
|
|
#endif
|
|
codeobj_0dda58c249de46050c9ac1ee0dc0436a,
|
|
1,
|
|
sizeof(struct urllib3$packages$ordered_dict$$$function_12_itervalues$$$genobj_1_itervalues_locals)
|
|
);
|
|
}
|
|
|
|
|
|
static PyObject *impl_urllib3$packages$ordered_dict$$$function_13_iteritems( 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.
|
|
struct Nuitka_CellObject *par_self = PyCell_NEW1( python_pars[ 0 ] );
|
|
PyObject *tmp_return_value = NULL;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_return_value = urllib3$packages$ordered_dict$$$function_13_iteritems$$$genobj_1_iteritems_maker();
|
|
|
|
((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_self;
|
|
Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] );
|
|
|
|
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_13_iteritems );
|
|
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( urllib3$packages$ordered_dict$$$function_13_iteritems );
|
|
return NULL;
|
|
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct urllib3$packages$ordered_dict$$$function_13_iteritems$$$genobj_1_iteritems_locals {
|
|
PyObject *var_k;
|
|
PyObject *tmp_for_loop_1__for_iterator;
|
|
PyObject *tmp_for_loop_1__iter_value;
|
|
char const *type_description_1;
|
|
PyObject *exception_type;
|
|
PyObject *exception_value;
|
|
PyTracebackObject *exception_tb;
|
|
int exception_lineno;
|
|
char yield_tmps[1024];
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
int exception_keeper_lineno_1;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
int exception_keeper_lineno_2;
|
|
};
|
|
|
|
static PyObject *urllib3$packages$ordered_dict$$$function_13_iteritems$$$genobj_1_iteritems_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value )
|
|
{
|
|
CHECK_OBJECT( (PyObject *)generator );
|
|
assert( Nuitka_Generator_Check( (PyObject *)generator ) );
|
|
|
|
// Heap access if used.
|
|
struct urllib3$packages$ordered_dict$$$function_13_iteritems$$$genobj_1_iteritems_locals *generator_heap = (struct urllib3$packages$ordered_dict$$$function_13_iteritems$$$genobj_1_iteritems_locals *)generator->m_heap_storage;
|
|
|
|
// Dispatch to yield based on return label index:
|
|
switch(generator->m_yield_return_index) {
|
|
case 1: goto yield_return_1;
|
|
}
|
|
|
|
// Local variable initialization
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
static struct Nuitka_FrameObject *cache_m_frame = NULL;
|
|
generator_heap->var_k = NULL;
|
|
generator_heap->tmp_for_loop_1__for_iterator = NULL;
|
|
generator_heap->tmp_for_loop_1__iter_value = NULL;
|
|
generator_heap->type_description_1 = NULL;
|
|
generator_heap->exception_type = NULL;
|
|
generator_heap->exception_value = NULL;
|
|
generator_heap->exception_tb = NULL;
|
|
generator_heap->exception_lineno = 0;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_m_frame, codeobj_b1c3a43a30f983109dc8743b4f23ba2a, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *) );
|
|
generator->m_frame = cache_m_frame;
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
Py_INCREF( generator->m_frame );
|
|
assert( Py_REFCNT( generator->m_frame ) == 2 ); // Frame stack
|
|
|
|
#if PYTHON_VERSION >= 340
|
|
generator->m_frame->m_frame.f_gen = (PyObject *)generator;
|
|
#endif
|
|
|
|
Py_CLEAR( generator->m_frame->m_frame.f_back );
|
|
|
|
generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame;
|
|
Py_INCREF( generator->m_frame->m_frame.f_back );
|
|
|
|
PyThreadState_GET()->frame = &generator->m_frame->m_frame;
|
|
Py_INCREF( generator->m_frame );
|
|
|
|
Nuitka_Frame_MarkAsExecuting( generator->m_frame );
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
// Accept currently existing exception as the one to publish again when we
|
|
// yield or yield from.
|
|
{
|
|
PyThreadState *thread_state = PyThreadState_GET();
|
|
|
|
#if PYTHON_VERSION < 370
|
|
generator->m_frame->m_frame.f_exc_type = EXC_TYPE( thread_state );
|
|
if ( generator->m_frame->m_frame.f_exc_type == Py_None ) generator->m_frame->m_frame.f_exc_type = NULL;
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_type );
|
|
generator->m_frame->m_frame.f_exc_value = EXC_VALUE( thread_state );
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_value );
|
|
generator->m_frame->m_frame.f_exc_traceback = EXC_TRACEBACK( thread_state );
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback );
|
|
#else
|
|
generator->m_exc_state.exc_type = EXC_TYPE( thread_state );
|
|
if ( generator->m_exc_state.exc_type == Py_None ) generator->m_exc_state.exc_type = NULL;
|
|
Py_XINCREF( generator->m_exc_state.exc_type );
|
|
generator->m_exc_state.exc_value = EXC_VALUE( thread_state );
|
|
Py_XINCREF( generator->m_exc_state.exc_value );
|
|
generator->m_exc_state.exc_traceback = EXC_TRACEBACK( thread_state );
|
|
Py_XINCREF( generator->m_exc_state.exc_traceback );
|
|
#endif
|
|
}
|
|
|
|
#endif
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_iter_arg_1;
|
|
if ( PyCell_GET( generator->m_closure[0] ) == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_NameError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 139;
|
|
generator_heap->type_description_1 = "co";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_iter_arg_1 = PyCell_GET( generator->m_closure[0] );
|
|
tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 139;
|
|
generator_heap->type_description_1 = "co";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( generator_heap->tmp_for_loop_1__for_iterator == NULL );
|
|
generator_heap->tmp_for_loop_1__for_iterator = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_2;
|
|
CHECK_OBJECT( generator_heap->tmp_for_loop_1__for_iterator );
|
|
tmp_next_source_1 = generator_heap->tmp_for_loop_1__for_iterator;
|
|
tmp_assign_source_2 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_1;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
generator_heap->type_description_1 = "co";
|
|
generator_heap->exception_lineno = 139;
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = generator_heap->tmp_for_loop_1__iter_value;
|
|
generator_heap->tmp_for_loop_1__iter_value = tmp_assign_source_2;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
CHECK_OBJECT( generator_heap->tmp_for_loop_1__iter_value );
|
|
tmp_assign_source_3 = generator_heap->tmp_for_loop_1__iter_value;
|
|
{
|
|
PyObject *old = generator_heap->var_k;
|
|
generator_heap->var_k = tmp_assign_source_3;
|
|
Py_INCREF( generator_heap->var_k );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_expression_name_1;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
CHECK_OBJECT( generator_heap->var_k );
|
|
tmp_tuple_element_1 = generator_heap->var_k;
|
|
tmp_expression_name_1 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_expression_name_1, 0, tmp_tuple_element_1 );
|
|
if ( PyCell_GET( generator->m_closure[0] ) == NULL )
|
|
{
|
|
Py_DECREF( tmp_expression_name_1 );
|
|
generator_heap->exception_type = PyExc_NameError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 140;
|
|
generator_heap->type_description_1 = "co";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = PyCell_GET( generator->m_closure[0] );
|
|
CHECK_OBJECT( generator_heap->var_k );
|
|
tmp_subscript_name_1 = generator_heap->var_k;
|
|
tmp_tuple_element_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
Py_DECREF( tmp_expression_name_1 );
|
|
|
|
generator_heap->exception_lineno = 140;
|
|
generator_heap->type_description_1 = "co";
|
|
goto try_except_handler_2;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_expression_name_1, 1, tmp_tuple_element_1 );
|
|
Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_tuple_element_1, sizeof(PyObject *), &tmp_subscribed_name_1, sizeof(PyObject *), &tmp_subscript_name_1, sizeof(PyObject *), NULL );
|
|
generator->m_yield_return_index = 1;
|
|
return tmp_expression_name_1;
|
|
yield_return_1:
|
|
Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_tuple_element_1, sizeof(PyObject *), &tmp_subscribed_name_1, sizeof(PyObject *), &tmp_subscript_name_1, sizeof(PyObject *), NULL );
|
|
if ( yield_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 140;
|
|
generator_heap->type_description_1 = "co";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_unused = yield_return_value;
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 139;
|
|
generator_heap->type_description_1 = "co";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
generator_heap->exception_keeper_type_1 = generator_heap->exception_type;
|
|
generator_heap->exception_keeper_value_1 = generator_heap->exception_value;
|
|
generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb;
|
|
generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno;
|
|
generator_heap->exception_type = NULL;
|
|
generator_heap->exception_value = NULL;
|
|
generator_heap->exception_tb = NULL;
|
|
generator_heap->exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( generator_heap->tmp_for_loop_1__iter_value );
|
|
generator_heap->tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)generator_heap->tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( generator_heap->tmp_for_loop_1__for_iterator );
|
|
generator_heap->tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
generator_heap->exception_type = generator_heap->exception_keeper_type_1;
|
|
generator_heap->exception_value = generator_heap->exception_keeper_value_1;
|
|
generator_heap->exception_tb = generator_heap->exception_keeper_tb_1;
|
|
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
|
|
Nuitka_Frame_MarkAsNotExecuting( generator->m_frame );
|
|
|
|
#if PYTHON_VERSION >= 370
|
|
Py_CLEAR( generator->m_exc_state.exc_type );
|
|
Py_CLEAR( generator->m_exc_state.exc_value );
|
|
Py_CLEAR( generator->m_exc_state.exc_traceback );
|
|
#elif PYTHON_VERSION >= 300
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_type );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_value );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback );
|
|
#endif
|
|
|
|
// Allow re-use of the frame again.
|
|
Py_DECREF( generator->m_frame );
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
// If it's not an exit exception, consider and create a traceback for it.
|
|
if ( !EXCEPTION_MATCH_GENERATOR( generator_heap->exception_type ) )
|
|
{
|
|
if ( generator_heap->exception_tb == NULL )
|
|
{
|
|
generator_heap->exception_tb = MAKE_TRACEBACK( generator->m_frame, generator_heap->exception_lineno );
|
|
}
|
|
else if ( generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame )
|
|
{
|
|
generator_heap->exception_tb = ADD_TRACEBACK( generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno );
|
|
}
|
|
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)generator->m_frame,
|
|
generator_heap->type_description_1,
|
|
generator->m_closure[0],
|
|
generator_heap->var_k
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( generator->m_frame == cache_m_frame )
|
|
{
|
|
Py_DECREF( generator->m_frame );
|
|
}
|
|
cache_m_frame = NULL;
|
|
|
|
assertFrameObject( generator->m_frame );
|
|
}
|
|
|
|
#if PYTHON_VERSION >= 370
|
|
Py_CLEAR( generator->m_exc_state.exc_type );
|
|
Py_CLEAR( generator->m_exc_state.exc_value );
|
|
Py_CLEAR( generator->m_exc_state.exc_traceback );
|
|
#elif PYTHON_VERSION >= 300
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_type );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_value );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback );
|
|
#endif
|
|
|
|
Py_DECREF( generator->m_frame );
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
generator_heap->exception_keeper_type_2 = generator_heap->exception_type;
|
|
generator_heap->exception_keeper_value_2 = generator_heap->exception_value;
|
|
generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb;
|
|
generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno;
|
|
generator_heap->exception_type = NULL;
|
|
generator_heap->exception_value = NULL;
|
|
generator_heap->exception_tb = NULL;
|
|
generator_heap->exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( generator_heap->var_k );
|
|
generator_heap->var_k = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
generator_heap->exception_type = generator_heap->exception_keeper_type_2;
|
|
generator_heap->exception_value = generator_heap->exception_keeper_value_2;
|
|
generator_heap->exception_tb = generator_heap->exception_keeper_tb_2;
|
|
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->tmp_for_loop_1__iter_value );
|
|
generator_heap->tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)generator_heap->tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( generator_heap->tmp_for_loop_1__for_iterator );
|
|
generator_heap->tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->var_k );
|
|
generator_heap->var_k = NULL;
|
|
|
|
}
|
|
|
|
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( generator_heap->exception_type );
|
|
RESTORE_ERROR_OCCURRED( generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb );
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
static PyObject *urllib3$packages$ordered_dict$$$function_13_iteritems$$$genobj_1_iteritems_maker( void )
|
|
{
|
|
return Nuitka_Generator_New(
|
|
urllib3$packages$ordered_dict$$$function_13_iteritems$$$genobj_1_iteritems_context,
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_plain_iteritems,
|
|
#if PYTHON_VERSION >= 350
|
|
const_str_digest_1abc2e9d1e3e62fd652a2689a6f7f7f1,
|
|
#endif
|
|
codeobj_b1c3a43a30f983109dc8743b4f23ba2a,
|
|
1,
|
|
sizeof(struct urllib3$packages$ordered_dict$$$function_13_iteritems$$$genobj_1_iteritems_locals)
|
|
);
|
|
}
|
|
|
|
|
|
static PyObject *impl_urllib3$packages$ordered_dict$$$function_14_update( 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_args = python_pars[ 0 ];
|
|
PyObject *par_kwds = python_pars[ 1 ];
|
|
PyObject *var_self = NULL;
|
|
PyObject *var_other = NULL;
|
|
PyObject *var_key = NULL;
|
|
PyObject *var_value = NULL;
|
|
PyObject *tmp_for_loop_1__for_iterator = NULL;
|
|
PyObject *tmp_for_loop_1__iter_value = NULL;
|
|
PyObject *tmp_for_loop_2__for_iterator = NULL;
|
|
PyObject *tmp_for_loop_2__iter_value = NULL;
|
|
PyObject *tmp_for_loop_3__for_iterator = NULL;
|
|
PyObject *tmp_for_loop_3__iter_value = NULL;
|
|
PyObject *tmp_for_loop_4__for_iterator = NULL;
|
|
PyObject *tmp_for_loop_4__iter_value = NULL;
|
|
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
|
|
PyObject *tmp_tuple_unpack_2__element_1 = NULL;
|
|
PyObject *tmp_tuple_unpack_2__element_2 = NULL;
|
|
PyObject *tmp_tuple_unpack_2__source_iter = NULL;
|
|
struct Nuitka_FrameObject *frame_a8b295fb5076f17469773932f9d9ca51;
|
|
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;
|
|
int tmp_res;
|
|
bool tmp_result;
|
|
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_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
PyObject *tmp_iterator_attempt;
|
|
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_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 *exception_keeper_type_8;
|
|
PyObject *exception_keeper_value_8;
|
|
PyTracebackObject *exception_keeper_tb_8;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
|
|
static struct Nuitka_FrameObject *cache_frame_a8b295fb5076f17469773932f9d9ca51 = NULL;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_keeper_type_9;
|
|
PyObject *exception_keeper_value_9;
|
|
PyTracebackObject *exception_keeper_tb_9;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_a8b295fb5076f17469773932f9d9ca51, codeobj_a8b295fb5076f17469773932f9d9ca51, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_a8b295fb5076f17469773932f9d9ca51 = cache_frame_a8b295fb5076f17469773932f9d9ca51;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_a8b295fb5076f17469773932f9d9ca51 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_a8b295fb5076f17469773932f9d9ca51 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
PyObject *tmp_len_arg_1;
|
|
CHECK_OBJECT( par_args );
|
|
tmp_len_arg_1 = par_args;
|
|
tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 );
|
|
if ( tmp_compexpr_left_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 151;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_compexpr_right_1 = const_int_pos_2;
|
|
tmp_res = RICH_COMPARE_BOOL_GT( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 151;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
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:;
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
PyObject *tmp_make_exception_arg_1;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_len_arg_2;
|
|
tmp_left_name_1 = const_str_digest_d3a2259107206567de2effacb97943de;
|
|
if ( par_args == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 153;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_len_arg_2 = par_args;
|
|
tmp_tuple_element_1 = BUILTIN_LEN( tmp_len_arg_2 );
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 153;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_right_name_1 = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_1 );
|
|
tmp_make_exception_arg_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
if ( tmp_make_exception_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 152;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_a8b295fb5076f17469773932f9d9ca51->m_frame.f_lineno = 152;
|
|
{
|
|
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 = 152;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto branch_end_1;
|
|
branch_no_1:;
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_operand_name_1;
|
|
if ( par_args == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 154;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_operand_name_1 = par_args;
|
|
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 = 154;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
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_2;
|
|
PyObject *tmp_make_exception_arg_2;
|
|
tmp_make_exception_arg_2 = const_str_digest_1619b46e9e4db126db384b1ce63f22e5;
|
|
frame_a8b295fb5076f17469773932f9d9ca51->m_frame.f_lineno = 155;
|
|
{
|
|
PyObject *call_args[] = { tmp_make_exception_arg_2 };
|
|
tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( PyExc_TypeError, call_args );
|
|
}
|
|
|
|
assert( !(tmp_raise_type_2 == NULL) );
|
|
exception_type = tmp_raise_type_2;
|
|
exception_lineno = 155;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
branch_no_2:;
|
|
}
|
|
branch_end_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
if ( par_args == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 156;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = par_args;
|
|
tmp_subscript_name_1 = const_int_0;
|
|
tmp_assign_source_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 156;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_self == NULL );
|
|
var_self = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
tmp_assign_source_2 = const_tuple_empty;
|
|
assert( var_other == NULL );
|
|
Py_INCREF( tmp_assign_source_2 );
|
|
var_other = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_3;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
PyObject *tmp_len_arg_3;
|
|
if ( par_args == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 159;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_len_arg_3 = par_args;
|
|
tmp_compexpr_left_2 = BUILTIN_LEN( tmp_len_arg_3 );
|
|
if ( tmp_compexpr_left_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 159;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_compexpr_right_2 = const_int_pos_2;
|
|
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 );
|
|
Py_DECREF( tmp_compexpr_left_2 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 159;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
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_3;
|
|
PyObject *tmp_subscribed_name_2;
|
|
PyObject *tmp_subscript_name_2;
|
|
if ( par_args == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 160;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_2 = par_args;
|
|
tmp_subscript_name_2 = const_int_pos_1;
|
|
tmp_assign_source_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 1 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 160;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = var_other;
|
|
var_other = tmp_assign_source_3;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
branch_no_3:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_4;
|
|
PyObject *tmp_isinstance_inst_1;
|
|
PyObject *tmp_isinstance_cls_1;
|
|
if ( var_other == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 161;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_isinstance_inst_1 = var_other;
|
|
tmp_isinstance_cls_1 = (PyObject *)&PyDict_Type;
|
|
tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 161;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_4 = ( tmp_res != 0 ) ? 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_assign_source_4;
|
|
PyObject *tmp_iter_arg_1;
|
|
if ( var_other == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 162;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_iter_arg_1 = var_other;
|
|
tmp_assign_source_4 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 162;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_for_loop_1__for_iterator == NULL );
|
|
tmp_for_loop_1__for_iterator = tmp_assign_source_4;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_5;
|
|
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
|
|
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
|
|
tmp_assign_source_5 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_5 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_1;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "oooooo";
|
|
exception_lineno = 162;
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_1__iter_value;
|
|
tmp_for_loop_1__iter_value = tmp_assign_source_5;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
CHECK_OBJECT( tmp_for_loop_1__iter_value );
|
|
tmp_assign_source_6 = tmp_for_loop_1__iter_value;
|
|
{
|
|
PyObject *old = var_key;
|
|
var_key = tmp_assign_source_6;
|
|
Py_INCREF( var_key );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_subscribed_name_3;
|
|
PyObject *tmp_subscript_name_3;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_ass_subscript_1;
|
|
if ( var_other == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 163;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_subscribed_name_3 = var_other;
|
|
CHECK_OBJECT( var_key );
|
|
tmp_subscript_name_3 = var_key;
|
|
tmp_ass_subvalue_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 );
|
|
if ( tmp_ass_subvalue_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 163;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
if ( var_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 163;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_ass_subscribed_1 = var_self;
|
|
if ( var_key == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 163;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_ass_subscript_1 = var_key;
|
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 );
|
|
Py_DECREF( tmp_ass_subvalue_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 163;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 162;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
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;
|
|
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = 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:;
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
goto branch_end_4;
|
|
branch_no_4:;
|
|
{
|
|
nuitka_bool tmp_condition_result_5;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_attribute_name_1;
|
|
if ( var_other == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 164;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = var_other;
|
|
tmp_attribute_name_1 = const_str_plain_keys;
|
|
tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_1, tmp_attribute_name_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_5 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_5;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_5;
|
|
}
|
|
branch_yes_5:;
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
PyObject *tmp_iter_arg_2;
|
|
PyObject *tmp_called_instance_1;
|
|
if ( var_other == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 165;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_1 = var_other;
|
|
frame_a8b295fb5076f17469773932f9d9ca51->m_frame.f_lineno = 165;
|
|
tmp_iter_arg_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_keys );
|
|
if ( tmp_iter_arg_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 165;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_7 = MAKE_ITERATOR( tmp_iter_arg_2 );
|
|
Py_DECREF( tmp_iter_arg_2 );
|
|
if ( tmp_assign_source_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 165;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_for_loop_2__for_iterator == NULL );
|
|
tmp_for_loop_2__for_iterator = tmp_assign_source_7;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_2:;
|
|
{
|
|
PyObject *tmp_next_source_2;
|
|
PyObject *tmp_assign_source_8;
|
|
CHECK_OBJECT( tmp_for_loop_2__for_iterator );
|
|
tmp_next_source_2 = tmp_for_loop_2__for_iterator;
|
|
tmp_assign_source_8 = ITERATOR_NEXT( tmp_next_source_2 );
|
|
if ( tmp_assign_source_8 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_2;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "oooooo";
|
|
exception_lineno = 165;
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_2__iter_value;
|
|
tmp_for_loop_2__iter_value = tmp_assign_source_8;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_9;
|
|
CHECK_OBJECT( tmp_for_loop_2__iter_value );
|
|
tmp_assign_source_9 = tmp_for_loop_2__iter_value;
|
|
{
|
|
PyObject *old = var_key;
|
|
var_key = tmp_assign_source_9;
|
|
Py_INCREF( var_key );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_2;
|
|
PyObject *tmp_subscribed_name_4;
|
|
PyObject *tmp_subscript_name_4;
|
|
PyObject *tmp_ass_subscribed_2;
|
|
PyObject *tmp_ass_subscript_2;
|
|
if ( var_other == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 166;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_subscribed_name_4 = var_other;
|
|
CHECK_OBJECT( var_key );
|
|
tmp_subscript_name_4 = var_key;
|
|
tmp_ass_subvalue_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_4, tmp_subscript_name_4 );
|
|
if ( tmp_ass_subvalue_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 166;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
if ( var_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 166;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_ass_subscribed_2 = var_self;
|
|
if ( var_key == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 166;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_ass_subscript_2 = var_key;
|
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2 );
|
|
Py_DECREF( tmp_ass_subvalue_2 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 166;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 165;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
goto loop_start_2;
|
|
loop_end_2:;
|
|
}
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_3:;
|
|
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_XDECREF( tmp_for_loop_2__iter_value );
|
|
tmp_for_loop_2__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator );
|
|
Py_DECREF( tmp_for_loop_2__for_iterator );
|
|
tmp_for_loop_2__for_iterator = 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 frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_for_loop_2__iter_value );
|
|
tmp_for_loop_2__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator );
|
|
Py_DECREF( tmp_for_loop_2__for_iterator );
|
|
tmp_for_loop_2__for_iterator = NULL;
|
|
|
|
}
|
|
goto branch_end_5;
|
|
branch_no_5:;
|
|
{
|
|
PyObject *tmp_assign_source_10;
|
|
PyObject *tmp_iter_arg_3;
|
|
if ( var_other == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 168;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_iter_arg_3 = var_other;
|
|
tmp_assign_source_10 = MAKE_ITERATOR( tmp_iter_arg_3 );
|
|
if ( tmp_assign_source_10 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 168;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_for_loop_3__for_iterator == NULL );
|
|
tmp_for_loop_3__for_iterator = tmp_assign_source_10;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_3:;
|
|
{
|
|
PyObject *tmp_next_source_3;
|
|
PyObject *tmp_assign_source_11;
|
|
CHECK_OBJECT( tmp_for_loop_3__for_iterator );
|
|
tmp_next_source_3 = tmp_for_loop_3__for_iterator;
|
|
tmp_assign_source_11 = ITERATOR_NEXT( tmp_next_source_3 );
|
|
if ( tmp_assign_source_11 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_3;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "oooooo";
|
|
exception_lineno = 168;
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_3__iter_value;
|
|
tmp_for_loop_3__iter_value = tmp_assign_source_11;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_12;
|
|
PyObject *tmp_iter_arg_4;
|
|
CHECK_OBJECT( tmp_for_loop_3__iter_value );
|
|
tmp_iter_arg_4 = tmp_for_loop_3__iter_value;
|
|
tmp_assign_source_12 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_4 );
|
|
if ( tmp_assign_source_12 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 168;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_1__source_iter;
|
|
tmp_tuple_unpack_1__source_iter = tmp_assign_source_12;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_13;
|
|
PyObject *tmp_unpack_1;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_13 = UNPACK_NEXT( tmp_unpack_1, 0, 2 );
|
|
if ( tmp_assign_source_13 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "oooooo";
|
|
exception_lineno = 168;
|
|
goto try_except_handler_6;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_1__element_1;
|
|
tmp_tuple_unpack_1__element_1 = tmp_assign_source_13;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_14;
|
|
PyObject *tmp_unpack_2;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_14 = UNPACK_NEXT( tmp_unpack_2, 1, 2 );
|
|
if ( tmp_assign_source_14 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "oooooo";
|
|
exception_lineno = 168;
|
|
goto try_except_handler_6;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_1__element_2;
|
|
tmp_tuple_unpack_1__element_2 = tmp_assign_source_14;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_iterator_name_1;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
|
|
// Check if iterator has left-over elements.
|
|
CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) );
|
|
|
|
tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 );
|
|
|
|
if (likely( tmp_iterator_attempt == NULL ))
|
|
{
|
|
PyObject *error = GET_ERROR_OCCURRED();
|
|
|
|
if ( error != NULL )
|
|
{
|
|
if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration ))
|
|
{
|
|
CLEAR_ERROR_OCCURRED();
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "oooooo";
|
|
exception_lineno = 168;
|
|
goto try_except_handler_6;
|
|
}
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Py_DECREF( tmp_iterator_attempt );
|
|
|
|
// TODO: Could avoid PyErr_Format.
|
|
#if PYTHON_VERSION < 300
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack" );
|
|
#else
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" );
|
|
#endif
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "oooooo";
|
|
exception_lineno = 168;
|
|
goto try_except_handler_6;
|
|
}
|
|
}
|
|
goto try_end_3;
|
|
// 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;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_1__source_iter );
|
|
tmp_tuple_unpack_1__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
// 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_5;
|
|
}
|
|
// End of try:
|
|
try_end_3:;
|
|
}
|
|
goto try_end_4;
|
|
// Exception handler code:
|
|
try_except_handler_5:;
|
|
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_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = 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 try_except_handler_4;
|
|
}
|
|
// End of try:
|
|
try_end_4:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_1__source_iter );
|
|
tmp_tuple_unpack_1__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_15;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_1 );
|
|
tmp_assign_source_15 = tmp_tuple_unpack_1__element_1;
|
|
{
|
|
PyObject *old = var_key;
|
|
var_key = tmp_assign_source_15;
|
|
Py_INCREF( var_key );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_16;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_2 );
|
|
tmp_assign_source_16 = tmp_tuple_unpack_1__element_2;
|
|
{
|
|
PyObject *old = var_value;
|
|
var_value = tmp_assign_source_16;
|
|
Py_INCREF( var_value );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_3;
|
|
PyObject *tmp_ass_subscribed_3;
|
|
PyObject *tmp_ass_subscript_3;
|
|
if ( var_value == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 169;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_ass_subvalue_3 = var_value;
|
|
if ( var_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 169;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_ass_subscribed_3 = var_self;
|
|
if ( var_key == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 169;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_ass_subscript_3 = var_key;
|
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_3, tmp_ass_subscript_3, tmp_ass_subvalue_3 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 169;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 168;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
goto loop_start_3;
|
|
loop_end_3:;
|
|
}
|
|
goto try_end_5;
|
|
// Exception handler code:
|
|
try_except_handler_4:;
|
|
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_XDECREF( tmp_for_loop_3__iter_value );
|
|
tmp_for_loop_3__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_3__for_iterator );
|
|
Py_DECREF( tmp_for_loop_3__for_iterator );
|
|
tmp_for_loop_3__for_iterator = 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 frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_5:;
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_for_loop_3__iter_value );
|
|
tmp_for_loop_3__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_3__for_iterator );
|
|
Py_DECREF( tmp_for_loop_3__for_iterator );
|
|
tmp_for_loop_3__for_iterator = NULL;
|
|
|
|
}
|
|
branch_end_5:;
|
|
}
|
|
branch_end_4:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_17;
|
|
PyObject *tmp_iter_arg_5;
|
|
PyObject *tmp_called_instance_2;
|
|
if ( par_kwds == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kwds" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 170;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_2 = par_kwds;
|
|
frame_a8b295fb5076f17469773932f9d9ca51->m_frame.f_lineno = 170;
|
|
tmp_iter_arg_5 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_items );
|
|
if ( tmp_iter_arg_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 170;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_17 = MAKE_ITERATOR( tmp_iter_arg_5 );
|
|
Py_DECREF( tmp_iter_arg_5 );
|
|
if ( tmp_assign_source_17 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 170;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_for_loop_4__for_iterator == NULL );
|
|
tmp_for_loop_4__for_iterator = tmp_assign_source_17;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_4:;
|
|
{
|
|
PyObject *tmp_next_source_4;
|
|
PyObject *tmp_assign_source_18;
|
|
CHECK_OBJECT( tmp_for_loop_4__for_iterator );
|
|
tmp_next_source_4 = tmp_for_loop_4__for_iterator;
|
|
tmp_assign_source_18 = ITERATOR_NEXT( tmp_next_source_4 );
|
|
if ( tmp_assign_source_18 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_4;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "oooooo";
|
|
exception_lineno = 170;
|
|
goto try_except_handler_7;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_4__iter_value;
|
|
tmp_for_loop_4__iter_value = tmp_assign_source_18;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_19;
|
|
PyObject *tmp_iter_arg_6;
|
|
CHECK_OBJECT( tmp_for_loop_4__iter_value );
|
|
tmp_iter_arg_6 = tmp_for_loop_4__iter_value;
|
|
tmp_assign_source_19 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_6 );
|
|
if ( tmp_assign_source_19 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 170;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_8;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_2__source_iter;
|
|
tmp_tuple_unpack_2__source_iter = tmp_assign_source_19;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_20;
|
|
PyObject *tmp_unpack_3;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__source_iter );
|
|
tmp_unpack_3 = tmp_tuple_unpack_2__source_iter;
|
|
tmp_assign_source_20 = UNPACK_NEXT( tmp_unpack_3, 0, 2 );
|
|
if ( tmp_assign_source_20 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "oooooo";
|
|
exception_lineno = 170;
|
|
goto try_except_handler_9;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_2__element_1;
|
|
tmp_tuple_unpack_2__element_1 = tmp_assign_source_20;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_21;
|
|
PyObject *tmp_unpack_4;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__source_iter );
|
|
tmp_unpack_4 = tmp_tuple_unpack_2__source_iter;
|
|
tmp_assign_source_21 = UNPACK_NEXT( tmp_unpack_4, 1, 2 );
|
|
if ( tmp_assign_source_21 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "oooooo";
|
|
exception_lineno = 170;
|
|
goto try_except_handler_9;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_2__element_2;
|
|
tmp_tuple_unpack_2__element_2 = tmp_assign_source_21;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_iterator_name_2;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__source_iter );
|
|
tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter;
|
|
// Check if iterator has left-over elements.
|
|
CHECK_OBJECT( tmp_iterator_name_2 ); assert( HAS_ITERNEXT( tmp_iterator_name_2 ) );
|
|
|
|
tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_2 )->tp_iternext)( tmp_iterator_name_2 );
|
|
|
|
if (likely( tmp_iterator_attempt == NULL ))
|
|
{
|
|
PyObject *error = GET_ERROR_OCCURRED();
|
|
|
|
if ( error != NULL )
|
|
{
|
|
if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration ))
|
|
{
|
|
CLEAR_ERROR_OCCURRED();
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "oooooo";
|
|
exception_lineno = 170;
|
|
goto try_except_handler_9;
|
|
}
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Py_DECREF( tmp_iterator_attempt );
|
|
|
|
// TODO: Could avoid PyErr_Format.
|
|
#if PYTHON_VERSION < 300
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack" );
|
|
#else
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" );
|
|
#endif
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "oooooo";
|
|
exception_lineno = 170;
|
|
goto try_except_handler_9;
|
|
}
|
|
}
|
|
goto try_end_6;
|
|
// Exception handler code:
|
|
try_except_handler_9:;
|
|
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;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_2__source_iter );
|
|
tmp_tuple_unpack_2__source_iter = 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_8;
|
|
}
|
|
// End of try:
|
|
try_end_6:;
|
|
}
|
|
goto try_end_7;
|
|
// Exception handler code:
|
|
try_except_handler_8:;
|
|
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_tuple_unpack_2__element_1 );
|
|
tmp_tuple_unpack_2__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_2__element_2 );
|
|
tmp_tuple_unpack_2__element_2 = 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 try_except_handler_7;
|
|
}
|
|
// End of try:
|
|
try_end_7:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_2__source_iter );
|
|
tmp_tuple_unpack_2__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_22;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__element_1 );
|
|
tmp_assign_source_22 = tmp_tuple_unpack_2__element_1;
|
|
{
|
|
PyObject *old = var_key;
|
|
var_key = tmp_assign_source_22;
|
|
Py_INCREF( var_key );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_2__element_1 );
|
|
tmp_tuple_unpack_2__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_23;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__element_2 );
|
|
tmp_assign_source_23 = tmp_tuple_unpack_2__element_2;
|
|
{
|
|
PyObject *old = var_value;
|
|
var_value = tmp_assign_source_23;
|
|
Py_INCREF( var_value );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_2__element_2 );
|
|
tmp_tuple_unpack_2__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_4;
|
|
PyObject *tmp_ass_subscribed_4;
|
|
PyObject *tmp_ass_subscript_4;
|
|
if ( var_value == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 171;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_7;
|
|
}
|
|
|
|
tmp_ass_subvalue_4 = var_value;
|
|
if ( var_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 171;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_7;
|
|
}
|
|
|
|
tmp_ass_subscribed_4 = var_self;
|
|
if ( var_key == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 171;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_7;
|
|
}
|
|
|
|
tmp_ass_subscript_4 = var_key;
|
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_4, tmp_ass_subscript_4, tmp_ass_subvalue_4 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 171;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_7;
|
|
}
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 170;
|
|
type_description_1 = "oooooo";
|
|
goto try_except_handler_7;
|
|
}
|
|
goto loop_start_4;
|
|
loop_end_4:;
|
|
}
|
|
goto try_end_8;
|
|
// Exception handler code:
|
|
try_except_handler_7:;
|
|
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( tmp_for_loop_4__iter_value );
|
|
tmp_for_loop_4__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_4__for_iterator );
|
|
Py_DECREF( tmp_for_loop_4__for_iterator );
|
|
tmp_for_loop_4__for_iterator = 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 frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_8:;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_a8b295fb5076f17469773932f9d9ca51 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_a8b295fb5076f17469773932f9d9ca51 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_a8b295fb5076f17469773932f9d9ca51, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_a8b295fb5076f17469773932f9d9ca51->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_a8b295fb5076f17469773932f9d9ca51, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_a8b295fb5076f17469773932f9d9ca51,
|
|
type_description_1,
|
|
par_args,
|
|
par_kwds,
|
|
var_self,
|
|
var_other,
|
|
var_key,
|
|
var_value
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_a8b295fb5076f17469773932f9d9ca51 == cache_frame_a8b295fb5076f17469773932f9d9ca51 )
|
|
{
|
|
Py_DECREF( frame_a8b295fb5076f17469773932f9d9ca51 );
|
|
}
|
|
cache_frame_a8b295fb5076f17469773932f9d9ca51 = NULL;
|
|
|
|
assertFrameObject( frame_a8b295fb5076f17469773932f9d9ca51 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
{
|
|
Py_XDECREF( tmp_for_loop_4__iter_value );
|
|
tmp_for_loop_4__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_4__for_iterator );
|
|
Py_DECREF( tmp_for_loop_4__for_iterator );
|
|
tmp_for_loop_4__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
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( urllib3$packages$ordered_dict$$$function_14_update );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_args );
|
|
par_args = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_kwds );
|
|
par_kwds = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_self );
|
|
var_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_other );
|
|
var_other = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_key );
|
|
var_key = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_value );
|
|
var_value = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
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;
|
|
|
|
{
|
|
Py_XDECREF( par_args );
|
|
par_args = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_kwds );
|
|
par_kwds = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_self );
|
|
var_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_other );
|
|
var_other = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_key );
|
|
var_key = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_value );
|
|
var_value = NULL;
|
|
|
|
}
|
|
{
|
|
// 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_14_update );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_15_pop( 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 *par_key = python_pars[ 1 ];
|
|
PyObject *par_default = python_pars[ 2 ];
|
|
PyObject *var_result = NULL;
|
|
struct Nuitka_FrameObject *frame_4f5b0613e9ab464afd620cec3e018f0d;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
int tmp_res;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
bool tmp_result;
|
|
PyObject *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_4f5b0613e9ab464afd620cec3e018f0d = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_4f5b0613e9ab464afd620cec3e018f0d, codeobj_4f5b0613e9ab464afd620cec3e018f0d, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_4f5b0613e9ab464afd620cec3e018f0d = cache_frame_4f5b0613e9ab464afd620cec3e018f0d;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_4f5b0613e9ab464afd620cec3e018f0d );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_4f5b0613e9ab464afd620cec3e018f0d ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
CHECK_OBJECT( par_key );
|
|
tmp_compexpr_left_1 = par_key;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_compexpr_right_1 = par_self;
|
|
tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 182;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res == 1 ) ? 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:;
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 183;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = par_self;
|
|
if ( par_key == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 183;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscript_name_1 = par_key;
|
|
tmp_assign_source_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 183;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_result == NULL );
|
|
var_result = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_delsubscr_target_1;
|
|
PyObject *tmp_delsubscr_subscript_1;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 184;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_delsubscr_target_1 = par_self;
|
|
if ( par_key == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 184;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_delsubscr_subscript_1 = par_key;
|
|
tmp_result = DEL_SUBSCRIPT( tmp_delsubscr_target_1, tmp_delsubscr_subscript_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 184;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
if ( var_result == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "result" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 185;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_return_value = var_result;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
PyObject *tmp_source_name_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 = 186;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_left_2 = par_default;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 186;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = par_self;
|
|
tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__OrderedDict__marker );
|
|
if ( tmp_compexpr_right_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 186;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_2 = ( tmp_compexpr_left_2 == tmp_compexpr_right_2 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
Py_DECREF( tmp_compexpr_right_2 );
|
|
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;
|
|
if ( par_key == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 187;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_make_exception_arg_1 = par_key;
|
|
frame_4f5b0613e9ab464afd620cec3e018f0d->m_frame.f_lineno = 187;
|
|
{
|
|
PyObject *call_args[] = { tmp_make_exception_arg_1 };
|
|
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_KeyError, call_args );
|
|
}
|
|
|
|
assert( !(tmp_raise_type_1 == NULL) );
|
|
exception_type = tmp_raise_type_1;
|
|
exception_lineno = 187;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
branch_no_2:;
|
|
}
|
|
{
|
|
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 = 188;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_return_value = par_default;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_4f5b0613e9ab464afd620cec3e018f0d );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_4f5b0613e9ab464afd620cec3e018f0d );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_4f5b0613e9ab464afd620cec3e018f0d );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_4f5b0613e9ab464afd620cec3e018f0d, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_4f5b0613e9ab464afd620cec3e018f0d->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_4f5b0613e9ab464afd620cec3e018f0d, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_4f5b0613e9ab464afd620cec3e018f0d,
|
|
type_description_1,
|
|
par_self,
|
|
par_key,
|
|
par_default,
|
|
var_result
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_4f5b0613e9ab464afd620cec3e018f0d == cache_frame_4f5b0613e9ab464afd620cec3e018f0d )
|
|
{
|
|
Py_DECREF( frame_4f5b0613e9ab464afd620cec3e018f0d );
|
|
}
|
|
cache_frame_4f5b0613e9ab464afd620cec3e018f0d = NULL;
|
|
|
|
assertFrameObject( frame_4f5b0613e9ab464afd620cec3e018f0d );
|
|
|
|
// 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( urllib3$packages$ordered_dict$$$function_15_pop );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_key );
|
|
par_key = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_default );
|
|
par_default = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_result );
|
|
var_result = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// 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;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_key );
|
|
par_key = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_default );
|
|
par_default = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_result );
|
|
var_result = 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_15_pop );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_16_setdefault( 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 *par_key = python_pars[ 1 ];
|
|
PyObject *par_default = python_pars[ 2 ];
|
|
struct Nuitka_FrameObject *frame_9a8c9df435f179d5a498bf41883a7f2a;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
int tmp_res;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
PyObject *tmp_return_value = NULL;
|
|
bool tmp_result;
|
|
static struct Nuitka_FrameObject *cache_frame_9a8c9df435f179d5a498bf41883a7f2a = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_9a8c9df435f179d5a498bf41883a7f2a, codeobj_9a8c9df435f179d5a498bf41883a7f2a, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_9a8c9df435f179d5a498bf41883a7f2a = cache_frame_9a8c9df435f179d5a498bf41883a7f2a;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_9a8c9df435f179d5a498bf41883a7f2a );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_9a8c9df435f179d5a498bf41883a7f2a ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
CHECK_OBJECT( par_key );
|
|
tmp_compexpr_left_1 = par_key;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_compexpr_right_1 = par_self;
|
|
tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 192;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res == 1 ) ? 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:;
|
|
{
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 193;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = par_self;
|
|
if ( par_key == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 193;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscript_name_1 = par_key;
|
|
tmp_return_value = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 193;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_ass_subscript_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 = 194;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subvalue_1 = par_default;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 194;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_1 = par_self;
|
|
if ( par_key == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 194;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscript_1 = par_key;
|
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 194;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_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 = 195;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_return_value = par_default;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_9a8c9df435f179d5a498bf41883a7f2a );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_9a8c9df435f179d5a498bf41883a7f2a );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_9a8c9df435f179d5a498bf41883a7f2a );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_9a8c9df435f179d5a498bf41883a7f2a, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_9a8c9df435f179d5a498bf41883a7f2a->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_9a8c9df435f179d5a498bf41883a7f2a, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_9a8c9df435f179d5a498bf41883a7f2a,
|
|
type_description_1,
|
|
par_self,
|
|
par_key,
|
|
par_default
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_9a8c9df435f179d5a498bf41883a7f2a == cache_frame_9a8c9df435f179d5a498bf41883a7f2a )
|
|
{
|
|
Py_DECREF( frame_9a8c9df435f179d5a498bf41883a7f2a );
|
|
}
|
|
cache_frame_9a8c9df435f179d5a498bf41883a7f2a = NULL;
|
|
|
|
assertFrameObject( frame_9a8c9df435f179d5a498bf41883a7f2a );
|
|
|
|
// 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( urllib3$packages$ordered_dict$$$function_16_setdefault );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_key );
|
|
par_key = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_default );
|
|
par_default = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// 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;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_key );
|
|
par_key = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_default );
|
|
par_default = 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_16_setdefault );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_17___repr__( 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 *par__repr_running = python_pars[ 1 ];
|
|
PyObject *var_call_key = NULL;
|
|
struct Nuitka_FrameObject *frame_ee444892aa68ae6ed30828670dd5241c;
|
|
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;
|
|
int tmp_res;
|
|
PyObject *tmp_return_value = NULL;
|
|
bool tmp_result;
|
|
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_1;
|
|
PyObject *exception_preserved_value_1;
|
|
PyTracebackObject *exception_preserved_tb_1;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
static struct Nuitka_FrameObject *cache_frame_ee444892aa68ae6ed30828670dd5241c = NULL;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_ee444892aa68ae6ed30828670dd5241c, codeobj_ee444892aa68ae6ed30828670dd5241c, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_ee444892aa68ae6ed30828670dd5241c = cache_frame_ee444892aa68ae6ed30828670dd5241c;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_ee444892aa68ae6ed30828670dd5241c );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_ee444892aa68ae6ed30828670dd5241c ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_id_arg_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_id_arg_1 = par_self;
|
|
tmp_tuple_element_1 = PyLong_FromVoidPtr( tmp_id_arg_1 );
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 199;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_1 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_assign_source_1, 0, tmp_tuple_element_1 );
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$packages$ordered_dict, (Nuitka_StringObject *)const_str_plain__get_ident );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__get_ident );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
Py_DECREF( tmp_assign_source_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_get_ident" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 199;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
frame_ee444892aa68ae6ed30828670dd5241c->m_frame.f_lineno = 199;
|
|
tmp_tuple_element_1 = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 );
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_assign_source_1 );
|
|
|
|
exception_lineno = 199;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_assign_source_1, 1, tmp_tuple_element_1 );
|
|
assert( var_call_key == NULL );
|
|
var_call_key = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
CHECK_OBJECT( var_call_key );
|
|
tmp_compexpr_left_1 = var_call_key;
|
|
if ( par__repr_running == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "_repr_running" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 200;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_right_1 = par__repr_running;
|
|
tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 200;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res == 1 ) ? 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:;
|
|
{
|
|
tmp_return_value = const_str_digest_3501979af1b70861f5e9d6a0f04129bf;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_ass_subscript_1;
|
|
tmp_ass_subvalue_1 = const_int_pos_1;
|
|
if ( par__repr_running == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "_repr_running" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 202;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_1 = par__repr_running;
|
|
if ( var_call_key == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "call_key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 202;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscript_1 = var_call_key;
|
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 202;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_operand_name_1;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 204;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_operand_name_1 = par_self;
|
|
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 = 204;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
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_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_tuple_element_2;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
tmp_left_name_1 = const_str_digest_cfdbbd2b4f173bd816c499641f213719;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 205;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_source_name_1 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_2 );
|
|
if ( tmp_source_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 205;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_1 );
|
|
if ( tmp_tuple_element_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 205;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_right_name_1 = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_2 );
|
|
tmp_return_value = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 205;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto try_return_handler_2;
|
|
}
|
|
branch_no_2:;
|
|
}
|
|
{
|
|
PyObject *tmp_left_name_2;
|
|
PyObject *tmp_right_name_2;
|
|
PyObject *tmp_tuple_element_3;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_called_instance_1;
|
|
tmp_left_name_2 = const_str_digest_d44bacc2290b5d18e632348ff9d94d65;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 206;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_4 = par_self;
|
|
tmp_source_name_3 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_4 );
|
|
if ( tmp_source_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 206;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_tuple_element_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_3 );
|
|
if ( tmp_tuple_element_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 206;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_right_name_2 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_3 );
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_right_name_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 206;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_called_instance_1 = par_self;
|
|
frame_ee444892aa68ae6ed30828670dd5241c->m_frame.f_lineno = 206;
|
|
tmp_tuple_element_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_items );
|
|
if ( tmp_tuple_element_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_right_name_2 );
|
|
|
|
exception_lineno = 206;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_3 );
|
|
tmp_return_value = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 );
|
|
Py_DECREF( tmp_right_name_2 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 206;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto try_return_handler_2;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_17___repr__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_2:;
|
|
{
|
|
PyObject *tmp_delsubscr_target_1;
|
|
PyObject *tmp_delsubscr_subscript_1;
|
|
if ( par__repr_running == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "_repr_running" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 208;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_delsubscr_target_1 = par__repr_running;
|
|
if ( var_call_key == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "call_key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 208;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_delsubscr_subscript_1 = var_call_key;
|
|
tmp_result = DEL_SUBSCRIPT( tmp_delsubscr_target_1, tmp_delsubscr_subscript_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 208;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
goto frame_return_exit_1;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
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_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_1 == NULL )
|
|
{
|
|
exception_keeper_tb_1 = MAKE_TRACEBACK( frame_ee444892aa68ae6ed30828670dd5241c, exception_keeper_lineno_1 );
|
|
}
|
|
else if ( exception_keeper_lineno_1 != 0 )
|
|
{
|
|
exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_ee444892aa68ae6ed30828670dd5241c, 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:
|
|
{
|
|
PyObject *tmp_delsubscr_target_2;
|
|
PyObject *tmp_delsubscr_subscript_2;
|
|
if ( par__repr_running == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "_repr_running" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 208;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_delsubscr_target_2 = par__repr_running;
|
|
if ( var_call_key == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "call_key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 208;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_delsubscr_subscript_2 = var_call_key;
|
|
tmp_result = DEL_SUBSCRIPT( tmp_delsubscr_target_2, tmp_delsubscr_subscript_2 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 208;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
{
|
|
tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
if (unlikely( tmp_result == false ))
|
|
{
|
|
exception_lineno = 203;
|
|
}
|
|
|
|
if (exception_tb && exception_tb->tb_frame == &frame_ee444892aa68ae6ed30828670dd5241c->m_frame) frame_ee444892aa68ae6ed30828670dd5241c->m_frame.f_lineno = exception_tb->tb_lineno;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_17___repr__ );
|
|
return NULL;
|
|
// Exception handler code:
|
|
try_except_handler_3:;
|
|
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;
|
|
|
|
{
|
|
// 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_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_ee444892aa68ae6ed30828670dd5241c );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_ee444892aa68ae6ed30828670dd5241c );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_ee444892aa68ae6ed30828670dd5241c );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_ee444892aa68ae6ed30828670dd5241c, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_ee444892aa68ae6ed30828670dd5241c->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_ee444892aa68ae6ed30828670dd5241c, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_ee444892aa68ae6ed30828670dd5241c,
|
|
type_description_1,
|
|
par_self,
|
|
par__repr_running,
|
|
var_call_key
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_ee444892aa68ae6ed30828670dd5241c == cache_frame_ee444892aa68ae6ed30828670dd5241c )
|
|
{
|
|
Py_DECREF( frame_ee444892aa68ae6ed30828670dd5241c );
|
|
}
|
|
cache_frame_ee444892aa68ae6ed30828670dd5241c = NULL;
|
|
|
|
assertFrameObject( frame_ee444892aa68ae6ed30828670dd5241c );
|
|
|
|
// 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( urllib3$packages$ordered_dict$$$function_17___repr__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par__repr_running );
|
|
par__repr_running = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_call_key );
|
|
var_call_key = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
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;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par__repr_running );
|
|
par__repr_running = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_call_key );
|
|
var_call_key = NULL;
|
|
|
|
}
|
|
{
|
|
// 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_17___repr__ );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_18___reduce__( 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 *var_items = NULL;
|
|
PyObject *var_inst_dict = NULL;
|
|
PyObject *var_k = NULL;
|
|
PyObject *outline_0_var_k = NULL;
|
|
PyObject *tmp_for_loop_1__for_iterator = NULL;
|
|
PyObject *tmp_for_loop_1__iter_value = NULL;
|
|
PyObject *tmp_listcomp_1__$0 = NULL;
|
|
PyObject *tmp_listcomp_1__contraction = NULL;
|
|
PyObject *tmp_listcomp_1__iter_value_0 = NULL;
|
|
struct Nuitka_FrameObject *frame_0827175ec9e4f390132c88b0aa197ff6;
|
|
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;
|
|
struct Nuitka_FrameObject *frame_adb31af0e425583385864fa298e40e70_2;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
|
|
int tmp_res;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
static struct Nuitka_FrameObject *cache_frame_adb31af0e425583385864fa298e40e70_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;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
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 *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_0827175ec9e4f390132c88b0aa197ff6 = NULL;
|
|
PyObject *exception_keeper_type_4;
|
|
PyObject *exception_keeper_value_4;
|
|
PyTracebackObject *exception_keeper_tb_4;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_0827175ec9e4f390132c88b0aa197ff6, codeobj_0827175ec9e4f390132c88b0aa197ff6, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_0827175ec9e4f390132c88b0aa197ff6 = cache_frame_0827175ec9e4f390132c88b0aa197ff6;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_0827175ec9e4f390132c88b0aa197ff6 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_0827175ec9e4f390132c88b0aa197ff6 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_iter_arg_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_iter_arg_1 = par_self;
|
|
tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 212;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_listcomp_1__$0 == NULL );
|
|
tmp_listcomp_1__$0 = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
tmp_assign_source_3 = PyList_New( 0 );
|
|
assert( tmp_listcomp_1__contraction == NULL );
|
|
tmp_listcomp_1__contraction = tmp_assign_source_3;
|
|
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_adb31af0e425583385864fa298e40e70_2, codeobj_adb31af0e425583385864fa298e40e70, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *) );
|
|
frame_adb31af0e425583385864fa298e40e70_2 = cache_frame_adb31af0e425583385864fa298e40e70_2;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_adb31af0e425583385864fa298e40e70_2 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_adb31af0e425583385864fa298e40e70_2 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_4;
|
|
CHECK_OBJECT( tmp_listcomp_1__$0 );
|
|
tmp_next_source_1 = tmp_listcomp_1__$0;
|
|
tmp_assign_source_4 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_1;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
type_description_2 = "oo";
|
|
exception_lineno = 212;
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_listcomp_1__iter_value_0;
|
|
tmp_listcomp_1__iter_value_0 = tmp_assign_source_4;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
CHECK_OBJECT( tmp_listcomp_1__iter_value_0 );
|
|
tmp_assign_source_5 = tmp_listcomp_1__iter_value_0;
|
|
{
|
|
PyObject *old = outline_0_var_k;
|
|
outline_0_var_k = tmp_assign_source_5;
|
|
Py_INCREF( outline_0_var_k );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_append_list_1;
|
|
PyObject *tmp_append_value_1;
|
|
PyObject *tmp_list_element_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
CHECK_OBJECT( tmp_listcomp_1__contraction );
|
|
tmp_append_list_1 = tmp_listcomp_1__contraction;
|
|
CHECK_OBJECT( outline_0_var_k );
|
|
tmp_list_element_1 = outline_0_var_k;
|
|
tmp_append_value_1 = PyList_New( 2 );
|
|
Py_INCREF( tmp_list_element_1 );
|
|
PyList_SET_ITEM( tmp_append_value_1, 0, tmp_list_element_1 );
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_append_value_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 212;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = par_self;
|
|
CHECK_OBJECT( outline_0_var_k );
|
|
tmp_subscript_name_1 = outline_0_var_k;
|
|
tmp_list_element_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
if ( tmp_list_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_append_value_1 );
|
|
|
|
exception_lineno = 212;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
PyList_SET_ITEM( tmp_append_value_1, 1, tmp_list_element_1 );
|
|
assert( PyList_Check( tmp_append_list_1 ) );
|
|
tmp_res = PyList_Append( tmp_append_list_1, tmp_append_value_1 );
|
|
Py_DECREF( tmp_append_value_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 212;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 212;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( tmp_listcomp_1__contraction );
|
|
tmp_assign_source_1 = tmp_listcomp_1__contraction;
|
|
Py_INCREF( tmp_assign_source_1 );
|
|
goto try_return_handler_3;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_18___reduce__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_3:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 );
|
|
Py_DECREF( tmp_listcomp_1__$0 );
|
|
tmp_listcomp_1__$0 = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction );
|
|
Py_DECREF( tmp_listcomp_1__contraction );
|
|
tmp_listcomp_1__contraction = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_listcomp_1__iter_value_0 );
|
|
tmp_listcomp_1__iter_value_0 = NULL;
|
|
|
|
}
|
|
{
|
|
goto frame_return_exit_2;
|
|
}
|
|
// 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;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 );
|
|
Py_DECREF( tmp_listcomp_1__$0 );
|
|
tmp_listcomp_1__$0 = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction );
|
|
Py_DECREF( tmp_listcomp_1__contraction );
|
|
tmp_listcomp_1__contraction = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_listcomp_1__iter_value_0 );
|
|
tmp_listcomp_1__iter_value_0 = 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_2;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_adb31af0e425583385864fa298e40e70_2 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_2:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_adb31af0e425583385864fa298e40e70_2 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_2;
|
|
|
|
frame_exception_exit_2:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_adb31af0e425583385864fa298e40e70_2 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_adb31af0e425583385864fa298e40e70_2, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_adb31af0e425583385864fa298e40e70_2->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_adb31af0e425583385864fa298e40e70_2, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_adb31af0e425583385864fa298e40e70_2,
|
|
type_description_2,
|
|
outline_0_var_k,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_adb31af0e425583385864fa298e40e70_2 == cache_frame_adb31af0e425583385864fa298e40e70_2 )
|
|
{
|
|
Py_DECREF( frame_adb31af0e425583385864fa298e40e70_2 );
|
|
}
|
|
cache_frame_adb31af0e425583385864fa298e40e70_2 = NULL;
|
|
|
|
assertFrameObject( frame_adb31af0e425583385864fa298e40e70_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:;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
skip_nested_handling_1:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_18___reduce__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_2:;
|
|
{
|
|
Py_XDECREF( outline_0_var_k );
|
|
outline_0_var_k = NULL;
|
|
|
|
}
|
|
{
|
|
goto outline_result_1;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
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_XDECREF( outline_0_var_k );
|
|
outline_0_var_k = 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 outline_exception_1;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_18___reduce__ );
|
|
return NULL;
|
|
outline_exception_1:;
|
|
exception_lineno = 212;
|
|
goto frame_exception_exit_1;
|
|
outline_result_1:;
|
|
assert( var_items == NULL );
|
|
var_items = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_vars_arg_1;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 213;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_vars_arg_1 = par_self;
|
|
tmp_called_instance_1 = LOOKUP_VARS( tmp_vars_arg_1 );
|
|
if ( tmp_called_instance_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 213;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_0827175ec9e4f390132c88b0aa197ff6->m_frame.f_lineno = 213;
|
|
tmp_assign_source_6 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_copy );
|
|
Py_DECREF( tmp_called_instance_1 );
|
|
if ( tmp_assign_source_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 213;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_inst_dict == NULL );
|
|
var_inst_dict = tmp_assign_source_6;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
PyObject *tmp_iter_arg_2;
|
|
PyObject *tmp_vars_arg_2;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$packages$ordered_dict, (Nuitka_StringObject *)const_str_plain_OrderedDict );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OrderedDict );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OrderedDict" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 214;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
frame_0827175ec9e4f390132c88b0aa197ff6->m_frame.f_lineno = 214;
|
|
tmp_vars_arg_2 = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 );
|
|
if ( tmp_vars_arg_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 214;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_iter_arg_2 = LOOKUP_VARS( tmp_vars_arg_2 );
|
|
Py_DECREF( tmp_vars_arg_2 );
|
|
if ( tmp_iter_arg_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 214;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_7 = MAKE_ITERATOR( tmp_iter_arg_2 );
|
|
Py_DECREF( tmp_iter_arg_2 );
|
|
if ( tmp_assign_source_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 214;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_for_loop_1__for_iterator == NULL );
|
|
tmp_for_loop_1__for_iterator = tmp_assign_source_7;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_2:;
|
|
{
|
|
PyObject *tmp_next_source_2;
|
|
PyObject *tmp_assign_source_8;
|
|
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
|
|
tmp_next_source_2 = tmp_for_loop_1__for_iterator;
|
|
tmp_assign_source_8 = ITERATOR_NEXT( tmp_next_source_2 );
|
|
if ( tmp_assign_source_8 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_2;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "oooo";
|
|
exception_lineno = 214;
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_1__iter_value;
|
|
tmp_for_loop_1__iter_value = tmp_assign_source_8;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_9;
|
|
CHECK_OBJECT( tmp_for_loop_1__iter_value );
|
|
tmp_assign_source_9 = tmp_for_loop_1__iter_value;
|
|
{
|
|
PyObject *old = var_k;
|
|
var_k = tmp_assign_source_9;
|
|
Py_INCREF( var_k );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
if ( var_inst_dict == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "inst_dict" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 215;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_source_name_1 = var_inst_dict;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_pop );
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 215;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
if ( var_k == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "k" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 215;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_args_element_name_1 = var_k;
|
|
tmp_args_element_name_2 = Py_None;
|
|
frame_0827175ec9e4f390132c88b0aa197ff6->m_frame.f_lineno = 215;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 215;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 214;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
goto loop_start_2;
|
|
loop_end_2:;
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_4:;
|
|
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;
|
|
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
// 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 frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
int tmp_truth_name_1;
|
|
if ( var_inst_dict == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "inst_dict" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 216;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_truth_name_1 = CHECK_IF_TRUE( var_inst_dict );
|
|
if ( tmp_truth_name_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 216;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = tmp_truth_name_1 == 1 ? 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:;
|
|
{
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_tuple_element_2;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 217;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_2 );
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 217;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_return_value = PyTuple_New( 3 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_1 );
|
|
if ( var_items == NULL )
|
|
{
|
|
Py_DECREF( tmp_return_value );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "items" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 217;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_2 = var_items;
|
|
tmp_tuple_element_1 = PyTuple_New( 1 );
|
|
Py_INCREF( tmp_tuple_element_2 );
|
|
PyTuple_SET_ITEM( tmp_tuple_element_1, 0, tmp_tuple_element_2 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_1 );
|
|
if ( var_inst_dict == NULL )
|
|
{
|
|
Py_DECREF( tmp_return_value );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "inst_dict" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 217;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = var_inst_dict;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 2, tmp_tuple_element_1 );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_tuple_element_3;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_tuple_element_4;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 218;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_3 = par_self;
|
|
tmp_tuple_element_3 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_3 );
|
|
if ( tmp_tuple_element_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 218;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_return_value = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_3 );
|
|
if ( var_items == NULL )
|
|
{
|
|
Py_DECREF( tmp_return_value );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "items" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 218;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_4 = var_items;
|
|
tmp_tuple_element_3 = PyTuple_New( 1 );
|
|
Py_INCREF( tmp_tuple_element_4 );
|
|
PyTuple_SET_ITEM( tmp_tuple_element_3, 0, tmp_tuple_element_4 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_3 );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_0827175ec9e4f390132c88b0aa197ff6 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_2;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_0827175ec9e4f390132c88b0aa197ff6 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_0827175ec9e4f390132c88b0aa197ff6 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_0827175ec9e4f390132c88b0aa197ff6, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_0827175ec9e4f390132c88b0aa197ff6->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_0827175ec9e4f390132c88b0aa197ff6, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_0827175ec9e4f390132c88b0aa197ff6,
|
|
type_description_1,
|
|
par_self,
|
|
var_items,
|
|
var_inst_dict,
|
|
var_k
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_0827175ec9e4f390132c88b0aa197ff6 == cache_frame_0827175ec9e4f390132c88b0aa197ff6 )
|
|
{
|
|
Py_DECREF( frame_0827175ec9e4f390132c88b0aa197ff6 );
|
|
}
|
|
cache_frame_0827175ec9e4f390132c88b0aa197ff6 = NULL;
|
|
|
|
assertFrameObject( frame_0827175ec9e4f390132c88b0aa197ff6 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_2:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_18___reduce__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_items );
|
|
var_items = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_inst_dict );
|
|
var_inst_dict = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_k );
|
|
var_k = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
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( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_items );
|
|
var_items = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_inst_dict );
|
|
var_inst_dict = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_k );
|
|
var_k = 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_18___reduce__ );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_19_copy( 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 ];
|
|
struct Nuitka_FrameObject *frame_894b92b77a93529eb831df84bc615f87;
|
|
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;
|
|
static struct Nuitka_FrameObject *cache_frame_894b92b77a93529eb831df84bc615f87 = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_894b92b77a93529eb831df84bc615f87, codeobj_894b92b77a93529eb831df84bc615f87, module_urllib3$packages$ordered_dict, sizeof(void *) );
|
|
frame_894b92b77a93529eb831df84bc615f87 = cache_frame_894b92b77a93529eb831df84bc615f87;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_894b92b77a93529eb831df84bc615f87 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_894b92b77a93529eb831df84bc615f87 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_1 );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 222;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == 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", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 222;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_self;
|
|
frame_894b92b77a93529eb831df84bc615f87->m_frame.f_lineno = 222;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 222;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_894b92b77a93529eb831df84bc615f87 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_894b92b77a93529eb831df84bc615f87 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_894b92b77a93529eb831df84bc615f87 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_894b92b77a93529eb831df84bc615f87, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_894b92b77a93529eb831df84bc615f87->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_894b92b77a93529eb831df84bc615f87, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_894b92b77a93529eb831df84bc615f87,
|
|
type_description_1,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_894b92b77a93529eb831df84bc615f87 == cache_frame_894b92b77a93529eb831df84bc615f87 )
|
|
{
|
|
Py_DECREF( frame_894b92b77a93529eb831df84bc615f87 );
|
|
}
|
|
cache_frame_894b92b77a93529eb831df84bc615f87 = NULL;
|
|
|
|
assertFrameObject( frame_894b92b77a93529eb831df84bc615f87 );
|
|
|
|
// 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( urllib3$packages$ordered_dict$$$function_19_copy );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// 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;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_19_copy );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_20_fromkeys( 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_cls = python_pars[ 0 ];
|
|
PyObject *par_iterable = python_pars[ 1 ];
|
|
PyObject *par_value = python_pars[ 2 ];
|
|
PyObject *var_d = NULL;
|
|
PyObject *var_key = NULL;
|
|
PyObject *tmp_for_loop_1__for_iterator = NULL;
|
|
PyObject *tmp_for_loop_1__iter_value = NULL;
|
|
struct Nuitka_FrameObject *frame_fc1ed1ea54d933a0f949256dfaa5c003;
|
|
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;
|
|
bool tmp_result;
|
|
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 *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_fc1ed1ea54d933a0f949256dfaa5c003 = 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;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_fc1ed1ea54d933a0f949256dfaa5c003, codeobj_fc1ed1ea54d933a0f949256dfaa5c003, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_fc1ed1ea54d933a0f949256dfaa5c003 = cache_frame_fc1ed1ea54d933a0f949256dfaa5c003;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_fc1ed1ea54d933a0f949256dfaa5c003 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_fc1ed1ea54d933a0f949256dfaa5c003 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_called_name_1;
|
|
CHECK_OBJECT( par_cls );
|
|
tmp_called_name_1 = par_cls;
|
|
frame_fc1ed1ea54d933a0f949256dfaa5c003->m_frame.f_lineno = 230;
|
|
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 230;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_d == NULL );
|
|
var_d = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_iter_arg_1;
|
|
if ( par_iterable == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "iterable" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 231;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_iter_arg_1 = par_iterable;
|
|
tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 231;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_for_loop_1__for_iterator == NULL );
|
|
tmp_for_loop_1__for_iterator = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_3;
|
|
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
|
|
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
|
|
tmp_assign_source_3 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_1;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "ooooo";
|
|
exception_lineno = 231;
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_1__iter_value;
|
|
tmp_for_loop_1__iter_value = tmp_assign_source_3;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
CHECK_OBJECT( tmp_for_loop_1__iter_value );
|
|
tmp_assign_source_4 = tmp_for_loop_1__iter_value;
|
|
{
|
|
PyObject *old = var_key;
|
|
var_key = tmp_assign_source_4;
|
|
Py_INCREF( var_key );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_ass_subscript_1;
|
|
if ( par_value == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 232;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_ass_subvalue_1 = par_value;
|
|
if ( var_d == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "d" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 232;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_ass_subscribed_1 = var_d;
|
|
CHECK_OBJECT( var_key );
|
|
tmp_ass_subscript_1 = var_key;
|
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 232;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 231;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
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;
|
|
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = 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:;
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
if ( var_d == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "d" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 233;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_return_value = var_d;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_fc1ed1ea54d933a0f949256dfaa5c003 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_fc1ed1ea54d933a0f949256dfaa5c003 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_fc1ed1ea54d933a0f949256dfaa5c003 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_fc1ed1ea54d933a0f949256dfaa5c003, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_fc1ed1ea54d933a0f949256dfaa5c003->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_fc1ed1ea54d933a0f949256dfaa5c003, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_fc1ed1ea54d933a0f949256dfaa5c003,
|
|
type_description_1,
|
|
par_cls,
|
|
par_iterable,
|
|
par_value,
|
|
var_d,
|
|
var_key
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_fc1ed1ea54d933a0f949256dfaa5c003 == cache_frame_fc1ed1ea54d933a0f949256dfaa5c003 )
|
|
{
|
|
Py_DECREF( frame_fc1ed1ea54d933a0f949256dfaa5c003 );
|
|
}
|
|
cache_frame_fc1ed1ea54d933a0f949256dfaa5c003 = NULL;
|
|
|
|
assertFrameObject( frame_fc1ed1ea54d933a0f949256dfaa5c003 );
|
|
|
|
// 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( urllib3$packages$ordered_dict$$$function_20_fromkeys );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_cls );
|
|
par_cls = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_iterable );
|
|
par_iterable = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_d );
|
|
var_d = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_key );
|
|
var_key = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
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_XDECREF( par_cls );
|
|
par_cls = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_iterable );
|
|
par_iterable = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_d );
|
|
var_d = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_key );
|
|
var_key = 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_20_fromkeys );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_21___eq__( 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 *par_other = python_pars[ 1 ];
|
|
struct Nuitka_FrameObject *frame_3a770836e3fc4f27bf0b96e94da52382;
|
|
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;
|
|
int tmp_res;
|
|
PyObject *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_3a770836e3fc4f27bf0b96e94da52382 = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_3a770836e3fc4f27bf0b96e94da52382, codeobj_3a770836e3fc4f27bf0b96e94da52382, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *) );
|
|
frame_3a770836e3fc4f27bf0b96e94da52382 = cache_frame_3a770836e3fc4f27bf0b96e94da52382;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_3a770836e3fc4f27bf0b96e94da52382 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_3a770836e3fc4f27bf0b96e94da52382 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_isinstance_inst_1;
|
|
PyObject *tmp_isinstance_cls_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_other );
|
|
tmp_isinstance_inst_1 = par_other;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$packages$ordered_dict, (Nuitka_StringObject *)const_str_plain_OrderedDict );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OrderedDict );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OrderedDict" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 240;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_isinstance_cls_1 = tmp_mvar_value_1;
|
|
tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 240;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
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:;
|
|
{
|
|
int tmp_and_left_truth_1;
|
|
PyObject *tmp_and_left_value_1;
|
|
PyObject *tmp_and_right_value_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
PyObject *tmp_len_arg_1;
|
|
PyObject *tmp_len_arg_2;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_called_instance_2;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_len_arg_1 = par_self;
|
|
tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 );
|
|
if ( tmp_compexpr_left_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_other == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_len_arg_2 = par_other;
|
|
tmp_compexpr_right_1 = BUILTIN_LEN( tmp_len_arg_2 );
|
|
if ( tmp_compexpr_right_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_and_left_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
Py_DECREF( tmp_compexpr_right_1 );
|
|
if ( tmp_and_left_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_and_left_truth_1 = CHECK_IF_TRUE( tmp_and_left_value_1 );
|
|
if ( tmp_and_left_truth_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_and_left_value_1 );
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( tmp_and_left_truth_1 == 1 )
|
|
{
|
|
goto and_right_1;
|
|
}
|
|
else
|
|
{
|
|
goto and_left_1;
|
|
}
|
|
and_right_1:;
|
|
Py_DECREF( tmp_and_left_value_1 );
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_1 = par_self;
|
|
frame_3a770836e3fc4f27bf0b96e94da52382->m_frame.f_lineno = 241;
|
|
tmp_compexpr_left_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_items );
|
|
if ( tmp_compexpr_left_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_other == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_2 = par_other;
|
|
frame_3a770836e3fc4f27bf0b96e94da52382->m_frame.f_lineno = 241;
|
|
tmp_compexpr_right_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_items );
|
|
if ( tmp_compexpr_right_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_compexpr_left_2 );
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_and_right_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 );
|
|
Py_DECREF( tmp_compexpr_left_2 );
|
|
Py_DECREF( tmp_compexpr_right_2 );
|
|
if ( tmp_and_right_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_return_value = tmp_and_right_value_1;
|
|
goto and_end_1;
|
|
and_left_1:;
|
|
tmp_return_value = tmp_and_left_value_1;
|
|
and_end_1:;
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_called_instance_3;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_called_instance_3 = (PyObject *)&PyDict_Type;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_args_element_name_1 = par_self;
|
|
CHECK_OBJECT( par_other );
|
|
tmp_args_element_name_2 = par_other;
|
|
frame_3a770836e3fc4f27bf0b96e94da52382->m_frame.f_lineno = 242;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_return_value = CALL_METHOD_WITH_ARGS2( tmp_called_instance_3, const_str_plain___eq__, call_args );
|
|
}
|
|
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 242;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_3a770836e3fc4f27bf0b96e94da52382 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_3a770836e3fc4f27bf0b96e94da52382 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_3a770836e3fc4f27bf0b96e94da52382 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_3a770836e3fc4f27bf0b96e94da52382, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_3a770836e3fc4f27bf0b96e94da52382->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_3a770836e3fc4f27bf0b96e94da52382, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_3a770836e3fc4f27bf0b96e94da52382,
|
|
type_description_1,
|
|
par_self,
|
|
par_other
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_3a770836e3fc4f27bf0b96e94da52382 == cache_frame_3a770836e3fc4f27bf0b96e94da52382 )
|
|
{
|
|
Py_DECREF( frame_3a770836e3fc4f27bf0b96e94da52382 );
|
|
}
|
|
cache_frame_3a770836e3fc4f27bf0b96e94da52382 = NULL;
|
|
|
|
assertFrameObject( frame_3a770836e3fc4f27bf0b96e94da52382 );
|
|
|
|
// 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( urllib3$packages$ordered_dict$$$function_21___eq__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_other );
|
|
par_other = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// 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;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_other );
|
|
par_other = 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_21___eq__ );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_22___ne__( 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 *par_other = python_pars[ 1 ];
|
|
struct Nuitka_FrameObject *frame_0ffdda3a133b16cea42687c96033983f;
|
|
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;
|
|
int tmp_res;
|
|
static struct Nuitka_FrameObject *cache_frame_0ffdda3a133b16cea42687c96033983f = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_0ffdda3a133b16cea42687c96033983f, codeobj_0ffdda3a133b16cea42687c96033983f, module_urllib3$packages$ordered_dict, sizeof(void *)+sizeof(void *) );
|
|
frame_0ffdda3a133b16cea42687c96033983f = cache_frame_0ffdda3a133b16cea42687c96033983f;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_0ffdda3a133b16cea42687c96033983f );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_0ffdda3a133b16cea42687c96033983f ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_operand_name_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_compexpr_left_1 = par_self;
|
|
CHECK_OBJECT( par_other );
|
|
tmp_compexpr_right_1 = par_other;
|
|
tmp_operand_name_1 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
if ( tmp_operand_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 245;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
|
|
Py_DECREF( tmp_operand_name_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 245;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_return_value = ( tmp_res == 0 ) ? Py_True : Py_False;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_0ffdda3a133b16cea42687c96033983f );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_0ffdda3a133b16cea42687c96033983f );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_0ffdda3a133b16cea42687c96033983f );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_0ffdda3a133b16cea42687c96033983f, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_0ffdda3a133b16cea42687c96033983f->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_0ffdda3a133b16cea42687c96033983f, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_0ffdda3a133b16cea42687c96033983f,
|
|
type_description_1,
|
|
par_self,
|
|
par_other
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_0ffdda3a133b16cea42687c96033983f == cache_frame_0ffdda3a133b16cea42687c96033983f )
|
|
{
|
|
Py_DECREF( frame_0ffdda3a133b16cea42687c96033983f );
|
|
}
|
|
cache_frame_0ffdda3a133b16cea42687c96033983f = NULL;
|
|
|
|
assertFrameObject( frame_0ffdda3a133b16cea42687c96033983f );
|
|
|
|
// 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( urllib3$packages$ordered_dict$$$function_22___ne__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_other );
|
|
par_other = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// 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;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_other );
|
|
par_other = 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_22___ne__ );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_23_viewkeys( 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 ];
|
|
struct Nuitka_FrameObject *frame_70394ae44f3f81d741ea6d1c063eb27e;
|
|
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;
|
|
static struct Nuitka_FrameObject *cache_frame_70394ae44f3f81d741ea6d1c063eb27e = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_70394ae44f3f81d741ea6d1c063eb27e, codeobj_70394ae44f3f81d741ea6d1c063eb27e, module_urllib3$packages$ordered_dict, sizeof(void *) );
|
|
frame_70394ae44f3f81d741ea6d1c063eb27e = cache_frame_70394ae44f3f81d741ea6d1c063eb27e;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_70394ae44f3f81d741ea6d1c063eb27e );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_70394ae44f3f81d741ea6d1c063eb27e ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$packages$ordered_dict, (Nuitka_StringObject *)const_str_plain_KeysView );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_KeysView );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "KeysView" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 251;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_args_element_name_1 = par_self;
|
|
frame_70394ae44f3f81d741ea6d1c063eb27e->m_frame.f_lineno = 251;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 251;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_70394ae44f3f81d741ea6d1c063eb27e );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_70394ae44f3f81d741ea6d1c063eb27e );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_70394ae44f3f81d741ea6d1c063eb27e );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_70394ae44f3f81d741ea6d1c063eb27e, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_70394ae44f3f81d741ea6d1c063eb27e->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_70394ae44f3f81d741ea6d1c063eb27e, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_70394ae44f3f81d741ea6d1c063eb27e,
|
|
type_description_1,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_70394ae44f3f81d741ea6d1c063eb27e == cache_frame_70394ae44f3f81d741ea6d1c063eb27e )
|
|
{
|
|
Py_DECREF( frame_70394ae44f3f81d741ea6d1c063eb27e );
|
|
}
|
|
cache_frame_70394ae44f3f81d741ea6d1c063eb27e = NULL;
|
|
|
|
assertFrameObject( frame_70394ae44f3f81d741ea6d1c063eb27e );
|
|
|
|
// 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( urllib3$packages$ordered_dict$$$function_23_viewkeys );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// 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;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_23_viewkeys );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_24_viewvalues( 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 ];
|
|
struct Nuitka_FrameObject *frame_e163af2316529daa451c1eb522a1a722;
|
|
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;
|
|
static struct Nuitka_FrameObject *cache_frame_e163af2316529daa451c1eb522a1a722 = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_e163af2316529daa451c1eb522a1a722, codeobj_e163af2316529daa451c1eb522a1a722, module_urllib3$packages$ordered_dict, sizeof(void *) );
|
|
frame_e163af2316529daa451c1eb522a1a722 = cache_frame_e163af2316529daa451c1eb522a1a722;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_e163af2316529daa451c1eb522a1a722 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_e163af2316529daa451c1eb522a1a722 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$packages$ordered_dict, (Nuitka_StringObject *)const_str_plain_ValuesView );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ValuesView );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ValuesView" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 255;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_args_element_name_1 = par_self;
|
|
frame_e163af2316529daa451c1eb522a1a722->m_frame.f_lineno = 255;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 255;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_e163af2316529daa451c1eb522a1a722 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_e163af2316529daa451c1eb522a1a722 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_e163af2316529daa451c1eb522a1a722 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_e163af2316529daa451c1eb522a1a722, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_e163af2316529daa451c1eb522a1a722->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_e163af2316529daa451c1eb522a1a722, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_e163af2316529daa451c1eb522a1a722,
|
|
type_description_1,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_e163af2316529daa451c1eb522a1a722 == cache_frame_e163af2316529daa451c1eb522a1a722 )
|
|
{
|
|
Py_DECREF( frame_e163af2316529daa451c1eb522a1a722 );
|
|
}
|
|
cache_frame_e163af2316529daa451c1eb522a1a722 = NULL;
|
|
|
|
assertFrameObject( frame_e163af2316529daa451c1eb522a1a722 );
|
|
|
|
// 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( urllib3$packages$ordered_dict$$$function_24_viewvalues );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// 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;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_24_viewvalues );
|
|
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 *impl_urllib3$packages$ordered_dict$$$function_25_viewitems( 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 ];
|
|
struct Nuitka_FrameObject *frame_77084e84de1b78cbf7066519251a0c1f;
|
|
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;
|
|
static struct Nuitka_FrameObject *cache_frame_77084e84de1b78cbf7066519251a0c1f = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_77084e84de1b78cbf7066519251a0c1f, codeobj_77084e84de1b78cbf7066519251a0c1f, module_urllib3$packages$ordered_dict, sizeof(void *) );
|
|
frame_77084e84de1b78cbf7066519251a0c1f = cache_frame_77084e84de1b78cbf7066519251a0c1f;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_77084e84de1b78cbf7066519251a0c1f );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_77084e84de1b78cbf7066519251a0c1f ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$packages$ordered_dict, (Nuitka_StringObject *)const_str_plain_ItemsView );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ItemsView );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ItemsView" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 259;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_args_element_name_1 = par_self;
|
|
frame_77084e84de1b78cbf7066519251a0c1f->m_frame.f_lineno = 259;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 259;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_77084e84de1b78cbf7066519251a0c1f );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_77084e84de1b78cbf7066519251a0c1f );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_77084e84de1b78cbf7066519251a0c1f );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_77084e84de1b78cbf7066519251a0c1f, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_77084e84de1b78cbf7066519251a0c1f->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_77084e84de1b78cbf7066519251a0c1f, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_77084e84de1b78cbf7066519251a0c1f,
|
|
type_description_1,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_77084e84de1b78cbf7066519251a0c1f == cache_frame_77084e84de1b78cbf7066519251a0c1f )
|
|
{
|
|
Py_DECREF( frame_77084e84de1b78cbf7066519251a0c1f );
|
|
}
|
|
cache_frame_77084e84de1b78cbf7066519251a0c1f = NULL;
|
|
|
|
assertFrameObject( frame_77084e84de1b78cbf7066519251a0c1f );
|
|
|
|
// 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( urllib3$packages$ordered_dict$$$function_25_viewitems );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// 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;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict$$$function_25_viewitems );
|
|
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_urllib3$packages$ordered_dict$$$function_10_items( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_10_items,
|
|
const_str_plain_items,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_f1826196b2a54e655c731dc016d4bb08,
|
|
#endif
|
|
codeobj_5b5322524513e77e9a70e8e364cdd569,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_f3e0cbe88e70ec7277780b85c340c375,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_11_iterkeys( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_11_iterkeys,
|
|
const_str_plain_iterkeys,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_b16336e6ea5c08519a5191d4bed109af,
|
|
#endif
|
|
codeobj_5f11a06b4e5888cbe0215ee8c54d1ccf,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_bd012b4b0748e99cf7a42eae75a1cea4,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_12_itervalues( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_12_itervalues,
|
|
const_str_plain_itervalues,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_82e84a6f57600471c847d9787f10b5d9,
|
|
#endif
|
|
codeobj_0dda58c249de46050c9ac1ee0dc0436a,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_3ee5faa90e790420739d976c7f83dde1,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_13_iteritems( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_13_iteritems,
|
|
const_str_plain_iteritems,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_1abc2e9d1e3e62fd652a2689a6f7f7f1,
|
|
#endif
|
|
codeobj_b1c3a43a30f983109dc8743b4f23ba2a,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_0c6474ca202428b6e3ca689cd6bfdca3,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_14_update( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_14_update,
|
|
const_str_plain_update,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_4734fd9569ec338453e5f1f6113540a4,
|
|
#endif
|
|
codeobj_a8b295fb5076f17469773932f9d9ca51,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_b223e66ed79e2890a219c0b7394d2434,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_15_pop( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_15_pop,
|
|
const_str_plain_pop,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_87d3a5e375e293a56b73fae40629806c,
|
|
#endif
|
|
codeobj_4f5b0613e9ab464afd620cec3e018f0d,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_9157e79e1b89ca82d9ea8399fc7aebaa,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_16_setdefault( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_16_setdefault,
|
|
const_str_plain_setdefault,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_c6c169daffc747096694e147807200e0,
|
|
#endif
|
|
codeobj_9a8c9df435f179d5a498bf41883a7f2a,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_83fac54d35e8d439a3cfefb870161c48,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_17___repr__( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_17___repr__,
|
|
const_str_plain___repr__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_ebdcec19e7bcf2ba8bda64d6ba1f1cca,
|
|
#endif
|
|
codeobj_ee444892aa68ae6ed30828670dd5241c,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_be94845c4c1f2f24c6e6fab02283c64f,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_18___reduce__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_18___reduce__,
|
|
const_str_plain___reduce__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_5e7c8c8b99ef864465e4c113b3237a03,
|
|
#endif
|
|
codeobj_0827175ec9e4f390132c88b0aa197ff6,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_398a9510626c28771e3016eab084a9df,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_19_copy( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_19_copy,
|
|
const_str_plain_copy,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_6d198bd39eca79ed9cddf9957568617c,
|
|
#endif
|
|
codeobj_894b92b77a93529eb831df84bc615f87,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_9338244f6a909a8dde702d0422d1dae5,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_1___init__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_1___init__,
|
|
const_str_plain___init__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_0e1156af3a88a8e936e8674a3d6b6806,
|
|
#endif
|
|
codeobj_beb6946118b623cf4d4348890b102ddd,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_94091037ba750208ff6e42e6b97c139a,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_20_fromkeys( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_20_fromkeys,
|
|
const_str_plain_fromkeys,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_beb858f210df624f0783e699caf90c05,
|
|
#endif
|
|
codeobj_fc1ed1ea54d933a0f949256dfaa5c003,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_13abacc7a089ce9e4c110f667b93e006,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_21___eq__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_21___eq__,
|
|
const_str_plain___eq__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_24436575bf9ec4ac30eb73338f660906,
|
|
#endif
|
|
codeobj_3a770836e3fc4f27bf0b96e94da52382,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_babdc4f66217a3c0e17d4cb34105d952,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_22___ne__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_22___ne__,
|
|
const_str_plain___ne__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_7cfcb25a24e7cac7cc6ee84a854710d7,
|
|
#endif
|
|
codeobj_0ffdda3a133b16cea42687c96033983f,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_23_viewkeys( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_23_viewkeys,
|
|
const_str_plain_viewkeys,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_a588e6ed29534c2361246fd338307dec,
|
|
#endif
|
|
codeobj_70394ae44f3f81d741ea6d1c063eb27e,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_05be935daaf4f5097ddb72b3876d1db8,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_24_viewvalues( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_24_viewvalues,
|
|
const_str_plain_viewvalues,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_0c6f045aac0417ed1c4f9b20c950f314,
|
|
#endif
|
|
codeobj_e163af2316529daa451c1eb522a1a722,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_47c4edf0da473bf0c670a5848b1eac5c,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_25_viewitems( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_25_viewitems,
|
|
const_str_plain_viewitems,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_7e7736f8404acff72a411b3b8f14c989,
|
|
#endif
|
|
codeobj_77084e84de1b78cbf7066519251a0c1f,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_305239d008982df9b14c314167a24dd6,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_2___setitem__( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_2___setitem__,
|
|
const_str_plain___setitem__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_bbc5966bbdd6035a3d46e4935aaa5c75,
|
|
#endif
|
|
codeobj_10a5689f470828578ae6bafdf0b39e73,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_81a0f3fef26c32f921598862ebc4c7ab,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_3___delitem__( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_3___delitem__,
|
|
const_str_plain___delitem__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_f385ad6f00729df87e8e065ba3237964,
|
|
#endif
|
|
codeobj_439eedee997259a51ce825a628e41d14,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_68cfebc72b19eb789aadb3994e88afc6,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_4___iter__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_4___iter__,
|
|
const_str_plain___iter__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_43c170d8223c5638f8e1bef26d0a2d31,
|
|
#endif
|
|
codeobj_fcc667f7afbc0f152e8100f0a39f0119,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_c8d31d42c1d4cdeea09aa03603f638fc,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_5___reversed__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_5___reversed__,
|
|
const_str_plain___reversed__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_c8da176fd6b7d11fbd22070ccb29a1af,
|
|
#endif
|
|
codeobj_9380b6497339e703ecb8d6d1322a10a3,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_d76257728a0f131201c6285369c416b8,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_6_clear( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_6_clear,
|
|
const_str_plain_clear,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_351154bb99ab4ba47a9bef35a8154a6c,
|
|
#endif
|
|
codeobj_c6a9e8565fa7eb151f914174228091c9,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_f9115856084c1c1c7e8d60bda6a9e62b,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_7_popitem( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_7_popitem,
|
|
const_str_plain_popitem,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_59e66388ada67b5c6aa016ad0dc01b72,
|
|
#endif
|
|
codeobj_bee47b30ec592ee58c813e21fad3510a,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_25d59e8546980c52df7a89187575c622,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_8_keys( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_8_keys,
|
|
const_str_plain_keys,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_76cbcf216040ade0f3f170fb1ee5b1bd,
|
|
#endif
|
|
codeobj_64ab7b624ede46d7b283cb7d162b5585,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_8d1441b7ba5d27607af9841e4a4b9f40,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_9_values( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_urllib3$packages$ordered_dict$$$function_9_values,
|
|
const_str_plain_values,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_98c0c6e564c3099f40ff00ff6f96da49,
|
|
#endif
|
|
codeobj_e0f0a0adc7659388592a68d5d7a59bcc,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_urllib3$packages$ordered_dict,
|
|
const_str_digest_ab8d4602df1265ea8423de4daee1303b,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
static struct PyModuleDef mdef_urllib3$packages$ordered_dict =
|
|
{
|
|
PyModuleDef_HEAD_INIT,
|
|
"urllib3.packages.ordered_dict", /* 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( urllib3$packages$ordered_dict )
|
|
{
|
|
#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_urllib3$packages$ordered_dict );
|
|
}
|
|
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("urllib3.packages.ordered_dict: 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("urllib3.packages.ordered_dict: Calling createModuleConstants().");
|
|
#endif
|
|
createModuleConstants();
|
|
|
|
/* The code objects used by this module are created now. */
|
|
#ifdef _NUITKA_TRACE
|
|
puts("urllib3.packages.ordered_dict: Calling createModuleCodeObjects().");
|
|
#endif
|
|
createModuleCodeObjects();
|
|
|
|
// puts( "in initurllib3$packages$ordered_dict" );
|
|
|
|
// 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_urllib3$packages$ordered_dict = Py_InitModule4(
|
|
"urllib3.packages.ordered_dict", // 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_urllib3$packages$ordered_dict = PyModule_Create( &mdef_urllib3$packages$ordered_dict );
|
|
#endif
|
|
|
|
moduledict_urllib3$packages$ordered_dict = MODULE_DICT( module_urllib3$packages$ordered_dict );
|
|
|
|
// Update "__package__" value to what it ought to be.
|
|
{
|
|
#if 0
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_urllib3$packages$ordered_dict, (Nuitka_StringObject *)const_str_plain___name__ );
|
|
|
|
UPDATE_STRING_DICT1(
|
|
moduledict_urllib3$packages$ordered_dict,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
module_name
|
|
);
|
|
|
|
#else
|
|
|
|
#if PYTHON_VERSION < 300
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_urllib3$packages$ordered_dict, (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_urllib3$packages$ordered_dict,
|
|
(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_urllib3$packages$ordered_dict, (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_urllib3$packages$ordered_dict,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
PyUnicode_Substring( module_name, 0, dot_index )
|
|
);
|
|
}
|
|
#endif
|
|
#endif
|
|
}
|
|
|
|
CHECK_OBJECT( module_urllib3$packages$ordered_dict );
|
|
|
|
// 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_ce8d4d4a7c94a9a19aa8f866b0be4ea6, module_urllib3$packages$ordered_dict );
|
|
|
|
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_urllib3$packages$ordered_dict, (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_urllib3$packages$ordered_dict, (Nuitka_StringObject *)const_str_plain___builtins__, value );
|
|
}
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
UPDATE_STRING_DICT0( moduledict_urllib3$packages$ordered_dict, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader );
|
|
#endif
|
|
|
|
#if PYTHON_VERSION >= 340
|
|
#if 0
|
|
UPDATE_STRING_DICT0( moduledict_urllib3$packages$ordered_dict, (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_urllib3$packages$ordered_dict, (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_urllib3$packages$ordered_dict, (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 *tmp_class_creation_1__bases = 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_import_from_1__module = NULL;
|
|
struct Nuitka_FrameObject *frame_0879938208f39c05e407d2d3393339dc;
|
|
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;
|
|
PyObject *exception_preserved_type_1;
|
|
PyObject *exception_preserved_value_1;
|
|
PyTracebackObject *exception_preserved_tb_1;
|
|
int tmp_res;
|
|
bool tmp_result;
|
|
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 *exception_preserved_type_2;
|
|
PyObject *exception_preserved_value_2;
|
|
PyTracebackObject *exception_preserved_tb_2;
|
|
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 *tmp_dictdel_dict;
|
|
PyObject *tmp_dictdel_key;
|
|
PyObject *locals_urllib3$packages$ordered_dict_16 = NULL;
|
|
PyObject *tmp_dictset_value;
|
|
struct Nuitka_FrameObject *frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_2;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_2 = NULL;
|
|
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 *exception_keeper_type_8;
|
|
PyObject *exception_keeper_value_8;
|
|
PyTracebackObject *exception_keeper_tb_8;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
|
|
|
|
// Module code.
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
tmp_assign_source_1 = Py_None;
|
|
UPDATE_STRING_DICT0( moduledict_urllib3$packages$ordered_dict, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
tmp_assign_source_2 = const_str_digest_b4d10a9192e04b6032c14ae3d02a899a;
|
|
UPDATE_STRING_DICT0( moduledict_urllib3$packages$ordered_dict, (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_urllib3$packages$ordered_dict, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 );
|
|
}
|
|
// Frame without reuse.
|
|
frame_0879938208f39c05e407d2d3393339dc = MAKE_MODULE_FRAME( codeobj_0879938208f39c05e407d2d3393339dc, module_urllib3$packages$ordered_dict );
|
|
|
|
// Push the new frame as the currently active one, and we should be exclusively
|
|
// owning it.
|
|
pushFrameStack( frame_0879938208f39c05e407d2d3393339dc );
|
|
assert( Py_REFCNT( frame_0879938208f39c05e407d2d3393339dc ) == 2 );
|
|
|
|
// Framed code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_import_name_from_1;
|
|
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_thread;
|
|
tmp_globals_name_1 = (PyObject *)moduledict_urllib3$packages$ordered_dict;
|
|
tmp_locals_name_1 = Py_None;
|
|
tmp_fromlist_name_1 = const_tuple_str_plain_get_ident_tuple;
|
|
tmp_level_name_1 = const_int_0;
|
|
frame_0879938208f39c05e407d2d3393339dc->m_frame.f_lineno = 6;
|
|
tmp_import_name_from_1 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 );
|
|
if ( tmp_import_name_from_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 6;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_assign_source_4 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_get_ident );
|
|
Py_DECREF( tmp_import_name_from_1 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 6;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_urllib3$packages$ordered_dict, (Nuitka_StringObject *)const_str_plain__get_ident, tmp_assign_source_4 );
|
|
}
|
|
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;
|
|
|
|
{
|
|
// 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_1 == NULL )
|
|
{
|
|
exception_keeper_tb_1 = MAKE_TRACEBACK( frame_0879938208f39c05e407d2d3393339dc, exception_keeper_lineno_1 );
|
|
}
|
|
else if ( exception_keeper_lineno_1 != 0 )
|
|
{
|
|
exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_0879938208f39c05e407d2d3393339dc, 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_ImportError;
|
|
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 = 7;
|
|
|
|
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 branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
PyObject *tmp_import_name_from_2;
|
|
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_dummy_thread;
|
|
tmp_globals_name_2 = (PyObject *)moduledict_urllib3$packages$ordered_dict;
|
|
tmp_locals_name_2 = Py_None;
|
|
tmp_fromlist_name_2 = const_tuple_str_plain_get_ident_tuple;
|
|
tmp_level_name_2 = const_int_0;
|
|
frame_0879938208f39c05e407d2d3393339dc->m_frame.f_lineno = 8;
|
|
tmp_import_name_from_2 = 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_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 8;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_assign_source_5 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_get_ident );
|
|
Py_DECREF( tmp_import_name_from_2 );
|
|
if ( tmp_assign_source_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 8;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_urllib3$packages$ordered_dict, (Nuitka_StringObject *)const_str_plain__get_ident, tmp_assign_source_5 );
|
|
}
|
|
goto branch_end_1;
|
|
branch_no_1:;
|
|
{
|
|
tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
if (unlikely( tmp_result == false ))
|
|
{
|
|
exception_lineno = 5;
|
|
}
|
|
|
|
if (exception_tb && exception_tb->tb_frame == &frame_0879938208f39c05e407d2d3393339dc->m_frame) frame_0879938208f39c05e407d2d3393339dc->m_frame.f_lineno = exception_tb->tb_lineno;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
branch_end_1:;
|
|
}
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
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;
|
|
|
|
{
|
|
// 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_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
// Restore previous exception.
|
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
|
}
|
|
goto try_end_1;
|
|
// exception handler codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
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__abcoll;
|
|
tmp_globals_name_3 = (PyObject *)moduledict_urllib3$packages$ordered_dict;
|
|
tmp_locals_name_3 = Py_None;
|
|
tmp_fromlist_name_3 = const_tuple_str_plain_KeysView_str_plain_ValuesView_str_plain_ItemsView_tuple;
|
|
tmp_level_name_3 = const_int_0;
|
|
frame_0879938208f39c05e407d2d3393339dc->m_frame.f_lineno = 11;
|
|
tmp_assign_source_6 = 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_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 11;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( tmp_import_from_1__module == NULL );
|
|
tmp_import_from_1__module = tmp_assign_source_6;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
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_KeysView );
|
|
if ( tmp_assign_source_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 11;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_urllib3$packages$ordered_dict, (Nuitka_StringObject *)const_str_plain_KeysView, tmp_assign_source_7 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_8;
|
|
PyObject *tmp_import_name_from_4;
|
|
CHECK_OBJECT( tmp_import_from_1__module );
|
|
tmp_import_name_from_4 = tmp_import_from_1__module;
|
|
tmp_assign_source_8 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_ValuesView );
|
|
if ( tmp_assign_source_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 11;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_urllib3$packages$ordered_dict, (Nuitka_StringObject *)const_str_plain_ValuesView, tmp_assign_source_8 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_9;
|
|
PyObject *tmp_import_name_from_5;
|
|
CHECK_OBJECT( tmp_import_from_1__module );
|
|
tmp_import_name_from_5 = tmp_import_from_1__module;
|
|
tmp_assign_source_9 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_ItemsView );
|
|
if ( tmp_assign_source_9 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 11;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_urllib3$packages$ordered_dict, (Nuitka_StringObject *)const_str_plain_ItemsView, tmp_assign_source_9 );
|
|
}
|
|
goto try_end_3;
|
|
// Exception handler code:
|
|
try_except_handler_4:;
|
|
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;
|
|
|
|
{
|
|
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_3;
|
|
exception_value = exception_keeper_value_3;
|
|
exception_tb = exception_keeper_tb_3;
|
|
exception_lineno = exception_keeper_lineno_3;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
// End of try:
|
|
try_end_3:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_import_from_1__module );
|
|
Py_DECREF( tmp_import_from_1__module );
|
|
tmp_import_from_1__module = NULL;
|
|
|
|
}
|
|
goto try_end_4;
|
|
// Exception handler code:
|
|
try_except_handler_3:;
|
|
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;
|
|
|
|
{
|
|
// 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_4 == NULL )
|
|
{
|
|
exception_keeper_tb_4 = MAKE_TRACEBACK( frame_0879938208f39c05e407d2d3393339dc, exception_keeper_lineno_4 );
|
|
}
|
|
else if ( exception_keeper_lineno_4 != 0 )
|
|
{
|
|
exception_keeper_tb_4 = ADD_TRACEBACK( exception_keeper_tb_4, frame_0879938208f39c05e407d2d3393339dc, exception_keeper_lineno_4 );
|
|
}
|
|
|
|
NORMALIZE_EXCEPTION( &exception_keeper_type_4, &exception_keeper_value_4, &exception_keeper_tb_4 );
|
|
PyException_SetTraceback( exception_keeper_value_4, (PyObject *)exception_keeper_tb_4 );
|
|
PUBLISH_EXCEPTION( &exception_keeper_type_4, &exception_keeper_value_4, &exception_keeper_tb_4 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_operand_name_1;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET());
|
|
tmp_compexpr_right_2 = PyExc_ImportError;
|
|
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 = 12;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
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 = 12;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
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:;
|
|
{
|
|
tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
if (unlikely( tmp_result == false ))
|
|
{
|
|
exception_lineno = 10;
|
|
}
|
|
|
|
if (exception_tb && exception_tb->tb_frame == &frame_0879938208f39c05e407d2d3393339dc->m_frame) frame_0879938208f39c05e407d2d3393339dc->m_frame.f_lineno = exception_tb->tb_lineno;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
branch_no_2:;
|
|
}
|
|
goto try_end_5;
|
|
// Exception handler code:
|
|
try_except_handler_5:;
|
|
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;
|
|
|
|
{
|
|
// 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_5;
|
|
exception_value = exception_keeper_value_5;
|
|
exception_tb = exception_keeper_tb_5;
|
|
exception_lineno = exception_keeper_lineno_5;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_5:;
|
|
}
|
|
{
|
|
// Restore previous exception.
|
|
SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 );
|
|
}
|
|
goto try_end_4;
|
|
// exception handler codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// End of try:
|
|
try_end_4:;
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_10;
|
|
PyObject *tmp_dircall_arg1_1;
|
|
tmp_dircall_arg1_1 = const_tuple_type_dict_tuple;
|
|
Py_INCREF( tmp_dircall_arg1_1 );
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
|
|
tmp_assign_source_10 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
|
|
}
|
|
if ( tmp_assign_source_10 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 16;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
assert( tmp_class_creation_1__bases == NULL );
|
|
tmp_class_creation_1__bases = tmp_assign_source_10;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_11;
|
|
tmp_assign_source_11 = PyDict_New();
|
|
assert( tmp_class_creation_1__class_decl_dict == NULL );
|
|
tmp_class_creation_1__class_decl_dict = tmp_assign_source_11;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_12;
|
|
PyObject *tmp_metaclass_name_1;
|
|
nuitka_bool tmp_condition_result_3;
|
|
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_4;
|
|
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 = 16;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_3 == 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 = 16;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
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 = 16;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
tmp_condition_result_4 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_4 == 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 = 16;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
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 = 16;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
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_12 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 );
|
|
Py_DECREF( tmp_metaclass_name_1 );
|
|
if ( tmp_assign_source_12 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 16;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
assert( tmp_class_creation_1__metaclass == NULL );
|
|
tmp_class_creation_1__metaclass = tmp_assign_source_12;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_5;
|
|
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 = 16;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
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:;
|
|
{
|
|
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 = 16;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
}
|
|
branch_no_3:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_6;
|
|
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_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:;
|
|
{
|
|
PyObject *tmp_assign_source_13;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_name_1;
|
|
PyObject *tmp_tuple_element_1;
|
|
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 = 16;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
tmp_tuple_element_1 = const_str_plain_OrderedDict;
|
|
tmp_args_name_1 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 );
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_tuple_element_1 = tmp_class_creation_1__bases;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 );
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict;
|
|
frame_0879938208f39c05e407d2d3393339dc->m_frame.f_lineno = 16;
|
|
tmp_assign_source_13 = 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_13 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 16;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
assert( tmp_class_creation_1__prepared == NULL );
|
|
tmp_class_creation_1__prepared = tmp_assign_source_13;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_7;
|
|
PyObject *tmp_operand_name_2;
|
|
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_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 = 16;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
tmp_condition_result_7 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_5;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_5;
|
|
}
|
|
branch_yes_5:;
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
PyObject *tmp_raise_value_1;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_tuple_element_2;
|
|
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_2 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 );
|
|
if ( tmp_tuple_element_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 16;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
tmp_right_name_1 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_2 );
|
|
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_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_4 );
|
|
if ( tmp_tuple_element_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
|
|
exception_lineno = 16;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_2 );
|
|
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 = 16;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
exception_type = tmp_raise_type_1;
|
|
Py_INCREF( tmp_raise_type_1 );
|
|
exception_value = tmp_raise_value_1;
|
|
exception_lineno = 16;
|
|
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
branch_no_5:;
|
|
}
|
|
goto branch_end_4;
|
|
branch_no_4:;
|
|
{
|
|
PyObject *tmp_assign_source_14;
|
|
tmp_assign_source_14 = PyDict_New();
|
|
assert( tmp_class_creation_1__prepared == NULL );
|
|
tmp_class_creation_1__prepared = tmp_assign_source_14;
|
|
|
|
}
|
|
branch_end_4:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_15;
|
|
{
|
|
PyObject *tmp_set_locals_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__prepared );
|
|
tmp_set_locals_1 = tmp_class_creation_1__prepared;
|
|
locals_urllib3$packages$ordered_dict_16 = tmp_set_locals_1;
|
|
Py_INCREF( tmp_set_locals_1 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_dictset_value = const_str_digest_ce8d4d4a7c94a9a19aa8f866b0be4ea6;
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, 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 = 16;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_digest_c1aa7c92f0d6e25521563c86e1b1e859;
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain___doc__, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 16;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_OrderedDict;
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, 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 = 16;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_2, codeobj_5bdf702659b5fc5f4d2de8bf9ba3fe66, module_urllib3$packages$ordered_dict, sizeof(void *) );
|
|
frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_2 = cache_frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_2;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_2 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_2 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_1___init__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain___init__, 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 = 28;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_defaults_1;
|
|
PyObject *tmp_tuple_element_3;
|
|
PyObject *tmp_source_name_5;
|
|
tmp_source_name_5 = PyObject_GetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_dict );
|
|
|
|
if ( tmp_source_name_5 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_source_name_5 = (PyObject *)&PyDict_Type;
|
|
Py_INCREF( tmp_source_name_5 );
|
|
}
|
|
}
|
|
|
|
tmp_tuple_element_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain___setitem__ );
|
|
Py_DECREF( tmp_source_name_5 );
|
|
if ( tmp_tuple_element_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 44;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_defaults_1 = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( tmp_defaults_1, 0, tmp_tuple_element_3 );
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_2___setitem__( tmp_defaults_1 );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain___setitem__, 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 = 44;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_defaults_2;
|
|
PyObject *tmp_tuple_element_4;
|
|
PyObject *tmp_source_name_6;
|
|
tmp_source_name_6 = PyObject_GetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_dict );
|
|
|
|
if ( tmp_source_name_6 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_source_name_6 = (PyObject *)&PyDict_Type;
|
|
Py_INCREF( tmp_source_name_6 );
|
|
}
|
|
}
|
|
|
|
tmp_tuple_element_4 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain___delitem__ );
|
|
Py_DECREF( tmp_source_name_6 );
|
|
if ( tmp_tuple_element_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 54;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_defaults_2 = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( tmp_defaults_2, 0, tmp_tuple_element_4 );
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_3___delitem__( tmp_defaults_2 );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain___delitem__, 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 = 54;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_4___iter__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain___iter__, 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 = 63;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_5___reversed__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain___reversed__, 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 = 71;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_6_clear( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_clear, 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 = 79;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_defaults_3;
|
|
tmp_defaults_3 = const_tuple_true_tuple;
|
|
Py_INCREF( tmp_defaults_3 );
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_7_popitem( tmp_defaults_3 );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_popitem, 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 = 91;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_8_keys( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_keys, 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 = 116;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_9_values( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_values, 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 = 120;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_10_items( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_items, 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 = 124;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_11_iterkeys( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_iterkeys, 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 = 128;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_12_itervalues( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_itervalues, 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 = 132;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_13_iteritems( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_iteritems, 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 = 137;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_14_update( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_update, 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 = 142;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = PyObject_GetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_update );
|
|
|
|
if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "update" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 173;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 173;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain__OrderedDict__update, 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 = 173;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_8;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_called_name_3;
|
|
tmp_res = MAPPING_HAS_ITEM( locals_urllib3$packages$ordered_dict_16, const_str_plain_object );
|
|
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 175;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_condition_result_8 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_3;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_3;
|
|
}
|
|
condexpr_true_3:;
|
|
tmp_called_name_2 = PyObject_GetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_object );
|
|
|
|
if ( tmp_called_name_2 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "object" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 175;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 175;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_2->m_frame.f_lineno = 175;
|
|
tmp_dictset_value = CALL_FUNCTION_NO_ARGS( tmp_called_name_2 );
|
|
Py_DECREF( tmp_called_name_2 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 175;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
goto condexpr_end_3;
|
|
condexpr_false_3:;
|
|
tmp_called_name_3 = (PyObject *)&PyBaseObject_Type;
|
|
frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_2->m_frame.f_lineno = 175;
|
|
tmp_dictset_value = CALL_FUNCTION_NO_ARGS( tmp_called_name_3 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 175;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
condexpr_end_3:;
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain__OrderedDict__marker, 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 = 175;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_defaults_4;
|
|
PyObject *tmp_tuple_element_5;
|
|
tmp_tuple_element_5 = PyObject_GetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain__OrderedDict__marker );
|
|
|
|
if ( tmp_tuple_element_5 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_OrderedDict__marker" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 177;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
if ( tmp_tuple_element_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 177;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_defaults_4 = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( tmp_defaults_4, 0, tmp_tuple_element_5 );
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_15_pop( tmp_defaults_4 );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_pop, 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 = 177;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_defaults_5;
|
|
tmp_defaults_5 = const_tuple_none_tuple;
|
|
Py_INCREF( tmp_defaults_5 );
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_16_setdefault( tmp_defaults_5 );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_setdefault, 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 = 190;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_defaults_6;
|
|
PyObject *tmp_tuple_element_6;
|
|
tmp_tuple_element_6 = PyDict_New();
|
|
tmp_defaults_6 = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( tmp_defaults_6, 0, tmp_tuple_element_6 );
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_17___repr__( tmp_defaults_6 );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain___repr__, 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 = 197;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_18___reduce__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain___reduce__, 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 = 210;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_19_copy( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_copy, 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 = 220;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_9;
|
|
PyObject *tmp_called_name_4;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_defaults_7;
|
|
PyObject *tmp_classmethod_arg_1;
|
|
PyObject *tmp_defaults_8;
|
|
tmp_res = MAPPING_HAS_ITEM( locals_urllib3$packages$ordered_dict_16, const_str_plain_classmethod );
|
|
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 224;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_condition_result_9 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_4;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_4;
|
|
}
|
|
condexpr_true_4:;
|
|
tmp_called_name_4 = PyObject_GetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_classmethod );
|
|
|
|
if ( tmp_called_name_4 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "classmethod" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 224;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
if ( tmp_called_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 224;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_defaults_7 = const_tuple_none_tuple;
|
|
Py_INCREF( tmp_defaults_7 );
|
|
tmp_args_element_name_1 = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_20_fromkeys( tmp_defaults_7 );
|
|
|
|
|
|
|
|
frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_2->m_frame.f_lineno = 224;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_4 );
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 224;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
goto condexpr_end_4;
|
|
condexpr_false_4:;
|
|
tmp_defaults_8 = const_tuple_none_tuple;
|
|
Py_INCREF( tmp_defaults_8 );
|
|
tmp_classmethod_arg_1 = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_20_fromkeys( tmp_defaults_8 );
|
|
|
|
|
|
|
|
tmp_dictset_value = BUILTIN_CLASSMETHOD( tmp_classmethod_arg_1 );
|
|
Py_DECREF( tmp_classmethod_arg_1 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 224;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
condexpr_end_4:;
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_fromkeys, 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 = 224;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_21___eq__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain___eq__, 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 = 235;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_22___ne__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain___ne__, 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 = 244;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_23_viewkeys( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_viewkeys, 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 = 249;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_24_viewvalues( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_viewvalues, 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 = 253;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_urllib3$packages$ordered_dict$$$function_25_viewitems( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, const_str_plain_viewitems, 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 = 257;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_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_5bdf702659b5fc5f4d2de8bf9ba3fe66_2 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_2, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_2->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_2, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_2,
|
|
type_description_2,
|
|
outline_0_var___class__
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_2 == cache_frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_2 )
|
|
{
|
|
Py_DECREF( frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_2 );
|
|
}
|
|
cache_frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_2 = NULL;
|
|
|
|
assertFrameObject( frame_5bdf702659b5fc5f4d2de8bf9ba3fe66_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_8;
|
|
skip_nested_handling_1:;
|
|
{
|
|
nuitka_bool tmp_condition_result_10;
|
|
PyObject *tmp_compexpr_left_3;
|
|
PyObject *tmp_compexpr_right_3;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_compexpr_left_3 = tmp_class_creation_1__bases;
|
|
tmp_compexpr_right_3 = const_tuple_type_dict_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 = 16;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
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:;
|
|
{
|
|
tmp_dictset_value = const_tuple_type_dict_tuple;
|
|
tmp_res = PyObject_SetItem( locals_urllib3$packages$ordered_dict_16, 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 = 16;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
}
|
|
branch_no_6:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_16;
|
|
PyObject *tmp_called_name_5;
|
|
PyObject *tmp_args_name_2;
|
|
PyObject *tmp_tuple_element_7;
|
|
PyObject *tmp_kw_name_2;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_called_name_5 = tmp_class_creation_1__metaclass;
|
|
tmp_tuple_element_7 = const_str_plain_OrderedDict;
|
|
tmp_args_name_2 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_7 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_7 );
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_tuple_element_7 = tmp_class_creation_1__bases;
|
|
Py_INCREF( tmp_tuple_element_7 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_7 );
|
|
tmp_tuple_element_7 = locals_urllib3$packages$ordered_dict_16;
|
|
Py_INCREF( tmp_tuple_element_7 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_7 );
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict;
|
|
frame_0879938208f39c05e407d2d3393339dc->m_frame.f_lineno = 16;
|
|
tmp_assign_source_16 = CALL_FUNCTION( tmp_called_name_5, tmp_args_name_2, tmp_kw_name_2 );
|
|
Py_DECREF( tmp_args_name_2 );
|
|
if ( tmp_assign_source_16 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 16;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
assert( outline_0_var___class__ == NULL );
|
|
outline_0_var___class__ = tmp_assign_source_16;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( outline_0_var___class__ );
|
|
tmp_assign_source_15 = outline_0_var___class__;
|
|
Py_INCREF( tmp_assign_source_15 );
|
|
goto try_return_handler_8;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_8:;
|
|
{
|
|
Py_DECREF( locals_urllib3$packages$ordered_dict_16 );
|
|
locals_urllib3$packages$ordered_dict_16 = 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_DECREF( locals_urllib3$packages$ordered_dict_16 );
|
|
locals_urllib3$packages$ordered_dict_16 = 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:
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_7:;
|
|
{
|
|
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_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;
|
|
|
|
{
|
|
// 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 outline_exception_1;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( urllib3$packages$ordered_dict );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
outline_exception_1:;
|
|
exception_lineno = 16;
|
|
goto try_except_handler_6;
|
|
outline_result_1:;
|
|
UPDATE_STRING_DICT1( moduledict_urllib3$packages$ordered_dict, (Nuitka_StringObject *)const_str_plain_OrderedDict, tmp_assign_source_15 );
|
|
}
|
|
goto try_end_6;
|
|
// Exception handler code:
|
|
try_except_handler_6:;
|
|
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( 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_8;
|
|
exception_value = exception_keeper_value_8;
|
|
exception_tb = exception_keeper_tb_8;
|
|
exception_lineno = exception_keeper_lineno_8;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_6:;
|
|
}
|
|
|
|
// Restore frame exception if necessary.
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_0879938208f39c05e407d2d3393339dc );
|
|
#endif
|
|
popFrameStack();
|
|
|
|
assertFrameObject( frame_0879938208f39c05e407d2d3393339dc );
|
|
|
|
goto frame_no_exception_2;
|
|
|
|
frame_exception_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_0879938208f39c05e407d2d3393339dc );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_0879938208f39c05e407d2d3393339dc, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_0879938208f39c05e407d2d3393339dc->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_0879938208f39c05e407d2d3393339dc, exception_lineno );
|
|
}
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto module_exception_exit;
|
|
|
|
frame_no_exception_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;
|
|
|
|
}
|
|
|
|
return MOD_RETURN_VALUE( module_urllib3$packages$ordered_dict );
|
|
module_exception_exit:
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
}
|