Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /nuitka/eggshell.build/ |
Upload File : |
/* Generated code for Python module 'lazr.restfulclient.resource'
* created by Nuitka version 1.3rc9
*
* This code is in part copyright 2022 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 "nuitka/unfreezing.h"
#include "__helpers.h"
/* The "module_lazr$restfulclient$resource" 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_lazr$restfulclient$resource;
PyDictObject *moduledict_lazr$restfulclient$resource;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[482];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[482];
#endif
static PyObject *module_filename_obj = NULL;
/* Indicator if this modules private constants were created yet. */
static bool constants_created = false;
/* Function to create module private constants. */
static void createModuleConstants(void) {
if (constants_created == false) {
loadConstantsBlob(&mod_consts[0], UNTRANSLATE("lazr.restfulclient.resource"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 482; i++) {
mod_consts_hash[i] = DEEP_HASH(mod_consts[i]);
}
#endif
}
}
// We want to be able to initialize the "__main__" constants in any case.
#if 0
void createMainModuleConstants(void) {
createModuleConstants();
}
#endif
/* Function to verify module private constants for non-corruption. */
#ifndef __NUITKA_NO_ASSERT__
void checkModuleConstants_lazr$restfulclient$resource(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 482; i++) {
assert(mod_consts_hash[i] == DEEP_HASH(mod_consts[i]));
CHECK_OBJECT_DEEP(mod_consts[i]);
}
}
#endif
// The module code objects.
static PyCodeObject *codeobj_8fe3778b93956e8f47fe9a798f7c2661;
static PyCodeObject *codeobj_988928c7ae8ff610dc101b3d68d92947;
static PyCodeObject *codeobj_185dc9bc2172d1aa6525b72eaf8fdb79;
static PyCodeObject *codeobj_75c1cff68170903badef31f2b3a89517;
static PyCodeObject *codeobj_38d3d2f8ce00f9bcb92534d98d53474e;
static PyCodeObject *codeobj_ebc97cd30c6cf878725b0e8eb4250c6e;
static PyCodeObject *codeobj_2a1fa34074cfc72a3bdba5cc1d40b8e3;
static PyCodeObject *codeobj_51b055501edc5f0ae4e9de3de96bd52c;
static PyCodeObject *codeobj_f3d2ae5eb07d77fd5a615f8b3617871a;
static PyCodeObject *codeobj_421a240b95afeb0ae590e0bae78f4414;
static PyCodeObject *codeobj_cf958528e9c04d269b79f0ad1cd675cd;
static PyCodeObject *codeobj_3dfdcacc6184057dc7b1fe6305377ba8;
static PyCodeObject *codeobj_e1e17906f9e8b062122b1adb2dff7dbd;
static PyCodeObject *codeobj_f6fa001ce837af0463621d8590b312be;
static PyCodeObject *codeobj_290e809bf822520b51bae1c8353d042c;
static PyCodeObject *codeobj_94574b7951c4e0f1bcdfa1f328a47f17;
static PyCodeObject *codeobj_7e1b0a6b91f32b49e579cee12803c6ff;
static PyCodeObject *codeobj_7d39930d14524953aa1335d9f6c39d54;
static PyCodeObject *codeobj_bde88962847dcc9331882f29360c6f82;
static PyCodeObject *codeobj_7350f6c78dff19cbd49efb28949b585b;
static PyCodeObject *codeobj_80aa71cd554cd43e23e7025b06287f35;
static PyCodeObject *codeobj_8a5f5ccab432f0bf7e6e474f15aca2d7;
static PyCodeObject *codeobj_3ca5e6a90ec8bb59b6865c290d5d1688;
static PyCodeObject *codeobj_ec6e2346cacfc10d6e0effc92dc2d3b1;
static PyCodeObject *codeobj_29621f3fed55193076df8f0bfcdf21da;
static PyCodeObject *codeobj_915a426b214fe060d6e4c9e78c6b46bf;
static PyCodeObject *codeobj_d4b0827e3ae505b9d361d17ca001cdc7;
static PyCodeObject *codeobj_c4903572dbf5b001471ab1bdc7821825;
static PyCodeObject *codeobj_65b12e0788320d5e661970194578401d;
static PyCodeObject *codeobj_7de4e15190e094c8e69d2c6eb23d8818;
static PyCodeObject *codeobj_7c7249cce646d5960a3c2b1d075bac18;
static PyCodeObject *codeobj_60b708407d68650a7d4f139f52a06777;
static PyCodeObject *codeobj_d5dc125f1c8d8bd0f56c06986c35b4da;
static PyCodeObject *codeobj_37f783f4aa0b9757527532852f05ad99;
static PyCodeObject *codeobj_e5c1ca7246d8ad97289d8d8bf86a5fa1;
static PyCodeObject *codeobj_ccb0cfc96033a0d6f12a189dff76f47c;
static PyCodeObject *codeobj_d0ebe2130b7e3ed1fb2dc19b3869662d;
static PyCodeObject *codeobj_a59410bc0df2db284ec475d100fdfd69;
static PyCodeObject *codeobj_85f4131b897f4785044339e1f00c3bd6;
static PyCodeObject *codeobj_3f4c652b258f1b705adf5780e487f928;
static PyCodeObject *codeobj_f738fea529d79efb5b13637e29d60d93;
static PyCodeObject *codeobj_5fb8bb5e49d01b05e1a558b064786f07;
static PyCodeObject *codeobj_ac65151abb93f2712c6d59ebc8aabaec;
static PyCodeObject *codeobj_679de4ea2eb0efb1fccedf6bef21df0b;
static PyCodeObject *codeobj_b6d3f46f95619560400bf87d7e2bb27b;
static PyCodeObject *codeobj_e2f892382afe8be2b85698052149d6f7;
static PyCodeObject *codeobj_89dee6f4057e7f7a058b454072a2a74f;
static PyCodeObject *codeobj_0fc7ebd5bcebb90c2a7fdcce45cfb92e;
static PyCodeObject *codeobj_15837221c44c32103e91fa6848e4cf51;
static PyCodeObject *codeobj_b2e5965bbdfa76ae3e0013423798178a;
static PyCodeObject *codeobj_d04e8719ad677abaf748e482ee10a358;
static PyCodeObject *codeobj_59ac088b8e6a0230f3e96eea3310aa2a;
static PyCodeObject *codeobj_bc31093fcf822268ba231f923f06b3da;
static PyCodeObject *codeobj_f93d9feaf535738bc0929c1bc3b88524;
static PyCodeObject *codeobj_6f83e7570e4924a6238e787e15f8c043;
static PyCodeObject *codeobj_69a1b6f95b4d2775de4b7f50e7428790;
static PyCodeObject *codeobj_69a55fd3f4965338a1858f4ca594a3b9;
static PyCodeObject *codeobj_a08b33f69859135de786f6994b25cc57;
static PyCodeObject *codeobj_4881213caf4642215f6f69ee33e4c7ea;
static PyCodeObject *codeobj_016e01f2d7b7186c23fc86036b3d3a76;
static PyCodeObject *codeobj_fbe7c136c237e301a42b20705fd25bdf;
static PyCodeObject *codeobj_82803a6bdfcd8958dd3a6f9ab7bf9989;
static PyCodeObject *codeobj_a69efd75c3e1fcc442460e54dd143688;
static PyCodeObject *codeobj_daf8e184fc45063fe44e0a9507b3a3ad;
static PyCodeObject *codeobj_fac307af899528d3727c02a38118aaea;
static PyCodeObject *codeobj_33aca8fcef119203a746fe78e00c9ae9;
static PyCodeObject *codeobj_fc970866c36494ddb9c6b58668664ab1;
static PyCodeObject *codeobj_0fcd7a1afbdb2f2f340edc5912c6215f;
static PyCodeObject *codeobj_77778c4dff1e9ce64745096e35b57e42;
static PyCodeObject *codeobj_ca9dcc74e85c7c3fdefc7d71acecf446;
static PyCodeObject *codeobj_5a0f0ac62628a581b8724f2c6a35142e;
static PyCodeObject *codeobj_3f8cdc4384d9c63e9bf917bd329f8c7a;
static PyCodeObject *codeobj_cc99ad9cd52c682546f8c08143c13606;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[290]; CHECK_OBJECT(module_filename_obj);
codeobj_8fe3778b93956e8f47fe9a798f7c2661 = MAKE_CODE_OBJECT(module_filename_obj, 364, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[431], mod_consts[431], mod_consts[432], NULL, 1, 0, 0);
codeobj_988928c7ae8ff610dc101b3d68d92947 = MAKE_CODE_OBJECT(module_filename_obj, 578, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[431], mod_consts[431], mod_consts[433], NULL, 1, 0, 0);
codeobj_185dc9bc2172d1aa6525b72eaf8fdb79 = MAKE_CODE_OBJECT(module_filename_obj, 937, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[431], mod_consts[431], mod_consts[434], NULL, 1, 0, 0);
codeobj_75c1cff68170903badef31f2b3a89517 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[435], mod_consts[435], NULL, NULL, 0, 0, 0);
codeobj_38d3d2f8ce00f9bcb92534d98d53474e = MAKE_CODE_OBJECT(module_filename_obj, 792, CO_NOFREE, mod_consts[73], mod_consts[73], mod_consts[436], NULL, 0, 0, 0);
codeobj_ebc97cd30c6cf878725b0e8eb4250c6e = MAKE_CODE_OBJECT(module_filename_obj, 977, CO_NOFREE, mod_consts[249], mod_consts[249], mod_consts[436], NULL, 0, 0, 0);
codeobj_2a1fa34074cfc72a3bdba5cc1d40b8e3 = MAKE_CODE_OBJECT(module_filename_obj, 696, CO_NOFREE, mod_consts[71], mod_consts[71], mod_consts[436], NULL, 0, 0, 0);
codeobj_51b055501edc5f0ae4e9de3de96bd52c = MAKE_CODE_OBJECT(module_filename_obj, 75, CO_NOFREE, mod_consts[183], mod_consts[183], mod_consts[436], NULL, 0, 0, 0);
codeobj_f3d2ae5eb07d77fd5a615f8b3617871a = MAKE_CODE_OBJECT(module_filename_obj, 418, CO_NOFREE, mod_consts[377], mod_consts[377], mod_consts[436], NULL, 0, 0, 0);
codeobj_421a240b95afeb0ae590e0bae78f4414 = MAKE_CODE_OBJECT(module_filename_obj, 1061, CO_NOFREE, mod_consts[109], mod_consts[109], mod_consts[436], NULL, 0, 0, 0);
codeobj_cf958528e9c04d269b79f0ad1cd675cd = MAKE_CODE_OBJECT(module_filename_obj, 548, CO_NOFREE, mod_consts[66], mod_consts[66], mod_consts[436], NULL, 0, 0, 0);
codeobj_3dfdcacc6184057dc7b1fe6305377ba8 = MAKE_CODE_OBJECT(module_filename_obj, 125, CO_NOFREE, mod_consts[7], mod_consts[7], mod_consts[436], NULL, 0, 0, 0);
codeobj_e1e17906f9e8b062122b1adb2dff7dbd = MAKE_CODE_OBJECT(module_filename_obj, 101, CO_NOFREE, mod_consts[340], mod_consts[340], mod_consts[436], NULL, 0, 0, 0);
codeobj_f6fa001ce837af0463621d8590b312be = MAKE_CODE_OBJECT(module_filename_obj, 408, CO_NOFREE, mod_consts[213], mod_consts[213], mod_consts[436], NULL, 0, 0, 0);
codeobj_290e809bf822520b51bae1c8353d042c = MAKE_CODE_OBJECT(module_filename_obj, 449, CO_NOFREE, mod_consts[128], mod_consts[128], mod_consts[436], NULL, 0, 0, 0);
codeobj_94574b7951c4e0f1bcdfa1f328a47f17 = MAKE_CODE_OBJECT(module_filename_obj, 557, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[396], mod_consts[396], mod_consts[437], NULL, 1, 0, 0);
codeobj_7e1b0a6b91f32b49e579cee12803c6ff = MAKE_CODE_OBJECT(module_filename_obj, 1006, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[396], mod_consts[396], mod_consts[438], NULL, 2, 0, 0);
codeobj_7d39930d14524953aa1335d9f6c39d54 = MAKE_CODE_OBJECT(module_filename_obj, 436, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[384], mod_consts[384], mod_consts[439], NULL, 2, 0, 0);
codeobj_bde88962847dcc9331882f29360c6f82 = MAKE_CODE_OBJECT(module_filename_obj, 741, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[384], mod_consts[384], mod_consts[439], NULL, 2, 0, 0);
codeobj_7350f6c78dff19cbd49efb28949b585b = MAKE_CODE_OBJECT(module_filename_obj, 346, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[197], mod_consts[197], mod_consts[440], NULL, 2, 0, 0);
codeobj_80aa71cd554cd43e23e7025b06287f35 = MAKE_CODE_OBJECT(module_filename_obj, 727, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[197], mod_consts[197], mod_consts[441], NULL, 2, 0, 0);
codeobj_8a5f5ccab432f0bf7e6e474f15aca2d7 = MAKE_CODE_OBJECT(module_filename_obj, 837, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[250], mod_consts[250], mod_consts[442], NULL, 2, 0, 0);
codeobj_3ca5e6a90ec8bb59b6865c290d5d1688 = MAKE_CODE_OBJECT(module_filename_obj, 984, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[250], mod_consts[250], mod_consts[443], NULL, 2, 0, 0);
codeobj_ec6e2346cacfc10d6e0effc92dc2d3b1 = MAKE_CODE_OBJECT(module_filename_obj, 93, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[250], mod_consts[250], mod_consts[444], NULL, 2, 0, 0);
codeobj_29621f3fed55193076df8f0bfcdf21da = MAKE_CODE_OBJECT(module_filename_obj, 460, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[129], mod_consts[129], mod_consts[445], NULL, 9, 0, 0);
codeobj_915a426b214fe060d6e4c9e78c6b46bf = MAKE_CODE_OBJECT(module_filename_obj, 1063, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[129], mod_consts[129], mod_consts[446], NULL, 5, 0, 0);
codeobj_d4b0827e3ae505b9d361d17ca001cdc7 = MAKE_CODE_OBJECT(module_filename_obj, 551, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[129], mod_consts[129], mod_consts[447], NULL, 4, 0, 0);
codeobj_c4903572dbf5b001471ab1bdc7821825 = MAKE_CODE_OBJECT(module_filename_obj, 128, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[129], mod_consts[129], mod_consts[448], NULL, 3, 0, 0);
codeobj_65b12e0788320d5e661970194578401d = MAKE_CODE_OBJECT(module_filename_obj, 699, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[129], mod_consts[129], mod_consts[449], NULL, 3, 0, 0);
codeobj_7de4e15190e094c8e69d2c6eb23d8818 = MAKE_CODE_OBJECT(module_filename_obj, 795, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[129], mod_consts[129], mod_consts[449], NULL, 3, 0, 0);
codeobj_7c7249cce646d5960a3c2b1d075bac18 = MAKE_CODE_OBJECT(module_filename_obj, 86, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[129], mod_consts[129], mod_consts[450], NULL, 2, 0, 0);
codeobj_60b708407d68650a7d4f139f52a06777 = MAKE_CODE_OBJECT(module_filename_obj, 817, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[221], mod_consts[221], mod_consts[451], NULL, 1, 0, 0);
codeobj_d5dc125f1c8d8bd0f56c06986c35b4da = MAKE_CODE_OBJECT(module_filename_obj, 799, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[418], mod_consts[418], mod_consts[452], NULL, 1, 0, 0);
codeobj_37f783f4aa0b9757527532852f05ad99 = MAKE_CODE_OBJECT(module_filename_obj, 183, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[355], mod_consts[355], mod_consts[453], NULL, 1, 0, 0);
codeobj_e5c1ca7246d8ad97289d8d8bf86a5fa1 = MAKE_CODE_OBJECT(module_filename_obj, 403, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[372], mod_consts[372], mod_consts[439], NULL, 2, 0, 0);
codeobj_ccb0cfc96033a0d6f12a189dff76f47c = MAKE_CODE_OBJECT(module_filename_obj, 714, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[403], mod_consts[403], mod_consts[453], NULL, 1, 0, 0);
codeobj_d0ebe2130b7e3ed1fb2dc19b3869662d = MAKE_CODE_OBJECT(module_filename_obj, 734, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[410], mod_consts[410], mod_consts[454], NULL, 3, 0, 0);
codeobj_a59410bc0df2db284ec475d100fdfd69 = MAKE_CODE_OBJECT(module_filename_obj, 723, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[407], mod_consts[407], mod_consts[453], NULL, 1, 0, 0);
codeobj_85f4131b897f4785044339e1f00c3bd6 = MAKE_CODE_OBJECT(module_filename_obj, 940, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[217], mod_consts[217], mod_consts[455], NULL, 2, 0, 0);
codeobj_3f4c652b258f1b705adf5780e487f928 = MAKE_CODE_OBJECT(module_filename_obj, 277, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[56], mod_consts[56], mod_consts[456], NULL, 8, 0, 0);
codeobj_f738fea529d79efb5b13637e29d60d93 = MAKE_CODE_OBJECT(module_filename_obj, 375, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[50], mod_consts[50], mod_consts[457], NULL, 1, 0, 0);
codeobj_5fb8bb5e49d01b05e1a558b064786f07 = MAKE_CODE_OBJECT(module_filename_obj, 114, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[11], mod_consts[11], mod_consts[458], NULL, 2, 0, 0);
codeobj_ac65151abb93f2712c6d59ebc8aabaec = MAKE_CODE_OBJECT(module_filename_obj, 691, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[11], mod_consts[11], mod_consts[458], NULL, 2, 0, 0);
codeobj_679de4ea2eb0efb1fccedf6bef21df0b = MAKE_CODE_OBJECT(module_filename_obj, 367, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[11], mod_consts[11], mod_consts[459], NULL, 2, 0, 0);
codeobj_b6d3f46f95619560400bf87d7e2bb27b = MAKE_CODE_OBJECT(module_filename_obj, 432, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE, mod_consts[16], mod_consts[16], mod_consts[460], NULL, 1, 0, 0);
codeobj_e2f892382afe8be2b85698052149d6f7 = MAKE_CODE_OBJECT(module_filename_obj, 190, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE, mod_consts[16], mod_consts[16], mod_consts[461], NULL, 1, 0, 0);
codeobj_89dee6f4057e7f7a058b454072a2a74f = MAKE_CODE_OBJECT(module_filename_obj, 855, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[223], mod_consts[223], mod_consts[462], NULL, 2, 0, 0);
codeobj_0fc7ebd5bcebb90c2a7fdcce45cfb92e = MAKE_CODE_OBJECT(module_filename_obj, 1056, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[251], mod_consts[251], mod_consts[463], NULL, 2, 0, 0);
codeobj_15837221c44c32103e91fa6848e4cf51 = MAKE_CODE_OBJECT(module_filename_obj, 637, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[180], mod_consts[180], mod_consts[464], NULL, 4, 0, 0);
codeobj_b2e5965bbdfa76ae3e0013423798178a = MAKE_CODE_OBJECT(module_filename_obj, 623, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[176], mod_consts[176], mod_consts[465], NULL, 4, 0, 0);
codeobj_d04e8719ad677abaf748e482ee10a358 = MAKE_CODE_OBJECT(module_filename_obj, 106, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[156], mod_consts[156], mod_consts[466], NULL, 2, 0, 0);
codeobj_59ac088b8e6a0230f3e96eea3310aa2a = MAKE_CODE_OBJECT(module_filename_obj, 494, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[123], mod_consts[123], mod_consts[467], NULL, 1, 0, 0);
codeobj_bc31093fcf822268ba231f923f06b3da = MAKE_CODE_OBJECT(module_filename_obj, 965, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[232], mod_consts[232], mod_consts[468], NULL, 4, 0, 0);
codeobj_f93d9feaf535738bc0929c1bc3b88524 = MAKE_CODE_OBJECT(module_filename_obj, 1103, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[286], mod_consts[286], mod_consts[469], NULL, 1, 0, 0);
codeobj_6f83e7570e4924a6238e787e15f8c043 = MAKE_CODE_OBJECT(module_filename_obj, 428, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[112], mod_consts[112], mod_consts[453], NULL, 1, 0, 0);
codeobj_69a1b6f95b4d2775de4b7f50e7428790 = MAKE_CODE_OBJECT(module_filename_obj, 89, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[1], mod_consts[1], mod_consts[470], NULL, 3, 0, 0);
codeobj_69a55fd3f4965338a1858f4ca594a3b9 = MAKE_CODE_OBJECT(module_filename_obj, 518, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[390], mod_consts[390], mod_consts[471], NULL, 5, 0, 0);
codeobj_a08b33f69859135de786f6994b25cc57 = MAKE_CODE_OBJECT(module_filename_obj, 521, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[392], mod_consts[392], mod_consts[472], NULL, 2, 0, 0);
codeobj_4881213caf4642215f6f69ee33e4c7ea = MAKE_CODE_OBJECT(module_filename_obj, 153, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[351], mod_consts[351], mod_consts[453], NULL, 1, 0, 0);
codeobj_016e01f2d7b7186c23fc86036b3d3a76 = MAKE_CODE_OBJECT(module_filename_obj, 143, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[347], mod_consts[347], mod_consts[453], NULL, 1, 0, 0);
codeobj_fbe7c136c237e301a42b20705fd25bdf = MAKE_CODE_OBJECT(module_filename_obj, 719, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[405], mod_consts[405], mod_consts[453], NULL, 1, 0, 0);
codeobj_82803a6bdfcd8958dd3a6f9ab7bf9989 = MAKE_CODE_OBJECT(module_filename_obj, 148, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[349], mod_consts[349], mod_consts[453], NULL, 1, 0, 0);
codeobj_a69efd75c3e1fcc442460e54dd143688 = MAKE_CODE_OBJECT(module_filename_obj, 261, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[86], mod_consts[86], mod_consts[473], NULL, 2, 0, 0);
codeobj_daf8e184fc45063fe44e0a9507b3a3ad = MAKE_CODE_OBJECT(module_filename_obj, 230, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[87], mod_consts[87], mod_consts[474], NULL, 2, 0, 0);
codeobj_fac307af899528d3727c02a38118aaea = MAKE_CODE_OBJECT(module_filename_obj, 226, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[199], mod_consts[199], mod_consts[458], NULL, 2, 0, 0);
codeobj_33aca8fcef119203a746fe78e00c9ae9 = MAKE_CODE_OBJECT(module_filename_obj, 158, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[353], mod_consts[353], mod_consts[475], NULL, 1, 0, 0);
codeobj_fc970866c36494ddb9c6b58668664ab1 = MAKE_CODE_OBJECT(module_filename_obj, 754, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[179], mod_consts[179], mod_consts[476], NULL, 2, 0, 0);
codeobj_0fcd7a1afbdb2f2f340edc5912c6215f = MAKE_CODE_OBJECT(module_filename_obj, 329, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[179], mod_consts[179], mod_consts[477], NULL, 3, 0, 0);
codeobj_77778c4dff1e9ce64745096e35b57e42 = MAKE_CODE_OBJECT(module_filename_obj, 760, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[414], mod_consts[414], mod_consts[478], NULL, 1, 0, 0);
codeobj_ca9dcc74e85c7c3fdefc7d71acecf446 = MAKE_CODE_OBJECT(module_filename_obj, 358, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[368], mod_consts[368], mod_consts[479], NULL, 2, 0, 0);
codeobj_5a0f0ac62628a581b8724f2c6a35142e = MAKE_CODE_OBJECT(module_filename_obj, 421, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[380], mod_consts[380], mod_consts[480], NULL, 4, 0, 0);
codeobj_3f8cdc4384d9c63e9bf917bd329f8c7a = MAKE_CODE_OBJECT(module_filename_obj, 412, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[91], mod_consts[91], mod_consts[453], NULL, 1, 0, 0);
codeobj_cc99ad9cd52c682546f8c08143c13606 = MAKE_CODE_OBJECT(module_filename_obj, 1111, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[287], mod_consts[287], mod_consts[481], NULL, 2, 0, 0);
}
// The module function declarations.
static PyObject *MAKE_GENERATOR_lazr$restfulclient$resource$$$function__48___iter__$$$genobj__1___iter__(struct Nuitka_CellObject **closure);
static PyObject *MAKE_GENERATOR_lazr$restfulclient$resource$$$function__51__convert_dicts_to_entries$$$genobj__1__convert_dicts_to_entries(struct Nuitka_CellObject **closure);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__1__mro_entries_conversion(PyObject **python_pars);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__8_complex_call_helper_star_dict(PyObject **python_pars);
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__10_lp_operations();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__11___members__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__12__get_parameter_names();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__13_lp_has_parameter();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__14_lp_get_parameter();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__15_lp_get_named_operation();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__16__create_bound_resource(PyObject *defaults);
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__17_lp_refresh(PyObject *defaults);
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__18___getattr__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__19_lp_values_for();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__1___init__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__20__get_external_param_name();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__21__ensure_representation();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__22___ne__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__23_value();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__24_open(PyObject *defaults);
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__25_delete();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__26__get_parameter_names();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__27___eq__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__28___init__(PyObject *defaults);
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__29__user_agent();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__2_get(PyObject *defaults);
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__30_httpFactory();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__31_load();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__32___init__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__33___call__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__34__handle_201_response();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__35__handle_200_response();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__36__get_external_param_name();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__37___init__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__38___repr__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__39_lp_delete();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__3___getitem__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__40___str__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__41___getattr__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__42___setattr__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__43___eq__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__44_lp_refresh(PyObject *defaults);
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__45_lp_save();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__46___init__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__47___len__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__48___iter__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__49___getitem__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__4__transform_resources_to_links();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__50__get_slice();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__51__convert_dicts_to_entries();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__52__with_url_query_variable_set();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__53___getitem__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__54___call__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__55__get_url_from_id();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__56___init__(PyObject *defaults);
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__57_close();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__58_write();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__5__get_external_param_name();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__6___init__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__7_lp_collections();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__8_lp_entries();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__9_lp_attributes();
// The module function definitions.
static PyObject *impl_lazr$restfulclient$resource$$$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_wrapped_dictionary = python_pars[1];
struct Nuitka_FrameObject *frame_7c7249cce646d5960a3c2b1d075bac18;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
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_7c7249cce646d5960a3c2b1d075bac18 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_7c7249cce646d5960a3c2b1d075bac18)) {
Py_XDECREF(cache_frame_7c7249cce646d5960a3c2b1d075bac18);
#if _DEBUG_REFCOUNTS
if (cache_frame_7c7249cce646d5960a3c2b1d075bac18 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7c7249cce646d5960a3c2b1d075bac18 = MAKE_FUNCTION_FRAME(codeobj_7c7249cce646d5960a3c2b1d075bac18, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7c7249cce646d5960a3c2b1d075bac18->m_type_description == NULL);
frame_7c7249cce646d5960a3c2b1d075bac18 = cache_frame_7c7249cce646d5960a3c2b1d075bac18;
// Push the new frame as the currently active one.
pushFrameStack(frame_7c7249cce646d5960a3c2b1d075bac18);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7c7249cce646d5960a3c2b1d075bac18) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_wrapped_dictionary);
tmp_assattr_value_1 = par_wrapped_dictionary;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[0], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 87;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7c7249cce646d5960a3c2b1d075bac18);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7c7249cce646d5960a3c2b1d075bac18);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7c7249cce646d5960a3c2b1d075bac18, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7c7249cce646d5960a3c2b1d075bac18->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7c7249cce646d5960a3c2b1d075bac18, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7c7249cce646d5960a3c2b1d075bac18,
type_description_1,
par_self,
par_wrapped_dictionary
);
// Release cached frame if used for exception.
if (frame_7c7249cce646d5960a3c2b1d075bac18 == cache_frame_7c7249cce646d5960a3c2b1d075bac18) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7c7249cce646d5960a3c2b1d075bac18);
cache_frame_7c7249cce646d5960a3c2b1d075bac18 = NULL;
}
assertFrameObject(frame_7c7249cce646d5960a3c2b1d075bac18);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_wrapped_dictionary);
Py_DECREF(par_wrapped_dictionary);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_wrapped_dictionary);
Py_DECREF(par_wrapped_dictionary);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__2_get(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_69a1b6f95b4d2775de4b7f50e7428790;
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_69a1b6f95b4d2775de4b7f50e7428790 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_69a1b6f95b4d2775de4b7f50e7428790)) {
Py_XDECREF(cache_frame_69a1b6f95b4d2775de4b7f50e7428790);
#if _DEBUG_REFCOUNTS
if (cache_frame_69a1b6f95b4d2775de4b7f50e7428790 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_69a1b6f95b4d2775de4b7f50e7428790 = MAKE_FUNCTION_FRAME(codeobj_69a1b6f95b4d2775de4b7f50e7428790, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_69a1b6f95b4d2775de4b7f50e7428790->m_type_description == NULL);
frame_69a1b6f95b4d2775de4b7f50e7428790 = cache_frame_69a1b6f95b4d2775de4b7f50e7428790;
// Push the new frame as the currently active one.
pushFrameStack(frame_69a1b6f95b4d2775de4b7f50e7428790);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_69a1b6f95b4d2775de4b7f50e7428790) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[0]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 91;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[1]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 91;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_key);
tmp_expression_value_3 = par_key;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[2]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 91;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_69a1b6f95b4d2775de4b7f50e7428790->m_frame.f_lineno = 91;
tmp_args_element_value_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 91;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_69a1b6f95b4d2775de4b7f50e7428790->m_frame.f_lineno = 91;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 91;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_69a1b6f95b4d2775de4b7f50e7428790);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_69a1b6f95b4d2775de4b7f50e7428790);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_69a1b6f95b4d2775de4b7f50e7428790);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_69a1b6f95b4d2775de4b7f50e7428790, exception_lineno);
} else if (exception_tb->tb_frame != &frame_69a1b6f95b4d2775de4b7f50e7428790->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_69a1b6f95b4d2775de4b7f50e7428790, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_69a1b6f95b4d2775de4b7f50e7428790,
type_description_1,
par_self,
par_key,
par_default
);
// Release cached frame if used for exception.
if (frame_69a1b6f95b4d2775de4b7f50e7428790 == cache_frame_69a1b6f95b4d2775de4b7f50e7428790) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_69a1b6f95b4d2775de4b7f50e7428790);
cache_frame_69a1b6f95b4d2775de4b7f50e7428790 = NULL;
}
assertFrameObject(frame_69a1b6f95b4d2775de4b7f50e7428790);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_key);
Py_DECREF(par_key);
CHECK_OBJECT(par_default);
Py_DECREF(par_default);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_key);
Py_DECREF(par_key);
CHECK_OBJECT(par_default);
Py_DECREF(par_default);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__3___getitem__(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 *var_value = NULL;
struct Nuitka_FrameObject *frame_ec6e2346cacfc10d6e0effc92dc2d3b1;
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;
static struct Nuitka_FrameObject *cache_frame_ec6e2346cacfc10d6e0effc92dc2d3b1 = NULL;
PyObject *tmp_return_value = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_ec6e2346cacfc10d6e0effc92dc2d3b1)) {
Py_XDECREF(cache_frame_ec6e2346cacfc10d6e0effc92dc2d3b1);
#if _DEBUG_REFCOUNTS
if (cache_frame_ec6e2346cacfc10d6e0effc92dc2d3b1 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ec6e2346cacfc10d6e0effc92dc2d3b1 = MAKE_FUNCTION_FRAME(codeobj_ec6e2346cacfc10d6e0effc92dc2d3b1, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ec6e2346cacfc10d6e0effc92dc2d3b1->m_type_description == NULL);
frame_ec6e2346cacfc10d6e0effc92dc2d3b1 = cache_frame_ec6e2346cacfc10d6e0effc92dc2d3b1;
// Push the new frame as the currently active one.
pushFrameStack(frame_ec6e2346cacfc10d6e0effc92dc2d3b1);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ec6e2346cacfc10d6e0effc92dc2d3b1) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[1]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 95;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_key);
tmp_args_element_value_1 = par_key;
tmp_args_element_value_2 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_args_element_value_2 == NULL)) {
tmp_args_element_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 95;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_ec6e2346cacfc10d6e0effc92dc2d3b1->m_frame.f_lineno = 95;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 95;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_value == NULL);
var_value = tmp_assign_source_1;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_value);
tmp_cmp_expr_left_1 = var_value;
tmp_cmp_expr_right_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_cmp_expr_right_1 == NULL)) {
tmp_cmp_expr_right_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 96;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
CHECK_OBJECT(par_key);
tmp_make_exception_arg_1 = par_key;
frame_ec6e2346cacfc10d6e0effc92dc2d3b1->m_frame.f_lineno = 97;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_KeyError, tmp_make_exception_arg_1);
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 = "ooo";
goto frame_exception_exit_1;
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ec6e2346cacfc10d6e0effc92dc2d3b1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ec6e2346cacfc10d6e0effc92dc2d3b1);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ec6e2346cacfc10d6e0effc92dc2d3b1, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ec6e2346cacfc10d6e0effc92dc2d3b1->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ec6e2346cacfc10d6e0effc92dc2d3b1, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ec6e2346cacfc10d6e0effc92dc2d3b1,
type_description_1,
par_self,
par_key,
var_value
);
// Release cached frame if used for exception.
if (frame_ec6e2346cacfc10d6e0effc92dc2d3b1 == cache_frame_ec6e2346cacfc10d6e0effc92dc2d3b1) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ec6e2346cacfc10d6e0effc92dc2d3b1);
cache_frame_ec6e2346cacfc10d6e0effc92dc2d3b1 = NULL;
}
assertFrameObject(frame_ec6e2346cacfc10d6e0effc92dc2d3b1);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_value);
tmp_return_value = var_value;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_value);
Py_DECREF(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(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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_key);
Py_DECREF(par_key);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_key);
Py_DECREF(par_key);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__4__transform_resources_to_links(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_dictionary = python_pars[1];
PyObject *var_new_dictionary = 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_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_d04e8719ad677abaf748e482ee10a358;
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 *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;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_d04e8719ad677abaf748e482ee10a358 = 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 body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_DICT_EMPTY();
assert(var_new_dictionary == NULL);
var_new_dictionary = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_d04e8719ad677abaf748e482ee10a358)) {
Py_XDECREF(cache_frame_d04e8719ad677abaf748e482ee10a358);
#if _DEBUG_REFCOUNTS
if (cache_frame_d04e8719ad677abaf748e482ee10a358 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d04e8719ad677abaf748e482ee10a358 = MAKE_FUNCTION_FRAME(codeobj_d04e8719ad677abaf748e482ee10a358, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d04e8719ad677abaf748e482ee10a358->m_type_description == NULL);
frame_d04e8719ad677abaf748e482ee10a358 = cache_frame_d04e8719ad677abaf748e482ee10a358;
// Push the new frame as the currently active one.
pushFrameStack(frame_d04e8719ad677abaf748e482ee10a358);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d04e8719ad677abaf748e482ee10a358) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_dictionary);
tmp_expression_value_1 = par_dictionary;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[5]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 108;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_d04e8719ad677abaf748e482ee10a358->m_frame.f_lineno = 108;
tmp_iter_arg_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 108;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 108;
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 = 108;
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);
}
}
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_iter_arg_2 = tmp_for_loop_1__iter_value;
tmp_assign_source_4 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 108;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_4;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_5 == 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 = 108;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_6 == 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 = 108;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_6;
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 = "ooooo";
exception_lineno = 108;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[6];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooooo";
exception_lineno = 108;
goto try_except_handler_4;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
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(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_3;
// End of try:
try_end_1:;
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_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_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_2;
// End of try:
try_end_2:;
CHECK_OBJECT(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_7;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_7 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_key;
var_key = tmp_assign_source_7;
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_8;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_8 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_value;
var_value = tmp_assign_source_8;
Py_INCREF(var_value);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(var_value);
tmp_isinstance_inst_1 = var_value;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 109;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_res = PyObject_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 = 109;
type_description_1 = "ooooo";
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_9;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(var_value);
tmp_expression_value_2 = var_value;
tmp_assign_source_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[8]);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 110;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_value;
assert(old != NULL);
var_value = tmp_assign_source_9;
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(var_value);
tmp_ass_subvalue_1 = var_value;
if (var_new_dictionary == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[9]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 111;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_ass_subscribed_1 = var_new_dictionary;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 111;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_called_instance_1 = par_self;
CHECK_OBJECT(var_key);
tmp_args_element_value_1 = var_key;
frame_d04e8719ad677abaf748e482ee10a358->m_frame.f_lineno = 111;
tmp_ass_subscript_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[11], tmp_args_element_value_1);
if (tmp_ass_subscript_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subscript_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
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 = 108;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_2:;
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(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_3:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
if (var_new_dictionary == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[9]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 112;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_new_dictionary;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d04e8719ad677abaf748e482ee10a358);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d04e8719ad677abaf748e482ee10a358);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d04e8719ad677abaf748e482ee10a358);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d04e8719ad677abaf748e482ee10a358, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d04e8719ad677abaf748e482ee10a358->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d04e8719ad677abaf748e482ee10a358, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d04e8719ad677abaf748e482ee10a358,
type_description_1,
par_self,
par_dictionary,
var_new_dictionary,
var_key,
var_value
);
// Release cached frame if used for exception.
if (frame_d04e8719ad677abaf748e482ee10a358 == cache_frame_d04e8719ad677abaf748e482ee10a358) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d04e8719ad677abaf748e482ee10a358);
cache_frame_d04e8719ad677abaf748e482ee10a358 = NULL;
}
assertFrameObject(frame_d04e8719ad677abaf748e482ee10a358);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_new_dictionary);
var_new_dictionary = 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_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(var_new_dictionary);
var_new_dictionary = NULL;
Py_XDECREF(var_key);
var_key = NULL;
Py_XDECREF(var_value);
var_value = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_dictionary);
Py_DECREF(par_dictionary);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_dictionary);
Py_DECREF(par_dictionary);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__5__get_external_param_name(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_param_name = python_pars[1];
PyObject *tmp_return_value = NULL;
// Actual function body.
CHECK_OBJECT(par_param_name);
tmp_return_value = par_param_name;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_param_name);
Py_DECREF(par_param_name);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__6___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_root = python_pars[1];
PyObject *par_wadl_resource = python_pars[2];
struct Nuitka_FrameObject *frame_c4903572dbf5b001471ab1bdc7821825;
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;
static struct Nuitka_FrameObject *cache_frame_c4903572dbf5b001471ab1bdc7821825 = NULL;
PyObject *tmp_return_value = 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 body.
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_root);
tmp_cmp_expr_left_1 = par_root;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
CHECK_OBJECT(par_self);
tmp_assign_source_1 = par_self;
{
PyObject *old = par_root;
assert(old != NULL);
par_root = tmp_assign_source_1;
Py_INCREF(par_root);
Py_DECREF(old);
}
}
branch_no_1:;
// Tried code:
if (isFrameUnusable(cache_frame_c4903572dbf5b001471ab1bdc7821825)) {
Py_XDECREF(cache_frame_c4903572dbf5b001471ab1bdc7821825);
#if _DEBUG_REFCOUNTS
if (cache_frame_c4903572dbf5b001471ab1bdc7821825 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c4903572dbf5b001471ab1bdc7821825 = MAKE_FUNCTION_FRAME(codeobj_c4903572dbf5b001471ab1bdc7821825, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c4903572dbf5b001471ab1bdc7821825->m_type_description == NULL);
frame_c4903572dbf5b001471ab1bdc7821825 = cache_frame_c4903572dbf5b001471ab1bdc7821825;
// Push the new frame as the currently active one.
pushFrameStack(frame_c4903572dbf5b001471ab1bdc7821825);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c4903572dbf5b001471ab1bdc7821825) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(par_root);
tmp_ass_subvalue_1 = par_root;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 135;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = par_self;
tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE_DICT_SLOT(tmp_expression_value_1);
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_ass_subscript_1 = mod_consts[13];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subscribed_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_ass_subvalue_2;
PyObject *tmp_ass_subscribed_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_ass_subscript_2;
CHECK_OBJECT(par_wadl_resource);
tmp_ass_subvalue_2 = par_wadl_resource;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 136;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = par_self;
tmp_ass_subscribed_2 = LOOKUP_ATTRIBUTE_DICT_SLOT(tmp_expression_value_2);
if (tmp_ass_subscribed_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 136;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_ass_subscript_2 = mod_consts[14];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2);
Py_DECREF(tmp_ass_subscribed_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 136;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_c4903572dbf5b001471ab1bdc7821825);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c4903572dbf5b001471ab1bdc7821825);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c4903572dbf5b001471ab1bdc7821825, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c4903572dbf5b001471ab1bdc7821825->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c4903572dbf5b001471ab1bdc7821825, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c4903572dbf5b001471ab1bdc7821825,
type_description_1,
par_self,
par_root,
par_wadl_resource
);
// Release cached frame if used for exception.
if (frame_c4903572dbf5b001471ab1bdc7821825 == cache_frame_c4903572dbf5b001471ab1bdc7821825) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c4903572dbf5b001471ab1bdc7821825);
cache_frame_c4903572dbf5b001471ab1bdc7821825 = NULL;
}
assertFrameObject(frame_c4903572dbf5b001471ab1bdc7821825);
// 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;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_root);
Py_DECREF(par_root);
par_root = 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(par_root);
Py_DECREF(par_root);
par_root = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_wadl_resource);
Py_DECREF(par_wadl_resource);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_wadl_resource);
Py_DECREF(par_wadl_resource);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__7_lp_collections(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_016e01f2d7b7186c23fc86036b3d3a76;
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_016e01f2d7b7186c23fc86036b3d3a76 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_016e01f2d7b7186c23fc86036b3d3a76)) {
Py_XDECREF(cache_frame_016e01f2d7b7186c23fc86036b3d3a76);
#if _DEBUG_REFCOUNTS
if (cache_frame_016e01f2d7b7186c23fc86036b3d3a76 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_016e01f2d7b7186c23fc86036b3d3a76 = MAKE_FUNCTION_FRAME(codeobj_016e01f2d7b7186c23fc86036b3d3a76, module_lazr$restfulclient$resource, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_016e01f2d7b7186c23fc86036b3d3a76->m_type_description == NULL);
frame_016e01f2d7b7186c23fc86036b3d3a76 = cache_frame_016e01f2d7b7186c23fc86036b3d3a76;
// Push the new frame as the currently active one.
pushFrameStack(frame_016e01f2d7b7186c23fc86036b3d3a76);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_016e01f2d7b7186c23fc86036b3d3a76) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[16]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 145;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[17]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 145;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_016e01f2d7b7186c23fc86036b3d3a76->m_frame.f_lineno = 145;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 145;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_016e01f2d7b7186c23fc86036b3d3a76);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_016e01f2d7b7186c23fc86036b3d3a76);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_016e01f2d7b7186c23fc86036b3d3a76);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_016e01f2d7b7186c23fc86036b3d3a76, exception_lineno);
} else if (exception_tb->tb_frame != &frame_016e01f2d7b7186c23fc86036b3d3a76->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_016e01f2d7b7186c23fc86036b3d3a76, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_016e01f2d7b7186c23fc86036b3d3a76,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_016e01f2d7b7186c23fc86036b3d3a76 == cache_frame_016e01f2d7b7186c23fc86036b3d3a76) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_016e01f2d7b7186c23fc86036b3d3a76);
cache_frame_016e01f2d7b7186c23fc86036b3d3a76 = NULL;
}
assertFrameObject(frame_016e01f2d7b7186c23fc86036b3d3a76);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__8_lp_entries(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_82803a6bdfcd8958dd3a6f9ab7bf9989;
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_82803a6bdfcd8958dd3a6f9ab7bf9989 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_82803a6bdfcd8958dd3a6f9ab7bf9989)) {
Py_XDECREF(cache_frame_82803a6bdfcd8958dd3a6f9ab7bf9989);
#if _DEBUG_REFCOUNTS
if (cache_frame_82803a6bdfcd8958dd3a6f9ab7bf9989 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_82803a6bdfcd8958dd3a6f9ab7bf9989 = MAKE_FUNCTION_FRAME(codeobj_82803a6bdfcd8958dd3a6f9ab7bf9989, module_lazr$restfulclient$resource, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_82803a6bdfcd8958dd3a6f9ab7bf9989->m_type_description == NULL);
frame_82803a6bdfcd8958dd3a6f9ab7bf9989 = cache_frame_82803a6bdfcd8958dd3a6f9ab7bf9989;
// Push the new frame as the currently active one.
pushFrameStack(frame_82803a6bdfcd8958dd3a6f9ab7bf9989);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_82803a6bdfcd8958dd3a6f9ab7bf9989) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[16]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 150;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[19]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 150;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_82803a6bdfcd8958dd3a6f9ab7bf9989->m_frame.f_lineno = 150;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 150;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_82803a6bdfcd8958dd3a6f9ab7bf9989);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_82803a6bdfcd8958dd3a6f9ab7bf9989);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_82803a6bdfcd8958dd3a6f9ab7bf9989);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_82803a6bdfcd8958dd3a6f9ab7bf9989, exception_lineno);
} else if (exception_tb->tb_frame != &frame_82803a6bdfcd8958dd3a6f9ab7bf9989->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_82803a6bdfcd8958dd3a6f9ab7bf9989, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_82803a6bdfcd8958dd3a6f9ab7bf9989,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_82803a6bdfcd8958dd3a6f9ab7bf9989 == cache_frame_82803a6bdfcd8958dd3a6f9ab7bf9989) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_82803a6bdfcd8958dd3a6f9ab7bf9989);
cache_frame_82803a6bdfcd8958dd3a6f9ab7bf9989 = NULL;
}
assertFrameObject(frame_82803a6bdfcd8958dd3a6f9ab7bf9989);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__9_lp_attributes(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_4881213caf4642215f6f69ee33e4c7ea;
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_4881213caf4642215f6f69ee33e4c7ea = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_4881213caf4642215f6f69ee33e4c7ea)) {
Py_XDECREF(cache_frame_4881213caf4642215f6f69ee33e4c7ea);
#if _DEBUG_REFCOUNTS
if (cache_frame_4881213caf4642215f6f69ee33e4c7ea == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_4881213caf4642215f6f69ee33e4c7ea = MAKE_FUNCTION_FRAME(codeobj_4881213caf4642215f6f69ee33e4c7ea, module_lazr$restfulclient$resource, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_4881213caf4642215f6f69ee33e4c7ea->m_type_description == NULL);
frame_4881213caf4642215f6f69ee33e4c7ea = cache_frame_4881213caf4642215f6f69ee33e4c7ea;
// Push the new frame as the currently active one.
pushFrameStack(frame_4881213caf4642215f6f69ee33e4c7ea);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_4881213caf4642215f6f69ee33e4c7ea) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[16]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[21]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 155;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_4881213caf4642215f6f69ee33e4c7ea->m_frame.f_lineno = 155;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_4881213caf4642215f6f69ee33e4c7ea);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4881213caf4642215f6f69ee33e4c7ea);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4881213caf4642215f6f69ee33e4c7ea);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4881213caf4642215f6f69ee33e4c7ea, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4881213caf4642215f6f69ee33e4c7ea->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4881213caf4642215f6f69ee33e4c7ea, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_4881213caf4642215f6f69ee33e4c7ea,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_4881213caf4642215f6f69ee33e4c7ea == cache_frame_4881213caf4642215f6f69ee33e4c7ea) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_4881213caf4642215f6f69ee33e4c7ea);
cache_frame_4881213caf4642215f6f69ee33e4c7ea = NULL;
}
assertFrameObject(frame_4881213caf4642215f6f69ee33e4c7ea);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__10_lp_operations(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_names = NULL;
PyObject *var_method = NULL;
PyObject *var_name = NULL;
PyObject *var_params = NULL;
PyObject *var_media_type = NULL;
PyObject *var_definition = NULL;
PyObject *var_param = 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;
struct Nuitka_FrameObject *frame_33aca8fcef119203a746fe78e00c9ae9;
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;
NUITKA_MAY_BE_UNUSED nuitka_void 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_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_33aca8fcef119203a746fe78e00c9ae9 = 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 body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_LIST_EMPTY(0);
assert(var_names == NULL);
var_names = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_33aca8fcef119203a746fe78e00c9ae9)) {
Py_XDECREF(cache_frame_33aca8fcef119203a746fe78e00c9ae9);
#if _DEBUG_REFCOUNTS
if (cache_frame_33aca8fcef119203a746fe78e00c9ae9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_33aca8fcef119203a746fe78e00c9ae9 = MAKE_FUNCTION_FRAME(codeobj_33aca8fcef119203a746fe78e00c9ae9, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_33aca8fcef119203a746fe78e00c9ae9->m_type_description == NULL);
frame_33aca8fcef119203a746fe78e00c9ae9 = cache_frame_33aca8fcef119203a746fe78e00c9ae9;
// Push the new frame as the currently active one.
pushFrameStack(frame_33aca8fcef119203a746fe78e00c9ae9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_33aca8fcef119203a746fe78e00c9ae9) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[14]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 163;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_iter_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[23]);
Py_DECREF(tmp_expression_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 163;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 163;
type_description_1 = "oooooooo";
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 = "oooooooo";
exception_lineno = 163;
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_method;
var_method = tmp_assign_source_4;
Py_INCREF(var_method);
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(var_method);
tmp_expression_value_4 = var_method;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[24]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 164;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[2]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 164;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
frame_33aca8fcef119203a746fe78e00c9ae9->m_frame.f_lineno = 164;
tmp_assign_source_5 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 164;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_name;
var_name = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_name);
tmp_cmp_expr_left_1 = var_name;
tmp_cmp_expr_right_1 = mod_consts[1];
tmp_condition_result_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_call_arg_element_1;
CHECK_OBJECT(var_method);
tmp_expression_value_5 = var_method;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[25]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
tmp_call_arg_element_1 = LIST_COPY(mod_consts[27]);
frame_33aca8fcef119203a746fe78e00c9ae9->m_frame.f_lineno = 166;
tmp_assign_source_6 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[26], tmp_call_arg_element_1);
Py_DECREF(tmp_called_instance_1);
Py_DECREF(tmp_call_arg_element_1);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_params;
var_params = tmp_assign_source_6;
Py_XDECREF(old);
}
}
goto branch_end_1;
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(var_name);
tmp_cmp_expr_left_2 = var_name;
tmp_cmp_expr_right_2 = mod_consts[28];
tmp_condition_result_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 167;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_iter_arg_2;
tmp_iter_arg_2 = mod_consts[29];
tmp_assign_source_7 = MAKE_ITERATOR_INFALLIBLE(tmp_iter_arg_2);
assert(!(tmp_assign_source_7 == NULL));
{
PyObject *old = tmp_for_loop_2__for_iterator;
tmp_for_loop_2__for_iterator = tmp_assign_source_7;
Py_XDECREF(old);
}
}
// 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 = "oooooooo";
exception_lineno = 168;
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_media_type;
var_media_type = tmp_assign_source_9;
Py_INCREF(var_media_type);
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_1;
if (var_method == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[30]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 170;
type_description_1 = "oooooooo";
goto try_except_handler_3;
}
tmp_expression_value_6 = var_method;
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[25]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 170;
type_description_1 = "oooooooo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_media_type);
tmp_args_element_value_1 = var_media_type;
frame_33aca8fcef119203a746fe78e00c9ae9->m_frame.f_lineno = 170;
tmp_assign_source_10 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[31], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_2);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 170;
type_description_1 = "oooooooo";
goto try_except_handler_3;
}
{
PyObject *old = var_definition;
var_definition = tmp_assign_source_10;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(var_definition);
tmp_cmp_expr_left_3 = var_definition;
tmp_cmp_expr_right_3 = Py_None;
tmp_condition_result_3 = (tmp_cmp_expr_left_3 != tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_11;
PyObject *tmp_called_instance_3;
CHECK_OBJECT(var_definition);
tmp_called_instance_3 = var_definition;
frame_33aca8fcef119203a746fe78e00c9ae9->m_frame.f_lineno = 173;
tmp_assign_source_11 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[32]);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 173;
type_description_1 = "oooooooo";
goto try_except_handler_3;
}
{
PyObject *old = var_definition;
assert(old != NULL);
var_definition = tmp_assign_source_11;
Py_DECREF(old);
}
}
goto loop_end_2;
branch_no_3:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 168;
type_description_1 = "oooooooo";
goto try_except_handler_3;
}
goto loop_start_2;
loop_end_2:;
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_2__iter_value);
tmp_for_loop_2__iter_value = NULL;
CHECK_OBJECT(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_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_2__iter_value);
tmp_for_loop_2__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_2__for_iterator);
Py_DECREF(tmp_for_loop_2__for_iterator);
tmp_for_loop_2__for_iterator = NULL;
{
PyObject *tmp_assign_source_12;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_8;
if (var_definition == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[33]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 175;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
tmp_expression_value_7 = var_definition;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[26]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 175;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
if (par_self == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 175;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
tmp_expression_value_8 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[14]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 175;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
frame_33aca8fcef119203a746fe78e00c9ae9->m_frame.f_lineno = 175;
tmp_assign_source_12 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 175;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_params;
var_params = tmp_assign_source_12;
Py_XDECREF(old);
}
}
branch_no_2:;
branch_end_1:;
{
PyObject *tmp_assign_source_13;
PyObject *tmp_iter_arg_3;
if (var_params == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[26]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 176;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
tmp_iter_arg_3 = var_params;
tmp_assign_source_13 = MAKE_ITERATOR(tmp_iter_arg_3);
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 176;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
{
PyObject *old = tmp_for_loop_3__for_iterator;
tmp_for_loop_3__for_iterator = tmp_assign_source_13;
Py_XDECREF(old);
}
}
// Tried code:
loop_start_3:;
{
PyObject *tmp_next_source_3;
PyObject *tmp_assign_source_14;
CHECK_OBJECT(tmp_for_loop_3__for_iterator);
tmp_next_source_3 = tmp_for_loop_3__for_iterator;
tmp_assign_source_14 = ITERATOR_NEXT(tmp_next_source_3);
if (tmp_assign_source_14 == 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 = "oooooooo";
exception_lineno = 176;
goto try_except_handler_4;
}
}
{
PyObject *old = tmp_for_loop_3__iter_value;
tmp_for_loop_3__iter_value = tmp_assign_source_14;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_15;
CHECK_OBJECT(tmp_for_loop_3__iter_value);
tmp_assign_source_15 = tmp_for_loop_3__iter_value;
{
PyObject *old = var_param;
var_param = tmp_assign_source_15;
Py_INCREF(var_param);
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(var_param);
tmp_expression_value_9 = var_param;
tmp_cmp_expr_left_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[24]);
if (tmp_cmp_expr_left_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 177;
type_description_1 = "oooooooo";
goto try_except_handler_4;
}
tmp_cmp_expr_right_4 = mod_consts[34];
tmp_condition_result_4 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
Py_DECREF(tmp_cmp_expr_left_4);
if (tmp_condition_result_4 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 177;
type_description_1 = "oooooooo";
goto try_except_handler_4;
}
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_10;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_11;
if (var_names == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[35]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 178;
type_description_1 = "oooooooo";
goto try_except_handler_4;
}
tmp_expression_value_10 = var_names;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[36]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 178;
type_description_1 = "oooooooo";
goto try_except_handler_4;
}
CHECK_OBJECT(var_param);
tmp_expression_value_11 = var_param;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[37]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 178;
type_description_1 = "oooooooo";
goto try_except_handler_4;
}
frame_33aca8fcef119203a746fe78e00c9ae9->m_frame.f_lineno = 178;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_3);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 178;
type_description_1 = "oooooooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_1);
}
goto loop_end_3;
branch_no_4:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 176;
type_description_1 = "oooooooo";
goto try_except_handler_4;
}
goto loop_start_3;
loop_end_3:;
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;
Py_XDECREF(tmp_for_loop_3__iter_value);
tmp_for_loop_3__iter_value = NULL;
CHECK_OBJECT(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_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_2;
// End of try:
try_end_2:;
Py_XDECREF(tmp_for_loop_3__iter_value);
tmp_for_loop_3__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_3__for_iterator);
Py_DECREF(tmp_for_loop_3__for_iterator);
tmp_for_loop_3__for_iterator = NULL;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 163;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_2:;
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(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_3:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
if (var_names == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[35]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 180;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_names;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_33aca8fcef119203a746fe78e00c9ae9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_33aca8fcef119203a746fe78e00c9ae9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_33aca8fcef119203a746fe78e00c9ae9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_33aca8fcef119203a746fe78e00c9ae9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_33aca8fcef119203a746fe78e00c9ae9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_33aca8fcef119203a746fe78e00c9ae9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_33aca8fcef119203a746fe78e00c9ae9,
type_description_1,
par_self,
var_names,
var_method,
var_name,
var_params,
var_media_type,
var_definition,
var_param
);
// Release cached frame if used for exception.
if (frame_33aca8fcef119203a746fe78e00c9ae9 == cache_frame_33aca8fcef119203a746fe78e00c9ae9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_33aca8fcef119203a746fe78e00c9ae9);
cache_frame_33aca8fcef119203a746fe78e00c9ae9 = NULL;
}
assertFrameObject(frame_33aca8fcef119203a746fe78e00c9ae9);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_names);
var_names = NULL;
Py_XDECREF(var_method);
var_method = NULL;
Py_XDECREF(var_name);
var_name = NULL;
Py_XDECREF(var_params);
var_params = NULL;
Py_XDECREF(var_media_type);
var_media_type = NULL;
Py_XDECREF(var_definition);
var_definition = NULL;
Py_XDECREF(var_param);
var_param = 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(var_names);
var_names = NULL;
Py_XDECREF(var_method);
var_method = NULL;
Py_XDECREF(var_name);
var_name = NULL;
Py_XDECREF(var_params);
var_params = NULL;
Py_XDECREF(var_media_type);
var_media_type = NULL;
Py_XDECREF(var_definition);
var_definition = NULL;
Py_XDECREF(var_param);
var_param = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__11___members__(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_37f783f4aa0b9757527532852f05ad99;
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_37f783f4aa0b9757527532852f05ad99 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_37f783f4aa0b9757527532852f05ad99)) {
Py_XDECREF(cache_frame_37f783f4aa0b9757527532852f05ad99);
#if _DEBUG_REFCOUNTS
if (cache_frame_37f783f4aa0b9757527532852f05ad99 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_37f783f4aa0b9757527532852f05ad99 = MAKE_FUNCTION_FRAME(codeobj_37f783f4aa0b9757527532852f05ad99, module_lazr$restfulclient$resource, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_37f783f4aa0b9757527532852f05ad99->m_type_description == NULL);
frame_37f783f4aa0b9757527532852f05ad99 = cache_frame_37f783f4aa0b9757527532852f05ad99;
// Push the new frame as the currently active one.
pushFrameStack(frame_37f783f4aa0b9757527532852f05ad99);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_37f783f4aa0b9757527532852f05ad99) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[16]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 185;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[17]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 186;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[19]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
exception_lineno = 186;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[21]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
exception_lineno = 186;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_37f783f4aa0b9757527532852f05ad99->m_frame.f_lineno = 185;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_return_value = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_3);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 185;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_37f783f4aa0b9757527532852f05ad99);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_37f783f4aa0b9757527532852f05ad99);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_37f783f4aa0b9757527532852f05ad99);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_37f783f4aa0b9757527532852f05ad99, exception_lineno);
} else if (exception_tb->tb_frame != &frame_37f783f4aa0b9757527532852f05ad99->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_37f783f4aa0b9757527532852f05ad99, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_37f783f4aa0b9757527532852f05ad99,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_37f783f4aa0b9757527532852f05ad99 == cache_frame_37f783f4aa0b9757527532852f05ad99) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_37f783f4aa0b9757527532852f05ad99);
cache_frame_37f783f4aa0b9757527532852f05ad99 = NULL;
}
assertFrameObject(frame_37f783f4aa0b9757527532852f05ad99);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__12__get_parameter_names(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_kinds = python_pars[1];
PyObject *var_names = NULL;
PyObject *var_parameter = NULL;
PyObject *var_name = NULL;
PyObject *var_link = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_e2f892382afe8be2b85698052149d6f7;
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 nuitka_void 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 *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_e2f892382afe8be2b85698052149d6f7 = 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 body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_LIST_EMPTY(0);
assert(var_names == NULL);
var_names = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_e2f892382afe8be2b85698052149d6f7)) {
Py_XDECREF(cache_frame_e2f892382afe8be2b85698052149d6f7);
#if _DEBUG_REFCOUNTS
if (cache_frame_e2f892382afe8be2b85698052149d6f7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_e2f892382afe8be2b85698052149d6f7 = MAKE_FUNCTION_FRAME(codeobj_e2f892382afe8be2b85698052149d6f7, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_e2f892382afe8be2b85698052149d6f7->m_type_description == NULL);
frame_e2f892382afe8be2b85698052149d6f7 = cache_frame_e2f892382afe8be2b85698052149d6f7;
// Push the new frame as the currently active one.
pushFrameStack(frame_e2f892382afe8be2b85698052149d6f7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_e2f892382afe8be2b85698052149d6f7) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[14]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 193;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[40]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 193;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[41]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 194;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_e2f892382afe8be2b85698052149d6f7->m_frame.f_lineno = 193;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 193;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 193;
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_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 = "oooooo";
exception_lineno = 193;
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_parameter;
var_parameter = tmp_assign_source_4;
Py_INCREF(var_parameter);
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(var_parameter);
tmp_expression_value_4 = var_parameter;
tmp_assign_source_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[24]);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 195;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_name;
var_name = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(var_parameter);
tmp_expression_value_5 = var_parameter;
tmp_assign_source_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[42]);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 196;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_link;
var_link = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_1;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_6;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(var_name);
tmp_cmp_expr_left_1 = var_name;
tmp_cmp_expr_right_1 = mod_consts[8];
tmp_and_left_value_1 = RICH_COMPARE_NE_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_and_left_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 197;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 197;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(var_link);
tmp_cmp_expr_left_2 = var_link;
tmp_cmp_expr_right_2 = Py_None;
tmp_and_left_value_2 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
CHECK_OBJECT(var_link);
tmp_expression_value_6 = var_link;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[43]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 198;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_and_right_value_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
tmp_and_right_value_1 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_and_right_value_1 = tmp_and_left_value_2;
and_end_2:;
tmp_condition_result_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_1 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_7;
PyObject *tmp_call_result_1;
int tmp_truth_name_2;
CHECK_OBJECT(var_name);
tmp_expression_value_7 = var_name;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[44]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 208;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
frame_e2f892382afe8be2b85698052149d6f7->m_frame.f_lineno = 208;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[45]);
Py_DECREF(tmp_called_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 208;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 208;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_condition_result_2 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_8;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 210;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_expression_value_8 = par_self;
tmp_cmp_expr_left_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[17]);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 210;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_kinds);
tmp_cmp_expr_right_3 = par_kinds;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_3, tmp_cmp_expr_left_3);
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 210;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_condition_result_3 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_9;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_10;
PyObject *tmp_subscript_value_1;
if (var_names == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[35]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 211;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_expression_value_9 = var_names;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[36]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 211;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_name);
tmp_expression_value_10 = var_name;
tmp_subscript_value_1 = mod_consts[46];
tmp_args_element_value_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_10, tmp_subscript_value_1);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 211;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
frame_e2f892382afe8be2b85698052149d6f7->m_frame.f_lineno = 211;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 211;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_3:;
goto branch_end_2;
branch_no_2:;
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
PyObject *tmp_expression_value_11;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 214;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_expression_value_11 = par_self;
tmp_cmp_expr_left_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[19]);
if (tmp_cmp_expr_left_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 214;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_kinds);
tmp_cmp_expr_right_4 = par_kinds;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_4, tmp_cmp_expr_left_4);
Py_DECREF(tmp_cmp_expr_left_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 214;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_condition_result_4 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_12;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_13;
PyObject *tmp_subscript_value_2;
if (var_names == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[35]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 215;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_expression_value_12 = var_names;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[36]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 215;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_name);
tmp_expression_value_13 = var_name;
tmp_subscript_value_2 = mod_consts[47];
tmp_args_element_value_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_13, tmp_subscript_value_2);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 215;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
frame_e2f892382afe8be2b85698052149d6f7->m_frame.f_lineno = 215;
tmp_call_result_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_3);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 215;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_4:;
branch_end_2:;
goto branch_end_1;
branch_no_1:;
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
PyObject *tmp_expression_value_14;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 222;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_expression_value_14 = par_self;
tmp_cmp_expr_left_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[21]);
if (tmp_cmp_expr_left_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 222;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_kinds);
tmp_cmp_expr_right_5 = par_kinds;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_5, tmp_cmp_expr_left_5);
Py_DECREF(tmp_cmp_expr_left_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 222;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_condition_result_5 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_4;
if (var_names == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[35]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 223;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_called_instance_1 = var_names;
CHECK_OBJECT(var_name);
tmp_args_element_value_4 = var_name;
frame_e2f892382afe8be2b85698052149d6f7->m_frame.f_lineno = 223;
tmp_call_result_4 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[36], tmp_args_element_value_4);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 223;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_4);
}
branch_no_5:;
branch_end_1:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 193;
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(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(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
if (var_names == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[35]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 224;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_names;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e2f892382afe8be2b85698052149d6f7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e2f892382afe8be2b85698052149d6f7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e2f892382afe8be2b85698052149d6f7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e2f892382afe8be2b85698052149d6f7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e2f892382afe8be2b85698052149d6f7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e2f892382afe8be2b85698052149d6f7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_e2f892382afe8be2b85698052149d6f7,
type_description_1,
par_self,
par_kinds,
var_names,
var_parameter,
var_name,
var_link
);
// Release cached frame if used for exception.
if (frame_e2f892382afe8be2b85698052149d6f7 == cache_frame_e2f892382afe8be2b85698052149d6f7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_e2f892382afe8be2b85698052149d6f7);
cache_frame_e2f892382afe8be2b85698052149d6f7 = NULL;
}
assertFrameObject(frame_e2f892382afe8be2b85698052149d6f7);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_names);
var_names = NULL;
Py_XDECREF(var_parameter);
var_parameter = NULL;
Py_XDECREF(var_name);
var_name = NULL;
Py_XDECREF(var_link);
var_link = 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(var_names);
var_names = NULL;
Py_XDECREF(var_parameter);
var_parameter = NULL;
Py_XDECREF(var_name);
var_name = NULL;
Py_XDECREF(var_link);
var_link = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_kinds);
Py_DECREF(par_kinds);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_kinds);
Py_DECREF(par_kinds);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__13_lp_has_parameter(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_param_name = python_pars[1];
struct Nuitka_FrameObject *frame_fac307af899528d3727c02a38118aaea;
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_fac307af899528d3727c02a38118aaea = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_fac307af899528d3727c02a38118aaea)) {
Py_XDECREF(cache_frame_fac307af899528d3727c02a38118aaea);
#if _DEBUG_REFCOUNTS
if (cache_frame_fac307af899528d3727c02a38118aaea == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_fac307af899528d3727c02a38118aaea = MAKE_FUNCTION_FRAME(codeobj_fac307af899528d3727c02a38118aaea, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_fac307af899528d3727c02a38118aaea->m_type_description == NULL);
frame_fac307af899528d3727c02a38118aaea = cache_frame_fac307af899528d3727c02a38118aaea;
// Push the new frame as the currently active one.
pushFrameStack(frame_fac307af899528d3727c02a38118aaea);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_fac307af899528d3727c02a38118aaea) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_param_name);
tmp_args_element_value_1 = par_param_name;
frame_fac307af899528d3727c02a38118aaea->m_frame.f_lineno = 228;
tmp_cmp_expr_left_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[11], tmp_args_element_value_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 228;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_return_value = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? Py_True : Py_False;
Py_DECREF(tmp_cmp_expr_left_1);
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_fac307af899528d3727c02a38118aaea);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_fac307af899528d3727c02a38118aaea);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_fac307af899528d3727c02a38118aaea);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_fac307af899528d3727c02a38118aaea, exception_lineno);
} else if (exception_tb->tb_frame != &frame_fac307af899528d3727c02a38118aaea->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_fac307af899528d3727c02a38118aaea, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_fac307af899528d3727c02a38118aaea,
type_description_1,
par_self,
par_param_name
);
// Release cached frame if used for exception.
if (frame_fac307af899528d3727c02a38118aaea == cache_frame_fac307af899528d3727c02a38118aaea) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_fac307af899528d3727c02a38118aaea);
cache_frame_fac307af899528d3727c02a38118aaea = NULL;
}
assertFrameObject(frame_fac307af899528d3727c02a38118aaea);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_param_name);
Py_DECREF(par_param_name);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_param_name);
Py_DECREF(par_param_name);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__14_lp_get_parameter(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_param_name = python_pars[1];
PyObject *var_suffix = NULL;
PyObject *var_param = NULL;
PyObject *var_linked_resource = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_daf8e184fc45063fe44e0a9507b3a3ad;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
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;
struct Nuitka_ExceptionStackItem exception_preserved_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 *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;
static struct Nuitka_FrameObject *cache_frame_daf8e184fc45063fe44e0a9507b3a3ad = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_daf8e184fc45063fe44e0a9507b3a3ad)) {
Py_XDECREF(cache_frame_daf8e184fc45063fe44e0a9507b3a3ad);
#if _DEBUG_REFCOUNTS
if (cache_frame_daf8e184fc45063fe44e0a9507b3a3ad == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_daf8e184fc45063fe44e0a9507b3a3ad = MAKE_FUNCTION_FRAME(codeobj_daf8e184fc45063fe44e0a9507b3a3ad, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_daf8e184fc45063fe44e0a9507b3a3ad->m_type_description == NULL);
frame_daf8e184fc45063fe44e0a9507b3a3ad = cache_frame_daf8e184fc45063fe44e0a9507b3a3ad;
// Push the new frame as the currently active one.
pushFrameStack(frame_daf8e184fc45063fe44e0a9507b3a3ad);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_daf8e184fc45063fe44e0a9507b3a3ad) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
frame_daf8e184fc45063fe44e0a9507b3a3ad->m_frame.f_lineno = 237;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[50]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 237;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
tmp_iter_arg_1 = mod_consts[51];
tmp_assign_source_1 = MAKE_ITERATOR_INFALLIBLE(tmp_iter_arg_1);
assert(!(tmp_assign_source_1 == NULL));
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 = "ooooo";
exception_lineno = 238;
goto try_except_handler_2;
}
}
{
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_suffix;
var_suffix = tmp_assign_source_3;
Py_INCREF(var_suffix);
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 239;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[14]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 239;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[52]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 239;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
if (par_param_name == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[53]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 240;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_add_expr_left_1 = par_param_name;
CHECK_OBJECT(var_suffix);
tmp_add_expr_right_1 = var_suffix;
tmp_args_element_value_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 240;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
frame_daf8e184fc45063fe44e0a9507b3a3ad->m_frame.f_lineno = 239;
tmp_assign_source_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 239;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_param;
var_param = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_param);
tmp_cmp_expr_left_1 = var_param;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
// Tried code:
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_2;
CHECK_OBJECT(var_param);
tmp_called_instance_2 = var_param;
frame_daf8e184fc45063fe44e0a9507b3a3ad->m_frame.f_lineno = 243;
tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[54]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_2);
}
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;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_daf8e184fc45063fe44e0a9507b3a3ad, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_daf8e184fc45063fe44e0a9507b3a3ad, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_KeyError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(tmp_res == -1));
tmp_condition_result_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
goto try_continue_handler_4;
goto branch_end_2;
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 242;
}
if (exception_tb && exception_tb->tb_frame == &frame_daf8e184fc45063fe44e0a9507b3a3ad->m_frame) frame_daf8e184fc45063fe44e0a9507b3a3ad->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooo";
goto try_except_handler_4;
branch_end_2:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_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 try_except_handler_2;
// try continue handler code:
try_continue_handler_4:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto loop_start_1;
// End of try:
// End of try:
try_end_1:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_called_instance_3;
CHECK_OBJECT(var_param);
tmp_called_instance_3 = var_param;
frame_daf8e184fc45063fe44e0a9507b3a3ad->m_frame.f_lineno = 248;
tmp_cmp_expr_left_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[54]);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 248;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_3 = Py_None;
tmp_condition_result_3 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_2;
branch_no_3:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(var_param);
tmp_expression_value_3 = var_param;
tmp_assign_source_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[55]);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 253;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
assert(var_linked_resource == NULL);
var_linked_resource = tmp_assign_source_5;
}
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_kw_call_arg_value_1_1;
PyObject *tmp_kw_call_dict_value_0_1;
PyObject *tmp_expression_value_6;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 254;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_expression_value_4 = par_self;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[56]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 254;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
if (par_self == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 255;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_expression_value_5 = par_self;
tmp_kw_call_arg_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[13]);
if (tmp_kw_call_arg_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 255;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_linked_resource);
tmp_kw_call_arg_value_1_1 = var_linked_resource;
CHECK_OBJECT(var_param);
tmp_expression_value_6 = var_param;
tmp_kw_call_dict_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[24]);
if (tmp_kw_call_dict_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_kw_call_arg_value_0_1);
exception_lineno = 255;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
frame_daf8e184fc45063fe44e0a9507b3a3ad->m_frame.f_lineno = 254;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1, tmp_kw_call_arg_value_1_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_return_value = CALL_FUNCTION_WITH_ARGS2_KWSPLIT(tmp_called_value_2, args, kw_values, mod_consts[57]);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 254;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
goto try_return_handler_2;
}
branch_no_1:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 238;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_2;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
Py_DECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_2:;
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(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_2:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(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_6;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_7;
PyObject *tmp_expression_value_8;
PyObject *tmp_args_element_value_2;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 256;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_8 = par_self;
tmp_expression_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[14]);
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 256;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[52]);
Py_DECREF(tmp_expression_value_7);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 256;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (par_param_name == NULL) {
Py_DECREF(tmp_called_value_3);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[53]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 256;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = par_param_name;
frame_daf8e184fc45063fe44e0a9507b3a3ad->m_frame.f_lineno = 256;
tmp_assign_source_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 256;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_param;
var_param = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(var_param);
tmp_cmp_expr_left_4 = var_param;
tmp_cmp_expr_right_4 = Py_None;
tmp_condition_result_4 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
tmp_mod_expr_left_1 = mod_consts[58];
if (par_param_name == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[53]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 258;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = par_param_name;
tmp_make_exception_arg_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
if (tmp_make_exception_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_daf8e184fc45063fe44e0a9507b3a3ad->m_frame.f_lineno = 258;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_KeyError, tmp_make_exception_arg_1);
Py_DECREF(tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 258;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
branch_no_4:;
{
PyObject *tmp_called_instance_4;
CHECK_OBJECT(var_param);
tmp_called_instance_4 = var_param;
frame_daf8e184fc45063fe44e0a9507b3a3ad->m_frame.f_lineno = 259;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[54]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 259;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_daf8e184fc45063fe44e0a9507b3a3ad);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_daf8e184fc45063fe44e0a9507b3a3ad);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_daf8e184fc45063fe44e0a9507b3a3ad);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_daf8e184fc45063fe44e0a9507b3a3ad, exception_lineno);
} else if (exception_tb->tb_frame != &frame_daf8e184fc45063fe44e0a9507b3a3ad->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_daf8e184fc45063fe44e0a9507b3a3ad, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_daf8e184fc45063fe44e0a9507b3a3ad,
type_description_1,
par_self,
par_param_name,
var_suffix,
var_param,
var_linked_resource
);
// Release cached frame if used for exception.
if (frame_daf8e184fc45063fe44e0a9507b3a3ad == cache_frame_daf8e184fc45063fe44e0a9507b3a3ad) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_daf8e184fc45063fe44e0a9507b3a3ad);
cache_frame_daf8e184fc45063fe44e0a9507b3a3ad = NULL;
}
assertFrameObject(frame_daf8e184fc45063fe44e0a9507b3a3ad);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_suffix);
var_suffix = NULL;
Py_XDECREF(var_param);
var_param = NULL;
Py_XDECREF(var_linked_resource);
var_linked_resource = 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(var_suffix);
var_suffix = NULL;
Py_XDECREF(var_param);
var_param = NULL;
Py_XDECREF(var_linked_resource);
var_linked_resource = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_param_name);
Py_DECREF(par_param_name);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_param_name);
Py_DECREF(par_param_name);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__15_lp_get_named_operation(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_operation_name = python_pars[1];
PyObject *var_params = NULL;
PyObject *var_method = NULL;
int tmp_res;
struct Nuitka_FrameObject *frame_a69efd75c3e1fcc442460e54dd143688;
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 *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_a69efd75c3e1fcc442460e54dd143688 = 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 body.
{
PyObject *tmp_assign_source_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
tmp_dict_key_1 = mod_consts[34];
CHECK_OBJECT(par_operation_name);
tmp_dict_value_1 = par_operation_name;
tmp_assign_source_1 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_assign_source_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
assert(var_params == NULL);
var_params = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_a69efd75c3e1fcc442460e54dd143688)) {
Py_XDECREF(cache_frame_a69efd75c3e1fcc442460e54dd143688);
#if _DEBUG_REFCOUNTS
if (cache_frame_a69efd75c3e1fcc442460e54dd143688 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a69efd75c3e1fcc442460e54dd143688 = MAKE_FUNCTION_FRAME(codeobj_a69efd75c3e1fcc442460e54dd143688, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a69efd75c3e1fcc442460e54dd143688->m_type_description == NULL);
frame_a69efd75c3e1fcc442460e54dd143688 = cache_frame_a69efd75c3e1fcc442460e54dd143688;
// Push the new frame as the currently active one.
pushFrameStack(frame_a69efd75c3e1fcc442460e54dd143688);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a69efd75c3e1fcc442460e54dd143688) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_kw_call_value_0_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[14]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 268;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[60]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 268;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_params);
tmp_kw_call_value_0_1 = var_params;
frame_a69efd75c3e1fcc442460e54dd143688->m_frame.f_lineno = 268;
{
PyObject *kw_values[1] = {tmp_kw_call_value_0_1};
tmp_assign_source_2 = CALL_FUNCTION_WITH_POSARGS1_KWSPLIT(tmp_called_value_1, mod_consts[61], kw_values, mod_consts[62]);
}
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 268;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_method == NULL);
var_method = tmp_assign_source_2;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_method);
tmp_cmp_expr_left_1 = var_method;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_kw_call_value_0_2;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[14]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 270;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[60]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 270;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_params);
tmp_kw_call_value_0_2 = var_params;
frame_a69efd75c3e1fcc442460e54dd143688->m_frame.f_lineno = 270;
{
PyObject *kw_values[1] = {tmp_kw_call_value_0_2};
tmp_assign_source_3 = CALL_FUNCTION_WITH_POSARGS1_KWSPLIT(tmp_called_value_2, mod_consts[63], kw_values, mod_consts[64]);
}
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 270;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_method;
assert(old != NULL);
var_method = tmp_assign_source_3;
Py_DECREF(old);
}
}
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(var_method);
tmp_cmp_expr_left_2 = var_method;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
tmp_mod_expr_left_1 = mod_consts[65];
CHECK_OBJECT(par_operation_name);
tmp_mod_expr_right_1 = par_operation_name;
tmp_make_exception_arg_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
if (tmp_make_exception_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 273;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_a69efd75c3e1fcc442460e54dd143688->m_frame.f_lineno = 273;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_KeyError, tmp_make_exception_arg_1);
Py_DECREF(tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 273;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[66]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[66]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 274;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[13]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 274;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_args_element_value_2 = par_self;
CHECK_OBJECT(var_method);
tmp_args_element_value_3 = var_method;
frame_a69efd75c3e1fcc442460e54dd143688->m_frame.f_lineno = 274;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_return_value = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_args_element_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 274;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a69efd75c3e1fcc442460e54dd143688);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a69efd75c3e1fcc442460e54dd143688);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a69efd75c3e1fcc442460e54dd143688);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a69efd75c3e1fcc442460e54dd143688, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a69efd75c3e1fcc442460e54dd143688->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a69efd75c3e1fcc442460e54dd143688, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a69efd75c3e1fcc442460e54dd143688,
type_description_1,
par_self,
par_operation_name,
var_params,
var_method
);
// Release cached frame if used for exception.
if (frame_a69efd75c3e1fcc442460e54dd143688 == cache_frame_a69efd75c3e1fcc442460e54dd143688) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a69efd75c3e1fcc442460e54dd143688);
cache_frame_a69efd75c3e1fcc442460e54dd143688 = NULL;
}
assertFrameObject(frame_a69efd75c3e1fcc442460e54dd143688);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_params);
Py_DECREF(var_params);
var_params = NULL;
CHECK_OBJECT(var_method);
Py_DECREF(var_method);
var_method = 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(var_params);
Py_DECREF(var_params);
var_params = NULL;
Py_XDECREF(var_method);
var_method = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_operation_name);
Py_DECREF(par_operation_name);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_operation_name);
Py_DECREF(par_operation_name);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__16__create_bound_resource(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_root = python_pars[1];
PyObject *par_resource = python_pars[2];
PyObject *par_representation = python_pars[3];
PyObject *par_representation_media_type = python_pars[4];
PyObject *par_representation_needs_processing = python_pars[5];
PyObject *par_representation_definition = python_pars[6];
PyObject *par_param_name = python_pars[7];
PyObject *var_type_url = NULL;
PyObject *var_resource_type = NULL;
PyObject *var_default = NULL;
PyObject *var_r_class = NULL;
struct Nuitka_FrameObject *frame_3f4c652b258f1b705adf5780e487f928;
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 *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_3f4c652b258f1b705adf5780e487f928 = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_3f4c652b258f1b705adf5780e487f928)) {
Py_XDECREF(cache_frame_3f4c652b258f1b705adf5780e487f928);
#if _DEBUG_REFCOUNTS
if (cache_frame_3f4c652b258f1b705adf5780e487f928 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3f4c652b258f1b705adf5780e487f928 = MAKE_FUNCTION_FRAME(codeobj_3f4c652b258f1b705adf5780e487f928, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_3f4c652b258f1b705adf5780e487f928->m_type_description == NULL);
frame_3f4c652b258f1b705adf5780e487f928 = cache_frame_3f4c652b258f1b705adf5780e487f928;
// Push the new frame as the currently active one.
pushFrameStack(frame_3f4c652b258f1b705adf5780e487f928);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3f4c652b258f1b705adf5780e487f928) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_resource);
tmp_expression_value_1 = par_resource;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[68]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 307;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
assert(var_type_url == NULL);
var_type_url = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_subscript_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[69]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[69]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 308;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_type_url);
tmp_args_element_value_1 = var_type_url;
frame_3f4c652b258f1b705adf5780e487f928->m_frame.f_lineno = 308;
tmp_expression_value_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 308;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = mod_consts[70];
tmp_assign_source_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_2, tmp_subscript_value_1, -1);
Py_DECREF(tmp_expression_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 308;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
assert(var_resource_type == NULL);
var_resource_type = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[71]);
if (unlikely(tmp_assign_source_3 == NULL)) {
tmp_assign_source_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[71]);
}
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 309;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
assert(var_default == NULL);
Py_INCREF(tmp_assign_source_3);
var_default = tmp_assign_source_3;
}
{
nuitka_bool tmp_condition_result_1;
int tmp_or_left_truth_1;
nuitka_bool tmp_or_left_value_1;
nuitka_bool tmp_or_right_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_1;
int tmp_truth_name_1;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_2;
int tmp_truth_name_2;
CHECK_OBJECT(var_type_url);
tmp_expression_value_3 = var_type_url;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[44]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 311;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
frame_3f4c652b258f1b705adf5780e487f928->m_frame.f_lineno = 311;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[72]);
Py_DECREF(tmp_called_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 311;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 311;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 311;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
CHECK_OBJECT(par_param_name);
tmp_cmp_expr_left_1 = par_param_name;
tmp_cmp_expr_right_1 = Py_None;
tmp_and_left_value_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_param_name);
tmp_expression_value_4 = par_param_name;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[44]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 313;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
frame_3f4c652b258f1b705adf5780e487f928->m_frame.f_lineno = 313;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[45]);
Py_DECREF(tmp_called_value_3);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 313;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_call_result_2);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_2);
exception_lineno = 313;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_2);
tmp_or_right_value_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_or_right_value_1 = tmp_and_left_value_1;
and_end_1:;
tmp_condition_result_1 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_1 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[73]);
if (unlikely(tmp_assign_source_4 == NULL)) {
tmp_assign_source_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[73]);
}
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_default;
assert(old != NULL);
var_default = tmp_assign_source_4;
Py_INCREF(var_default);
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(par_root);
tmp_expression_value_6 = par_root;
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[74]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 315;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[1]);
Py_DECREF(tmp_expression_value_5);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 315;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_resource_type);
tmp_args_element_value_2 = var_resource_type;
CHECK_OBJECT(var_default);
tmp_args_element_value_3 = var_default;
frame_3f4c652b258f1b705adf5780e487f928->m_frame.f_lineno = 315;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_assign_source_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_called_value_4);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 315;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
assert(var_r_class == NULL);
var_r_class = tmp_assign_source_5;
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(par_representation);
tmp_cmp_expr_left_2 = par_representation;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_7;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_arg_value_1_1;
PyObject *tmp_kw_call_arg_value_2_1;
PyObject *tmp_kw_call_dict_value_0_1;
CHECK_OBJECT(par_resource);
tmp_expression_value_7 = par_resource;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[75]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 319;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_representation);
tmp_kw_call_arg_value_0_1 = par_representation;
CHECK_OBJECT(par_representation_media_type);
tmp_kw_call_arg_value_1_1 = par_representation_media_type;
CHECK_OBJECT(par_representation_needs_processing);
tmp_kw_call_arg_value_2_1 = par_representation_needs_processing;
CHECK_OBJECT(par_representation_definition);
tmp_kw_call_dict_value_0_1 = par_representation_definition;
frame_3f4c652b258f1b705adf5780e487f928->m_frame.f_lineno = 319;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1, tmp_kw_call_arg_value_1_1, tmp_kw_call_arg_value_2_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_assign_source_6 = CALL_FUNCTION_WITH_ARGS3_KWSPLIT(tmp_called_value_5, args, kw_values, mod_consts[76]);
}
Py_DECREF(tmp_called_value_5);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 319;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_resource;
assert(old != NULL);
par_resource = tmp_assign_source_6;
Py_DECREF(old);
}
}
branch_no_2:;
{
PyObject *tmp_called_value_6;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
CHECK_OBJECT(var_r_class);
tmp_called_value_6 = var_r_class;
CHECK_OBJECT(par_root);
tmp_args_element_value_4 = par_root;
if (par_resource == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[77]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 327;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_5 = par_resource;
frame_3f4c652b258f1b705adf5780e487f928->m_frame.f_lineno = 327;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_return_value = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_6, call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 327;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_3f4c652b258f1b705adf5780e487f928);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3f4c652b258f1b705adf5780e487f928);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3f4c652b258f1b705adf5780e487f928);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3f4c652b258f1b705adf5780e487f928, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3f4c652b258f1b705adf5780e487f928->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3f4c652b258f1b705adf5780e487f928, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3f4c652b258f1b705adf5780e487f928,
type_description_1,
par_cls,
par_root,
par_resource,
par_representation,
par_representation_media_type,
par_representation_needs_processing,
par_representation_definition,
par_param_name,
var_type_url,
var_resource_type,
var_default,
var_r_class
);
// Release cached frame if used for exception.
if (frame_3f4c652b258f1b705adf5780e487f928 == cache_frame_3f4c652b258f1b705adf5780e487f928) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3f4c652b258f1b705adf5780e487f928);
cache_frame_3f4c652b258f1b705adf5780e487f928 = NULL;
}
assertFrameObject(frame_3f4c652b258f1b705adf5780e487f928);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_resource);
par_resource = NULL;
CHECK_OBJECT(var_type_url);
Py_DECREF(var_type_url);
var_type_url = NULL;
CHECK_OBJECT(var_resource_type);
Py_DECREF(var_resource_type);
var_resource_type = NULL;
CHECK_OBJECT(var_default);
Py_DECREF(var_default);
var_default = NULL;
CHECK_OBJECT(var_r_class);
Py_DECREF(var_r_class);
var_r_class = 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_resource);
par_resource = NULL;
Py_XDECREF(var_type_url);
var_type_url = NULL;
Py_XDECREF(var_resource_type);
var_resource_type = NULL;
Py_XDECREF(var_default);
var_default = NULL;
Py_XDECREF(var_r_class);
var_r_class = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_cls);
Py_DECREF(par_cls);
CHECK_OBJECT(par_root);
Py_DECREF(par_root);
CHECK_OBJECT(par_representation);
Py_DECREF(par_representation);
CHECK_OBJECT(par_representation_media_type);
Py_DECREF(par_representation_media_type);
CHECK_OBJECT(par_representation_needs_processing);
Py_DECREF(par_representation_needs_processing);
CHECK_OBJECT(par_representation_definition);
Py_DECREF(par_representation_definition);
CHECK_OBJECT(par_param_name);
Py_DECREF(par_param_name);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_cls);
Py_DECREF(par_cls);
CHECK_OBJECT(par_root);
Py_DECREF(par_root);
CHECK_OBJECT(par_representation);
Py_DECREF(par_representation);
CHECK_OBJECT(par_representation_media_type);
Py_DECREF(par_representation_media_type);
CHECK_OBJECT(par_representation_needs_processing);
Py_DECREF(par_representation_needs_processing);
CHECK_OBJECT(par_representation_definition);
Py_DECREF(par_representation_definition);
CHECK_OBJECT(par_param_name);
Py_DECREF(par_param_name);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__17_lp_refresh(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_new_url = python_pars[1];
PyObject *par_etag = python_pars[2];
PyObject *var_headers = NULL;
PyObject *var_representation = NULL;
struct Nuitka_FrameObject *frame_0fcd7a1afbdb2f2f340edc5912c6215f;
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 *tmp_dictset_value;
PyObject *tmp_dictset_dict;
PyObject *tmp_dictset_key;
int tmp_res;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_0fcd7a1afbdb2f2f340edc5912c6215f = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_0fcd7a1afbdb2f2f340edc5912c6215f)) {
Py_XDECREF(cache_frame_0fcd7a1afbdb2f2f340edc5912c6215f);
#if _DEBUG_REFCOUNTS
if (cache_frame_0fcd7a1afbdb2f2f340edc5912c6215f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0fcd7a1afbdb2f2f340edc5912c6215f = MAKE_FUNCTION_FRAME(codeobj_0fcd7a1afbdb2f2f340edc5912c6215f, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0fcd7a1afbdb2f2f340edc5912c6215f->m_type_description == NULL);
frame_0fcd7a1afbdb2f2f340edc5912c6215f = cache_frame_0fcd7a1afbdb2f2f340edc5912c6215f;
// Push the new frame as the currently active one.
pushFrameStack(frame_0fcd7a1afbdb2f2f340edc5912c6215f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0fcd7a1afbdb2f2f340edc5912c6215f) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_new_url);
tmp_cmp_expr_left_1 = par_new_url;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_new_url);
tmp_assattr_value_1 = par_new_url;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_assattr_target_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[14]);
if (tmp_assattr_target_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 332;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[79], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_target_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 332;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
branch_no_1:;
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_DICT_EMPTY();
assert(var_headers == NULL);
var_headers = tmp_assign_source_1;
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(par_etag);
tmp_cmp_expr_left_2 = par_etag;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
CHECK_OBJECT(par_etag);
tmp_dictset_value = par_etag;
CHECK_OBJECT(var_headers);
tmp_dictset_dict = var_headers;
tmp_dictset_key = mod_consts[80];
assert(PyDict_CheckExact(tmp_dictset_dict));
tmp_res = PyDict_SetItem(tmp_dictset_dict, tmp_dictset_key, tmp_dictset_value);
assert(!(tmp_res != 0));
branch_no_2:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_kw_call_dict_value_0_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 336;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[13]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 336;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[81]);
Py_DECREF(tmp_expression_value_3);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 336;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[1]);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 336;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (par_self == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 337;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_5 = par_self;
tmp_kw_call_arg_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[14]);
if (tmp_kw_call_arg_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 337;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (var_headers == NULL) {
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[82]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 337;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_kw_call_dict_value_0_1 = var_headers;
frame_0fcd7a1afbdb2f2f340edc5912c6215f->m_frame.f_lineno = 336;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_1, args, kw_values, mod_consts[83]);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 336;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_representation == NULL);
var_representation = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(var_representation);
tmp_cmp_expr_left_3 = var_representation;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 338;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_8 = par_self;
tmp_expression_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[13]);
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 338;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[81]);
Py_DECREF(tmp_expression_value_7);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 338;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[84]);
Py_DECREF(tmp_expression_value_6);
if (tmp_cmp_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 338;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
Py_DECREF(tmp_cmp_expr_right_3);
if (tmp_condition_result_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 338;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_3:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_9;
PyObject *tmp_expression_value_10;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_11;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_expression_value_12;
PyObject *tmp_ass_subscript_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 343;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_10 = par_self;
tmp_expression_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[14]);
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[75]);
Py_DECREF(tmp_expression_value_9);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_representation);
tmp_args_element_value_1 = var_representation;
if (par_self == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 344;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_11 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[41]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 344;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_0fcd7a1afbdb2f2f340edc5912c6215f->m_frame.f_lineno = 343;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_ass_subvalue_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_ass_subvalue_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (par_self == NULL) {
Py_DECREF(tmp_ass_subvalue_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 343;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_12 = par_self;
tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE_DICT_SLOT(tmp_expression_value_12);
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_ass_subvalue_1);
exception_lineno = 343;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_ass_subscript_1 = mod_consts[14];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subscribed_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 = 343;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_0fcd7a1afbdb2f2f340edc5912c6215f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0fcd7a1afbdb2f2f340edc5912c6215f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0fcd7a1afbdb2f2f340edc5912c6215f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0fcd7a1afbdb2f2f340edc5912c6215f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0fcd7a1afbdb2f2f340edc5912c6215f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0fcd7a1afbdb2f2f340edc5912c6215f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0fcd7a1afbdb2f2f340edc5912c6215f,
type_description_1,
par_self,
par_new_url,
par_etag,
var_headers,
var_representation
);
// Release cached frame if used for exception.
if (frame_0fcd7a1afbdb2f2f340edc5912c6215f == cache_frame_0fcd7a1afbdb2f2f340edc5912c6215f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0fcd7a1afbdb2f2f340edc5912c6215f);
cache_frame_0fcd7a1afbdb2f2f340edc5912c6215f = NULL;
}
assertFrameObject(frame_0fcd7a1afbdb2f2f340edc5912c6215f);
// 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;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_headers);
var_headers = NULL;
Py_XDECREF(var_representation);
var_representation = 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(var_headers);
var_headers = NULL;
Py_XDECREF(var_representation);
var_representation = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_new_url);
Py_DECREF(par_new_url);
CHECK_OBJECT(par_etag);
Py_DECREF(par_etag);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_new_url);
Py_DECREF(par_new_url);
CHECK_OBJECT(par_etag);
Py_DECREF(par_etag);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__18___getattr__(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_attr = python_pars[1];
struct Nuitka_FrameObject *frame_7350f6c78dff19cbd49efb28949b585b;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_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;
struct Nuitka_ExceptionStackItem exception_preserved_2;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
static struct Nuitka_FrameObject *cache_frame_7350f6c78dff19cbd49efb28949b585b = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_7350f6c78dff19cbd49efb28949b585b)) {
Py_XDECREF(cache_frame_7350f6c78dff19cbd49efb28949b585b);
#if _DEBUG_REFCOUNTS
if (cache_frame_7350f6c78dff19cbd49efb28949b585b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7350f6c78dff19cbd49efb28949b585b = MAKE_FUNCTION_FRAME(codeobj_7350f6c78dff19cbd49efb28949b585b, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7350f6c78dff19cbd49efb28949b585b->m_type_description == NULL);
frame_7350f6c78dff19cbd49efb28949b585b = cache_frame_7350f6c78dff19cbd49efb28949b585b;
// Push the new frame as the currently active one.
pushFrameStack(frame_7350f6c78dff19cbd49efb28949b585b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7350f6c78dff19cbd49efb28949b585b) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_attr);
tmp_args_element_value_1 = par_attr;
frame_7350f6c78dff19cbd49efb28949b585b->m_frame.f_lineno = 349;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[86], tmp_args_element_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 349;
type_description_1 = "oo";
goto try_except_handler_1;
}
goto frame_return_exit_1;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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 id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_7350f6c78dff19cbd49efb28949b585b, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_7350f6c78dff19cbd49efb28949b585b, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_KeyError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
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 = 348;
}
if (exception_tb && exception_tb->tb_frame == &frame_7350f6c78dff19cbd49efb28949b585b->m_frame) frame_7350f6c78dff19cbd49efb28949b585b->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_2;
branch_no_1:;
goto try_end_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;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_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_1:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_2;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_2:;
// Tried code:
{
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_self);
tmp_called_instance_2 = par_self;
CHECK_OBJECT(par_attr);
tmp_args_element_value_2 = par_attr;
frame_7350f6c78dff19cbd49efb28949b585b->m_frame.f_lineno = 353;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[87], tmp_args_element_value_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 353;
type_description_1 = "oo";
goto try_except_handler_3;
}
goto frame_return_exit_1;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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;
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_3 == NULL) {
exception_keeper_tb_3 = MAKE_TRACEBACK(frame_7350f6c78dff19cbd49efb28949b585b, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_7350f6c78dff19cbd49efb28949b585b, exception_keeper_lineno_3);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3);
// Tried code:
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_KeyError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(tmp_res == -1));
tmp_condition_result_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
tmp_mod_expr_left_1 = mod_consts[88];
CHECK_OBJECT(par_self);
tmp_tuple_element_1 = par_self;
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_attr);
tmp_tuple_element_1 = par_attr;
PyTuple_SET_ITEM0(tmp_mod_expr_right_1, 1, tmp_tuple_element_1);
tmp_make_exception_arg_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_make_exception_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
type_description_1 = "oo";
goto try_except_handler_4;
}
frame_7350f6c78dff19cbd49efb28949b585b->m_frame.f_lineno = 355;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_AttributeError, tmp_make_exception_arg_1);
Py_DECREF(tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 355;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
goto try_except_handler_4;
}
goto branch_end_2;
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 352;
}
if (exception_tb && exception_tb->tb_frame == &frame_7350f6c78dff19cbd49efb28949b585b->m_frame) frame_7350f6c78dff19cbd49efb28949b585b->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_4;
branch_end_2:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_7350f6c78dff19cbd49efb28949b585b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7350f6c78dff19cbd49efb28949b585b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7350f6c78dff19cbd49efb28949b585b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7350f6c78dff19cbd49efb28949b585b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7350f6c78dff19cbd49efb28949b585b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7350f6c78dff19cbd49efb28949b585b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7350f6c78dff19cbd49efb28949b585b,
type_description_1,
par_self,
par_attr
);
// Release cached frame if used for exception.
if (frame_7350f6c78dff19cbd49efb28949b585b == cache_frame_7350f6c78dff19cbd49efb28949b585b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7350f6c78dff19cbd49efb28949b585b);
cache_frame_7350f6c78dff19cbd49efb28949b585b = NULL;
}
assertFrameObject(frame_7350f6c78dff19cbd49efb28949b585b);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_attr);
Py_DECREF(par_attr);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_attr);
Py_DECREF(par_attr);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__19_lp_values_for(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_param_name = python_pars[1];
PyObject *var_parameter = NULL;
PyObject *var_options = NULL;
PyObject *outline_0_var_option = 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_ca9dcc74e85c7c3fdefc7d71acecf446;
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 *tmp_return_value = NULL;
struct Nuitka_FrameObject *frame_8fe3778b93956e8f47fe9a798f7c2661_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = 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;
static struct Nuitka_FrameObject *cache_frame_8fe3778b93956e8f47fe9a798f7c2661_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_ca9dcc74e85c7c3fdefc7d71acecf446 = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_ca9dcc74e85c7c3fdefc7d71acecf446)) {
Py_XDECREF(cache_frame_ca9dcc74e85c7c3fdefc7d71acecf446);
#if _DEBUG_REFCOUNTS
if (cache_frame_ca9dcc74e85c7c3fdefc7d71acecf446 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ca9dcc74e85c7c3fdefc7d71acecf446 = MAKE_FUNCTION_FRAME(codeobj_ca9dcc74e85c7c3fdefc7d71acecf446, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ca9dcc74e85c7c3fdefc7d71acecf446->m_type_description == NULL);
frame_ca9dcc74e85c7c3fdefc7d71acecf446 = cache_frame_ca9dcc74e85c7c3fdefc7d71acecf446;
// Push the new frame as the currently active one.
pushFrameStack(frame_ca9dcc74e85c7c3fdefc7d71acecf446);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ca9dcc74e85c7c3fdefc7d71acecf446) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[14]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 360;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[52]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 360;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_param_name);
tmp_args_element_value_1 = par_param_name;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[41]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 361;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_ca9dcc74e85c7c3fdefc7d71acecf446->m_frame.f_lineno = 360;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 360;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_parameter == NULL);
var_parameter = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(var_parameter);
tmp_expression_value_4 = var_parameter;
tmp_assign_source_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[90]);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_options == NULL);
var_options = tmp_assign_source_2;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
nuitka_digit tmp_cmp_expr_right_1;
PyObject *tmp_len_arg_1;
CHECK_OBJECT(var_options);
tmp_len_arg_1 = var_options;
tmp_cmp_expr_left_1 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 363;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = 0;
tmp_condition_result_1 = RICH_COMPARE_GT_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(var_options);
tmp_iter_arg_1 = var_options;
tmp_assign_source_3 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 364;
type_description_1 = "oooo";
goto try_except_handler_2;
}
assert(tmp_listcomp_1__$0 == NULL);
tmp_listcomp_1__$0 = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = MAKE_LIST_EMPTY(0);
assert(tmp_listcomp_1__contraction == NULL);
tmp_listcomp_1__contraction = tmp_assign_source_4;
}
if (isFrameUnusable(cache_frame_8fe3778b93956e8f47fe9a798f7c2661_2)) {
Py_XDECREF(cache_frame_8fe3778b93956e8f47fe9a798f7c2661_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_8fe3778b93956e8f47fe9a798f7c2661_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8fe3778b93956e8f47fe9a798f7c2661_2 = MAKE_FUNCTION_FRAME(codeobj_8fe3778b93956e8f47fe9a798f7c2661, module_lazr$restfulclient$resource, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8fe3778b93956e8f47fe9a798f7c2661_2->m_type_description == NULL);
frame_8fe3778b93956e8f47fe9a798f7c2661_2 = cache_frame_8fe3778b93956e8f47fe9a798f7c2661_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_8fe3778b93956e8f47fe9a798f7c2661_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8fe3778b93956e8f47fe9a798f7c2661_2) == 2); // Frame stack
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_listcomp_1__$0);
tmp_next_source_1 = tmp_listcomp_1__$0;
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_2 = "o";
exception_lineno = 364;
goto try_except_handler_3;
}
}
{
PyObject *old = tmp_listcomp_1__iter_value_0;
tmp_listcomp_1__iter_value_0 = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_listcomp_1__iter_value_0);
tmp_assign_source_6 = tmp_listcomp_1__iter_value_0;
{
PyObject *old = outline_0_var_option;
outline_0_var_option = tmp_assign_source_6;
Py_INCREF(outline_0_var_option);
Py_XDECREF(old);
}
}
{
PyObject *tmp_append_list_1;
PyObject *tmp_append_value_1;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_append_list_1 = tmp_listcomp_1__contraction;
CHECK_OBJECT(outline_0_var_option);
tmp_expression_value_5 = outline_0_var_option;
tmp_append_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[91]);
if (tmp_append_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 364;
type_description_2 = "o";
goto try_except_handler_3;
}
assert(PyList_Check(tmp_append_list_1));
tmp_result = LIST_APPEND1(tmp_append_list_1, tmp_append_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 364;
type_description_2 = "o";
goto try_except_handler_3;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 364;
type_description_2 = "o";
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;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(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(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(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_8fe3778b93956e8f47fe9a798f7c2661_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_8fe3778b93956e8f47fe9a798f7c2661_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_8fe3778b93956e8f47fe9a798f7c2661_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8fe3778b93956e8f47fe9a798f7c2661_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8fe3778b93956e8f47fe9a798f7c2661_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8fe3778b93956e8f47fe9a798f7c2661_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8fe3778b93956e8f47fe9a798f7c2661_2,
type_description_2,
outline_0_var_option
);
// Release cached frame if used for exception.
if (frame_8fe3778b93956e8f47fe9a798f7c2661_2 == cache_frame_8fe3778b93956e8f47fe9a798f7c2661_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8fe3778b93956e8f47fe9a798f7c2661_2);
cache_frame_8fe3778b93956e8f47fe9a798f7c2661_2 = NULL;
}
assertFrameObject(frame_8fe3778b93956e8f47fe9a798f7c2661_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:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
Py_XDECREF(outline_0_var_option);
outline_0_var_option = 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_option);
outline_0_var_option = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 364;
goto frame_exception_exit_1;
outline_result_1:;
goto frame_return_exit_1;
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ca9dcc74e85c7c3fdefc7d71acecf446);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ca9dcc74e85c7c3fdefc7d71acecf446);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ca9dcc74e85c7c3fdefc7d71acecf446);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ca9dcc74e85c7c3fdefc7d71acecf446, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ca9dcc74e85c7c3fdefc7d71acecf446->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ca9dcc74e85c7c3fdefc7d71acecf446, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ca9dcc74e85c7c3fdefc7d71acecf446,
type_description_1,
par_self,
par_param_name,
var_parameter,
var_options
);
// Release cached frame if used for exception.
if (frame_ca9dcc74e85c7c3fdefc7d71acecf446 == cache_frame_ca9dcc74e85c7c3fdefc7d71acecf446) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ca9dcc74e85c7c3fdefc7d71acecf446);
cache_frame_ca9dcc74e85c7c3fdefc7d71acecf446 = NULL;
}
assertFrameObject(frame_ca9dcc74e85c7c3fdefc7d71acecf446);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_2:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_parameter);
Py_DECREF(var_parameter);
var_parameter = NULL;
CHECK_OBJECT(var_options);
Py_DECREF(var_options);
var_options = 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(var_parameter);
var_parameter = NULL;
Py_XDECREF(var_options);
var_options = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_param_name);
Py_DECREF(par_param_name);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_param_name);
Py_DECREF(par_param_name);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__20__get_external_param_name(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_param_name = python_pars[1];
PyObject *var_suffix = NULL;
PyObject *var_name = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_679de4ea2eb0efb1fccedf6bef21df0b;
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 *tmp_return_value = 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;
static struct Nuitka_FrameObject *cache_frame_679de4ea2eb0efb1fccedf6bef21df0b = 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 body.
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
tmp_iter_arg_1 = mod_consts[93];
tmp_assign_source_1 = MAKE_ITERATOR_INFALLIBLE(tmp_iter_arg_1);
assert(!(tmp_assign_source_1 == NULL));
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_679de4ea2eb0efb1fccedf6bef21df0b)) {
Py_XDECREF(cache_frame_679de4ea2eb0efb1fccedf6bef21df0b);
#if _DEBUG_REFCOUNTS
if (cache_frame_679de4ea2eb0efb1fccedf6bef21df0b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_679de4ea2eb0efb1fccedf6bef21df0b = MAKE_FUNCTION_FRAME(codeobj_679de4ea2eb0efb1fccedf6bef21df0b, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_679de4ea2eb0efb1fccedf6bef21df0b->m_type_description == NULL);
frame_679de4ea2eb0efb1fccedf6bef21df0b = cache_frame_679de4ea2eb0efb1fccedf6bef21df0b;
// Push the new frame as the currently active one.
pushFrameStack(frame_679de4ea2eb0efb1fccedf6bef21df0b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_679de4ea2eb0efb1fccedf6bef21df0b) == 2); // Frame stack
// Framed code:
// 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 = "oooo";
exception_lineno = 369;
goto try_except_handler_2;
}
}
{
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_suffix;
var_suffix = tmp_assign_source_3;
Py_INCREF(var_suffix);
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
if (par_param_name == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[53]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 370;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_add_expr_left_1 = par_param_name;
CHECK_OBJECT(var_suffix);
tmp_add_expr_right_1 = var_suffix;
tmp_assign_source_4 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 370;
type_description_1 = "oooo";
goto try_except_handler_2;
}
{
PyObject *old = var_name;
var_name = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
int tmp_truth_name_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 371;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_expression_value_1 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[14]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 371;
type_description_1 = "oooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_name);
tmp_args_element_value_1 = var_name;
frame_679de4ea2eb0efb1fccedf6bef21df0b->m_frame.f_lineno = 371;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[52], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 371;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 371;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
CHECK_OBJECT(var_name);
tmp_return_value = var_name;
Py_INCREF(tmp_return_value);
goto try_return_handler_2;
branch_no_1:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 369;
type_description_1 = "oooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
Py_DECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
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;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(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:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_679de4ea2eb0efb1fccedf6bef21df0b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_679de4ea2eb0efb1fccedf6bef21df0b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_679de4ea2eb0efb1fccedf6bef21df0b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_679de4ea2eb0efb1fccedf6bef21df0b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_679de4ea2eb0efb1fccedf6bef21df0b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_679de4ea2eb0efb1fccedf6bef21df0b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_679de4ea2eb0efb1fccedf6bef21df0b,
type_description_1,
par_self,
par_param_name,
var_suffix,
var_name
);
// Release cached frame if used for exception.
if (frame_679de4ea2eb0efb1fccedf6bef21df0b == cache_frame_679de4ea2eb0efb1fccedf6bef21df0b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_679de4ea2eb0efb1fccedf6bef21df0b);
cache_frame_679de4ea2eb0efb1fccedf6bef21df0b = NULL;
}
assertFrameObject(frame_679de4ea2eb0efb1fccedf6bef21df0b);
// 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_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_suffix);
var_suffix = NULL;
Py_XDECREF(var_name);
var_name = 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(var_suffix);
var_suffix = NULL;
Py_XDECREF(var_name);
var_name = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_param_name);
Py_DECREF(par_param_name);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_param_name);
Py_DECREF(par_param_name);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__21__ensure_representation(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_representation = NULL;
PyObject *var_type_link = NULL;
PyObject *var_resource_type = NULL;
struct Nuitka_FrameObject *frame_f738fea529d79efb5b13637e29d60d93;
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;
static struct Nuitka_FrameObject *cache_frame_f738fea529d79efb5b13637e29d60d93 = NULL;
PyObject *tmp_return_value = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_f738fea529d79efb5b13637e29d60d93)) {
Py_XDECREF(cache_frame_f738fea529d79efb5b13637e29d60d93);
#if _DEBUG_REFCOUNTS
if (cache_frame_f738fea529d79efb5b13637e29d60d93 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f738fea529d79efb5b13637e29d60d93 = MAKE_FUNCTION_FRAME(codeobj_f738fea529d79efb5b13637e29d60d93, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f738fea529d79efb5b13637e29d60d93->m_type_description == NULL);
frame_f738fea529d79efb5b13637e29d60d93 = cache_frame_f738fea529d79efb5b13637e29d60d93;
// Push the new frame as the currently active one.
pushFrameStack(frame_f738fea529d79efb5b13637e29d60d93);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f738fea529d79efb5b13637e29d60d93) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[14]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[95]);
Py_DECREF(tmp_expression_value_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[13]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 379;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[81]);
Py_DECREF(tmp_expression_value_4);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 379;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[1]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 379;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[14]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 379;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_f738fea529d79efb5b13637e29d60d93->m_frame.f_lineno = 379;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 379;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_representation == NULL);
var_representation = tmp_assign_source_1;
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(var_representation);
tmp_isinstance_inst_1 = var_representation;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[96]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[96]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 380;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_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 = 380;
type_description_1 = "oooo";
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_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(var_representation);
tmp_expression_value_7 = var_representation;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[97]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 381;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_f738fea529d79efb5b13637e29d60d93->m_frame.f_lineno = 381;
tmp_assign_source_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[98]);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 381;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_representation;
assert(old != NULL);
var_representation = tmp_assign_source_2;
Py_DECREF(old);
}
}
branch_no_2:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_2;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[99]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[99]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 382;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_representation);
tmp_args_element_value_2 = var_representation;
frame_f738fea529d79efb5b13637e29d60d93->m_frame.f_lineno = 382;
tmp_assign_source_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 382;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_representation;
assert(old != NULL);
var_representation = tmp_assign_source_3;
Py_DECREF(old);
}
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
CHECK_OBJECT(var_representation);
tmp_isinstance_inst_2 = var_representation;
tmp_isinstance_cls_2 = (PyObject *)&PyDict_Type;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_2, tmp_isinstance_cls_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
type_description_1 = "oooo";
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_4;
PyObject *tmp_expression_value_8;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_representation);
tmp_expression_value_8 = var_representation;
tmp_subscript_value_1 = mod_consts[100];
tmp_assign_source_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_8, tmp_subscript_value_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 393;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_type_link == NULL);
var_type_link = tmp_assign_source_4;
}
{
nuitka_bool tmp_condition_result_4;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_9;
PyObject *tmp_expression_value_10;
CHECK_OBJECT(var_type_link);
tmp_cmp_expr_left_2 = var_type_link;
tmp_cmp_expr_right_2 = Py_None;
tmp_and_left_value_1 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(var_type_link);
tmp_cmp_expr_left_3 = var_type_link;
CHECK_OBJECT(par_self);
tmp_expression_value_10 = par_self;
tmp_expression_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[14]);
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 395;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[68]);
Py_DECREF(tmp_expression_value_9);
if (tmp_cmp_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 395;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = RICH_COMPARE_NE_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
Py_DECREF(tmp_cmp_expr_right_3);
if (tmp_and_right_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 395;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_4 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_11;
PyObject *tmp_expression_value_12;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_12 = par_self;
tmp_expression_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[13]);
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 396;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[101]);
Py_DECREF(tmp_expression_value_11);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 396;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_type_link);
tmp_args_element_value_3 = var_type_link;
frame_f738fea529d79efb5b13637e29d60d93->m_frame.f_lineno = 396;
tmp_assign_source_5 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[102], tmp_args_element_value_3);
Py_DECREF(tmp_called_instance_1);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 396;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_resource_type == NULL);
var_resource_type = tmp_assign_source_5;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_expression_value_13;
PyObject *tmp_assattr_target_1;
PyObject *tmp_expression_value_14;
CHECK_OBJECT(var_resource_type);
tmp_expression_value_13 = var_resource_type;
tmp_assattr_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[103]);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 398;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_14 = par_self;
tmp_assattr_target_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[14]);
if (tmp_assattr_target_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_assattr_value_1);
exception_lineno = 398;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[103], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_value_1);
Py_DECREF(tmp_assattr_target_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 398;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
branch_no_4:;
branch_no_3:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_15;
PyObject *tmp_expression_value_16;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_kwargs_value_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_expression_value_18;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(par_self);
tmp_expression_value_16 = par_self;
tmp_expression_value_15 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[14]);
if (tmp_expression_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 399;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[75]);
Py_DECREF(tmp_expression_value_15);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 399;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_representation);
tmp_tuple_element_1 = var_representation;
tmp_args_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_17;
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_expression_value_17 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[41]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 400;
type_description_1 = "oooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_args_value_1, 1, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_value_1);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_kwargs_value_1 = DICT_COPY(mod_consts[104]);
frame_f738fea529d79efb5b13637e29d60d93->m_frame.f_lineno = 399;
tmp_ass_subvalue_1 = CALL_FUNCTION(tmp_called_value_4, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_ass_subvalue_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 399;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_18 = par_self;
tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE_DICT_SLOT(tmp_expression_value_18);
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_ass_subvalue_1);
exception_lineno = 399;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_ass_subscript_1 = mod_consts[14];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subscribed_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 = 399;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f738fea529d79efb5b13637e29d60d93);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f738fea529d79efb5b13637e29d60d93);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f738fea529d79efb5b13637e29d60d93, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f738fea529d79efb5b13637e29d60d93->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f738fea529d79efb5b13637e29d60d93, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f738fea529d79efb5b13637e29d60d93,
type_description_1,
par_self,
var_representation,
var_type_link,
var_resource_type
);
// Release cached frame if used for exception.
if (frame_f738fea529d79efb5b13637e29d60d93 == cache_frame_f738fea529d79efb5b13637e29d60d93) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f738fea529d79efb5b13637e29d60d93);
cache_frame_f738fea529d79efb5b13637e29d60d93 = NULL;
}
assertFrameObject(frame_f738fea529d79efb5b13637e29d60d93);
// 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;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_representation);
var_representation = NULL;
Py_XDECREF(var_type_link);
var_type_link = NULL;
Py_XDECREF(var_resource_type);
var_resource_type = 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(var_representation);
var_representation = NULL;
Py_XDECREF(var_type_link);
var_type_link = NULL;
Py_XDECREF(var_resource_type);
var_resource_type = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$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_e5c1ca7246d8ad97289d8d8bf86a5fa1;
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_e5c1ca7246d8ad97289d8d8bf86a5fa1 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_e5c1ca7246d8ad97289d8d8bf86a5fa1)) {
Py_XDECREF(cache_frame_e5c1ca7246d8ad97289d8d8bf86a5fa1);
#if _DEBUG_REFCOUNTS
if (cache_frame_e5c1ca7246d8ad97289d8d8bf86a5fa1 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_e5c1ca7246d8ad97289d8d8bf86a5fa1 = MAKE_FUNCTION_FRAME(codeobj_e5c1ca7246d8ad97289d8d8bf86a5fa1, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_e5c1ca7246d8ad97289d8d8bf86a5fa1->m_type_description == NULL);
frame_e5c1ca7246d8ad97289d8d8bf86a5fa1 = cache_frame_e5c1ca7246d8ad97289d8d8bf86a5fa1;
// Push the new frame as the currently active one.
pushFrameStack(frame_e5c1ca7246d8ad97289d8d8bf86a5fa1);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_e5c1ca7246d8ad97289d8d8bf86a5fa1) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_operand_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_self);
tmp_cmp_expr_left_1 = par_self;
CHECK_OBJECT(par_other);
tmp_cmp_expr_right_1 = par_other;
tmp_operand_value_1 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 405;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 405;
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_e5c1ca7246d8ad97289d8d8bf86a5fa1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e5c1ca7246d8ad97289d8d8bf86a5fa1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e5c1ca7246d8ad97289d8d8bf86a5fa1);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e5c1ca7246d8ad97289d8d8bf86a5fa1, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e5c1ca7246d8ad97289d8d8bf86a5fa1->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e5c1ca7246d8ad97289d8d8bf86a5fa1, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_e5c1ca7246d8ad97289d8d8bf86a5fa1,
type_description_1,
par_self,
par_other
);
// Release cached frame if used for exception.
if (frame_e5c1ca7246d8ad97289d8d8bf86a5fa1 == cache_frame_e5c1ca7246d8ad97289d8d8bf86a5fa1) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_e5c1ca7246d8ad97289d8d8bf86a5fa1);
cache_frame_e5c1ca7246d8ad97289d8d8bf86a5fa1 = NULL;
}
assertFrameObject(frame_e5c1ca7246d8ad97289d8d8bf86a5fa1);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_other);
Py_DECREF(par_other);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_other);
Py_DECREF(par_other);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__23_value(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_3f8cdc4384d9c63e9bf917bd329f8c7a;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
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;
static struct Nuitka_FrameObject *cache_frame_3f8cdc4384d9c63e9bf917bd329f8c7a = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_3f8cdc4384d9c63e9bf917bd329f8c7a)) {
Py_XDECREF(cache_frame_3f8cdc4384d9c63e9bf917bd329f8c7a);
#if _DEBUG_REFCOUNTS
if (cache_frame_3f8cdc4384d9c63e9bf917bd329f8c7a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3f8cdc4384d9c63e9bf917bd329f8c7a = MAKE_FUNCTION_FRAME(codeobj_3f8cdc4384d9c63e9bf917bd329f8c7a, module_lazr$restfulclient$resource, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_3f8cdc4384d9c63e9bf917bd329f8c7a->m_type_description == NULL);
frame_3f8cdc4384d9c63e9bf917bd329f8c7a = cache_frame_3f8cdc4384d9c63e9bf917bd329f8c7a;
// Push the new frame as the currently active one.
pushFrameStack(frame_3f8cdc4384d9c63e9bf917bd329f8c7a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3f8cdc4384d9c63e9bf917bd329f8c7a) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
frame_3f8cdc4384d9c63e9bf917bd329f8c7a->m_frame.f_lineno = 414;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[50]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 414;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[14]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 415;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[95]);
Py_DECREF(tmp_expression_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 415;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_3f8cdc4384d9c63e9bf917bd329f8c7a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3f8cdc4384d9c63e9bf917bd329f8c7a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3f8cdc4384d9c63e9bf917bd329f8c7a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3f8cdc4384d9c63e9bf917bd329f8c7a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3f8cdc4384d9c63e9bf917bd329f8c7a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3f8cdc4384d9c63e9bf917bd329f8c7a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3f8cdc4384d9c63e9bf917bd329f8c7a,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_3f8cdc4384d9c63e9bf917bd329f8c7a == cache_frame_3f8cdc4384d9c63e9bf917bd329f8c7a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3f8cdc4384d9c63e9bf917bd329f8c7a);
cache_frame_3f8cdc4384d9c63e9bf917bd329f8c7a = NULL;
}
assertFrameObject(frame_3f8cdc4384d9c63e9bf917bd329f8c7a);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__24_open(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_mode = python_pars[1];
PyObject *par_content_type = python_pars[2];
PyObject *par_filename = python_pars[3];
struct Nuitka_FrameObject *frame_5a0f0ac62628a581b8724f2c6a35142e;
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;
static struct Nuitka_FrameObject *cache_frame_5a0f0ac62628a581b8724f2c6a35142e = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_5a0f0ac62628a581b8724f2c6a35142e)) {
Py_XDECREF(cache_frame_5a0f0ac62628a581b8724f2c6a35142e);
#if _DEBUG_REFCOUNTS
if (cache_frame_5a0f0ac62628a581b8724f2c6a35142e == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_5a0f0ac62628a581b8724f2c6a35142e = MAKE_FUNCTION_FRAME(codeobj_5a0f0ac62628a581b8724f2c6a35142e, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_5a0f0ac62628a581b8724f2c6a35142e->m_type_description == NULL);
frame_5a0f0ac62628a581b8724f2c6a35142e = cache_frame_5a0f0ac62628a581b8724f2c6a35142e;
// Push the new frame as the currently active one.
pushFrameStack(frame_5a0f0ac62628a581b8724f2c6a35142e);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_5a0f0ac62628a581b8724f2c6a35142e) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_mode);
tmp_cmp_expr_left_1 = par_mode;
tmp_cmp_expr_right_1 = mod_consts[108];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 423;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[109]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[109]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 424;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_args_element_value_1 = par_self;
CHECK_OBJECT(par_mode);
tmp_args_element_value_2 = par_mode;
CHECK_OBJECT(par_content_type);
tmp_args_element_value_3 = par_content_type;
CHECK_OBJECT(par_filename);
tmp_args_element_value_4 = par_filename;
frame_5a0f0ac62628a581b8724f2c6a35142e->m_frame.f_lineno = 424;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4};
tmp_return_value = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_1, call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 424;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[110];
frame_5a0f0ac62628a581b8724f2c6a35142e->m_frame.f_lineno = 426;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 426;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5a0f0ac62628a581b8724f2c6a35142e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5a0f0ac62628a581b8724f2c6a35142e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5a0f0ac62628a581b8724f2c6a35142e);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_5a0f0ac62628a581b8724f2c6a35142e, exception_lineno);
} else if (exception_tb->tb_frame != &frame_5a0f0ac62628a581b8724f2c6a35142e->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_5a0f0ac62628a581b8724f2c6a35142e, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_5a0f0ac62628a581b8724f2c6a35142e,
type_description_1,
par_self,
par_mode,
par_content_type,
par_filename
);
// Release cached frame if used for exception.
if (frame_5a0f0ac62628a581b8724f2c6a35142e == cache_frame_5a0f0ac62628a581b8724f2c6a35142e) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_5a0f0ac62628a581b8724f2c6a35142e);
cache_frame_5a0f0ac62628a581b8724f2c6a35142e = NULL;
}
assertFrameObject(frame_5a0f0ac62628a581b8724f2c6a35142e);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_mode);
Py_DECREF(par_mode);
CHECK_OBJECT(par_content_type);
Py_DECREF(par_content_type);
CHECK_OBJECT(par_filename);
Py_DECREF(par_filename);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_mode);
Py_DECREF(par_mode);
CHECK_OBJECT(par_content_type);
Py_DECREF(par_content_type);
CHECK_OBJECT(par_filename);
Py_DECREF(par_filename);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__25_delete(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_6f83e7570e4924a6238e787e15f8c043;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
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_6f83e7570e4924a6238e787e15f8c043 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_6f83e7570e4924a6238e787e15f8c043)) {
Py_XDECREF(cache_frame_6f83e7570e4924a6238e787e15f8c043);
#if _DEBUG_REFCOUNTS
if (cache_frame_6f83e7570e4924a6238e787e15f8c043 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6f83e7570e4924a6238e787e15f8c043 = MAKE_FUNCTION_FRAME(codeobj_6f83e7570e4924a6238e787e15f8c043, module_lazr$restfulclient$resource, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6f83e7570e4924a6238e787e15f8c043->m_type_description == NULL);
frame_6f83e7570e4924a6238e787e15f8c043 = cache_frame_6f83e7570e4924a6238e787e15f8c043;
// Push the new frame as the currently active one.
pushFrameStack(frame_6f83e7570e4924a6238e787e15f8c043);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6f83e7570e4924a6238e787e15f8c043) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[13]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 430;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[81]);
Py_DECREF(tmp_expression_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 430;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[112]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 430;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[14]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 430;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[113]);
Py_DECREF(tmp_expression_value_4);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 430;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_6f83e7570e4924a6238e787e15f8c043->m_frame.f_lineno = 430;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 430;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_6f83e7570e4924a6238e787e15f8c043);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6f83e7570e4924a6238e787e15f8c043);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6f83e7570e4924a6238e787e15f8c043, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6f83e7570e4924a6238e787e15f8c043->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6f83e7570e4924a6238e787e15f8c043, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6f83e7570e4924a6238e787e15f8c043,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_6f83e7570e4924a6238e787e15f8c043 == cache_frame_6f83e7570e4924a6238e787e15f8c043) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6f83e7570e4924a6238e787e15f8c043);
cache_frame_6f83e7570e4924a6238e787e15f8c043 = NULL;
}
assertFrameObject(frame_6f83e7570e4924a6238e787e15f8c043);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__26__get_parameter_names(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_kinds = python_pars[1];
PyObject *tmp_return_value = NULL;
// Actual function body.
tmp_return_value = MAKE_LIST_EMPTY(0);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_kinds);
Py_DECREF(par_kinds);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__27___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_7d39930d14524953aa1335d9f6c39d54;
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_7d39930d14524953aa1335d9f6c39d54 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_7d39930d14524953aa1335d9f6c39d54)) {
Py_XDECREF(cache_frame_7d39930d14524953aa1335d9f6c39d54);
#if _DEBUG_REFCOUNTS
if (cache_frame_7d39930d14524953aa1335d9f6c39d54 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7d39930d14524953aa1335d9f6c39d54 = MAKE_FUNCTION_FRAME(codeobj_7d39930d14524953aa1335d9f6c39d54, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7d39930d14524953aa1335d9f6c39d54->m_type_description == NULL);
frame_7d39930d14524953aa1335d9f6c39d54 = cache_frame_7d39930d14524953aa1335d9f6c39d54;
// Push the new frame as the currently active one.
pushFrameStack(frame_7d39930d14524953aa1335d9f6c39d54);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7d39930d14524953aa1335d9f6c39d54) == 2); // Frame stack
// Framed code:
{
int tmp_and_left_truth_1;
PyObject *tmp_and_left_value_1;
PyObject *tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_other);
tmp_cmp_expr_left_1 = par_other;
tmp_cmp_expr_right_1 = Py_None;
tmp_and_left_value_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? Py_True : Py_False;
tmp_and_left_truth_1 = CHECK_IF_TRUE(tmp_and_left_value_1);
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[14]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 446;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[113]);
Py_DECREF(tmp_expression_value_1);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 446;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_other);
tmp_expression_value_4 = par_other;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[14]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_2);
exception_lineno = 446;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[113]);
Py_DECREF(tmp_expression_value_3);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_2);
exception_lineno = 446;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_and_right_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 446;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_return_value = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
Py_INCREF(tmp_and_left_value_1);
tmp_return_value = tmp_and_left_value_1;
and_end_1:;
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7d39930d14524953aa1335d9f6c39d54);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7d39930d14524953aa1335d9f6c39d54);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7d39930d14524953aa1335d9f6c39d54);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7d39930d14524953aa1335d9f6c39d54, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7d39930d14524953aa1335d9f6c39d54->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7d39930d14524953aa1335d9f6c39d54, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7d39930d14524953aa1335d9f6c39d54,
type_description_1,
par_self,
par_other
);
// Release cached frame if used for exception.
if (frame_7d39930d14524953aa1335d9f6c39d54 == cache_frame_7d39930d14524953aa1335d9f6c39d54) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7d39930d14524953aa1335d9f6c39d54);
cache_frame_7d39930d14524953aa1335d9f6c39d54 = NULL;
}
assertFrameObject(frame_7d39930d14524953aa1335d9f6c39d54);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_other);
Py_DECREF(par_other);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_other);
Py_DECREF(par_other);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__28___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_authorizer = python_pars[1];
PyObject *par_service_root = python_pars[2];
PyObject *par_cache = python_pars[3];
PyObject *par_timeout = python_pars[4];
PyObject *par_proxy_info = python_pars[5];
PyObject *par_version = python_pars[6];
PyObject *par_base_client_name = python_pars[7];
PyObject *par_max_retries = python_pars[8];
PyObject *var_root_resource = NULL;
PyObject *var_bound_root = NULL;
struct Nuitka_FrameObject *frame_29621f3fed55193076df8f0bfcdf21da;
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;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_29621f3fed55193076df8f0bfcdf21da = NULL;
PyObject *tmp_return_value = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_29621f3fed55193076df8f0bfcdf21da)) {
Py_XDECREF(cache_frame_29621f3fed55193076df8f0bfcdf21da);
#if _DEBUG_REFCOUNTS
if (cache_frame_29621f3fed55193076df8f0bfcdf21da == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_29621f3fed55193076df8f0bfcdf21da = MAKE_FUNCTION_FRAME(codeobj_29621f3fed55193076df8f0bfcdf21da, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_29621f3fed55193076df8f0bfcdf21da->m_type_description == NULL);
frame_29621f3fed55193076df8f0bfcdf21da = cache_frame_29621f3fed55193076df8f0bfcdf21da;
// Push the new frame as the currently active one.
pushFrameStack(frame_29621f3fed55193076df8f0bfcdf21da);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_29621f3fed55193076df8f0bfcdf21da) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_version);
tmp_cmp_expr_left_1 = par_version;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_service_root);
tmp_expression_value_1 = par_service_root;
tmp_subscript_value_1 = mod_consts[70];
tmp_cmp_expr_left_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, tmp_subscript_value_1, -1);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 470;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = mod_consts[117];
tmp_condition_result_2 = RICH_COMPARE_NE_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 470;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
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;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
CHECK_OBJECT(par_service_root);
tmp_iadd_expr_left_1 = par_service_root;
tmp_iadd_expr_right_1 = mod_consts[117];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_UNICODE(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 471;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = tmp_iadd_expr_left_1;
par_service_root = tmp_assign_source_1;
}
branch_no_2:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iadd_expr_left_2;
PyObject *tmp_iadd_expr_right_2;
PyObject *tmp_unicode_arg_1;
CHECK_OBJECT(par_service_root);
tmp_iadd_expr_left_2 = par_service_root;
CHECK_OBJECT(par_version);
tmp_unicode_arg_1 = par_version;
tmp_iadd_expr_right_2 = PyObject_Unicode(tmp_unicode_arg_1);
if (tmp_iadd_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 472;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
tmp_result = INPLACE_OPERATION_ADD_OBJECT_OBJECT(&tmp_iadd_expr_left_2, tmp_iadd_expr_right_2);
Py_DECREF(tmp_iadd_expr_right_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 472;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = tmp_iadd_expr_left_2;
par_service_root = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_2;
CHECK_OBJECT(par_service_root);
tmp_expression_value_2 = par_service_root;
tmp_subscript_value_2 = mod_consts[70];
tmp_cmp_expr_left_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_2, tmp_subscript_value_2, -1);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 473;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = mod_consts[117];
tmp_condition_result_3 = RICH_COMPARE_NE_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_condition_result_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 473;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
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_iadd_expr_left_3;
PyObject *tmp_iadd_expr_right_3;
CHECK_OBJECT(par_service_root);
tmp_iadd_expr_left_3 = par_service_root;
tmp_iadd_expr_right_3 = mod_consts[117];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_UNICODE(&tmp_iadd_expr_left_3, tmp_iadd_expr_right_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 474;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = tmp_iadd_expr_left_3;
par_service_root = tmp_assign_source_3;
}
branch_no_3:;
branch_no_1:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_assattr_target_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[118]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[118]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 475;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_service_root);
tmp_args_element_value_1 = par_service_root;
frame_29621f3fed55193076df8f0bfcdf21da->m_frame.f_lineno = 475;
tmp_assattr_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 475;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[119], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 475;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_base_client_name);
tmp_assattr_value_2 = par_base_client_name;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[120], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 478;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_authorizer);
tmp_assattr_value_3 = par_authorizer;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[121], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_8;
PyObject *tmp_assattr_target_4;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 482;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_args_element_value_2 = par_self;
CHECK_OBJECT(par_authorizer);
tmp_args_element_value_3 = par_authorizer;
CHECK_OBJECT(par_cache);
tmp_args_element_value_4 = par_cache;
CHECK_OBJECT(par_timeout);
tmp_args_element_value_5 = par_timeout;
CHECK_OBJECT(par_proxy_info);
tmp_args_element_value_6 = par_proxy_info;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_args_element_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[123]);
if (tmp_args_element_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 483;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_max_retries);
tmp_args_element_value_8 = par_max_retries;
frame_29621f3fed55193076df8f0bfcdf21da->m_frame.f_lineno = 482;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5, tmp_args_element_value_6, tmp_args_element_value_7, tmp_args_element_value_8};
tmp_assattr_value_4 = CALL_FUNCTION_WITH_ARGS7(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_args_element_value_7);
if (tmp_assattr_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 482;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[81], tmp_assattr_value_4);
Py_DECREF(tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 482;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_9;
PyObject *tmp_expression_value_6;
PyObject *tmp_assattr_target_5;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[81]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 485;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[124]);
Py_DECREF(tmp_expression_value_4);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 485;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_args_element_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[119]);
if (tmp_args_element_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 485;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
frame_29621f3fed55193076df8f0bfcdf21da->m_frame.f_lineno = 485;
tmp_assattr_value_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_9);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_9);
if (tmp_assattr_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 485;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[101], tmp_assattr_value_5);
Py_DECREF(tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 485;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[101]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 488;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
frame_29621f3fed55193076df8f0bfcdf21da->m_frame.f_lineno = 488;
tmp_assign_source_4 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[125],
PyTuple_GET_ITEM(mod_consts[126], 0)
);
Py_DECREF(tmp_called_instance_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 488;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
assert(var_root_resource == NULL);
var_root_resource = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_8;
PyObject *tmp_args_element_value_10;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_9;
PyObject *tmp_expression_value_10;
PyObject *tmp_args_element_value_11;
PyObject *tmp_args_element_value_12;
CHECK_OBJECT(var_root_resource);
tmp_expression_value_8 = var_root_resource;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[75]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 489;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_10 = par_self;
tmp_expression_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[81]);
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 490;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[1]);
Py_DECREF(tmp_expression_value_9);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 490;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_root_resource);
tmp_args_element_value_11 = var_root_resource;
frame_29621f3fed55193076df8f0bfcdf21da->m_frame.f_lineno = 490;
tmp_args_element_value_10 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_11);
Py_DECREF(tmp_called_value_5);
if (tmp_args_element_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 490;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
tmp_args_element_value_12 = mod_consts[127];
frame_29621f3fed55193076df8f0bfcdf21da->m_frame.f_lineno = 489;
{
PyObject *call_args[] = {tmp_args_element_value_10, tmp_args_element_value_12};
tmp_assign_source_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_10);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 489;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
assert(var_bound_root == NULL);
var_bound_root = tmp_assign_source_5;
}
{
PyObject *tmp_called_instance_2;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_13;
PyObject *tmp_args_element_value_14;
tmp_type_arg_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[128]);
if (unlikely(tmp_type_arg_value_1 == NULL)) {
tmp_type_arg_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[128]);
}
if (tmp_type_arg_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 491;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_called_instance_2 = BUILTIN_SUPER2(moduledict_lazr$restfulclient$resource, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 491;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
tmp_args_element_value_13 = Py_None;
CHECK_OBJECT(var_bound_root);
tmp_args_element_value_14 = var_bound_root;
frame_29621f3fed55193076df8f0bfcdf21da->m_frame.f_lineno = 491;
{
PyObject *call_args[] = {tmp_args_element_value_13, tmp_args_element_value_14};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_2,
mod_consts[129],
call_args
);
}
Py_DECREF(tmp_called_instance_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 491;
type_description_1 = "oooooooooooN";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_29621f3fed55193076df8f0bfcdf21da);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_29621f3fed55193076df8f0bfcdf21da);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_29621f3fed55193076df8f0bfcdf21da, exception_lineno);
} else if (exception_tb->tb_frame != &frame_29621f3fed55193076df8f0bfcdf21da->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_29621f3fed55193076df8f0bfcdf21da, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_29621f3fed55193076df8f0bfcdf21da,
type_description_1,
par_self,
par_authorizer,
par_service_root,
par_cache,
par_timeout,
par_proxy_info,
par_version,
par_base_client_name,
par_max_retries,
var_root_resource,
var_bound_root,
NULL
);
// Release cached frame if used for exception.
if (frame_29621f3fed55193076df8f0bfcdf21da == cache_frame_29621f3fed55193076df8f0bfcdf21da) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_29621f3fed55193076df8f0bfcdf21da);
cache_frame_29621f3fed55193076df8f0bfcdf21da = NULL;
}
assertFrameObject(frame_29621f3fed55193076df8f0bfcdf21da);
// 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;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_service_root);
Py_DECREF(par_service_root);
par_service_root = NULL;
CHECK_OBJECT(var_root_resource);
Py_DECREF(var_root_resource);
var_root_resource = NULL;
CHECK_OBJECT(var_bound_root);
Py_DECREF(var_bound_root);
var_bound_root = 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_service_root);
par_service_root = NULL;
Py_XDECREF(var_root_resource);
var_root_resource = NULL;
Py_XDECREF(var_bound_root);
var_bound_root = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_authorizer);
Py_DECREF(par_authorizer);
CHECK_OBJECT(par_cache);
Py_DECREF(par_cache);
CHECK_OBJECT(par_timeout);
Py_DECREF(par_timeout);
CHECK_OBJECT(par_proxy_info);
Py_DECREF(par_proxy_info);
CHECK_OBJECT(par_version);
Py_DECREF(par_version);
CHECK_OBJECT(par_base_client_name);
Py_DECREF(par_base_client_name);
CHECK_OBJECT(par_max_retries);
Py_DECREF(par_max_retries);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_authorizer);
Py_DECREF(par_authorizer);
CHECK_OBJECT(par_cache);
Py_DECREF(par_cache);
CHECK_OBJECT(par_timeout);
Py_DECREF(par_timeout);
CHECK_OBJECT(par_proxy_info);
Py_DECREF(par_proxy_info);
CHECK_OBJECT(par_version);
Py_DECREF(par_version);
CHECK_OBJECT(par_base_client_name);
Py_DECREF(par_base_client_name);
CHECK_OBJECT(par_max_retries);
Py_DECREF(par_max_retries);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__29__user_agent(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_base_portion = NULL;
PyObject *var_message = NULL;
PyObject *var_user_agent_params = 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;
struct Nuitka_FrameObject *frame_59ac088b8e6a0230f3e96eea3310aa2a;
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;
NUITKA_MAY_BE_UNUSED nuitka_void 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 *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_59ac088b8e6a0230f3e96eea3310aa2a = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_59ac088b8e6a0230f3e96eea3310aa2a)) {
Py_XDECREF(cache_frame_59ac088b8e6a0230f3e96eea3310aa2a);
#if _DEBUG_REFCOUNTS
if (cache_frame_59ac088b8e6a0230f3e96eea3310aa2a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_59ac088b8e6a0230f3e96eea3310aa2a = MAKE_FUNCTION_FRAME(codeobj_59ac088b8e6a0230f3e96eea3310aa2a, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_59ac088b8e6a0230f3e96eea3310aa2a->m_type_description == NULL);
frame_59ac088b8e6a0230f3e96eea3310aa2a = cache_frame_59ac088b8e6a0230f3e96eea3310aa2a;
// Push the new frame as the currently active one.
pushFrameStack(frame_59ac088b8e6a0230f3e96eea3310aa2a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_59ac088b8e6a0230f3e96eea3310aa2a) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
tmp_mod_expr_left_1 = mod_consts[131];
tmp_mod_expr_right_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[132]);
if (unlikely(tmp_mod_expr_right_1 == NULL)) {
tmp_mod_expr_right_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[132]);
}
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 505;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 505;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_base_portion == NULL);
var_base_portion = tmp_assign_source_1;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[120]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 506;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = mod_consts[133];
tmp_condition_result_1 = RICH_COMPARE_NE_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 506;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_add_expr_left_2;
PyObject *tmp_add_expr_right_2;
PyObject *tmp_add_expr_left_3;
PyObject *tmp_add_expr_right_3;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_add_expr_left_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[120]);
if (tmp_add_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 507;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_add_expr_right_3 = mod_consts[134];
tmp_add_expr_left_2 = BINARY_OPERATION_ADD_OBJECT_OBJECT_UNICODE(tmp_add_expr_left_3, tmp_add_expr_right_3);
Py_DECREF(tmp_add_expr_left_3);
if (tmp_add_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 507;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_base_portion);
tmp_add_expr_right_2 = var_base_portion;
tmp_add_expr_left_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_2, tmp_add_expr_right_2);
Py_DECREF(tmp_add_expr_left_2);
if (tmp_add_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 507;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_add_expr_right_1 = mod_consts[135];
tmp_assign_source_2 = BINARY_OPERATION_ADD_OBJECT_OBJECT_UNICODE(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_left_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 507;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_base_portion;
assert(old != NULL);
var_base_portion = tmp_assign_source_2;
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[136]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[136]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 509;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_59ac088b8e6a0230f3e96eea3310aa2a->m_frame.f_lineno = 509;
tmp_assign_source_3 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 509;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_message == NULL);
var_message = tmp_assign_source_3;
}
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(var_base_portion);
tmp_ass_subvalue_1 = var_base_portion;
CHECK_OBJECT(var_message);
tmp_ass_subscribed_1 = var_message;
tmp_ass_subscript_1 = mod_consts[137];
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 = 510;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[121]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 511;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? true : false;
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[121]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 512;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[138]);
Py_DECREF(tmp_expression_value_4);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 512;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_user_agent_params == NULL);
var_user_agent_params = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
tmp_called_value_2 = LOOKUP_BUILTIN(mod_consts[139]);
assert(tmp_called_value_2 != NULL);
CHECK_OBJECT(var_user_agent_params);
tmp_args_element_value_1 = var_user_agent_params;
frame_59ac088b8e6a0230f3e96eea3310aa2a->m_frame.f_lineno = 513;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 513;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_5 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 513;
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_5;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_6 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_6 == 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 = 513;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_7 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_key;
var_key = tmp_assign_source_7;
Py_INCREF(var_key);
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_expression_value_6;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_user_agent_params);
tmp_expression_value_6 = var_user_agent_params;
CHECK_OBJECT(var_key);
tmp_subscript_value_1 = var_key;
tmp_assign_source_8 = LOOKUP_SUBSCRIPT(tmp_expression_value_6, tmp_subscript_value_1);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 514;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_value;
var_value = tmp_assign_source_8;
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
if (var_message == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[140]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 515;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_called_instance_1 = var_message;
CHECK_OBJECT(var_key);
tmp_args_element_value_2 = var_key;
CHECK_OBJECT(var_value);
tmp_args_element_value_3 = var_value;
tmp_args_element_value_4 = mod_consts[137];
frame_59ac088b8e6a0230f3e96eea3310aa2a->m_frame.f_lineno = 515;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS3(
tmp_called_instance_1,
mod_consts[141],
call_args
);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 515;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 513;
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(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(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
branch_no_2:;
{
PyObject *tmp_expression_value_7;
PyObject *tmp_subscript_value_2;
if (var_message == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[140]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 516;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_7 = var_message;
tmp_subscript_value_2 = mod_consts[137];
tmp_return_value = LOOKUP_SUBSCRIPT(tmp_expression_value_7, tmp_subscript_value_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 516;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_59ac088b8e6a0230f3e96eea3310aa2a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_59ac088b8e6a0230f3e96eea3310aa2a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_59ac088b8e6a0230f3e96eea3310aa2a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_59ac088b8e6a0230f3e96eea3310aa2a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_59ac088b8e6a0230f3e96eea3310aa2a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_59ac088b8e6a0230f3e96eea3310aa2a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_59ac088b8e6a0230f3e96eea3310aa2a,
type_description_1,
par_self,
var_base_portion,
var_message,
var_user_agent_params,
var_key,
var_value
);
// Release cached frame if used for exception.
if (frame_59ac088b8e6a0230f3e96eea3310aa2a == cache_frame_59ac088b8e6a0230f3e96eea3310aa2a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_59ac088b8e6a0230f3e96eea3310aa2a);
cache_frame_59ac088b8e6a0230f3e96eea3310aa2a = NULL;
}
assertFrameObject(frame_59ac088b8e6a0230f3e96eea3310aa2a);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_base_portion);
Py_DECREF(var_base_portion);
var_base_portion = NULL;
Py_XDECREF(var_message);
var_message = NULL;
Py_XDECREF(var_user_agent_params);
var_user_agent_params = 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_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(var_base_portion);
var_base_portion = NULL;
Py_XDECREF(var_message);
var_message = NULL;
Py_XDECREF(var_user_agent_params);
var_user_agent_params = NULL;
Py_XDECREF(var_key);
var_key = NULL;
Py_XDECREF(var_value);
var_value = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__30_httpFactory(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_authorizer = python_pars[1];
PyObject *par_cache = python_pars[2];
PyObject *par_timeout = python_pars[3];
PyObject *par_proxy_info = python_pars[4];
struct Nuitka_FrameObject *frame_69a55fd3f4965338a1858f4ca594a3b9;
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_69a55fd3f4965338a1858f4ca594a3b9 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_69a55fd3f4965338a1858f4ca594a3b9)) {
Py_XDECREF(cache_frame_69a55fd3f4965338a1858f4ca594a3b9);
#if _DEBUG_REFCOUNTS
if (cache_frame_69a55fd3f4965338a1858f4ca594a3b9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_69a55fd3f4965338a1858f4ca594a3b9 = MAKE_FUNCTION_FRAME(codeobj_69a55fd3f4965338a1858f4ca594a3b9, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_69a55fd3f4965338a1858f4ca594a3b9->m_type_description == NULL);
frame_69a55fd3f4965338a1858f4ca594a3b9 = cache_frame_69a55fd3f4965338a1858f4ca594a3b9;
// Push the new frame as the currently active one.
pushFrameStack(frame_69a55fd3f4965338a1858f4ca594a3b9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_69a55fd3f4965338a1858f4ca594a3b9) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[143]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[143]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 519;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_authorizer);
tmp_args_element_value_1 = par_authorizer;
CHECK_OBJECT(par_cache);
tmp_args_element_value_2 = par_cache;
CHECK_OBJECT(par_timeout);
tmp_args_element_value_3 = par_timeout;
CHECK_OBJECT(par_proxy_info);
tmp_args_element_value_4 = par_proxy_info;
frame_69a55fd3f4965338a1858f4ca594a3b9->m_frame.f_lineno = 519;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4};
tmp_return_value = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_1, call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 519;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_69a55fd3f4965338a1858f4ca594a3b9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_69a55fd3f4965338a1858f4ca594a3b9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_69a55fd3f4965338a1858f4ca594a3b9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_69a55fd3f4965338a1858f4ca594a3b9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_69a55fd3f4965338a1858f4ca594a3b9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_69a55fd3f4965338a1858f4ca594a3b9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_69a55fd3f4965338a1858f4ca594a3b9,
type_description_1,
par_self,
par_authorizer,
par_cache,
par_timeout,
par_proxy_info
);
// Release cached frame if used for exception.
if (frame_69a55fd3f4965338a1858f4ca594a3b9 == cache_frame_69a55fd3f4965338a1858f4ca594a3b9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_69a55fd3f4965338a1858f4ca594a3b9);
cache_frame_69a55fd3f4965338a1858f4ca594a3b9 = NULL;
}
assertFrameObject(frame_69a55fd3f4965338a1858f4ca594a3b9);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_authorizer);
Py_DECREF(par_authorizer);
CHECK_OBJECT(par_cache);
Py_DECREF(par_cache);
CHECK_OBJECT(par_timeout);
Py_DECREF(par_timeout);
CHECK_OBJECT(par_proxy_info);
Py_DECREF(par_proxy_info);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_authorizer);
Py_DECREF(par_authorizer);
CHECK_OBJECT(par_cache);
Py_DECREF(par_cache);
CHECK_OBJECT(par_timeout);
Py_DECREF(par_timeout);
CHECK_OBJECT(par_proxy_info);
Py_DECREF(par_proxy_info);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__31_load(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_url = python_pars[1];
PyObject *var_parsed = NULL;
PyObject *var_document = NULL;
PyObject *var_representation = NULL;
PyObject *var_type_link = NULL;
PyObject *var_resource_type = NULL;
PyObject *var_wadl_resource = NULL;
struct Nuitka_FrameObject *frame_a08b33f69859135de786f6994b25cc57;
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 *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_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 *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_a08b33f69859135de786f6994b25cc57 = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_a08b33f69859135de786f6994b25cc57)) {
Py_XDECREF(cache_frame_a08b33f69859135de786f6994b25cc57);
#if _DEBUG_REFCOUNTS
if (cache_frame_a08b33f69859135de786f6994b25cc57 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a08b33f69859135de786f6994b25cc57 = MAKE_FUNCTION_FRAME(codeobj_a08b33f69859135de786f6994b25cc57, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a08b33f69859135de786f6994b25cc57->m_type_description == NULL);
frame_a08b33f69859135de786f6994b25cc57 = cache_frame_a08b33f69859135de786f6994b25cc57;
// Push the new frame as the currently active one.
pushFrameStack(frame_a08b33f69859135de786f6994b25cc57);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a08b33f69859135de786f6994b25cc57) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[69]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[69]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 523;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_url);
tmp_args_element_value_1 = par_url;
frame_a08b33f69859135de786f6994b25cc57->m_frame.f_lineno = 523;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 523;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_parsed == NULL);
var_parsed = tmp_assign_source_1;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(var_parsed);
tmp_expression_value_1 = var_parsed;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[144]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 524;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = mod_consts[133];
tmp_condition_result_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 524;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_url);
tmp_expression_value_2 = par_url;
tmp_subscript_value_1 = mod_consts[145];
tmp_cmp_expr_left_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_1);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 527;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = mod_consts[117];
tmp_condition_result_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 527;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
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_expression_value_3;
PyObject *tmp_subscript_value_2;
CHECK_OBJECT(par_url);
tmp_expression_value_3 = par_url;
tmp_subscript_value_2 = mod_consts[146];
tmp_assign_source_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_url;
assert(old != NULL);
par_url = tmp_assign_source_2;
Py_DECREF(old);
}
}
branch_no_2:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_unicode_arg_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[119]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[36]);
Py_DECREF(tmp_expression_value_4);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if (par_url == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[113]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 529;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = par_url;
frame_a08b33f69859135de786f6994b25cc57->m_frame.f_lineno = 529;
tmp_unicode_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_unicode_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = PyObject_Unicode(tmp_unicode_arg_1);
Py_DECREF(tmp_unicode_arg_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_url;
par_url = tmp_assign_source_3;
Py_XDECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_3;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 530;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_7 = par_self;
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[81]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 530;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[1]);
Py_DECREF(tmp_expression_value_6);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 530;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if (par_url == NULL) {
Py_DECREF(tmp_called_value_3);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[113]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 530;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = par_url;
frame_a08b33f69859135de786f6994b25cc57->m_frame.f_lineno = 530;
tmp_assign_source_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 530;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_document == NULL);
var_document = tmp_assign_source_4;
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(var_document);
tmp_isinstance_inst_1 = var_document;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[96]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[96]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 531;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_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 = 531;
type_description_1 = "oooooooo";
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_5;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(var_document);
tmp_expression_value_8 = var_document;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[97]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 532;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_a08b33f69859135de786f6994b25cc57->m_frame.f_lineno = 532;
tmp_assign_source_5 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_4, mod_consts[98]);
Py_DECREF(tmp_called_value_4);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 532;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_document;
assert(old != NULL);
var_document = tmp_assign_source_5;
Py_DECREF(old);
}
}
branch_no_3:;
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_4;
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[99]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[99]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 534;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_document);
tmp_args_element_value_4 = var_document;
frame_a08b33f69859135de786f6994b25cc57->m_frame.f_lineno = 534;
tmp_assign_source_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_4);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 534;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
assert(var_representation == NULL);
var_representation = tmp_assign_source_6;
}
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 id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_a08b33f69859135de786f6994b25cc57, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_a08b33f69859135de786f6994b25cc57, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
tmp_cmp_expr_left_3 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_3 = PyExc_ValueError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
assert(!(tmp_res == -1));
tmp_condition_result_4 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
tmp_mod_expr_left_1 = mod_consts[147];
if (par_url == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[113]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 536;
type_description_1 = "oooooooo";
goto try_except_handler_3;
}
tmp_mod_expr_right_1 = par_url;
tmp_make_exception_arg_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
if (tmp_make_exception_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 536;
type_description_1 = "oooooooo";
goto try_except_handler_3;
}
frame_a08b33f69859135de786f6994b25cc57->m_frame.f_lineno = 536;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1);
Py_DECREF(tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 536;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooo";
goto try_except_handler_3;
}
goto branch_end_4;
branch_no_4:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 533;
}
if (exception_tb && exception_tb->tb_frame == &frame_a08b33f69859135de786f6994b25cc57->m_frame) frame_a08b33f69859135de786f6994b25cc57->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooooo";
goto try_except_handler_3;
branch_end_4:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
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 id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_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:
try_end_1:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(var_representation);
tmp_expression_value_9 = var_representation;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[1]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 537;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_a08b33f69859135de786f6994b25cc57->m_frame.f_lineno = 537;
tmp_assign_source_7 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_6, mod_consts[148]);
Py_DECREF(tmp_called_value_6);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 537;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_type_link == NULL);
var_type_link = tmp_assign_source_7;
}
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(var_type_link);
tmp_cmp_expr_left_4 = var_type_link;
tmp_cmp_expr_right_4 = Py_None;
tmp_condition_result_5 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_make_exception_arg_2;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
tmp_mod_expr_left_2 = mod_consts[149];
if (par_url == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[113]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 540;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_2 = par_url;
tmp_make_exception_arg_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
if (tmp_make_exception_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 540;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_a08b33f69859135de786f6994b25cc57->m_frame.f_lineno = 539;
tmp_raise_type_2 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_2);
Py_DECREF(tmp_make_exception_arg_2);
assert(!(tmp_raise_type_2 == NULL));
exception_type = tmp_raise_type_2;
exception_lineno = 539;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
branch_no_5:;
{
PyObject *tmp_assign_source_8;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_10;
PyObject *tmp_expression_value_11;
PyObject *tmp_args_element_value_5;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 541;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_11 = par_self;
tmp_expression_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[13]);
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 541;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[101]);
Py_DECREF(tmp_expression_value_10);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 541;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_type_link);
tmp_args_element_value_5 = var_type_link;
frame_a08b33f69859135de786f6994b25cc57->m_frame.f_lineno = 541;
tmp_assign_source_8 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[102], tmp_args_element_value_5);
Py_DECREF(tmp_called_instance_1);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 541;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_resource_type == NULL);
var_resource_type = tmp_assign_source_8;
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_called_value_7;
PyObject *tmp_args_element_value_6;
PyObject *tmp_expression_value_12;
PyObject *tmp_expression_value_13;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
PyObject *tmp_expression_value_14;
tmp_called_value_7 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[150]);
if (unlikely(tmp_called_value_7 == NULL)) {
tmp_called_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[150]);
}
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 542;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 542;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_13 = par_self;
tmp_expression_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[13]);
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 542;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[101]);
Py_DECREF(tmp_expression_value_12);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 542;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if (par_url == NULL) {
Py_DECREF(tmp_args_element_value_6);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[113]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 542;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_7 = par_url;
CHECK_OBJECT(var_resource_type);
tmp_expression_value_14 = var_resource_type;
tmp_args_element_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[103]);
if (tmp_args_element_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_args_element_value_6);
exception_lineno = 542;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_a08b33f69859135de786f6994b25cc57->m_frame.f_lineno = 542;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7, tmp_args_element_value_8};
tmp_assign_source_9 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_7, call_args);
}
Py_DECREF(tmp_args_element_value_6);
Py_DECREF(tmp_args_element_value_8);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 542;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_wadl_resource == NULL);
var_wadl_resource = tmp_assign_source_9;
}
{
PyObject *tmp_called_value_8;
PyObject *tmp_expression_value_15;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_16;
PyObject *tmp_kwargs_value_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 543;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_15 = par_self;
tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[56]);
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 543;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if (par_self == NULL) {
Py_DECREF(tmp_called_value_8);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 544;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_16 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[13]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
exception_lineno = 544;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_value_1 = MAKE_TUPLE_EMPTY(4);
PyTuple_SET_ITEM(tmp_args_value_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_wadl_resource);
tmp_tuple_element_1 = var_wadl_resource;
PyTuple_SET_ITEM0(tmp_args_value_1, 1, tmp_tuple_element_1);
CHECK_OBJECT(var_representation);
tmp_tuple_element_1 = var_representation;
PyTuple_SET_ITEM0(tmp_args_value_1, 2, tmp_tuple_element_1);
tmp_tuple_element_1 = mod_consts[127];
PyTuple_SET_ITEM0(tmp_args_value_1, 3, tmp_tuple_element_1);
tmp_kwargs_value_1 = DICT_COPY(mod_consts[104]);
frame_a08b33f69859135de786f6994b25cc57->m_frame.f_lineno = 543;
tmp_return_value = CALL_FUNCTION(tmp_called_value_8, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 543;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a08b33f69859135de786f6994b25cc57);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a08b33f69859135de786f6994b25cc57);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a08b33f69859135de786f6994b25cc57);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a08b33f69859135de786f6994b25cc57, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a08b33f69859135de786f6994b25cc57->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a08b33f69859135de786f6994b25cc57, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a08b33f69859135de786f6994b25cc57,
type_description_1,
par_self,
par_url,
var_parsed,
var_document,
var_representation,
var_type_link,
var_resource_type,
var_wadl_resource
);
// Release cached frame if used for exception.
if (frame_a08b33f69859135de786f6994b25cc57 == cache_frame_a08b33f69859135de786f6994b25cc57) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a08b33f69859135de786f6994b25cc57);
cache_frame_a08b33f69859135de786f6994b25cc57 = NULL;
}
assertFrameObject(frame_a08b33f69859135de786f6994b25cc57);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_url);
par_url = NULL;
CHECK_OBJECT(var_parsed);
Py_DECREF(var_parsed);
var_parsed = NULL;
CHECK_OBJECT(var_document);
Py_DECREF(var_document);
var_document = NULL;
CHECK_OBJECT(var_representation);
Py_DECREF(var_representation);
var_representation = NULL;
CHECK_OBJECT(var_type_link);
Py_DECREF(var_type_link);
var_type_link = NULL;
CHECK_OBJECT(var_resource_type);
Py_DECREF(var_resource_type);
var_resource_type = NULL;
CHECK_OBJECT(var_wadl_resource);
Py_DECREF(var_wadl_resource);
var_wadl_resource = 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_url);
par_url = NULL;
Py_XDECREF(var_parsed);
var_parsed = NULL;
Py_XDECREF(var_document);
var_document = NULL;
Py_XDECREF(var_representation);
var_representation = NULL;
Py_XDECREF(var_type_link);
var_type_link = NULL;
Py_XDECREF(var_resource_type);
var_resource_type = NULL;
Py_XDECREF(var_wadl_resource);
var_wadl_resource = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__32___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_root = python_pars[1];
PyObject *par_resource = python_pars[2];
PyObject *par_wadl_method = python_pars[3];
struct Nuitka_FrameObject *frame_d4b0827e3ae505b9d361d17ca001cdc7;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
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_d4b0827e3ae505b9d361d17ca001cdc7 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_d4b0827e3ae505b9d361d17ca001cdc7)) {
Py_XDECREF(cache_frame_d4b0827e3ae505b9d361d17ca001cdc7);
#if _DEBUG_REFCOUNTS
if (cache_frame_d4b0827e3ae505b9d361d17ca001cdc7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d4b0827e3ae505b9d361d17ca001cdc7 = MAKE_FUNCTION_FRAME(codeobj_d4b0827e3ae505b9d361d17ca001cdc7, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d4b0827e3ae505b9d361d17ca001cdc7->m_type_description == NULL);
frame_d4b0827e3ae505b9d361d17ca001cdc7 = cache_frame_d4b0827e3ae505b9d361d17ca001cdc7;
// Push the new frame as the currently active one.
pushFrameStack(frame_d4b0827e3ae505b9d361d17ca001cdc7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d4b0827e3ae505b9d361d17ca001cdc7) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_root);
tmp_assattr_value_1 = par_root;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[152], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 553;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_resource);
tmp_assattr_value_2 = par_resource;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[77], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 554;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_wadl_method);
tmp_assattr_value_3 = par_wadl_method;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[153], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 555;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_d4b0827e3ae505b9d361d17ca001cdc7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d4b0827e3ae505b9d361d17ca001cdc7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d4b0827e3ae505b9d361d17ca001cdc7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d4b0827e3ae505b9d361d17ca001cdc7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d4b0827e3ae505b9d361d17ca001cdc7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d4b0827e3ae505b9d361d17ca001cdc7,
type_description_1,
par_self,
par_root,
par_resource,
par_wadl_method
);
// Release cached frame if used for exception.
if (frame_d4b0827e3ae505b9d361d17ca001cdc7 == cache_frame_d4b0827e3ae505b9d361d17ca001cdc7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d4b0827e3ae505b9d361d17ca001cdc7);
cache_frame_d4b0827e3ae505b9d361d17ca001cdc7 = NULL;
}
assertFrameObject(frame_d4b0827e3ae505b9d361d17ca001cdc7);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_root);
Py_DECREF(par_root);
CHECK_OBJECT(par_resource);
Py_DECREF(par_resource);
CHECK_OBJECT(par_wadl_method);
Py_DECREF(par_wadl_method);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_root);
Py_DECREF(par_root);
CHECK_OBJECT(par_resource);
Py_DECREF(par_resource);
CHECK_OBJECT(par_wadl_method);
Py_DECREF(par_wadl_method);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__33___call__(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_kwargs = python_pars[2];
PyObject *var_http_method = NULL;
PyObject *var_request = NULL;
PyObject *var_params = NULL;
PyObject *var_definition = NULL;
PyObject *var_send_as_is_params = NULL;
PyObject *var_key = NULL;
PyObject *var_value = NULL;
PyObject *var_url = NULL;
PyObject *var_in_representation = NULL;
PyObject *var_extra_headers = NULL;
PyObject *var_media_type = NULL;
PyObject *var_response = NULL;
PyObject *var_content = NULL;
PyObject *outline_0_var_param = 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;
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;
PyObject *tmp_tuple_unpack_3__element_1 = NULL;
PyObject *tmp_tuple_unpack_3__element_2 = NULL;
PyObject *tmp_tuple_unpack_3__source_iter = NULL;
PyObject *tmp_tuple_unpack_4__element_1 = NULL;
PyObject *tmp_tuple_unpack_4__element_2 = NULL;
PyObject *tmp_tuple_unpack_4__source_iter = NULL;
struct Nuitka_FrameObject *frame_94574b7951c4e0f1bcdfa1f328a47f17;
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;
struct Nuitka_FrameObject *frame_988928c7ae8ff610dc101b3d68d92947_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = 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;
static struct Nuitka_FrameObject *cache_frame_988928c7ae8ff610dc101b3d68d92947_2 = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *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;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
PyObject *exception_keeper_type_11;
PyObject *exception_keeper_value_11;
PyTracebackObject *exception_keeper_tb_11;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_94574b7951c4e0f1bcdfa1f328a47f17 = NULL;
PyObject *exception_keeper_type_12;
PyObject *exception_keeper_value_12;
PyTracebackObject *exception_keeper_tb_12;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_94574b7951c4e0f1bcdfa1f328a47f17)) {
Py_XDECREF(cache_frame_94574b7951c4e0f1bcdfa1f328a47f17);
#if _DEBUG_REFCOUNTS
if (cache_frame_94574b7951c4e0f1bcdfa1f328a47f17 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_94574b7951c4e0f1bcdfa1f328a47f17 = MAKE_FUNCTION_FRAME(codeobj_94574b7951c4e0f1bcdfa1f328a47f17, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_94574b7951c4e0f1bcdfa1f328a47f17->m_type_description == NULL);
frame_94574b7951c4e0f1bcdfa1f328a47f17 = cache_frame_94574b7951c4e0f1bcdfa1f328a47f17;
// Push the new frame as the currently active one.
pushFrameStack(frame_94574b7951c4e0f1bcdfa1f328a47f17);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_94574b7951c4e0f1bcdfa1f328a47f17) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
nuitka_digit tmp_cmp_expr_right_1;
PyObject *tmp_len_arg_1;
CHECK_OBJECT(par_args);
tmp_len_arg_1 = par_args;
tmp_cmp_expr_left_1 = BUILTIN_LEN(tmp_len_arg_1);
assert(!(tmp_cmp_expr_left_1 == NULL));
tmp_cmp_expr_right_1 = 0;
tmp_condition_result_1 = RICH_COMPARE_GT_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 != false) {
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 = mod_consts[155];
frame_94574b7951c4e0f1bcdfa1f328a47f17->m_frame.f_lineno = 560;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_TypeError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 560;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[153]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 561;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[24]);
Py_DECREF(tmp_expression_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 561;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_http_method == NULL);
var_http_method = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_kwargs);
tmp_args_element_value_1 = par_kwargs;
frame_94574b7951c4e0f1bcdfa1f328a47f17->m_frame.f_lineno = 562;
tmp_assign_source_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[156], tmp_args_element_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 562;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_args;
assert(old != NULL);
par_args = tmp_assign_source_2;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[153]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[25]);
Py_DECREF(tmp_expression_value_3);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_request == NULL);
var_request = tmp_assign_source_3;
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(var_http_method);
tmp_cmp_expr_left_2 = var_http_method;
tmp_cmp_expr_right_2 = mod_consts[157];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_2, tmp_cmp_expr_left_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 565;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(var_request);
tmp_expression_value_5 = var_request;
tmp_assign_source_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[158]);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 566;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_params == NULL);
var_params = tmp_assign_source_4;
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_instance_2;
CHECK_OBJECT(var_request);
tmp_called_instance_2 = var_request;
frame_94574b7951c4e0f1bcdfa1f328a47f17->m_frame.f_lineno = 568;
tmp_assign_source_5 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_2,
mod_consts[31],
PyTuple_GET_ITEM(mod_consts[159], 0)
);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 568;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_definition == NULL);
var_definition = tmp_assign_source_5;
}
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(var_definition);
tmp_cmp_expr_left_3 = var_definition;
tmp_cmp_expr_right_3 = Py_None;
tmp_condition_result_3 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_instance_3;
CHECK_OBJECT(var_request);
tmp_called_instance_3 = var_request;
frame_94574b7951c4e0f1bcdfa1f328a47f17->m_frame.f_lineno = 571;
tmp_assign_source_6 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_3,
mod_consts[31],
PyTuple_GET_ITEM(mod_consts[160], 0)
);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 571;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_definition;
assert(old != NULL);
var_definition = tmp_assign_source_6;
Py_DECREF(old);
}
}
branch_no_3:;
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(var_definition);
tmp_cmp_expr_left_4 = var_definition;
tmp_cmp_expr_right_4 = Py_None;
tmp_condition_result_4 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_raise_value_1;
tmp_raise_type_2 = PyExc_AssertionError;
tmp_raise_value_1 = mod_consts[161];
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_value = tmp_raise_value_1;
Py_INCREF(tmp_raise_value_1);
exception_lineno = 573;
RAISE_EXCEPTION_WITH_VALUE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
branch_no_4:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_7;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(var_definition);
tmp_expression_value_6 = var_definition;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[26]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 577;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_expression_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[77]);
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 577;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[14]);
Py_DECREF(tmp_expression_value_7);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 577;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
frame_94574b7951c4e0f1bcdfa1f328a47f17->m_frame.f_lineno = 577;
tmp_assign_source_7 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 577;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_params == NULL);
var_params = tmp_assign_source_7;
}
branch_end_2:;
{
PyObject *tmp_assign_source_8;
PyObject *tmp_set_arg_1;
// Tried code:
{
PyObject *tmp_assign_source_9;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(var_params);
tmp_iter_arg_1 = var_params;
tmp_assign_source_9 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 578;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_2;
}
assert(tmp_listcomp_1__$0 == NULL);
tmp_listcomp_1__$0 = tmp_assign_source_9;
}
{
PyObject *tmp_assign_source_10;
tmp_assign_source_10 = MAKE_LIST_EMPTY(0);
assert(tmp_listcomp_1__contraction == NULL);
tmp_listcomp_1__contraction = tmp_assign_source_10;
}
if (isFrameUnusable(cache_frame_988928c7ae8ff610dc101b3d68d92947_2)) {
Py_XDECREF(cache_frame_988928c7ae8ff610dc101b3d68d92947_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_988928c7ae8ff610dc101b3d68d92947_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_988928c7ae8ff610dc101b3d68d92947_2 = MAKE_FUNCTION_FRAME(codeobj_988928c7ae8ff610dc101b3d68d92947, module_lazr$restfulclient$resource, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_988928c7ae8ff610dc101b3d68d92947_2->m_type_description == NULL);
frame_988928c7ae8ff610dc101b3d68d92947_2 = cache_frame_988928c7ae8ff610dc101b3d68d92947_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_988928c7ae8ff610dc101b3d68d92947_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_988928c7ae8ff610dc101b3d68d92947_2) == 2); // Frame stack
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_11;
CHECK_OBJECT(tmp_listcomp_1__$0);
tmp_next_source_1 = tmp_listcomp_1__$0;
tmp_assign_source_11 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_11 == 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 = "o";
exception_lineno = 578;
goto try_except_handler_3;
}
}
{
PyObject *old = tmp_listcomp_1__iter_value_0;
tmp_listcomp_1__iter_value_0 = tmp_assign_source_11;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_12;
CHECK_OBJECT(tmp_listcomp_1__iter_value_0);
tmp_assign_source_12 = tmp_listcomp_1__iter_value_0;
{
PyObject *old = outline_0_var_param;
outline_0_var_param = tmp_assign_source_12;
Py_INCREF(outline_0_var_param);
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_5;
int tmp_or_left_truth_1;
nuitka_bool tmp_or_left_value_1;
nuitka_bool tmp_or_right_value_1;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
PyObject *tmp_expression_value_9;
PyObject *tmp_cmp_expr_left_6;
nuitka_digit tmp_cmp_expr_right_6;
PyObject *tmp_len_arg_2;
PyObject *tmp_expression_value_10;
bool tmp_tmp_or_right_value_1_cbool_1;
CHECK_OBJECT(outline_0_var_param);
tmp_expression_value_9 = outline_0_var_param;
tmp_cmp_expr_left_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[162]);
if (tmp_cmp_expr_left_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 579;
type_description_2 = "o";
goto try_except_handler_3;
}
tmp_cmp_expr_right_5 = mod_consts[163];
tmp_or_left_value_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
Py_DECREF(tmp_cmp_expr_left_5);
if (tmp_or_left_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 579;
type_description_2 = "o";
goto try_except_handler_3;
}
tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 579;
type_description_2 = "o";
goto try_except_handler_3;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
CHECK_OBJECT(outline_0_var_param);
tmp_expression_value_10 = outline_0_var_param;
tmp_len_arg_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[90]);
if (tmp_len_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 580;
type_description_2 = "o";
goto try_except_handler_3;
}
tmp_cmp_expr_left_6 = BUILTIN_LEN(tmp_len_arg_2);
Py_DECREF(tmp_len_arg_2);
if (tmp_cmp_expr_left_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 580;
type_description_2 = "o";
goto try_except_handler_3;
}
tmp_cmp_expr_right_6 = 0;
tmp_tmp_or_right_value_1_cbool_1 = RICH_COMPARE_GT_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
Py_DECREF(tmp_cmp_expr_left_6);
tmp_or_right_value_1 = tmp_tmp_or_right_value_1_cbool_1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_5 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_5 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_append_list_1;
PyObject *tmp_append_value_1;
PyObject *tmp_expression_value_11;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_append_list_1 = tmp_listcomp_1__contraction;
CHECK_OBJECT(outline_0_var_param);
tmp_expression_value_11 = outline_0_var_param;
tmp_append_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[24]);
if (tmp_append_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 578;
type_description_2 = "o";
goto try_except_handler_3;
}
assert(PyList_Check(tmp_append_list_1));
tmp_result = LIST_APPEND1(tmp_append_list_1, tmp_append_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 578;
type_description_2 = "o";
goto try_except_handler_3;
}
}
branch_no_5:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 578;
type_description_2 = "o";
goto try_except_handler_3;
}
goto loop_start_1;
loop_end_1:;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_set_arg_1 = tmp_listcomp_1__contraction;
Py_INCREF(tmp_set_arg_1);
goto try_return_handler_3;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(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(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(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_988928c7ae8ff610dc101b3d68d92947_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_988928c7ae8ff610dc101b3d68d92947_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_988928c7ae8ff610dc101b3d68d92947_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_988928c7ae8ff610dc101b3d68d92947_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_988928c7ae8ff610dc101b3d68d92947_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_988928c7ae8ff610dc101b3d68d92947_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_988928c7ae8ff610dc101b3d68d92947_2,
type_description_2,
outline_0_var_param
);
// Release cached frame if used for exception.
if (frame_988928c7ae8ff610dc101b3d68d92947_2 == cache_frame_988928c7ae8ff610dc101b3d68d92947_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_988928c7ae8ff610dc101b3d68d92947_2);
cache_frame_988928c7ae8ff610dc101b3d68d92947_2 = NULL;
}
assertFrameObject(frame_988928c7ae8ff610dc101b3d68d92947_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 = "oooooooooooooooo";
goto try_except_handler_2;
skip_nested_handling_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
Py_XDECREF(outline_0_var_param);
outline_0_var_param = 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_param);
outline_0_var_param = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 578;
goto frame_exception_exit_1;
outline_result_1:;
tmp_assign_source_8 = PySet_New(tmp_set_arg_1);
Py_DECREF(tmp_set_arg_1);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 578;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_send_as_is_params == NULL);
var_send_as_is_params = tmp_assign_source_8;
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_iter_arg_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_12;
CHECK_OBJECT(par_args);
tmp_expression_value_12 = par_args;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[5]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 581;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
frame_94574b7951c4e0f1bcdfa1f328a47f17->m_frame.f_lineno = 581;
tmp_iter_arg_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_iter_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 581;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_13 = MAKE_ITERATOR(tmp_iter_arg_2);
Py_DECREF(tmp_iter_arg_2);
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 581;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_13;
}
// Tried code:
loop_start_2:;
{
PyObject *tmp_next_source_2;
PyObject *tmp_assign_source_14;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_2 = tmp_for_loop_1__for_iterator;
tmp_assign_source_14 = ITERATOR_NEXT(tmp_next_source_2);
if (tmp_assign_source_14 == 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 = "oooooooooooooooo";
exception_lineno = 581;
goto try_except_handler_4;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_14;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_15;
PyObject *tmp_iter_arg_3;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_iter_arg_3 = tmp_for_loop_1__iter_value;
tmp_assign_source_15 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_3);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 581;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_5;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_15;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_16;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_16 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_16 == 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 = "oooooooooooooooo";
exception_lineno = 581;
goto try_except_handler_6;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_16;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_17 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_17 == 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 = "oooooooooooooooo";
exception_lineno = 581;
goto try_except_handler_6;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_17;
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 = "oooooooooooooooo";
exception_lineno = 581;
goto try_except_handler_6;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[6];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooooooooo";
exception_lineno = 581;
goto try_except_handler_6;
}
}
goto try_end_1;
// 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(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_1:;
goto try_end_2;
// 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_2:;
CHECK_OBJECT(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_18;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_18 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_key;
var_key = tmp_assign_source_18;
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_19;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_19 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_value;
var_value = tmp_assign_source_19;
Py_INCREF(var_value);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
CHECK_OBJECT(var_key);
tmp_cmp_expr_left_7 = var_key;
CHECK_OBJECT(var_send_as_is_params);
tmp_cmp_expr_right_7 = var_send_as_is_params;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_7, tmp_cmp_expr_left_7);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 587;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_4;
}
tmp_condition_result_6 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_called_value_3;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_dict_value_0_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[164]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[164]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 588;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_4;
}
CHECK_OBJECT(var_value);
tmp_kw_call_arg_value_0_1 = var_value;
tmp_kw_call_dict_value_0_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[165]);
if (unlikely(tmp_kw_call_dict_value_0_1 == NULL)) {
tmp_kw_call_dict_value_0_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[165]);
}
if (tmp_kw_call_dict_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 588;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_4;
}
frame_94574b7951c4e0f1bcdfa1f328a47f17->m_frame.f_lineno = 588;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_ass_subvalue_1 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_3, args, kw_values, mod_consts[166]);
}
if (tmp_ass_subvalue_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 588;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_4;
}
if (par_args == NULL) {
Py_DECREF(tmp_ass_subvalue_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[167]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 588;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_4;
}
tmp_ass_subscribed_1 = par_args;
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);
Py_DECREF(tmp_ass_subvalue_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 588;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_4;
}
}
branch_no_6:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 581;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_4;
}
goto loop_start_2;
loop_end_2:;
goto try_end_3;
// 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_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(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_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_3:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
{
bool tmp_condition_result_7;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
CHECK_OBJECT(var_http_method);
tmp_cmp_expr_left_8 = var_http_method;
tmp_cmp_expr_right_8 = mod_consts[157];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_8, tmp_cmp_expr_left_8);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 589;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_7 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_assign_source_20;
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_13;
PyObject *tmp_expression_value_14;
PyObject *tmp_dircall_arg2_1;
CHECK_OBJECT(par_self);
tmp_expression_value_14 = par_self;
tmp_expression_value_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[153]);
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[168]);
Py_DECREF(tmp_expression_value_13);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
if (par_args == NULL) {
Py_DECREF(tmp_dircall_arg1_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[167]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 590;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg2_1 = par_args;
Py_INCREF(tmp_dircall_arg2_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1};
tmp_assign_source_20 = impl___main__$$$function__8_complex_call_helper_star_dict(dir_call_args);
}
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_url == NULL);
var_url = tmp_assign_source_20;
}
{
PyObject *tmp_assign_source_21;
tmp_assign_source_21 = mod_consts[133];
assert(var_in_representation == NULL);
Py_INCREF(tmp_assign_source_21);
var_in_representation = tmp_assign_source_21;
}
{
PyObject *tmp_assign_source_22;
tmp_assign_source_22 = MAKE_DICT_EMPTY();
assert(var_extra_headers == NULL);
var_extra_headers = tmp_assign_source_22;
}
goto branch_end_7;
branch_no_7:;
{
PyObject *tmp_assign_source_23;
PyObject *tmp_called_instance_4;
PyObject *tmp_expression_value_15;
CHECK_OBJECT(par_self);
tmp_expression_value_15 = par_self;
tmp_called_instance_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[153]);
if (tmp_called_instance_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
frame_94574b7951c4e0f1bcdfa1f328a47f17->m_frame.f_lineno = 594;
tmp_assign_source_23 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[168]);
Py_DECREF(tmp_called_instance_4);
if (tmp_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_url == NULL);
var_url = tmp_assign_source_23;
}
// Tried code:
{
PyObject *tmp_assign_source_24;
PyObject *tmp_iter_arg_4;
PyObject *tmp_dircall_arg1_2;
PyObject *tmp_expression_value_16;
PyObject *tmp_expression_value_17;
PyObject *tmp_dircall_arg2_2;
CHECK_OBJECT(par_self);
tmp_expression_value_17 = par_self;
tmp_expression_value_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[153]);
if (tmp_expression_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 596;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_7;
}
tmp_dircall_arg1_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[169]);
Py_DECREF(tmp_expression_value_16);
if (tmp_dircall_arg1_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 596;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_7;
}
if (par_args == NULL) {
Py_DECREF(tmp_dircall_arg1_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[167]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 597;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_7;
}
tmp_dircall_arg2_2 = par_args;
Py_INCREF(tmp_dircall_arg2_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2, tmp_dircall_arg2_2};
tmp_iter_arg_4 = impl___main__$$$function__8_complex_call_helper_star_dict(dir_call_args);
}
if (tmp_iter_arg_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 596;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_7;
}
tmp_assign_source_24 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_4);
Py_DECREF(tmp_iter_arg_4);
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 595;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_7;
}
assert(tmp_tuple_unpack_2__source_iter == NULL);
tmp_tuple_unpack_2__source_iter = tmp_assign_source_24;
}
// Tried code:
{
PyObject *tmp_assign_source_25;
PyObject *tmp_unpack_3;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_unpack_3 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_25 = UNPACK_NEXT(tmp_unpack_3, 0, 2);
if (tmp_assign_source_25 == 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 = "oooooooooooooooo";
exception_lineno = 595;
goto try_except_handler_8;
}
assert(tmp_tuple_unpack_2__element_1 == NULL);
tmp_tuple_unpack_2__element_1 = tmp_assign_source_25;
}
{
PyObject *tmp_assign_source_26;
PyObject *tmp_unpack_4;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_unpack_4 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_26 = UNPACK_NEXT(tmp_unpack_4, 1, 2);
if (tmp_assign_source_26 == 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 = "oooooooooooooooo";
exception_lineno = 595;
goto try_except_handler_8;
}
assert(tmp_tuple_unpack_2__element_2 == NULL);
tmp_tuple_unpack_2__element_2 = tmp_assign_source_26;
}
{
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 = "oooooooooooooooo";
exception_lineno = 595;
goto try_except_handler_8;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[6];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooooooooo";
exception_lineno = 595;
goto try_except_handler_8;
}
}
goto try_end_4;
// 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;
CHECK_OBJECT(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_7;
// End of try:
try_end_4:;
goto try_end_5;
// 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;
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 frame_exception_exit_1;
// End of try:
try_end_5:;
CHECK_OBJECT(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_27;
CHECK_OBJECT(tmp_tuple_unpack_2__element_1);
tmp_assign_source_27 = tmp_tuple_unpack_2__element_1;
assert(var_media_type == NULL);
Py_INCREF(tmp_assign_source_27);
var_media_type = tmp_assign_source_27;
}
Py_XDECREF(tmp_tuple_unpack_2__element_1);
tmp_tuple_unpack_2__element_1 = NULL;
{
PyObject *tmp_assign_source_28;
CHECK_OBJECT(tmp_tuple_unpack_2__element_2);
tmp_assign_source_28 = tmp_tuple_unpack_2__element_2;
assert(var_in_representation == NULL);
Py_INCREF(tmp_assign_source_28);
var_in_representation = tmp_assign_source_28;
}
Py_XDECREF(tmp_tuple_unpack_2__element_2);
tmp_tuple_unpack_2__element_2 = NULL;
{
PyObject *tmp_assign_source_29;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
tmp_dict_key_1 = mod_consts[170];
CHECK_OBJECT(var_media_type);
tmp_dict_value_1 = var_media_type;
tmp_assign_source_29 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_assign_source_29, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
assert(var_extra_headers == NULL);
var_extra_headers = tmp_assign_source_29;
}
branch_end_7:;
// Tried code:
{
PyObject *tmp_assign_source_30;
PyObject *tmp_iter_arg_5;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_18;
PyObject *tmp_expression_value_19;
PyObject *tmp_expression_value_20;
PyObject *tmp_kw_call_arg_value_0_2;
PyObject *tmp_kw_call_arg_value_1_1;
PyObject *tmp_kw_call_arg_value_2_1;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_21;
PyObject *tmp_kw_call_dict_value_0_2;
CHECK_OBJECT(par_self);
tmp_expression_value_20 = par_self;
tmp_expression_value_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_20, mod_consts[152]);
if (tmp_expression_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 605;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_9;
}
tmp_expression_value_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[81]);
Py_DECREF(tmp_expression_value_19);
if (tmp_expression_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 605;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_9;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[171]);
Py_DECREF(tmp_expression_value_18);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 605;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_9;
}
CHECK_OBJECT(var_url);
tmp_kw_call_arg_value_0_2 = var_url;
CHECK_OBJECT(var_in_representation);
tmp_kw_call_arg_value_1_1 = var_in_representation;
CHECK_OBJECT(var_http_method);
tmp_expression_value_21 = var_http_method;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_21, mod_consts[172]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 606;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_9;
}
frame_94574b7951c4e0f1bcdfa1f328a47f17->m_frame.f_lineno = 606;
tmp_kw_call_arg_value_2_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_5);
Py_DECREF(tmp_called_value_5);
if (tmp_kw_call_arg_value_2_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 606;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_9;
}
CHECK_OBJECT(var_extra_headers);
tmp_kw_call_dict_value_0_2 = var_extra_headers;
frame_94574b7951c4e0f1bcdfa1f328a47f17->m_frame.f_lineno = 605;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_2, tmp_kw_call_arg_value_1_1, tmp_kw_call_arg_value_2_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_2};
tmp_iter_arg_5 = CALL_FUNCTION_WITH_ARGS3_KWSPLIT(tmp_called_value_4, args, kw_values, mod_consts[173]);
}
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_kw_call_arg_value_2_1);
if (tmp_iter_arg_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 605;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_9;
}
tmp_assign_source_30 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_5);
Py_DECREF(tmp_iter_arg_5);
if (tmp_assign_source_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 605;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_9;
}
assert(tmp_tuple_unpack_3__source_iter == NULL);
tmp_tuple_unpack_3__source_iter = tmp_assign_source_30;
}
// Tried code:
{
PyObject *tmp_assign_source_31;
PyObject *tmp_unpack_5;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
tmp_unpack_5 = tmp_tuple_unpack_3__source_iter;
tmp_assign_source_31 = UNPACK_NEXT(tmp_unpack_5, 0, 2);
if (tmp_assign_source_31 == 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 = "oooooooooooooooo";
exception_lineno = 605;
goto try_except_handler_10;
}
assert(tmp_tuple_unpack_3__element_1 == NULL);
tmp_tuple_unpack_3__element_1 = tmp_assign_source_31;
}
{
PyObject *tmp_assign_source_32;
PyObject *tmp_unpack_6;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
tmp_unpack_6 = tmp_tuple_unpack_3__source_iter;
tmp_assign_source_32 = UNPACK_NEXT(tmp_unpack_6, 1, 2);
if (tmp_assign_source_32 == 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 = "oooooooooooooooo";
exception_lineno = 605;
goto try_except_handler_10;
}
assert(tmp_tuple_unpack_3__element_2 == NULL);
tmp_tuple_unpack_3__element_2 = tmp_assign_source_32;
}
{
PyObject *tmp_iterator_name_3;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
tmp_iterator_name_3 = tmp_tuple_unpack_3__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_3); assert(HAS_ITERNEXT(tmp_iterator_name_3));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_3)->tp_iternext)(tmp_iterator_name_3);
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 = "oooooooooooooooo";
exception_lineno = 605;
goto try_except_handler_10;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[6];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooooooooo";
exception_lineno = 605;
goto try_except_handler_10;
}
}
goto try_end_6;
// Exception handler code:
try_except_handler_10:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
Py_DECREF(tmp_tuple_unpack_3__source_iter);
tmp_tuple_unpack_3__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto try_except_handler_9;
// End of try:
try_end_6:;
goto try_end_7;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_9 = exception_type;
exception_keeper_value_9 = exception_value;
exception_keeper_tb_9 = exception_tb;
exception_keeper_lineno_9 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_3__element_1);
tmp_tuple_unpack_3__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_3__element_2);
tmp_tuple_unpack_3__element_2 = 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 frame_exception_exit_1;
// End of try:
try_end_7:;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
Py_DECREF(tmp_tuple_unpack_3__source_iter);
tmp_tuple_unpack_3__source_iter = NULL;
{
PyObject *tmp_assign_source_33;
CHECK_OBJECT(tmp_tuple_unpack_3__element_1);
tmp_assign_source_33 = tmp_tuple_unpack_3__element_1;
assert(var_response == NULL);
Py_INCREF(tmp_assign_source_33);
var_response = tmp_assign_source_33;
}
Py_XDECREF(tmp_tuple_unpack_3__element_1);
tmp_tuple_unpack_3__element_1 = NULL;
{
PyObject *tmp_assign_source_34;
CHECK_OBJECT(tmp_tuple_unpack_3__element_2);
tmp_assign_source_34 = tmp_tuple_unpack_3__element_2;
assert(var_content == NULL);
Py_INCREF(tmp_assign_source_34);
var_content = tmp_assign_source_34;
}
Py_XDECREF(tmp_tuple_unpack_3__element_2);
tmp_tuple_unpack_3__element_2 = NULL;
{
nuitka_bool tmp_condition_result_8;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
PyObject *tmp_expression_value_22;
CHECK_OBJECT(var_response);
tmp_expression_value_22 = var_response;
tmp_cmp_expr_left_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_22, mod_consts[174]);
if (tmp_cmp_expr_left_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 609;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_9 = mod_consts[175];
tmp_condition_result_8 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_9, tmp_cmp_expr_right_9);
Py_DECREF(tmp_cmp_expr_left_9);
if (tmp_condition_result_8 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 609;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_called_instance_5;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
CHECK_OBJECT(par_self);
tmp_called_instance_5 = par_self;
CHECK_OBJECT(var_url);
tmp_args_element_value_3 = var_url;
CHECK_OBJECT(var_response);
tmp_args_element_value_4 = var_response;
CHECK_OBJECT(var_content);
tmp_args_element_value_5 = var_content;
frame_94574b7951c4e0f1bcdfa1f328a47f17->m_frame.f_lineno = 610;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5};
tmp_return_value = CALL_METHOD_WITH_ARGS3(
tmp_called_instance_5,
mod_consts[176],
call_args
);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 610;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_8;
branch_no_8:;
{
nuitka_bool tmp_condition_result_9;
PyObject *tmp_cmp_expr_left_10;
PyObject *tmp_cmp_expr_right_10;
CHECK_OBJECT(var_http_method);
tmp_cmp_expr_left_10 = var_http_method;
tmp_cmp_expr_right_10 = mod_consts[28];
tmp_condition_result_9 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_10, tmp_cmp_expr_right_10);
if (tmp_condition_result_9 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 612;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
nuitka_bool tmp_condition_result_10;
PyObject *tmp_cmp_expr_left_11;
PyObject *tmp_cmp_expr_right_11;
PyObject *tmp_expression_value_23;
CHECK_OBJECT(var_response);
tmp_expression_value_23 = var_response;
tmp_cmp_expr_left_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_23, mod_consts[174]);
if (tmp_cmp_expr_left_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 616;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_11 = mod_consts[177];
tmp_condition_result_10 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_11, tmp_cmp_expr_right_11);
Py_DECREF(tmp_cmp_expr_left_11);
if (tmp_condition_result_10 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 616;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_assign_source_35;
PyObject *tmp_expression_value_24;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_response);
tmp_expression_value_24 = var_response;
tmp_subscript_value_1 = mod_consts[178];
tmp_assign_source_35 = LOOKUP_SUBSCRIPT(tmp_expression_value_24, tmp_subscript_value_1);
if (tmp_assign_source_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_url;
assert(old != NULL);
var_url = tmp_assign_source_35;
Py_DECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_36;
PyObject *tmp_iter_arg_6;
PyObject *tmp_called_instance_6;
PyObject *tmp_expression_value_25;
PyObject *tmp_expression_value_26;
PyObject *tmp_args_element_value_6;
CHECK_OBJECT(par_self);
tmp_expression_value_26 = par_self;
tmp_expression_value_25 = LOOKUP_ATTRIBUTE(tmp_expression_value_26, mod_consts[152]);
if (tmp_expression_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 618;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_11;
}
tmp_called_instance_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_25, mod_consts[81]);
Py_DECREF(tmp_expression_value_25);
if (tmp_called_instance_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 618;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_11;
}
CHECK_OBJECT(var_url);
tmp_args_element_value_6 = var_url;
frame_94574b7951c4e0f1bcdfa1f328a47f17->m_frame.f_lineno = 618;
tmp_iter_arg_6 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_6, mod_consts[171], tmp_args_element_value_6);
Py_DECREF(tmp_called_instance_6);
if (tmp_iter_arg_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 618;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_11;
}
tmp_assign_source_36 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_6);
Py_DECREF(tmp_iter_arg_6);
if (tmp_assign_source_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 618;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_11;
}
assert(tmp_tuple_unpack_4__source_iter == NULL);
tmp_tuple_unpack_4__source_iter = tmp_assign_source_36;
}
// Tried code:
{
PyObject *tmp_assign_source_37;
PyObject *tmp_unpack_7;
CHECK_OBJECT(tmp_tuple_unpack_4__source_iter);
tmp_unpack_7 = tmp_tuple_unpack_4__source_iter;
tmp_assign_source_37 = UNPACK_NEXT(tmp_unpack_7, 0, 2);
if (tmp_assign_source_37 == 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 = "oooooooooooooooo";
exception_lineno = 618;
goto try_except_handler_12;
}
assert(tmp_tuple_unpack_4__element_1 == NULL);
tmp_tuple_unpack_4__element_1 = tmp_assign_source_37;
}
{
PyObject *tmp_assign_source_38;
PyObject *tmp_unpack_8;
CHECK_OBJECT(tmp_tuple_unpack_4__source_iter);
tmp_unpack_8 = tmp_tuple_unpack_4__source_iter;
tmp_assign_source_38 = UNPACK_NEXT(tmp_unpack_8, 1, 2);
if (tmp_assign_source_38 == 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 = "oooooooooooooooo";
exception_lineno = 618;
goto try_except_handler_12;
}
assert(tmp_tuple_unpack_4__element_2 == NULL);
tmp_tuple_unpack_4__element_2 = tmp_assign_source_38;
}
{
PyObject *tmp_iterator_name_4;
CHECK_OBJECT(tmp_tuple_unpack_4__source_iter);
tmp_iterator_name_4 = tmp_tuple_unpack_4__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_4); assert(HAS_ITERNEXT(tmp_iterator_name_4));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_4)->tp_iternext)(tmp_iterator_name_4);
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 = "oooooooooooooooo";
exception_lineno = 618;
goto try_except_handler_12;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[6];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooooooooo";
exception_lineno = 618;
goto try_except_handler_12;
}
}
goto try_end_8;
// Exception handler code:
try_except_handler_12:;
exception_keeper_type_10 = exception_type;
exception_keeper_value_10 = exception_value;
exception_keeper_tb_10 = exception_tb;
exception_keeper_lineno_10 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_4__source_iter);
Py_DECREF(tmp_tuple_unpack_4__source_iter);
tmp_tuple_unpack_4__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_10;
exception_value = exception_keeper_value_10;
exception_tb = exception_keeper_tb_10;
exception_lineno = exception_keeper_lineno_10;
goto try_except_handler_11;
// End of try:
try_end_8:;
goto try_end_9;
// Exception handler code:
try_except_handler_11:;
exception_keeper_type_11 = exception_type;
exception_keeper_value_11 = exception_value;
exception_keeper_tb_11 = exception_tb;
exception_keeper_lineno_11 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_4__element_1);
tmp_tuple_unpack_4__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_4__element_2);
tmp_tuple_unpack_4__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_11;
exception_value = exception_keeper_value_11;
exception_tb = exception_keeper_tb_11;
exception_lineno = exception_keeper_lineno_11;
goto frame_exception_exit_1;
// End of try:
try_end_9:;
CHECK_OBJECT(tmp_tuple_unpack_4__source_iter);
Py_DECREF(tmp_tuple_unpack_4__source_iter);
tmp_tuple_unpack_4__source_iter = NULL;
{
PyObject *tmp_assign_source_39;
CHECK_OBJECT(tmp_tuple_unpack_4__element_1);
tmp_assign_source_39 = tmp_tuple_unpack_4__element_1;
{
PyObject *old = var_response;
assert(old != NULL);
var_response = tmp_assign_source_39;
Py_INCREF(var_response);
Py_DECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_4__element_1);
tmp_tuple_unpack_4__element_1 = NULL;
{
PyObject *tmp_assign_source_40;
CHECK_OBJECT(tmp_tuple_unpack_4__element_2);
tmp_assign_source_40 = tmp_tuple_unpack_4__element_2;
{
PyObject *old = var_content;
assert(old != NULL);
var_content = tmp_assign_source_40;
Py_INCREF(var_content);
Py_DECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_4__element_2);
tmp_tuple_unpack_4__element_2 = NULL;
goto branch_end_10;
branch_no_10:;
{
PyObject *tmp_called_instance_7;
PyObject *tmp_expression_value_27;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_expression_value_27 = par_self;
tmp_called_instance_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_27, mod_consts[77]);
if (tmp_called_instance_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 620;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
frame_94574b7951c4e0f1bcdfa1f328a47f17->m_frame.f_lineno = 620;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_7, mod_consts[179]);
Py_DECREF(tmp_called_instance_7);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 620;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_end_10:;
branch_no_9:;
{
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_28;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
PyObject *tmp_args_element_value_9;
CHECK_OBJECT(par_self);
tmp_expression_value_28 = par_self;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_28, mod_consts[180]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 621;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
if (var_url == NULL) {
Py_DECREF(tmp_called_value_6);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[113]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 621;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_7 = var_url;
if (var_response == NULL) {
Py_DECREF(tmp_called_value_6);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[181]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 621;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_8 = var_response;
CHECK_OBJECT(var_content);
tmp_args_element_value_9 = var_content;
frame_94574b7951c4e0f1bcdfa1f328a47f17->m_frame.f_lineno = 621;
{
PyObject *call_args[] = {tmp_args_element_value_7, tmp_args_element_value_8, tmp_args_element_value_9};
tmp_return_value = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_6, call_args);
}
Py_DECREF(tmp_called_value_6);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 621;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_end_8:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_94574b7951c4e0f1bcdfa1f328a47f17);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_94574b7951c4e0f1bcdfa1f328a47f17);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_94574b7951c4e0f1bcdfa1f328a47f17);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_94574b7951c4e0f1bcdfa1f328a47f17, exception_lineno);
} else if (exception_tb->tb_frame != &frame_94574b7951c4e0f1bcdfa1f328a47f17->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_94574b7951c4e0f1bcdfa1f328a47f17, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_94574b7951c4e0f1bcdfa1f328a47f17,
type_description_1,
par_self,
par_args,
par_kwargs,
var_http_method,
var_request,
var_params,
var_definition,
var_send_as_is_params,
var_key,
var_value,
var_url,
var_in_representation,
var_extra_headers,
var_media_type,
var_response,
var_content
);
// Release cached frame if used for exception.
if (frame_94574b7951c4e0f1bcdfa1f328a47f17 == cache_frame_94574b7951c4e0f1bcdfa1f328a47f17) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_94574b7951c4e0f1bcdfa1f328a47f17);
cache_frame_94574b7951c4e0f1bcdfa1f328a47f17 = NULL;
}
assertFrameObject(frame_94574b7951c4e0f1bcdfa1f328a47f17);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_2:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_args);
par_args = NULL;
CHECK_OBJECT(var_http_method);
Py_DECREF(var_http_method);
var_http_method = NULL;
Py_XDECREF(var_request);
var_request = NULL;
CHECK_OBJECT(var_params);
Py_DECREF(var_params);
var_params = NULL;
Py_XDECREF(var_definition);
var_definition = NULL;
CHECK_OBJECT(var_send_as_is_params);
Py_DECREF(var_send_as_is_params);
var_send_as_is_params = NULL;
Py_XDECREF(var_key);
var_key = NULL;
Py_XDECREF(var_value);
var_value = NULL;
Py_XDECREF(var_url);
var_url = NULL;
CHECK_OBJECT(var_in_representation);
Py_DECREF(var_in_representation);
var_in_representation = NULL;
CHECK_OBJECT(var_extra_headers);
Py_DECREF(var_extra_headers);
var_extra_headers = NULL;
Py_XDECREF(var_media_type);
var_media_type = NULL;
Py_XDECREF(var_response);
var_response = NULL;
Py_XDECREF(var_content);
var_content = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_12 = exception_type;
exception_keeper_value_12 = exception_value;
exception_keeper_tb_12 = exception_tb;
exception_keeper_lineno_12 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_args);
par_args = NULL;
Py_XDECREF(var_http_method);
var_http_method = NULL;
Py_XDECREF(var_request);
var_request = NULL;
Py_XDECREF(var_params);
var_params = NULL;
Py_XDECREF(var_definition);
var_definition = NULL;
Py_XDECREF(var_send_as_is_params);
var_send_as_is_params = NULL;
Py_XDECREF(var_key);
var_key = NULL;
Py_XDECREF(var_value);
var_value = NULL;
Py_XDECREF(var_url);
var_url = NULL;
Py_XDECREF(var_in_representation);
var_in_representation = NULL;
Py_XDECREF(var_extra_headers);
var_extra_headers = NULL;
Py_XDECREF(var_media_type);
var_media_type = NULL;
Py_XDECREF(var_response);
var_response = NULL;
Py_XDECREF(var_content);
var_content = NULL;
// Re-raise.
exception_type = exception_keeper_type_12;
exception_value = exception_keeper_value_12;
exception_tb = exception_keeper_tb_12;
exception_lineno = exception_keeper_lineno_12;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_kwargs);
Py_DECREF(par_kwargs);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_kwargs);
Py_DECREF(par_kwargs);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__34__handle_201_response(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_url = python_pars[1];
PyObject *par_response = python_pars[2];
PyObject *par_content = python_pars[3];
PyObject *var_wadl_response = NULL;
PyObject *var_wadl_parameter = NULL;
PyObject *var_wadl_resource = 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;
struct Nuitka_FrameObject *frame_b2e5965bbdfa76ae3e0013423798178a;
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 *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;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_b2e5965bbdfa76ae3e0013423798178a = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_b2e5965bbdfa76ae3e0013423798178a)) {
Py_XDECREF(cache_frame_b2e5965bbdfa76ae3e0013423798178a);
#if _DEBUG_REFCOUNTS
if (cache_frame_b2e5965bbdfa76ae3e0013423798178a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b2e5965bbdfa76ae3e0013423798178a = MAKE_FUNCTION_FRAME(codeobj_b2e5965bbdfa76ae3e0013423798178a, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b2e5965bbdfa76ae3e0013423798178a->m_type_description == NULL);
frame_b2e5965bbdfa76ae3e0013423798178a = cache_frame_b2e5965bbdfa76ae3e0013423798178a;
// Push the new frame as the currently active one.
pushFrameStack(frame_b2e5965bbdfa76ae3e0013423798178a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b2e5965bbdfa76ae3e0013423798178a) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[153]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 625;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[181]);
Py_DECREF(tmp_expression_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 625;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[75]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 625;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[183]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[183]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 626;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_response);
tmp_args_element_value_2 = par_response;
frame_b2e5965bbdfa76ae3e0013423798178a->m_frame.f_lineno = 626;
tmp_args_element_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 626;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
frame_b2e5965bbdfa76ae3e0013423798178a->m_frame.f_lineno = 625;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 625;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
assert(var_wadl_response == NULL);
var_wadl_response = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(var_wadl_response);
tmp_called_instance_1 = var_wadl_response;
frame_b2e5965bbdfa76ae3e0013423798178a->m_frame.f_lineno = 627;
tmp_assign_source_2 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[52],
PyTuple_GET_ITEM(mod_consts[184], 0)
);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 627;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
assert(var_wadl_parameter == NULL);
var_wadl_parameter = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(var_wadl_parameter);
tmp_expression_value_4 = var_wadl_parameter;
tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[55]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 628;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
assert(var_wadl_resource == NULL);
var_wadl_resource = tmp_assign_source_3;
}
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[152]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 630;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[81]);
Py_DECREF(tmp_expression_value_6);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 630;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[171]);
Py_DECREF(tmp_expression_value_5);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 630;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_wadl_resource);
tmp_expression_value_8 = var_wadl_resource;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[113]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 631;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
frame_b2e5965bbdfa76ae3e0013423798178a->m_frame.f_lineno = 630;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_3);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 630;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
tmp_assign_source_4 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 630;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
assert(tmp_tuple_unpack_1__source_iter == NULL);
tmp_tuple_unpack_1__source_iter = tmp_assign_source_4;
}
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_5 == 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 = "ooooooo";
exception_lineno = 630;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_1 == NULL);
tmp_tuple_unpack_1__element_1 = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_6 == 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 = "ooooooo";
exception_lineno = 630;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_2 == NULL);
tmp_tuple_unpack_1__element_2 = tmp_assign_source_6;
}
{
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 = "ooooooo";
exception_lineno = 630;
goto try_except_handler_3;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[6];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooooooo";
exception_lineno = 630;
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(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;
// 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(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_7;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_7 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = par_response;
assert(old != NULL);
par_response = tmp_assign_source_7;
Py_INCREF(par_response);
Py_DECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_8;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_8 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = par_content;
assert(old != NULL);
par_content = tmp_assign_source_8;
Py_INCREF(par_content);
Py_DECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_9;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_10;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_expression_value_11;
PyObject *tmp_subscript_value_1;
tmp_expression_value_9 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_9 == NULL)) {
tmp_expression_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[56]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_10 = par_self;
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[152]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 635;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_wadl_resource);
tmp_args_element_value_5 = var_wadl_resource;
CHECK_OBJECT(par_content);
tmp_args_element_value_6 = par_content;
CHECK_OBJECT(par_response);
tmp_expression_value_11 = par_response;
tmp_subscript_value_1 = mod_consts[185];
tmp_args_element_value_7 = LOOKUP_SUBSCRIPT(tmp_expression_value_11, tmp_subscript_value_1);
if (tmp_args_element_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_4);
exception_lineno = 635;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
frame_b2e5965bbdfa76ae3e0013423798178a->m_frame.f_lineno = 634;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5, tmp_args_element_value_6, tmp_args_element_value_7};
tmp_return_value = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_4);
Py_DECREF(tmp_args_element_value_7);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_b2e5965bbdfa76ae3e0013423798178a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b2e5965bbdfa76ae3e0013423798178a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b2e5965bbdfa76ae3e0013423798178a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b2e5965bbdfa76ae3e0013423798178a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b2e5965bbdfa76ae3e0013423798178a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b2e5965bbdfa76ae3e0013423798178a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b2e5965bbdfa76ae3e0013423798178a,
type_description_1,
par_self,
par_url,
par_response,
par_content,
var_wadl_response,
var_wadl_parameter,
var_wadl_resource
);
// Release cached frame if used for exception.
if (frame_b2e5965bbdfa76ae3e0013423798178a == cache_frame_b2e5965bbdfa76ae3e0013423798178a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b2e5965bbdfa76ae3e0013423798178a);
cache_frame_b2e5965bbdfa76ae3e0013423798178a = NULL;
}
assertFrameObject(frame_b2e5965bbdfa76ae3e0013423798178a);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_response);
Py_DECREF(par_response);
par_response = NULL;
CHECK_OBJECT(par_content);
Py_DECREF(par_content);
par_content = NULL;
CHECK_OBJECT(var_wadl_response);
Py_DECREF(var_wadl_response);
var_wadl_response = NULL;
CHECK_OBJECT(var_wadl_parameter);
Py_DECREF(var_wadl_parameter);
var_wadl_parameter = NULL;
CHECK_OBJECT(var_wadl_resource);
Py_DECREF(var_wadl_resource);
var_wadl_resource = 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_response);
par_response = NULL;
Py_XDECREF(par_content);
par_content = NULL;
Py_XDECREF(var_wadl_response);
var_wadl_response = NULL;
Py_XDECREF(var_wadl_parameter);
var_wadl_parameter = NULL;
Py_XDECREF(var_wadl_resource);
var_wadl_resource = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_url);
Py_DECREF(par_url);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_url);
Py_DECREF(par_url);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__35__handle_200_response(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_url = python_pars[1];
PyObject *par_response = python_pars[2];
PyObject *par_content = python_pars[3];
PyObject *var_content_type = NULL;
PyObject *var_response_definition = NULL;
PyObject *var_representation_definition = NULL;
PyObject *var_document = NULL;
PyObject *var_resource_type = NULL;
PyObject *var_wadl_resource = NULL;
struct Nuitka_FrameObject *frame_15837221c44c32103e91fa6848e4cf51;
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_15837221c44c32103e91fa6848e4cf51 = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_15837221c44c32103e91fa6848e4cf51)) {
Py_XDECREF(cache_frame_15837221c44c32103e91fa6848e4cf51);
#if _DEBUG_REFCOUNTS
if (cache_frame_15837221c44c32103e91fa6848e4cf51 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_15837221c44c32103e91fa6848e4cf51 = MAKE_FUNCTION_FRAME(codeobj_15837221c44c32103e91fa6848e4cf51, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_15837221c44c32103e91fa6848e4cf51->m_type_description == NULL);
frame_15837221c44c32103e91fa6848e4cf51 = cache_frame_15837221c44c32103e91fa6848e4cf51;
// Push the new frame as the currently active one.
pushFrameStack(frame_15837221c44c32103e91fa6848e4cf51);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_15837221c44c32103e91fa6848e4cf51) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_response);
tmp_expression_value_1 = par_response;
tmp_subscript_value_1 = mod_consts[185];
tmp_assign_source_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 639;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
assert(var_content_type == NULL);
var_content_type = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[153]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 641;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[181]);
Py_DECREF(tmp_expression_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 641;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
assert(var_response_definition == NULL);
var_response_definition = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(var_response_definition);
tmp_called_instance_1 = var_response_definition;
CHECK_OBJECT(var_content_type);
tmp_args_element_value_1 = var_content_type;
frame_15837221c44c32103e91fa6848e4cf51->m_frame.f_lineno = 643;
tmp_assign_source_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[31], tmp_args_element_value_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 643;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
assert(var_representation_definition == NULL);
var_representation_definition = tmp_assign_source_3;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_representation_definition);
tmp_cmp_expr_left_1 = var_representation_definition;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(var_content_type);
tmp_cmp_expr_left_2 = var_content_type;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[41]);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_content);
tmp_isinstance_inst_1 = par_content;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[96]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[96]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 650;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_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 = 650;
type_description_1 = "oooooooooo";
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_4;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(par_content);
tmp_expression_value_5 = par_content;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[97]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 651;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
frame_15837221c44c32103e91fa6848e4cf51->m_frame.f_lineno = 651;
tmp_assign_source_4 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[98]);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 651;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_content;
assert(old != NULL);
par_content = tmp_assign_source_4;
Py_DECREF(old);
}
}
branch_no_3:;
{
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[99]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[99]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 652;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_content);
tmp_args_element_value_2 = par_content;
frame_15837221c44c32103e91fa6848e4cf51->m_frame.f_lineno = 652;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 652;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_2:;
CHECK_OBJECT(par_content);
tmp_return_value = par_content;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
CHECK_OBJECT(par_content);
tmp_isinstance_inst_2 = par_content;
tmp_isinstance_cls_2 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[96]);
if (unlikely(tmp_isinstance_cls_2 == NULL)) {
tmp_isinstance_cls_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[96]);
}
if (tmp_isinstance_cls_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 658;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_2, tmp_isinstance_cls_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 658;
type_description_1 = "oooooooooo";
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_5;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(par_content);
tmp_expression_value_6 = par_content;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[97]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 659;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
frame_15837221c44c32103e91fa6848e4cf51->m_frame.f_lineno = 659;
tmp_assign_source_5 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[98]);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 659;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_content;
assert(old != NULL);
par_content = tmp_assign_source_5;
Py_DECREF(old);
}
}
branch_no_4:;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_3;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[99]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[99]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 661;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_content);
tmp_args_element_value_3 = par_content;
frame_15837221c44c32103e91fa6848e4cf51->m_frame.f_lineno = 661;
tmp_assign_source_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_3);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 661;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
assert(var_document == NULL);
var_document = tmp_assign_source_6;
}
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(var_document);
tmp_cmp_expr_left_3 = var_document;
tmp_cmp_expr_right_3 = Py_None;
tmp_condition_result_5 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
CHECK_OBJECT(var_document);
tmp_return_value = var_document;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_5:;
{
bool tmp_condition_result_6;
int tmp_and_left_truth_1;
bool tmp_and_left_value_1;
bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
tmp_cmp_expr_left_4 = mod_consts[8];
CHECK_OBJECT(var_document);
tmp_cmp_expr_right_4 = var_document;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_4, tmp_cmp_expr_left_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 665;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = (tmp_res == 1) ? true : false;
tmp_and_left_truth_1 = tmp_and_left_value_1 != false ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
tmp_cmp_expr_left_5 = mod_consts[100];
CHECK_OBJECT(var_document);
tmp_cmp_expr_right_5 = var_document;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_5, tmp_cmp_expr_left_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 665;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = (tmp_res == 1) ? true : false;
tmp_condition_result_6 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_6 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_expression_value_7;
PyObject *tmp_subscript_value_2;
CHECK_OBJECT(var_document);
tmp_expression_value_7 = var_document;
tmp_subscript_value_2 = mod_consts[8];
tmp_assign_source_7 = LOOKUP_SUBSCRIPT(tmp_expression_value_7, tmp_subscript_value_2);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 670;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_url;
assert(old != NULL);
par_url = tmp_assign_source_7;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
PyObject *tmp_expression_value_10;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_11;
PyObject *tmp_subscript_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_10 = par_self;
tmp_expression_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[152]);
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 671;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[101]);
Py_DECREF(tmp_expression_value_9);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 671;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[102]);
Py_DECREF(tmp_expression_value_8);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 671;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_document);
tmp_expression_value_11 = var_document;
tmp_subscript_value_3 = mod_consts[100];
tmp_args_element_value_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_11, tmp_subscript_value_3);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 672;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
frame_15837221c44c32103e91fa6848e4cf51->m_frame.f_lineno = 671;
tmp_assign_source_8 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_4);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 671;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
assert(var_resource_type == NULL);
var_resource_type = tmp_assign_source_8;
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_called_value_6;
PyObject *tmp_args_element_value_5;
PyObject *tmp_expression_value_12;
PyObject *tmp_expression_value_13;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_expression_value_14;
tmp_called_value_6 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[150]);
if (unlikely(tmp_called_value_6 == NULL)) {
tmp_called_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[150]);
}
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 673;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_13 = par_self;
tmp_expression_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[152]);
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 673;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[101]);
Py_DECREF(tmp_expression_value_12);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 673;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_url);
tmp_args_element_value_6 = par_url;
CHECK_OBJECT(var_resource_type);
tmp_expression_value_14 = var_resource_type;
tmp_args_element_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[103]);
if (tmp_args_element_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_args_element_value_5);
exception_lineno = 674;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
frame_15837221c44c32103e91fa6848e4cf51->m_frame.f_lineno = 673;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6, tmp_args_element_value_7};
tmp_assign_source_9 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_6, call_args);
}
Py_DECREF(tmp_args_element_value_5);
Py_DECREF(tmp_args_element_value_7);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 673;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
assert(var_wadl_resource == NULL);
var_wadl_resource = tmp_assign_source_9;
}
goto branch_end_6;
branch_no_6:;
{
PyObject *tmp_assign_source_10;
PyObject *tmp_called_instance_2;
CHECK_OBJECT(var_representation_definition);
tmp_called_instance_2 = var_representation_definition;
frame_15837221c44c32103e91fa6848e4cf51->m_frame.f_lineno = 682;
tmp_assign_source_10 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[32]);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_representation_definition;
assert(old != NULL);
var_representation_definition = tmp_assign_source_10;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_called_value_7;
PyObject *tmp_args_element_value_8;
PyObject *tmp_expression_value_15;
PyObject *tmp_expression_value_16;
PyObject *tmp_args_element_value_9;
PyObject *tmp_args_element_value_10;
PyObject *tmp_expression_value_17;
tmp_called_value_7 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[150]);
if (unlikely(tmp_called_value_7 == NULL)) {
tmp_called_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[150]);
}
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 683;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_16 = par_self;
tmp_expression_value_15 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[152]);
if (tmp_expression_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 684;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[101]);
Py_DECREF(tmp_expression_value_15);
if (tmp_args_element_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 684;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_url);
tmp_args_element_value_9 = par_url;
CHECK_OBJECT(var_representation_definition);
tmp_expression_value_17 = var_representation_definition;
tmp_args_element_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[103]);
if (tmp_args_element_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_args_element_value_8);
exception_lineno = 684;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
frame_15837221c44c32103e91fa6848e4cf51->m_frame.f_lineno = 683;
{
PyObject *call_args[] = {tmp_args_element_value_8, tmp_args_element_value_9, tmp_args_element_value_10};
tmp_assign_source_11 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_7, call_args);
}
Py_DECREF(tmp_args_element_value_8);
Py_DECREF(tmp_args_element_value_10);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 683;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
assert(var_wadl_resource == NULL);
var_wadl_resource = tmp_assign_source_11;
}
branch_end_6:;
{
PyObject *tmp_called_value_8;
PyObject *tmp_expression_value_18;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_expression_value_19;
PyObject *tmp_kw_call_arg_value_1_1;
PyObject *tmp_kw_call_arg_value_2_1;
PyObject *tmp_kw_call_arg_value_3_1;
PyObject *tmp_kw_call_dict_value_0_1;
PyObject *tmp_kw_call_dict_value_1_1;
tmp_expression_value_18 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_18 == NULL)) {
tmp_expression_value_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 686;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[56]);
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 686;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_19 = par_self;
tmp_kw_call_arg_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[152]);
if (tmp_kw_call_arg_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
exception_lineno = 687;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_wadl_resource);
tmp_kw_call_arg_value_1_1 = var_wadl_resource;
CHECK_OBJECT(var_document);
tmp_kw_call_arg_value_2_1 = var_document;
CHECK_OBJECT(var_content_type);
tmp_kw_call_arg_value_3_1 = var_content_type;
tmp_kw_call_dict_value_0_1 = Py_False;
if (var_representation_definition == NULL) {
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_kw_call_arg_value_0_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[187]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 689;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_kw_call_dict_value_1_1 = var_representation_definition;
frame_15837221c44c32103e91fa6848e4cf51->m_frame.f_lineno = 686;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1, tmp_kw_call_arg_value_1_1, tmp_kw_call_arg_value_2_1, tmp_kw_call_arg_value_3_1};
PyObject *kw_values[2] = {tmp_kw_call_dict_value_0_1, tmp_kw_call_dict_value_1_1};
tmp_return_value = CALL_FUNCTION_WITH_ARGS4_KWSPLIT(tmp_called_value_8, args, kw_values, mod_consts[188]);
}
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_kw_call_arg_value_0_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 686;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_15837221c44c32103e91fa6848e4cf51);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_15837221c44c32103e91fa6848e4cf51);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_15837221c44c32103e91fa6848e4cf51);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_15837221c44c32103e91fa6848e4cf51, exception_lineno);
} else if (exception_tb->tb_frame != &frame_15837221c44c32103e91fa6848e4cf51->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_15837221c44c32103e91fa6848e4cf51, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_15837221c44c32103e91fa6848e4cf51,
type_description_1,
par_self,
par_url,
par_response,
par_content,
var_content_type,
var_response_definition,
var_representation_definition,
var_document,
var_resource_type,
var_wadl_resource
);
// Release cached frame if used for exception.
if (frame_15837221c44c32103e91fa6848e4cf51 == cache_frame_15837221c44c32103e91fa6848e4cf51) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_15837221c44c32103e91fa6848e4cf51);
cache_frame_15837221c44c32103e91fa6848e4cf51 = NULL;
}
assertFrameObject(frame_15837221c44c32103e91fa6848e4cf51);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_url);
par_url = NULL;
Py_XDECREF(par_content);
par_content = NULL;
CHECK_OBJECT(var_content_type);
Py_DECREF(var_content_type);
var_content_type = NULL;
CHECK_OBJECT(var_response_definition);
Py_DECREF(var_response_definition);
var_response_definition = NULL;
Py_XDECREF(var_representation_definition);
var_representation_definition = NULL;
Py_XDECREF(var_document);
var_document = NULL;
Py_XDECREF(var_resource_type);
var_resource_type = NULL;
Py_XDECREF(var_wadl_resource);
var_wadl_resource = 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_url);
par_url = NULL;
Py_XDECREF(par_content);
par_content = NULL;
Py_XDECREF(var_content_type);
var_content_type = NULL;
Py_XDECREF(var_response_definition);
var_response_definition = NULL;
Py_XDECREF(var_representation_definition);
var_representation_definition = NULL;
Py_XDECREF(var_document);
var_document = NULL;
Py_XDECREF(var_resource_type);
var_resource_type = NULL;
Py_XDECREF(var_wadl_resource);
var_wadl_resource = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_response);
Py_DECREF(par_response);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_response);
Py_DECREF(par_response);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__36__get_external_param_name(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_param_name = python_pars[1];
PyObject *tmp_return_value = NULL;
// Actual function body.
CHECK_OBJECT(par_param_name);
tmp_return_value = par_param_name;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_param_name);
Py_DECREF(par_param_name);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__37___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_root = python_pars[1];
PyObject *par_wadl_resource = python_pars[2];
struct Nuitka_FrameObject *frame_65b12e0788320d5e661970194578401d;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_65b12e0788320d5e661970194578401d = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_65b12e0788320d5e661970194578401d)) {
Py_XDECREF(cache_frame_65b12e0788320d5e661970194578401d);
#if _DEBUG_REFCOUNTS
if (cache_frame_65b12e0788320d5e661970194578401d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_65b12e0788320d5e661970194578401d = MAKE_FUNCTION_FRAME(codeobj_65b12e0788320d5e661970194578401d, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_65b12e0788320d5e661970194578401d->m_type_description == NULL);
frame_65b12e0788320d5e661970194578401d = cache_frame_65b12e0788320d5e661970194578401d;
// Push the new frame as the currently active one.
pushFrameStack(frame_65b12e0788320d5e661970194578401d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_65b12e0788320d5e661970194578401d) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_type_arg_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[71]);
if (unlikely(tmp_type_arg_value_1 == NULL)) {
tmp_type_arg_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[71]);
}
if (tmp_type_arg_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_called_instance_1 = BUILTIN_SUPER2(moduledict_lazr$restfulclient$resource, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_root);
tmp_args_element_value_1 = par_root;
CHECK_OBJECT(par_wadl_resource);
tmp_args_element_value_2 = par_wadl_resource;
frame_65b12e0788320d5e661970194578401d->m_frame.f_lineno = 700;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[129],
call_args
);
}
Py_DECREF(tmp_called_instance_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_ass_subscript_1;
tmp_ass_subvalue_1 = MAKE_DICT_EMPTY();
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE_DICT_SLOT(tmp_expression_value_1);
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_ass_subvalue_1);
exception_lineno = 711;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_ass_subscript_1 = mod_consts[191];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subscribed_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 = 711;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_instance_2;
PyObject *tmp_type_arg_value_2;
PyObject *tmp_object_arg_value_2;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
tmp_type_arg_value_2 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[71]);
if (unlikely(tmp_type_arg_value_2 == NULL)) {
tmp_type_arg_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[71]);
}
if (tmp_type_arg_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 712;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_object_arg_value_2 = par_self;
tmp_called_instance_2 = BUILTIN_SUPER2(moduledict_lazr$restfulclient$resource, tmp_type_arg_value_2, tmp_object_arg_value_2);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 712;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_root);
tmp_args_element_value_3 = par_root;
CHECK_OBJECT(par_wadl_resource);
tmp_args_element_value_4 = par_wadl_resource;
frame_65b12e0788320d5e661970194578401d->m_frame.f_lineno = 712;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_call_result_2 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_2,
mod_consts[129],
call_args
);
}
Py_DECREF(tmp_called_instance_2);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 712;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_65b12e0788320d5e661970194578401d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_65b12e0788320d5e661970194578401d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_65b12e0788320d5e661970194578401d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_65b12e0788320d5e661970194578401d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_65b12e0788320d5e661970194578401d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_65b12e0788320d5e661970194578401d,
type_description_1,
par_self,
par_root,
par_wadl_resource,
NULL
);
// Release cached frame if used for exception.
if (frame_65b12e0788320d5e661970194578401d == cache_frame_65b12e0788320d5e661970194578401d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_65b12e0788320d5e661970194578401d);
cache_frame_65b12e0788320d5e661970194578401d = NULL;
}
assertFrameObject(frame_65b12e0788320d5e661970194578401d);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_root);
Py_DECREF(par_root);
CHECK_OBJECT(par_wadl_resource);
Py_DECREF(par_wadl_resource);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_root);
Py_DECREF(par_root);
CHECK_OBJECT(par_wadl_resource);
Py_DECREF(par_wadl_resource);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__38___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];
struct Nuitka_FrameObject *frame_ccb0cfc96033a0d6f12a189dff76f47c;
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_ccb0cfc96033a0d6f12a189dff76f47c = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_ccb0cfc96033a0d6f12a189dff76f47c)) {
Py_XDECREF(cache_frame_ccb0cfc96033a0d6f12a189dff76f47c);
#if _DEBUG_REFCOUNTS
if (cache_frame_ccb0cfc96033a0d6f12a189dff76f47c == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ccb0cfc96033a0d6f12a189dff76f47c = MAKE_FUNCTION_FRAME(codeobj_ccb0cfc96033a0d6f12a189dff76f47c, module_lazr$restfulclient$resource, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ccb0cfc96033a0d6f12a189dff76f47c->m_type_description == NULL);
frame_ccb0cfc96033a0d6f12a189dff76f47c = cache_frame_ccb0cfc96033a0d6f12a189dff76f47c;
// Push the new frame as the currently active one.
pushFrameStack(frame_ccb0cfc96033a0d6f12a189dff76f47c);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ccb0cfc96033a0d6f12a189dff76f47c) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_2;
tmp_mod_expr_left_1 = mod_consts[192];
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[118]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[118]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 717;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[100]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 717;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_ccb0cfc96033a0d6f12a189dff76f47c->m_frame.f_lineno = 717;
tmp_expression_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 717;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[193]);
Py_DECREF(tmp_expression_value_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 717;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_3;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[8]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 717;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_1);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_return_value = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 716;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ccb0cfc96033a0d6f12a189dff76f47c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ccb0cfc96033a0d6f12a189dff76f47c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ccb0cfc96033a0d6f12a189dff76f47c);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ccb0cfc96033a0d6f12a189dff76f47c, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ccb0cfc96033a0d6f12a189dff76f47c->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ccb0cfc96033a0d6f12a189dff76f47c, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ccb0cfc96033a0d6f12a189dff76f47c,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_ccb0cfc96033a0d6f12a189dff76f47c == cache_frame_ccb0cfc96033a0d6f12a189dff76f47c) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ccb0cfc96033a0d6f12a189dff76f47c);
cache_frame_ccb0cfc96033a0d6f12a189dff76f47c = NULL;
}
assertFrameObject(frame_ccb0cfc96033a0d6f12a189dff76f47c);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__39_lp_delete(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_fbe7c136c237e301a42b20705fd25bdf;
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_fbe7c136c237e301a42b20705fd25bdf = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_fbe7c136c237e301a42b20705fd25bdf)) {
Py_XDECREF(cache_frame_fbe7c136c237e301a42b20705fd25bdf);
#if _DEBUG_REFCOUNTS
if (cache_frame_fbe7c136c237e301a42b20705fd25bdf == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_fbe7c136c237e301a42b20705fd25bdf = MAKE_FUNCTION_FRAME(codeobj_fbe7c136c237e301a42b20705fd25bdf, module_lazr$restfulclient$resource, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_fbe7c136c237e301a42b20705fd25bdf->m_type_description == NULL);
frame_fbe7c136c237e301a42b20705fd25bdf = cache_frame_fbe7c136c237e301a42b20705fd25bdf;
// Push the new frame as the currently active one.
pushFrameStack(frame_fbe7c136c237e301a42b20705fd25bdf);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_fbe7c136c237e301a42b20705fd25bdf) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[13]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 721;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[81]);
Py_DECREF(tmp_expression_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 721;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[112]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 721;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[118]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[118]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 721;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[8]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 721;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_fbe7c136c237e301a42b20705fd25bdf->m_frame.f_lineno = 721;
tmp_args_element_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 721;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_fbe7c136c237e301a42b20705fd25bdf->m_frame.f_lineno = 721;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 721;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_fbe7c136c237e301a42b20705fd25bdf);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_fbe7c136c237e301a42b20705fd25bdf);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_fbe7c136c237e301a42b20705fd25bdf);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_fbe7c136c237e301a42b20705fd25bdf, exception_lineno);
} else if (exception_tb->tb_frame != &frame_fbe7c136c237e301a42b20705fd25bdf->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_fbe7c136c237e301a42b20705fd25bdf, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_fbe7c136c237e301a42b20705fd25bdf,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_fbe7c136c237e301a42b20705fd25bdf == cache_frame_fbe7c136c237e301a42b20705fd25bdf) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_fbe7c136c237e301a42b20705fd25bdf);
cache_frame_fbe7c136c237e301a42b20705fd25bdf = NULL;
}
assertFrameObject(frame_fbe7c136c237e301a42b20705fd25bdf);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__40___str__(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_a59410bc0df2db284ec475d100fdfd69;
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_a59410bc0df2db284ec475d100fdfd69 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_a59410bc0df2db284ec475d100fdfd69)) {
Py_XDECREF(cache_frame_a59410bc0df2db284ec475d100fdfd69);
#if _DEBUG_REFCOUNTS
if (cache_frame_a59410bc0df2db284ec475d100fdfd69 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a59410bc0df2db284ec475d100fdfd69 = MAKE_FUNCTION_FRAME(codeobj_a59410bc0df2db284ec475d100fdfd69, module_lazr$restfulclient$resource, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a59410bc0df2db284ec475d100fdfd69->m_type_description == NULL);
frame_a59410bc0df2db284ec475d100fdfd69 = cache_frame_a59410bc0df2db284ec475d100fdfd69;
// Push the new frame as the currently active one.
pushFrameStack(frame_a59410bc0df2db284ec475d100fdfd69);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a59410bc0df2db284ec475d100fdfd69) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[8]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 725;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a59410bc0df2db284ec475d100fdfd69);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a59410bc0df2db284ec475d100fdfd69);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a59410bc0df2db284ec475d100fdfd69);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a59410bc0df2db284ec475d100fdfd69, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a59410bc0df2db284ec475d100fdfd69->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a59410bc0df2db284ec475d100fdfd69, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a59410bc0df2db284ec475d100fdfd69,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_a59410bc0df2db284ec475d100fdfd69 == cache_frame_a59410bc0df2db284ec475d100fdfd69) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a59410bc0df2db284ec475d100fdfd69);
cache_frame_a59410bc0df2db284ec475d100fdfd69 = NULL;
}
assertFrameObject(frame_a59410bc0df2db284ec475d100fdfd69);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__41___getattr__(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_name = python_pars[1];
struct Nuitka_FrameObject *frame_80aa71cd554cd43e23e7025b06287f35;
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_80aa71cd554cd43e23e7025b06287f35 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_80aa71cd554cd43e23e7025b06287f35)) {
Py_XDECREF(cache_frame_80aa71cd554cd43e23e7025b06287f35);
#if _DEBUG_REFCOUNTS
if (cache_frame_80aa71cd554cd43e23e7025b06287f35 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_80aa71cd554cd43e23e7025b06287f35 = MAKE_FUNCTION_FRAME(codeobj_80aa71cd554cd43e23e7025b06287f35, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_80aa71cd554cd43e23e7025b06287f35->m_type_description == NULL);
frame_80aa71cd554cd43e23e7025b06287f35 = cache_frame_80aa71cd554cd43e23e7025b06287f35;
// Push the new frame as the currently active one.
pushFrameStack(frame_80aa71cd554cd43e23e7025b06287f35);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_80aa71cd554cd43e23e7025b06287f35) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_name);
tmp_cmp_expr_left_1 = par_name;
tmp_cmp_expr_right_1 = mod_consts[191];
tmp_condition_result_1 = RICH_COMPARE_NE_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 729;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_name);
tmp_cmp_expr_left_2 = par_name;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[191]);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 730;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_2, tmp_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 730;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[191]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 731;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_name);
tmp_subscript_value_1 = par_name;
tmp_return_value = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 731;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_2:;
branch_no_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_args_element_value_1;
tmp_type_arg_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[71]);
if (unlikely(tmp_type_arg_value_1 == NULL)) {
tmp_type_arg_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[71]);
}
if (tmp_type_arg_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 732;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 732;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
tmp_object_arg_value_1 = par_self;
tmp_called_instance_1 = BUILTIN_SUPER2(moduledict_lazr$restfulclient$resource, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 732;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_name);
tmp_args_element_value_1 = par_name;
frame_80aa71cd554cd43e23e7025b06287f35->m_frame.f_lineno = 732;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[197], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 732;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_80aa71cd554cd43e23e7025b06287f35);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_80aa71cd554cd43e23e7025b06287f35);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_80aa71cd554cd43e23e7025b06287f35);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_80aa71cd554cd43e23e7025b06287f35, exception_lineno);
} else if (exception_tb->tb_frame != &frame_80aa71cd554cd43e23e7025b06287f35->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_80aa71cd554cd43e23e7025b06287f35, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_80aa71cd554cd43e23e7025b06287f35,
type_description_1,
par_self,
par_name,
NULL
);
// Release cached frame if used for exception.
if (frame_80aa71cd554cd43e23e7025b06287f35 == cache_frame_80aa71cd554cd43e23e7025b06287f35) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_80aa71cd554cd43e23e7025b06287f35);
cache_frame_80aa71cd554cd43e23e7025b06287f35 = NULL;
}
assertFrameObject(frame_80aa71cd554cd43e23e7025b06287f35);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__42___setattr__(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_name = python_pars[1];
PyObject *par_value = python_pars[2];
struct Nuitka_FrameObject *frame_d0ebe2130b7e3ed1fb2dc19b3869662d;
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;
static struct Nuitka_FrameObject *cache_frame_d0ebe2130b7e3ed1fb2dc19b3869662d = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_d0ebe2130b7e3ed1fb2dc19b3869662d)) {
Py_XDECREF(cache_frame_d0ebe2130b7e3ed1fb2dc19b3869662d);
#if _DEBUG_REFCOUNTS
if (cache_frame_d0ebe2130b7e3ed1fb2dc19b3869662d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d0ebe2130b7e3ed1fb2dc19b3869662d = MAKE_FUNCTION_FRAME(codeobj_d0ebe2130b7e3ed1fb2dc19b3869662d, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d0ebe2130b7e3ed1fb2dc19b3869662d->m_type_description == NULL);
frame_d0ebe2130b7e3ed1fb2dc19b3869662d = cache_frame_d0ebe2130b7e3ed1fb2dc19b3869662d;
// Push the new frame as the currently active one.
pushFrameStack(frame_d0ebe2130b7e3ed1fb2dc19b3869662d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d0ebe2130b7e3ed1fb2dc19b3869662d) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_name);
tmp_args_element_value_1 = par_name;
frame_d0ebe2130b7e3ed1fb2dc19b3869662d->m_frame.f_lineno = 736;
tmp_operand_value_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[199], tmp_args_element_value_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 736;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 736;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
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_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
tmp_mod_expr_left_1 = mod_consts[200];
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE_CLASS_SLOT(tmp_expression_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 738;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[201]);
Py_DECREF(tmp_expression_value_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 738;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_name);
tmp_tuple_element_1 = par_name;
PyTuple_SET_ITEM0(tmp_mod_expr_right_1, 1, tmp_tuple_element_1);
tmp_make_exception_arg_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_make_exception_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 738;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_d0ebe2130b7e3ed1fb2dc19b3869662d->m_frame.f_lineno = 737;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_AttributeError, tmp_make_exception_arg_1);
Py_DECREF(tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 737;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(par_value);
tmp_ass_subvalue_1 = par_value;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[191]);
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 739;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_name);
tmp_ass_subscript_1 = par_name;
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subscribed_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 739;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_d0ebe2130b7e3ed1fb2dc19b3869662d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d0ebe2130b7e3ed1fb2dc19b3869662d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d0ebe2130b7e3ed1fb2dc19b3869662d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d0ebe2130b7e3ed1fb2dc19b3869662d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d0ebe2130b7e3ed1fb2dc19b3869662d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d0ebe2130b7e3ed1fb2dc19b3869662d,
type_description_1,
par_self,
par_name,
par_value
);
// Release cached frame if used for exception.
if (frame_d0ebe2130b7e3ed1fb2dc19b3869662d == cache_frame_d0ebe2130b7e3ed1fb2dc19b3869662d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d0ebe2130b7e3ed1fb2dc19b3869662d);
cache_frame_d0ebe2130b7e3ed1fb2dc19b3869662d = NULL;
}
assertFrameObject(frame_d0ebe2130b7e3ed1fb2dc19b3869662d);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
CHECK_OBJECT(par_value);
Py_DECREF(par_value);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
CHECK_OBJECT(par_value);
Py_DECREF(par_value);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__43___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_bde88962847dcc9331882f29360c6f82;
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_bde88962847dcc9331882f29360c6f82 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_bde88962847dcc9331882f29360c6f82)) {
Py_XDECREF(cache_frame_bde88962847dcc9331882f29360c6f82);
#if _DEBUG_REFCOUNTS
if (cache_frame_bde88962847dcc9331882f29360c6f82 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_bde88962847dcc9331882f29360c6f82 = MAKE_FUNCTION_FRAME(codeobj_bde88962847dcc9331882f29360c6f82, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_bde88962847dcc9331882f29360c6f82->m_type_description == NULL);
frame_bde88962847dcc9331882f29360c6f82 = cache_frame_bde88962847dcc9331882f29360c6f82;
// Push the new frame as the currently active one.
pushFrameStack(frame_bde88962847dcc9331882f29360c6f82);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_bde88962847dcc9331882f29360c6f82) == 2); // Frame stack
// Framed code:
{
int tmp_and_left_truth_1;
PyObject *tmp_and_left_value_1;
PyObject *tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
int tmp_and_left_truth_2;
PyObject *tmp_and_left_value_2;
PyObject *tmp_and_right_value_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
int tmp_and_left_truth_3;
PyObject *tmp_and_left_value_3;
PyObject *tmp_and_right_value_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(par_other);
tmp_cmp_expr_left_1 = par_other;
tmp_cmp_expr_right_1 = Py_None;
tmp_and_left_value_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? Py_True : Py_False;
tmp_and_left_truth_1 = CHECK_IF_TRUE(tmp_and_left_value_1);
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[8]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 750;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_other);
tmp_expression_value_2 = par_other;
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[8]);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_2);
exception_lineno = 750;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_and_left_value_2 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_and_left_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 750;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_and_left_truth_2 = CHECK_IF_TRUE(tmp_and_left_value_2);
if (tmp_and_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_and_left_value_2);
exception_lineno = 750;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
Py_DECREF(tmp_and_left_value_2);
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_cmp_expr_left_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[203]);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 751;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_other);
tmp_expression_value_4 = par_other;
tmp_cmp_expr_right_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[203]);
if (tmp_cmp_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_3);
exception_lineno = 751;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_and_left_value_3 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
Py_DECREF(tmp_cmp_expr_left_3);
Py_DECREF(tmp_cmp_expr_right_3);
if (tmp_and_left_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 751;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_and_left_truth_3 = CHECK_IF_TRUE(tmp_and_left_value_3);
if (tmp_and_left_truth_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_and_left_value_3);
exception_lineno = 751;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_3 == 1) {
goto and_right_3;
} else {
goto and_left_3;
}
and_right_3:;
Py_DECREF(tmp_and_left_value_3);
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_cmp_expr_left_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[191]);
if (tmp_cmp_expr_left_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 752;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_other);
tmp_expression_value_6 = par_other;
tmp_cmp_expr_right_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[191]);
if (tmp_cmp_expr_right_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_4);
exception_lineno = 752;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_and_right_value_3 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
Py_DECREF(tmp_cmp_expr_left_4);
Py_DECREF(tmp_cmp_expr_right_4);
if (tmp_and_right_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 752;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_and_right_value_2 = tmp_and_right_value_3;
goto and_end_3;
and_left_3:;
tmp_and_right_value_2 = tmp_and_left_value_3;
and_end_3:;
tmp_and_right_value_1 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_and_right_value_1 = tmp_and_left_value_2;
and_end_2:;
tmp_return_value = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
Py_INCREF(tmp_and_left_value_1);
tmp_return_value = tmp_and_left_value_1;
and_end_1:;
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_bde88962847dcc9331882f29360c6f82);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bde88962847dcc9331882f29360c6f82);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bde88962847dcc9331882f29360c6f82);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_bde88962847dcc9331882f29360c6f82, exception_lineno);
} else if (exception_tb->tb_frame != &frame_bde88962847dcc9331882f29360c6f82->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_bde88962847dcc9331882f29360c6f82, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_bde88962847dcc9331882f29360c6f82,
type_description_1,
par_self,
par_other
);
// Release cached frame if used for exception.
if (frame_bde88962847dcc9331882f29360c6f82 == cache_frame_bde88962847dcc9331882f29360c6f82) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_bde88962847dcc9331882f29360c6f82);
cache_frame_bde88962847dcc9331882f29360c6f82 = NULL;
}
assertFrameObject(frame_bde88962847dcc9331882f29360c6f82);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_other);
Py_DECREF(par_other);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_other);
Py_DECREF(par_other);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__44_lp_refresh(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_new_url = python_pars[1];
PyObject *var_etag = NULL;
struct Nuitka_FrameObject *frame_fc970866c36494ddb9c6b58668664ab1;
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;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_fc970866c36494ddb9c6b58668664ab1 = NULL;
PyObject *tmp_return_value = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_fc970866c36494ddb9c6b58668664ab1)) {
Py_XDECREF(cache_frame_fc970866c36494ddb9c6b58668664ab1);
#if _DEBUG_REFCOUNTS
if (cache_frame_fc970866c36494ddb9c6b58668664ab1 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_fc970866c36494ddb9c6b58668664ab1 = MAKE_FUNCTION_FRAME(codeobj_fc970866c36494ddb9c6b58668664ab1, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_fc970866c36494ddb9c6b58668664ab1->m_type_description == NULL);
frame_fc970866c36494ddb9c6b58668664ab1 = cache_frame_fc970866c36494ddb9c6b58668664ab1;
// Push the new frame as the currently active one.
pushFrameStack(frame_fc970866c36494ddb9c6b58668664ab1);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_fc970866c36494ddb9c6b58668664ab1) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
CHECK_OBJECT(par_self);
tmp_getattr_target_1 = par_self;
tmp_getattr_attr_1 = mod_consts[203];
tmp_getattr_default_1 = Py_None;
tmp_assign_source_1 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 756;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
assert(var_etag == NULL);
var_etag = tmp_assign_source_1;
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_type_arg_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[71]);
if (unlikely(tmp_type_arg_value_1 == NULL)) {
tmp_type_arg_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[71]);
}
if (tmp_type_arg_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 757;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_called_instance_1 = BUILTIN_SUPER2(moduledict_lazr$restfulclient$resource, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 757;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_new_url);
tmp_args_element_value_1 = par_new_url;
CHECK_OBJECT(var_etag);
tmp_args_element_value_2 = var_etag;
frame_fc970866c36494ddb9c6b58668664ab1->m_frame.f_lineno = 757;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[179],
call_args
);
}
Py_DECREF(tmp_called_instance_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 757;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[191]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 758;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[205]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 758;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
frame_fc970866c36494ddb9c6b58668664ab1->m_frame.f_lineno = 758;
tmp_call_result_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 758;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_fc970866c36494ddb9c6b58668664ab1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_fc970866c36494ddb9c6b58668664ab1);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_fc970866c36494ddb9c6b58668664ab1, exception_lineno);
} else if (exception_tb->tb_frame != &frame_fc970866c36494ddb9c6b58668664ab1->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_fc970866c36494ddb9c6b58668664ab1, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_fc970866c36494ddb9c6b58668664ab1,
type_description_1,
par_self,
par_new_url,
var_etag,
NULL
);
// Release cached frame if used for exception.
if (frame_fc970866c36494ddb9c6b58668664ab1 == cache_frame_fc970866c36494ddb9c6b58668664ab1) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_fc970866c36494ddb9c6b58668664ab1);
cache_frame_fc970866c36494ddb9c6b58668664ab1 = NULL;
}
assertFrameObject(frame_fc970866c36494ddb9c6b58668664ab1);
// 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;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_etag);
Py_DECREF(var_etag);
var_etag = 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(var_etag);
var_etag = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_new_url);
Py_DECREF(par_new_url);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_new_url);
Py_DECREF(par_new_url);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__45_lp_save(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_representation = NULL;
PyObject *var_headers = NULL;
PyObject *var_etag = NULL;
PyObject *var_response = NULL;
PyObject *var_content = NULL;
PyObject *var_content_type = NULL;
PyObject *var_new_representation = 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;
struct Nuitka_FrameObject *frame_77778c4dff1e9ce64745096e35b57e42;
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 *tmp_dictset_value;
PyObject *tmp_dictset_dict;
PyObject *tmp_dictset_key;
int tmp_res;
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;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_77778c4dff1e9ce64745096e35b57e42 = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_77778c4dff1e9ce64745096e35b57e42)) {
Py_XDECREF(cache_frame_77778c4dff1e9ce64745096e35b57e42);
#if _DEBUG_REFCOUNTS
if (cache_frame_77778c4dff1e9ce64745096e35b57e42 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_77778c4dff1e9ce64745096e35b57e42 = MAKE_FUNCTION_FRAME(codeobj_77778c4dff1e9ce64745096e35b57e42, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_77778c4dff1e9ce64745096e35b57e42->m_type_description == NULL);
frame_77778c4dff1e9ce64745096e35b57e42 = cache_frame_77778c4dff1e9ce64745096e35b57e42;
// Push the new frame as the currently active one.
pushFrameStack(frame_77778c4dff1e9ce64745096e35b57e42);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_77778c4dff1e9ce64745096e35b57e42) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[156]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 762;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[191]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 763;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_77778c4dff1e9ce64745096e35b57e42->m_frame.f_lineno = 762;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 762;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_representation == NULL);
var_representation = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_DICT_EMPTY();
assert(var_headers == NULL);
var_headers = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
CHECK_OBJECT(par_self);
tmp_getattr_target_1 = par_self;
tmp_getattr_attr_1 = mod_consts[203];
tmp_getattr_default_1 = Py_None;
tmp_assign_source_3 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 768;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_etag == NULL);
var_etag = tmp_assign_source_3;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_etag);
tmp_cmp_expr_left_1 = var_etag;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
CHECK_OBJECT(var_etag);
tmp_dictset_value = var_etag;
CHECK_OBJECT(var_headers);
tmp_dictset_dict = var_headers;
tmp_dictset_key = mod_consts[206];
assert(PyDict_CheckExact(tmp_dictset_dict));
tmp_res = PyDict_SetItem(tmp_dictset_dict, tmp_dictset_key, tmp_dictset_value);
assert(!(tmp_res != 0));
branch_no_1:;
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_2;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[13]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 775;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[81]);
Py_DECREF(tmp_expression_value_4);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 775;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[207]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 775;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[118]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[118]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 776;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[8]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 776;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
frame_77778c4dff1e9ce64745096e35b57e42->m_frame.f_lineno = 776;
tmp_args_element_value_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_3);
Py_DECREF(tmp_args_element_value_3);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 776;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_representation);
tmp_args_element_value_4 = var_representation;
if (var_headers == NULL) {
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[82]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 776;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
tmp_args_element_value_5 = var_headers;
frame_77778c4dff1e9ce64745096e35b57e42->m_frame.f_lineno = 775;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_4, tmp_args_element_value_5};
tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 775;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
tmp_assign_source_4 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 775;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
assert(tmp_tuple_unpack_1__source_iter == NULL);
tmp_tuple_unpack_1__source_iter = tmp_assign_source_4;
}
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_5 == 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 = "oooooooo";
exception_lineno = 775;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_1 == NULL);
tmp_tuple_unpack_1__element_1 = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_6 == 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 = "oooooooo";
exception_lineno = 775;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_2 == NULL);
tmp_tuple_unpack_1__element_2 = tmp_assign_source_6;
}
{
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 = "oooooooo";
exception_lineno = 775;
goto try_except_handler_3;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[6];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooo";
exception_lineno = 775;
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(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;
// 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(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_7;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_7 = tmp_tuple_unpack_1__element_1;
assert(var_response == NULL);
Py_INCREF(tmp_assign_source_7);
var_response = tmp_assign_source_7;
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_8;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_8 = tmp_tuple_unpack_1__element_2;
assert(var_content == NULL);
Py_INCREF(tmp_assign_source_8);
var_content = tmp_assign_source_8;
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(var_response);
tmp_expression_value_7 = var_response;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[174]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 777;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = mod_consts[177];
tmp_condition_result_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 777;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_8;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_6;
PyObject *tmp_expression_value_9;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[179]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 778;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_response);
tmp_expression_value_9 = var_response;
tmp_subscript_value_1 = mod_consts[178];
tmp_args_element_value_6 = LOOKUP_SUBSCRIPT(tmp_expression_value_9, tmp_subscript_value_1);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 778;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_77778c4dff1e9ce64745096e35b57e42->m_frame.f_lineno = 778;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_6);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_6);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 778;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_2:;
{
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_10;
PyObject *tmp_expression_value_11;
PyObject *tmp_call_result_2;
CHECK_OBJECT(par_self);
tmp_expression_value_11 = par_self;
tmp_expression_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[191]);
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 779;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[205]);
Py_DECREF(tmp_expression_value_10);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 779;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_77778c4dff1e9ce64745096e35b57e42->m_frame.f_lineno = 779;
tmp_call_result_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_5);
Py_DECREF(tmp_called_value_5);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 779;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_expression_value_12;
PyObject *tmp_subscript_value_2;
CHECK_OBJECT(var_response);
tmp_expression_value_12 = var_response;
tmp_subscript_value_2 = mod_consts[185];
tmp_assign_source_9 = LOOKUP_SUBSCRIPT(tmp_expression_value_12, tmp_subscript_value_2);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_content_type == NULL);
var_content_type = tmp_assign_source_9;
}
{
nuitka_bool tmp_condition_result_3;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_13;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
PyObject *tmp_expression_value_14;
CHECK_OBJECT(var_response);
tmp_expression_value_13 = var_response;
tmp_cmp_expr_left_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[174]);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 782;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = mod_consts[208];
tmp_and_left_value_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_and_left_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 782;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 782;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(var_content_type);
tmp_cmp_expr_left_4 = var_content_type;
CHECK_OBJECT(par_self);
tmp_expression_value_14 = par_self;
tmp_cmp_expr_right_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[41]);
if (tmp_cmp_expr_right_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 782;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
Py_DECREF(tmp_cmp_expr_right_4);
if (tmp_and_right_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 782;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_3 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(var_content);
tmp_isinstance_inst_1 = var_content;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[96]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[96]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 785;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_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 = 785;
type_description_1 = "oooooooo";
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_10;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_15;
CHECK_OBJECT(var_content);
tmp_expression_value_15 = var_content;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[97]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 786;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_77778c4dff1e9ce64745096e35b57e42->m_frame.f_lineno = 786;
tmp_assign_source_10 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_6, mod_consts[98]);
Py_DECREF(tmp_called_value_6);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 786;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_content;
assert(old != NULL);
var_content = tmp_assign_source_10;
Py_DECREF(old);
}
}
branch_no_4:;
{
PyObject *tmp_assign_source_11;
PyObject *tmp_called_value_7;
PyObject *tmp_args_element_value_7;
tmp_called_value_7 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[99]);
if (unlikely(tmp_called_value_7 == NULL)) {
tmp_called_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[99]);
}
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 787;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_content);
tmp_args_element_value_7 = var_content;
frame_77778c4dff1e9ce64745096e35b57e42->m_frame.f_lineno = 787;
tmp_assign_source_11 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_7);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 787;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_new_representation == NULL);
var_new_representation = tmp_assign_source_11;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
PyObject *tmp_expression_value_16;
CHECK_OBJECT(var_new_representation);
tmp_assattr_value_1 = var_new_representation;
CHECK_OBJECT(par_self);
tmp_expression_value_16 = par_self;
tmp_assattr_target_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[14]);
if (tmp_assattr_target_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 788;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[95], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_target_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 788;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
PyObject *tmp_expression_value_17;
CHECK_OBJECT(var_content_type);
tmp_assattr_value_2 = var_content_type;
CHECK_OBJECT(par_self);
tmp_expression_value_17 = par_self;
tmp_assattr_target_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[14]);
if (tmp_assattr_target_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 789;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[209], tmp_assattr_value_2);
Py_DECREF(tmp_assattr_target_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 789;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
}
branch_no_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_77778c4dff1e9ce64745096e35b57e42);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_77778c4dff1e9ce64745096e35b57e42);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_77778c4dff1e9ce64745096e35b57e42, exception_lineno);
} else if (exception_tb->tb_frame != &frame_77778c4dff1e9ce64745096e35b57e42->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_77778c4dff1e9ce64745096e35b57e42, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_77778c4dff1e9ce64745096e35b57e42,
type_description_1,
par_self,
var_representation,
var_headers,
var_etag,
var_response,
var_content,
var_content_type,
var_new_representation
);
// Release cached frame if used for exception.
if (frame_77778c4dff1e9ce64745096e35b57e42 == cache_frame_77778c4dff1e9ce64745096e35b57e42) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_77778c4dff1e9ce64745096e35b57e42);
cache_frame_77778c4dff1e9ce64745096e35b57e42 = NULL;
}
assertFrameObject(frame_77778c4dff1e9ce64745096e35b57e42);
// 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;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_representation);
Py_DECREF(var_representation);
var_representation = NULL;
Py_XDECREF(var_headers);
var_headers = NULL;
CHECK_OBJECT(var_etag);
Py_DECREF(var_etag);
var_etag = NULL;
CHECK_OBJECT(var_response);
Py_DECREF(var_response);
var_response = NULL;
Py_XDECREF(var_content);
var_content = NULL;
CHECK_OBJECT(var_content_type);
Py_DECREF(var_content_type);
var_content_type = NULL;
Py_XDECREF(var_new_representation);
var_new_representation = 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(var_representation);
var_representation = NULL;
Py_XDECREF(var_headers);
var_headers = NULL;
Py_XDECREF(var_etag);
var_etag = NULL;
Py_XDECREF(var_response);
var_response = NULL;
Py_XDECREF(var_content);
var_content = NULL;
Py_XDECREF(var_content_type);
var_content_type = NULL;
Py_XDECREF(var_new_representation);
var_new_representation = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__46___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_root = python_pars[1];
PyObject *par_wadl_resource = python_pars[2];
struct Nuitka_FrameObject *frame_7de4e15190e094c8e69d2c6eb23d8818;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
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_7de4e15190e094c8e69d2c6eb23d8818 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_7de4e15190e094c8e69d2c6eb23d8818)) {
Py_XDECREF(cache_frame_7de4e15190e094c8e69d2c6eb23d8818);
#if _DEBUG_REFCOUNTS
if (cache_frame_7de4e15190e094c8e69d2c6eb23d8818 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7de4e15190e094c8e69d2c6eb23d8818 = MAKE_FUNCTION_FRAME(codeobj_7de4e15190e094c8e69d2c6eb23d8818, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7de4e15190e094c8e69d2c6eb23d8818->m_type_description == NULL);
frame_7de4e15190e094c8e69d2c6eb23d8818 = cache_frame_7de4e15190e094c8e69d2c6eb23d8818;
// Push the new frame as the currently active one.
pushFrameStack(frame_7de4e15190e094c8e69d2c6eb23d8818);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7de4e15190e094c8e69d2c6eb23d8818) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_type_arg_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[73]);
if (unlikely(tmp_type_arg_value_1 == NULL)) {
tmp_type_arg_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[73]);
}
if (tmp_type_arg_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 797;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_called_instance_1 = BUILTIN_SUPER2(moduledict_lazr$restfulclient$resource, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 797;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_root);
tmp_args_element_value_1 = par_root;
CHECK_OBJECT(par_wadl_resource);
tmp_args_element_value_2 = par_wadl_resource;
frame_7de4e15190e094c8e69d2c6eb23d8818->m_frame.f_lineno = 797;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[129],
call_args
);
}
Py_DECREF(tmp_called_instance_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 797;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7de4e15190e094c8e69d2c6eb23d8818);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7de4e15190e094c8e69d2c6eb23d8818);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7de4e15190e094c8e69d2c6eb23d8818, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7de4e15190e094c8e69d2c6eb23d8818->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7de4e15190e094c8e69d2c6eb23d8818, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7de4e15190e094c8e69d2c6eb23d8818,
type_description_1,
par_self,
par_root,
par_wadl_resource,
NULL
);
// Release cached frame if used for exception.
if (frame_7de4e15190e094c8e69d2c6eb23d8818 == cache_frame_7de4e15190e094c8e69d2c6eb23d8818) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7de4e15190e094c8e69d2c6eb23d8818);
cache_frame_7de4e15190e094c8e69d2c6eb23d8818 = NULL;
}
assertFrameObject(frame_7de4e15190e094c8e69d2c6eb23d8818);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_root);
Py_DECREF(par_root);
CHECK_OBJECT(par_wadl_resource);
Py_DECREF(par_wadl_resource);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_root);
Py_DECREF(par_root);
CHECK_OBJECT(par_wadl_resource);
Py_DECREF(par_wadl_resource);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__47___len__(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_total_size = NULL;
struct Nuitka_FrameObject *frame_d5dc125f1c8d8bd0f56c06986c35b4da;
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_d5dc125f1c8d8bd0f56c06986c35b4da = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_d5dc125f1c8d8bd0f56c06986c35b4da)) {
Py_XDECREF(cache_frame_d5dc125f1c8d8bd0f56c06986c35b4da);
#if _DEBUG_REFCOUNTS
if (cache_frame_d5dc125f1c8d8bd0f56c06986c35b4da == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d5dc125f1c8d8bd0f56c06986c35b4da = MAKE_FUNCTION_FRAME(codeobj_d5dc125f1c8d8bd0f56c06986c35b4da, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d5dc125f1c8d8bd0f56c06986c35b4da->m_type_description == NULL);
frame_d5dc125f1c8d8bd0f56c06986c35b4da = cache_frame_d5dc125f1c8d8bd0f56c06986c35b4da;
// Push the new frame as the currently active one.
pushFrameStack(frame_d5dc125f1c8d8bd0f56c06986c35b4da);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d5dc125f1c8d8bd0f56c06986c35b4da) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[212]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 805;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_total_size == NULL);
var_total_size = tmp_assign_source_1;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(var_total_size);
tmp_isinstance_inst_1 = var_total_size;
tmp_isinstance_cls_1 = (PyObject *)&PyLong_Type;
tmp_res = PyObject_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 = 806;
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:;
CHECK_OBJECT(var_total_size);
tmp_return_value = var_total_size;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
goto branch_end_1;
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
CHECK_OBJECT(var_total_size);
tmp_isinstance_inst_2 = var_total_size;
tmp_isinstance_cls_2 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[213]);
if (unlikely(tmp_isinstance_cls_2 == NULL)) {
tmp_isinstance_cls_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[213]);
}
if (tmp_isinstance_cls_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 810;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_2, tmp_isinstance_cls_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 810;
type_description_1 = "oo";
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_expression_value_2;
CHECK_OBJECT(var_total_size);
tmp_expression_value_2 = var_total_size;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[91]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 813;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[214];
frame_d5dc125f1c8d8bd0f56c06986c35b4da->m_frame.f_lineno = 815;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_TypeError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 815;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
goto frame_exception_exit_1;
}
branch_end_2:;
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d5dc125f1c8d8bd0f56c06986c35b4da);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d5dc125f1c8d8bd0f56c06986c35b4da);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d5dc125f1c8d8bd0f56c06986c35b4da);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d5dc125f1c8d8bd0f56c06986c35b4da, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d5dc125f1c8d8bd0f56c06986c35b4da->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d5dc125f1c8d8bd0f56c06986c35b4da, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d5dc125f1c8d8bd0f56c06986c35b4da,
type_description_1,
par_self,
var_total_size
);
// Release cached frame if used for exception.
if (frame_d5dc125f1c8d8bd0f56c06986c35b4da == cache_frame_d5dc125f1c8d8bd0f56c06986c35b4da) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d5dc125f1c8d8bd0f56c06986c35b4da);
cache_frame_d5dc125f1c8d8bd0f56c06986c35b4da = NULL;
}
assertFrameObject(frame_d5dc125f1c8d8bd0f56c06986c35b4da);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_total_size);
var_total_size = 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(var_total_size);
var_total_size = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__48___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 = Nuitka_Cell_New1(python_pars[0]);
PyObject *tmp_return_value = NULL;
// Actual function body.
{
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_closure_1[0] = par_self;
Py_INCREF(tmp_closure_1[0]);
tmp_return_value = MAKE_GENERATOR_lazr$restfulclient$resource$$$function__48___iter__$$$genobj__1___iter__(tmp_closure_1);
goto function_return_exit;
}
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
struct lazr$restfulclient$resource$$$function__48___iter__$$$genobj__1___iter___locals {
PyObject *var_current_page;
PyObject *var_resource;
PyObject *var_next_link;
PyObject *var_next_get;
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;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
int tmp_res;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
int exception_keeper_lineno_2;
};
static PyObject *lazr$restfulclient$resource$$$function__48___iter__$$$genobj__1___iter___context(struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value) {
CHECK_OBJECT(generator);
assert(Nuitka_Generator_Check((PyObject *)generator));
CHECK_OBJECT_X(yield_return_value);
// Heap access if used.
struct lazr$restfulclient$resource$$$function__48___iter__$$$genobj__1___iter___locals *generator_heap = (struct lazr$restfulclient$resource$$$function__48___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 nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_m_frame = NULL;
generator_heap->var_current_page = NULL;
generator_heap->var_resource = NULL;
generator_heap->var_next_link = NULL;
generator_heap->var_next_get = 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 generator function body.
// Tried code:
if (isFrameUnusable(cache_m_frame)) {
Py_XDECREF(cache_m_frame);
#if _DEBUG_REFCOUNTS
if (cache_m_frame == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_60b708407d68650a7d4f139f52a06777, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
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 >= 0x340
Nuitka_SetFrameGenerator(generator->m_frame, (PyObject *)generator);
#endif
assert(generator->m_frame->m_frame.f_back == NULL);
pushFrameStack(generator->m_frame);
// Taking a reference prevents reuse of generator frame while it is being used.
Py_INCREF(generator->m_frame->m_frame.f_back);
#if PYTHON_VERSION >= 0x300
// Accept currently existing exception as the one to publish again when we
// yield or yield from.
{
PyThreadState *thread_state = PyThreadState_GET();
#if PYTHON_VERSION < 0x3b0
EXC_TYPE_F(generator) = EXC_TYPE(thread_state);
if (EXC_TYPE_F(generator) == Py_None) EXC_TYPE_F(generator) = NULL;
Py_XINCREF(EXC_TYPE_F(generator));
#endif
EXC_VALUE_F(generator) = EXC_VALUE(thread_state);
Py_XINCREF(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
ASSIGN_EXC_TRACEBACK_F(generator, EXC_TRACEBACK(thread_state));
Py_XINCREF(EXC_TRACEBACK_F(generator));
#endif
}
#endif
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[10]);
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 = 823;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = Nuitka_Cell_GET(generator->m_closure[0]);
generator->m_frame->m_frame.f_lineno = 823;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[50]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 823;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[10]);
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 = 824;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[14]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 824;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[95]);
Py_DECREF(tmp_expression_value_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 = 824;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
assert(generator_heap->var_current_page == NULL);
generator_heap->var_current_page = tmp_assign_source_1;
}
loop_start_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_arg_element_1;
PyObject *tmp_call_arg_element_2;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[10]);
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 = 826;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[217]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 826;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
if (generator_heap->var_current_page == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[218]);
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 = 827;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = generator_heap->var_current_page;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[1]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_called_value_1);
generator_heap->exception_lineno = 827;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
tmp_call_arg_element_1 = mod_consts[219];
tmp_call_arg_element_2 = MAKE_DICT_EMPTY();
generator->m_frame->m_frame.f_lineno = 827;
{
PyObject *call_args[] = {tmp_call_arg_element_1, tmp_call_arg_element_2};
tmp_args_element_value_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_call_arg_element_2);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_called_value_1);
generator_heap->exception_lineno = 827;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
generator->m_frame->m_frame.f_lineno = 826;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 826;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_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 = 826;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
{
PyObject *old = generator_heap->tmp_for_loop_1__for_iterator;
generator_heap->tmp_for_loop_1__for_iterator = tmp_assign_source_2;
Py_XDECREF(old);
}
}
// Tried code:
loop_start_2:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
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_3 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_3 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_2;
} else {
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "coooo";
generator_heap->exception_lineno = 826;
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_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(generator_heap->tmp_for_loop_1__iter_value);
tmp_assign_source_4 = generator_heap->tmp_for_loop_1__iter_value;
{
PyObject *old = generator_heap->var_resource;
generator_heap->var_resource = tmp_assign_source_4;
Py_INCREF(generator_heap->var_resource);
Py_XDECREF(old);
}
}
{
PyObject *tmp_expression_value_5;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
CHECK_OBJECT(generator_heap->var_resource);
tmp_expression_value_5 = generator_heap->var_resource;
Py_INCREF(tmp_expression_value_5);
generator->m_yield_return_index = 1;
return tmp_expression_value_5;
yield_return_1:
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 = 828;
generator_heap->type_description_1 = "coooo";
goto try_except_handler_2;
}
tmp_yield_result_1 = 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 = 826;
generator_heap->type_description_1 = "coooo";
goto try_except_handler_2;
}
goto loop_start_2;
loop_end_2:;
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(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:;
Py_XDECREF(generator_heap->tmp_for_loop_1__iter_value);
generator_heap->tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(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;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_6;
if (generator_heap->var_current_page == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[218]);
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 = 829;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
tmp_expression_value_6 = generator_heap->var_current_page;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[1]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 829;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
generator->m_frame->m_frame.f_lineno = 829;
tmp_assign_source_5 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[220]);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 829;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
{
PyObject *old = generator_heap->var_next_link;
generator_heap->var_next_link = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(generator_heap->var_next_link);
tmp_cmp_expr_left_1 = generator_heap->var_next_link;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
goto loop_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_7;
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
PyObject *tmp_args_element_value_2;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_3;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[10]);
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 = 832;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
tmp_expression_value_9 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_expression_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[13]);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 832;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
tmp_expression_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[81]);
Py_DECREF(tmp_expression_value_8);
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 832;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[1]);
Py_DECREF(tmp_expression_value_7);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 832;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[118]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[118]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_called_value_4);
generator_heap->exception_lineno = 832;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(generator_heap->var_next_link);
tmp_args_element_value_3 = generator_heap->var_next_link;
generator->m_frame->m_frame.f_lineno = 832;
tmp_args_element_value_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_3);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_called_value_4);
generator_heap->exception_lineno = 832;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
generator->m_frame->m_frame.f_lineno = 832;
tmp_assign_source_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 832;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
{
PyObject *old = generator_heap->var_next_get;
generator_heap->var_next_get = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(generator_heap->var_next_get);
tmp_isinstance_inst_1 = generator_heap->var_next_get;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[96]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[96]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 833;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
generator_heap->tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (generator_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 833;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (generator_heap->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_7;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_10;
CHECK_OBJECT(generator_heap->var_next_get);
tmp_expression_value_10 = generator_heap->var_next_get;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[97]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 834;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
generator->m_frame->m_frame.f_lineno = 834;
tmp_assign_source_7 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_6, mod_consts[98]);
Py_DECREF(tmp_called_value_6);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 834;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
{
PyObject *old = generator_heap->var_next_get;
assert(old != NULL);
generator_heap->var_next_get = tmp_assign_source_7;
Py_DECREF(old);
}
}
branch_no_2:;
{
PyObject *tmp_assign_source_8;
PyObject *tmp_called_value_7;
PyObject *tmp_args_element_value_4;
tmp_called_value_7 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[99]);
if (unlikely(tmp_called_value_7 == NULL)) {
tmp_called_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[99]);
}
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 835;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(generator_heap->var_next_get);
tmp_args_element_value_4 = generator_heap->var_next_get;
generator->m_frame->m_frame.f_lineno = 835;
tmp_assign_source_8 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_4);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 835;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
{
PyObject *old = generator_heap->var_current_page;
generator_heap->var_current_page = tmp_assign_source_8;
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 = 825;
generator_heap->type_description_1 = "coooo";
goto frame_exception_exit_1;
}
goto loop_start_1;
loop_end_1:;
Nuitka_Frame_MarkAsNotExecuting(generator->m_frame);
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#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(
generator->m_frame,
generator_heap->type_description_1,
generator->m_closure[0],
generator_heap->var_current_page,
generator_heap->var_resource,
generator_heap->var_next_link,
generator_heap->var_next_get
);
// Release cached frame if used for exception.
if (generator->m_frame == cache_m_frame) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_m_frame);
cache_m_frame = NULL;
}
assertFrameObject(generator->m_frame);
}
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#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_current_page);
generator_heap->var_current_page = NULL;
Py_XDECREF(generator_heap->var_resource);
generator_heap->var_resource = NULL;
Py_XDECREF(generator_heap->var_next_link);
generator_heap->var_next_link = NULL;
Py_XDECREF(generator_heap->var_next_get);
generator_heap->var_next_get = 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->var_current_page);
generator_heap->var_current_page = NULL;
Py_XDECREF(generator_heap->var_resource);
generator_heap->var_resource = NULL;
CHECK_OBJECT(generator_heap->var_next_link);
Py_DECREF(generator_heap->var_next_link);
generator_heap->var_next_link = NULL;
Py_XDECREF(generator_heap->var_next_get);
generator_heap->var_next_get = 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 *MAKE_GENERATOR_lazr$restfulclient$resource$$$function__48___iter__$$$genobj__1___iter__(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
lazr$restfulclient$resource$$$function__48___iter__$$$genobj__1___iter___context,
module_lazr$restfulclient$resource,
mod_consts[221],
#if PYTHON_VERSION >= 0x350
mod_consts[222],
#endif
codeobj_60b708407d68650a7d4f139f52a06777,
closure,
1,
sizeof(struct lazr$restfulclient$resource$$$function__48___iter__$$$genobj__1___iter___locals)
);
}
static PyObject *impl_lazr$restfulclient$resource$$$function__49___getitem__(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 *var_found_slice = NULL;
struct Nuitka_FrameObject *frame_8a5f5ccab432f0bf7e6e474f15aca2d7;
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;
static struct Nuitka_FrameObject *cache_frame_8a5f5ccab432f0bf7e6e474f15aca2d7 = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_8a5f5ccab432f0bf7e6e474f15aca2d7)) {
Py_XDECREF(cache_frame_8a5f5ccab432f0bf7e6e474f15aca2d7);
#if _DEBUG_REFCOUNTS
if (cache_frame_8a5f5ccab432f0bf7e6e474f15aca2d7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8a5f5ccab432f0bf7e6e474f15aca2d7 = MAKE_FUNCTION_FRAME(codeobj_8a5f5ccab432f0bf7e6e474f15aca2d7, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8a5f5ccab432f0bf7e6e474f15aca2d7->m_type_description == NULL);
frame_8a5f5ccab432f0bf7e6e474f15aca2d7 = cache_frame_8a5f5ccab432f0bf7e6e474f15aca2d7;
// Push the new frame as the currently active one.
pushFrameStack(frame_8a5f5ccab432f0bf7e6e474f15aca2d7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8a5f5ccab432f0bf7e6e474f15aca2d7) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_key);
tmp_isinstance_inst_1 = par_key;
tmp_isinstance_cls_1 = (PyObject *)&PySlice_Type;
tmp_res = PyObject_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 = 846;
type_description_1 = "ooo";
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_called_instance_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_key);
tmp_args_element_value_1 = par_key;
frame_8a5f5ccab432f0bf7e6e474f15aca2d7->m_frame.f_lineno = 847;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[223], tmp_args_element_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 847;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_start_value_1;
PyObject *tmp_stop_value_1;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[223]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 850;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_key);
tmp_start_value_1 = par_key;
CHECK_OBJECT(par_key);
tmp_add_expr_left_1 = par_key;
tmp_add_expr_right_1 = mod_consts[224];
tmp_stop_value_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_LONG(tmp_add_expr_left_1, tmp_add_expr_right_1);
if (tmp_stop_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 850;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = MAKE_SLICEOBJ2(tmp_start_value_1, tmp_stop_value_1);
Py_DECREF(tmp_stop_value_1);
assert(!(tmp_args_element_value_2 == NULL));
frame_8a5f5ccab432f0bf7e6e474f15aca2d7->m_frame.f_lineno = 850;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 850;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_found_slice == NULL);
var_found_slice = tmp_assign_source_1;
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
nuitka_digit tmp_cmp_expr_right_1;
PyObject *tmp_len_arg_1;
CHECK_OBJECT(var_found_slice);
tmp_len_arg_1 = var_found_slice;
tmp_cmp_expr_left_1 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 851;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = 1;
tmp_condition_result_2 = RICH_COMPARE_NE_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[225];
frame_8a5f5ccab432f0bf7e6e474f15aca2d7->m_frame.f_lineno = 852;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_IndexError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 852;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_found_slice);
tmp_expression_value_2 = var_found_slice;
tmp_subscript_value_1 = mod_consts[226];
tmp_return_value = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_2, tmp_subscript_value_1, 0);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 853;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8a5f5ccab432f0bf7e6e474f15aca2d7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8a5f5ccab432f0bf7e6e474f15aca2d7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8a5f5ccab432f0bf7e6e474f15aca2d7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8a5f5ccab432f0bf7e6e474f15aca2d7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8a5f5ccab432f0bf7e6e474f15aca2d7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8a5f5ccab432f0bf7e6e474f15aca2d7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8a5f5ccab432f0bf7e6e474f15aca2d7,
type_description_1,
par_self,
par_key,
var_found_slice
);
// Release cached frame if used for exception.
if (frame_8a5f5ccab432f0bf7e6e474f15aca2d7 == cache_frame_8a5f5ccab432f0bf7e6e474f15aca2d7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8a5f5ccab432f0bf7e6e474f15aca2d7);
cache_frame_8a5f5ccab432f0bf7e6e474f15aca2d7 = NULL;
}
assertFrameObject(frame_8a5f5ccab432f0bf7e6e474f15aca2d7);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_found_slice);
var_found_slice = 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(var_found_slice);
var_found_slice = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_key);
Py_DECREF(par_key);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_key);
Py_DECREF(par_key);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__50__get_slice(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_slice = python_pars[1];
PyObject *var_start = NULL;
PyObject *var_stop = NULL;
PyObject *var_existing_representation = NULL;
PyObject *var_entry_page = NULL;
PyObject *var_first_page_size = NULL;
PyObject *var_entry_dicts = NULL;
PyObject *var_page_url = NULL;
PyObject *var_desired_size = NULL;
PyObject *var_more_needed = NULL;
PyObject *var_page_get = NULL;
PyObject *var_representation = NULL;
PyObject *var_current_page_entries = NULL;
PyObject *outline_0_var_resource = 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_89dee6f4057e7f7a058b454072a2a74f;
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 *tmp_return_value = NULL;
struct Nuitka_FrameObject *frame_185dc9bc2172d1aa6525b72eaf8fdb79_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = 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;
static struct Nuitka_FrameObject *cache_frame_185dc9bc2172d1aa6525b72eaf8fdb79_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_89dee6f4057e7f7a058b454072a2a74f = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_89dee6f4057e7f7a058b454072a2a74f)) {
Py_XDECREF(cache_frame_89dee6f4057e7f7a058b454072a2a74f);
#if _DEBUG_REFCOUNTS
if (cache_frame_89dee6f4057e7f7a058b454072a2a74f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_89dee6f4057e7f7a058b454072a2a74f = MAKE_FUNCTION_FRAME(codeobj_89dee6f4057e7f7a058b454072a2a74f, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_89dee6f4057e7f7a058b454072a2a74f->m_type_description == NULL);
frame_89dee6f4057e7f7a058b454072a2a74f = cache_frame_89dee6f4057e7f7a058b454072a2a74f;
// Push the new frame as the currently active one.
pushFrameStack(frame_89dee6f4057e7f7a058b454072a2a74f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_89dee6f4057e7f7a058b454072a2a74f) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_slice);
tmp_expression_value_1 = par_slice;
tmp_or_left_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[228]);
if (tmp_or_left_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 857;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_or_left_truth_1 = CHECK_IF_TRUE(tmp_or_left_value_1);
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_or_left_value_1);
exception_lineno = 857;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
Py_DECREF(tmp_or_left_value_1);
tmp_or_right_value_1 = mod_consts[226];
Py_INCREF(tmp_or_right_value_1);
tmp_assign_source_1 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_assign_source_1 = tmp_or_left_value_1;
or_end_1:;
assert(var_start == NULL);
var_start = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_slice);
tmp_expression_value_2 = par_slice;
tmp_assign_source_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[229]);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 858;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_stop == NULL);
var_stop = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_start);
tmp_cmp_expr_left_1 = var_start;
tmp_cmp_expr_right_1 = mod_consts[226];
tmp_condition_result_1 = RICH_COMPARE_LT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 860;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
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 = mod_consts[230];
frame_89dee6f4057e7f7a058b454072a2a74f->m_frame.f_lineno = 861;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 861;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(var_stop);
tmp_cmp_expr_left_2 = var_stop;
tmp_cmp_expr_right_2 = mod_consts[226];
tmp_condition_result_2 = RICH_COMPARE_LT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 863;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
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 = mod_consts[231];
frame_89dee6f4057e7f7a058b454072a2a74f->m_frame.f_lineno = 864;
tmp_raise_type_2 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_2);
assert(!(tmp_raise_type_2 == NULL));
exception_type = tmp_raise_type_2;
exception_lineno = 864;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[14]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 867;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[95]);
Py_DECREF(tmp_expression_value_3);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 867;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_existing_representation == NULL);
var_existing_representation = tmp_assign_source_3;
}
{
nuitka_bool tmp_condition_result_3;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
PyObject *tmp_len_arg_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_existing_representation);
tmp_cmp_expr_left_3 = var_existing_representation;
tmp_cmp_expr_right_3 = Py_None;
tmp_and_left_value_1 = (tmp_cmp_expr_left_3 != tmp_cmp_expr_right_3) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(var_start);
tmp_cmp_expr_left_4 = var_start;
CHECK_OBJECT(var_existing_representation);
tmp_expression_value_5 = var_existing_representation;
tmp_subscript_value_1 = mod_consts[219];
tmp_len_arg_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_5, tmp_subscript_value_1);
if (tmp_len_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 869;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_4 = BUILTIN_LEN(tmp_len_arg_1);
Py_DECREF(tmp_len_arg_1);
if (tmp_cmp_expr_right_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 869;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = RICH_COMPARE_LT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
Py_DECREF(tmp_cmp_expr_right_4);
if (tmp_and_right_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 869;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_3 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_6;
PyObject *tmp_subscript_value_2;
CHECK_OBJECT(var_existing_representation);
tmp_expression_value_6 = var_existing_representation;
tmp_subscript_value_2 = mod_consts[219];
tmp_assign_source_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_6, tmp_subscript_value_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 886;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_entry_page == NULL);
var_entry_page = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_len_arg_2;
CHECK_OBJECT(var_entry_page);
tmp_len_arg_2 = var_entry_page;
tmp_assign_source_5 = BUILTIN_LEN(tmp_len_arg_2);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 888;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_first_page_size == NULL);
var_first_page_size = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_subscript_value_3;
PyObject *tmp_start_value_1;
PyObject *tmp_stop_value_1;
CHECK_OBJECT(var_entry_page);
tmp_expression_value_7 = var_entry_page;
CHECK_OBJECT(var_start);
tmp_start_value_1 = var_start;
CHECK_OBJECT(var_stop);
tmp_stop_value_1 = var_stop;
tmp_subscript_value_3 = MAKE_SLICEOBJ2(tmp_start_value_1, tmp_stop_value_1);
assert(!(tmp_subscript_value_3 == NULL));
tmp_assign_source_6 = LOOKUP_SUBSCRIPT(tmp_expression_value_7, tmp_subscript_value_3);
Py_DECREF(tmp_subscript_value_3);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 889;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_entry_dicts == NULL);
var_entry_dicts = tmp_assign_source_6;
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(var_existing_representation);
tmp_expression_value_8 = var_existing_representation;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[1]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 890;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_89dee6f4057e7f7a058b454072a2a74f->m_frame.f_lineno = 890;
tmp_assign_source_7 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[220]);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 890;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_page_url == NULL);
var_page_url = tmp_assign_source_7;
}
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_assign_source_8;
tmp_assign_source_8 = Py_None;
assert(var_first_page_size == NULL);
Py_INCREF(tmp_assign_source_8);
var_first_page_size = tmp_assign_source_8;
}
{
PyObject *tmp_assign_source_9;
tmp_assign_source_9 = MAKE_LIST_EMPTY(0);
assert(var_entry_dicts == NULL);
var_entry_dicts = tmp_assign_source_9;
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_9;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_10;
PyObject *tmp_expression_value_11;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[232]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 899;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_11 = par_self;
tmp_expression_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[14]);
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 900;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[113]);
Py_DECREF(tmp_expression_value_10);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 900;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = mod_consts[233];
CHECK_OBJECT(var_start);
tmp_args_element_value_3 = var_start;
frame_89dee6f4057e7f7a058b454072a2a74f->m_frame.f_lineno = 899;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_assign_source_10 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 899;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_page_url == NULL);
var_page_url = tmp_assign_source_10;
}
branch_end_3:;
{
PyObject *tmp_assign_source_11;
PyObject *tmp_sub_expr_left_1;
PyObject *tmp_sub_expr_right_1;
CHECK_OBJECT(var_stop);
tmp_sub_expr_left_1 = var_stop;
if (var_start == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[228]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 902;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_sub_expr_right_1 = var_start;
tmp_assign_source_11 = BINARY_OPERATION_SUB_OBJECT_OBJECT_OBJECT(tmp_sub_expr_left_1, tmp_sub_expr_right_1);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 902;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_desired_size == NULL);
var_desired_size = tmp_assign_source_11;
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_sub_expr_left_2;
PyObject *tmp_sub_expr_right_2;
PyObject *tmp_len_arg_3;
CHECK_OBJECT(var_desired_size);
tmp_sub_expr_left_2 = var_desired_size;
CHECK_OBJECT(var_entry_dicts);
tmp_len_arg_3 = var_entry_dicts;
tmp_sub_expr_right_2 = BUILTIN_LEN(tmp_len_arg_3);
if (tmp_sub_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 903;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_12 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_sub_expr_left_2, tmp_sub_expr_right_2);
Py_DECREF(tmp_sub_expr_right_2);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 903;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_more_needed == NULL);
var_more_needed = tmp_assign_source_12;
}
loop_start_1:;
{
bool tmp_condition_result_4;
PyObject *tmp_operand_value_1;
int tmp_and_left_truth_2;
PyObject *tmp_and_left_value_2;
PyObject *tmp_and_right_value_2;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
if (var_more_needed == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[234]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 906;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_5 = var_more_needed;
tmp_cmp_expr_right_5 = mod_consts[226];
tmp_and_left_value_2 = RICH_COMPARE_GT_OBJECT_OBJECT_LONG(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
if (tmp_and_left_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 906;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_truth_2 = CHECK_IF_TRUE(tmp_and_left_value_2);
if (tmp_and_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_and_left_value_2);
exception_lineno = 906;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
Py_DECREF(tmp_and_left_value_2);
if (var_page_url == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[235]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 906;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_6 = var_page_url;
tmp_cmp_expr_right_6 = Py_None;
tmp_and_right_value_2 = (tmp_cmp_expr_left_6 != tmp_cmp_expr_right_6) ? Py_True : Py_False;
Py_INCREF(tmp_and_right_value_2);
tmp_operand_value_1 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_operand_value_1 = tmp_and_left_value_2;
and_end_2:;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 906;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
goto loop_end_1;
branch_no_4:;
{
PyObject *tmp_assign_source_13;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_12;
PyObject *tmp_expression_value_13;
PyObject *tmp_expression_value_14;
PyObject *tmp_args_element_value_4;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 907;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_14 = par_self;
tmp_expression_value_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[13]);
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 907;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[81]);
Py_DECREF(tmp_expression_value_13);
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 907;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[1]);
Py_DECREF(tmp_expression_value_12);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 907;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
if (var_page_url == NULL) {
Py_DECREF(tmp_called_value_3);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[235]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 907;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_4 = var_page_url;
frame_89dee6f4057e7f7a058b454072a2a74f->m_frame.f_lineno = 907;
tmp_assign_source_13 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 907;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_page_get;
var_page_get = tmp_assign_source_13;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(var_page_get);
tmp_isinstance_inst_1 = var_page_get;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[96]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[96]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 908;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_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 = 908;
type_description_1 = "oooooooooooooo";
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_14;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_15;
CHECK_OBJECT(var_page_get);
tmp_expression_value_15 = var_page_get;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[97]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 909;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_89dee6f4057e7f7a058b454072a2a74f->m_frame.f_lineno = 909;
tmp_assign_source_14 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_4, mod_consts[98]);
Py_DECREF(tmp_called_value_4);
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 909;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_page_get;
assert(old != NULL);
var_page_get = tmp_assign_source_14;
Py_DECREF(old);
}
}
branch_no_5:;
{
PyObject *tmp_assign_source_15;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_5;
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[99]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[99]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 910;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_page_get);
tmp_args_element_value_5 = var_page_get;
frame_89dee6f4057e7f7a058b454072a2a74f->m_frame.f_lineno = 910;
tmp_assign_source_15 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_5);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 910;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_representation;
var_representation = tmp_assign_source_15;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_expression_value_16;
PyObject *tmp_subscript_value_4;
CHECK_OBJECT(var_representation);
tmp_expression_value_16 = var_representation;
tmp_subscript_value_4 = mod_consts[219];
tmp_assign_source_16 = LOOKUP_SUBSCRIPT(tmp_expression_value_16, tmp_subscript_value_4);
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 911;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_current_page_entries;
var_current_page_entries = tmp_assign_source_16;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
PyObject *tmp_expression_value_17;
PyObject *tmp_subscript_value_5;
PyObject *tmp_stop_value_2;
if (var_entry_dicts == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[236]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 912;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_iadd_expr_left_1 = var_entry_dicts;
CHECK_OBJECT(var_current_page_entries);
tmp_expression_value_17 = var_current_page_entries;
if (var_more_needed == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[234]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 912;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_stop_value_2 = var_more_needed;
tmp_subscript_value_5 = MAKE_SLICEOBJ1(tmp_stop_value_2);
assert(!(tmp_subscript_value_5 == NULL));
tmp_iadd_expr_right_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_17, tmp_subscript_value_5);
Py_DECREF(tmp_subscript_value_5);
if (tmp_iadd_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 912;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_result = INPLACE_OPERATION_ADD_OBJECT_OBJECT(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
Py_DECREF(tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 912;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_17 = tmp_iadd_expr_left_1;
var_entry_dicts = tmp_assign_source_17;
}
{
PyObject *tmp_assign_source_18;
PyObject *tmp_sub_expr_left_3;
PyObject *tmp_sub_expr_right_3;
PyObject *tmp_len_arg_4;
if (var_desired_size == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[237]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 913;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_sub_expr_left_3 = var_desired_size;
CHECK_OBJECT(var_entry_dicts);
tmp_len_arg_4 = var_entry_dicts;
tmp_sub_expr_right_3 = BUILTIN_LEN(tmp_len_arg_4);
if (tmp_sub_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 913;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_18 = BINARY_OPERATION_SUB_OBJECT_OBJECT_LONG(tmp_sub_expr_left_3, tmp_sub_expr_right_3);
Py_DECREF(tmp_sub_expr_right_3);
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 913;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_more_needed;
var_more_needed = tmp_assign_source_18;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_19;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_18;
CHECK_OBJECT(var_representation);
tmp_expression_value_18 = var_representation;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[1]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 915;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_89dee6f4057e7f7a058b454072a2a74f->m_frame.f_lineno = 915;
tmp_assign_source_19 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_6, mod_consts[220]);
Py_DECREF(tmp_called_value_6);
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 915;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_page_url;
var_page_url = tmp_assign_source_19;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
CHECK_OBJECT(var_page_url);
tmp_cmp_expr_left_7 = var_page_url;
tmp_cmp_expr_right_7 = Py_None;
tmp_condition_result_6 = (tmp_cmp_expr_left_7 == tmp_cmp_expr_right_7) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
goto loop_end_1;
branch_no_6:;
{
bool tmp_condition_result_7;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
if (var_first_page_size == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[238]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 920;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_8 = var_first_page_size;
tmp_cmp_expr_right_8 = Py_None;
tmp_condition_result_7 = (tmp_cmp_expr_left_8 == tmp_cmp_expr_right_8) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_assign_source_20;
PyObject *tmp_len_arg_5;
CHECK_OBJECT(var_current_page_entries);
tmp_len_arg_5 = var_current_page_entries;
tmp_assign_source_20 = BUILTIN_LEN(tmp_len_arg_5);
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 921;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_first_page_size;
var_first_page_size = tmp_assign_source_20;
Py_XDECREF(old);
}
}
branch_no_7:;
{
nuitka_bool tmp_condition_result_8;
int tmp_and_left_truth_3;
nuitka_bool tmp_and_left_value_3;
nuitka_bool tmp_and_right_value_3;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
PyObject *tmp_cmp_expr_left_10;
PyObject *tmp_cmp_expr_right_10;
CHECK_OBJECT(var_more_needed);
tmp_cmp_expr_left_9 = var_more_needed;
tmp_cmp_expr_right_9 = mod_consts[226];
tmp_and_left_value_3 = RICH_COMPARE_GT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_9, tmp_cmp_expr_right_9);
if (tmp_and_left_value_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 922;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_truth_3 = tmp_and_left_value_3 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 922;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_3 == 1) {
goto and_right_3;
} else {
goto and_left_3;
}
and_right_3:;
CHECK_OBJECT(var_more_needed);
tmp_cmp_expr_left_10 = var_more_needed;
if (var_first_page_size == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[238]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 922;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_10 = var_first_page_size;
tmp_and_right_value_3 = RICH_COMPARE_LT_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_10, tmp_cmp_expr_right_10);
if (tmp_and_right_value_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 922;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_8 = tmp_and_right_value_3;
goto and_end_3;
and_left_3:;
tmp_condition_result_8 = tmp_and_left_value_3;
and_end_3:;
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_assign_source_21;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 930;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = par_self;
CHECK_OBJECT(var_page_url);
tmp_args_element_value_6 = var_page_url;
tmp_args_element_value_7 = mod_consts[239];
CHECK_OBJECT(var_more_needed);
tmp_args_element_value_8 = var_more_needed;
frame_89dee6f4057e7f7a058b454072a2a74f->m_frame.f_lineno = 930;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7, tmp_args_element_value_8};
tmp_assign_source_21 = CALL_METHOD_WITH_ARGS3(
tmp_called_instance_1,
mod_consts[232],
call_args
);
}
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 930;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_page_url;
assert(old != NULL);
var_page_url = tmp_assign_source_21;
Py_DECREF(old);
}
}
branch_no_8:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 906;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
goto loop_start_1;
loop_end_1:;
{
bool tmp_condition_result_9;
PyObject *tmp_cmp_expr_left_11;
PyObject *tmp_cmp_expr_right_11;
PyObject *tmp_expression_value_19;
CHECK_OBJECT(par_slice);
tmp_expression_value_19 = par_slice;
tmp_cmp_expr_left_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[240]);
if (tmp_cmp_expr_left_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 933;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_11 = Py_None;
tmp_condition_result_9 = (tmp_cmp_expr_left_11 != tmp_cmp_expr_right_11) ? true : false;
Py_DECREF(tmp_cmp_expr_left_11);
if (tmp_condition_result_9 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_assign_source_22;
PyObject *tmp_expression_value_20;
PyObject *tmp_subscript_value_6;
PyObject *tmp_start_value_2;
PyObject *tmp_stop_value_3;
PyObject *tmp_step_value_1;
PyObject *tmp_expression_value_21;
if (var_entry_dicts == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[236]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 934;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_20 = var_entry_dicts;
tmp_start_value_2 = Py_None;
tmp_stop_value_3 = Py_None;
CHECK_OBJECT(par_slice);
tmp_expression_value_21 = par_slice;
tmp_step_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_21, mod_consts[240]);
if (tmp_step_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 934;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_6 = MAKE_SLICEOBJ3(tmp_start_value_2, tmp_stop_value_3, tmp_step_value_1);
Py_DECREF(tmp_step_value_1);
assert(!(tmp_subscript_value_6 == NULL));
tmp_assign_source_22 = LOOKUP_SUBSCRIPT(tmp_expression_value_20, tmp_subscript_value_6);
Py_DECREF(tmp_subscript_value_6);
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 934;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_entry_dicts;
var_entry_dicts = tmp_assign_source_22;
Py_XDECREF(old);
}
}
branch_no_9:;
// Tried code:
{
PyObject *tmp_assign_source_23;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_22;
PyObject *tmp_args_element_value_9;
if (par_self == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[10]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 938;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_expression_value_22 = par_self;
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_22, mod_consts[217]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 938;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
if (var_entry_dicts == NULL) {
Py_DECREF(tmp_called_value_7);
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[236]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 938;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_args_element_value_9 = var_entry_dicts;
frame_89dee6f4057e7f7a058b454072a2a74f->m_frame.f_lineno = 938;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_9);
Py_DECREF(tmp_called_value_7);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 938;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_assign_source_23 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 937;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
assert(tmp_listcomp_1__$0 == NULL);
tmp_listcomp_1__$0 = tmp_assign_source_23;
}
{
PyObject *tmp_assign_source_24;
tmp_assign_source_24 = MAKE_LIST_EMPTY(0);
assert(tmp_listcomp_1__contraction == NULL);
tmp_listcomp_1__contraction = tmp_assign_source_24;
}
if (isFrameUnusable(cache_frame_185dc9bc2172d1aa6525b72eaf8fdb79_2)) {
Py_XDECREF(cache_frame_185dc9bc2172d1aa6525b72eaf8fdb79_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_185dc9bc2172d1aa6525b72eaf8fdb79_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_185dc9bc2172d1aa6525b72eaf8fdb79_2 = MAKE_FUNCTION_FRAME(codeobj_185dc9bc2172d1aa6525b72eaf8fdb79, module_lazr$restfulclient$resource, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_185dc9bc2172d1aa6525b72eaf8fdb79_2->m_type_description == NULL);
frame_185dc9bc2172d1aa6525b72eaf8fdb79_2 = cache_frame_185dc9bc2172d1aa6525b72eaf8fdb79_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_185dc9bc2172d1aa6525b72eaf8fdb79_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_185dc9bc2172d1aa6525b72eaf8fdb79_2) == 2); // Frame stack
// Framed code:
// Tried code:
loop_start_2:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_25;
CHECK_OBJECT(tmp_listcomp_1__$0);
tmp_next_source_1 = tmp_listcomp_1__$0;
tmp_assign_source_25 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_25 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_2;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_2 = "o";
exception_lineno = 937;
goto try_except_handler_3;
}
}
{
PyObject *old = tmp_listcomp_1__iter_value_0;
tmp_listcomp_1__iter_value_0 = tmp_assign_source_25;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_26;
CHECK_OBJECT(tmp_listcomp_1__iter_value_0);
tmp_assign_source_26 = tmp_listcomp_1__iter_value_0;
{
PyObject *old = outline_0_var_resource;
outline_0_var_resource = tmp_assign_source_26;
Py_INCREF(outline_0_var_resource);
Py_XDECREF(old);
}
}
{
PyObject *tmp_append_list_1;
PyObject *tmp_append_value_1;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_append_list_1 = tmp_listcomp_1__contraction;
CHECK_OBJECT(outline_0_var_resource);
tmp_append_value_1 = outline_0_var_resource;
assert(PyList_Check(tmp_append_list_1));
tmp_result = LIST_APPEND0(tmp_append_list_1, tmp_append_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 937;
type_description_2 = "o";
goto try_except_handler_3;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 937;
type_description_2 = "o";
goto try_except_handler_3;
}
goto loop_start_2;
loop_end_2:;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_return_value = tmp_listcomp_1__contraction;
Py_INCREF(tmp_return_value);
goto try_return_handler_3;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(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(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(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_185dc9bc2172d1aa6525b72eaf8fdb79_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_185dc9bc2172d1aa6525b72eaf8fdb79_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_185dc9bc2172d1aa6525b72eaf8fdb79_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_185dc9bc2172d1aa6525b72eaf8fdb79_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_185dc9bc2172d1aa6525b72eaf8fdb79_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_185dc9bc2172d1aa6525b72eaf8fdb79_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_185dc9bc2172d1aa6525b72eaf8fdb79_2,
type_description_2,
outline_0_var_resource
);
// Release cached frame if used for exception.
if (frame_185dc9bc2172d1aa6525b72eaf8fdb79_2 == cache_frame_185dc9bc2172d1aa6525b72eaf8fdb79_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_185dc9bc2172d1aa6525b72eaf8fdb79_2);
cache_frame_185dc9bc2172d1aa6525b72eaf8fdb79_2 = NULL;
}
assertFrameObject(frame_185dc9bc2172d1aa6525b72eaf8fdb79_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 = "oooooooooooooo";
goto try_except_handler_2;
skip_nested_handling_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
Py_XDECREF(outline_0_var_resource);
outline_0_var_resource = 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_resource);
outline_0_var_resource = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 937;
goto frame_exception_exit_1;
outline_result_1:;
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_89dee6f4057e7f7a058b454072a2a74f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_89dee6f4057e7f7a058b454072a2a74f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_89dee6f4057e7f7a058b454072a2a74f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_89dee6f4057e7f7a058b454072a2a74f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_89dee6f4057e7f7a058b454072a2a74f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_89dee6f4057e7f7a058b454072a2a74f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_89dee6f4057e7f7a058b454072a2a74f,
type_description_1,
par_self,
par_slice,
var_start,
var_stop,
var_existing_representation,
var_entry_page,
var_first_page_size,
var_entry_dicts,
var_page_url,
var_desired_size,
var_more_needed,
var_page_get,
var_representation,
var_current_page_entries
);
// Release cached frame if used for exception.
if (frame_89dee6f4057e7f7a058b454072a2a74f == cache_frame_89dee6f4057e7f7a058b454072a2a74f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_89dee6f4057e7f7a058b454072a2a74f);
cache_frame_89dee6f4057e7f7a058b454072a2a74f = NULL;
}
assertFrameObject(frame_89dee6f4057e7f7a058b454072a2a74f);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_2:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_start);
var_start = NULL;
CHECK_OBJECT(var_stop);
Py_DECREF(var_stop);
var_stop = NULL;
CHECK_OBJECT(var_existing_representation);
Py_DECREF(var_existing_representation);
var_existing_representation = NULL;
Py_XDECREF(var_entry_page);
var_entry_page = NULL;
Py_XDECREF(var_first_page_size);
var_first_page_size = NULL;
Py_XDECREF(var_entry_dicts);
var_entry_dicts = NULL;
Py_XDECREF(var_page_url);
var_page_url = NULL;
Py_XDECREF(var_desired_size);
var_desired_size = NULL;
Py_XDECREF(var_more_needed);
var_more_needed = NULL;
Py_XDECREF(var_page_get);
var_page_get = NULL;
Py_XDECREF(var_representation);
var_representation = NULL;
Py_XDECREF(var_current_page_entries);
var_current_page_entries = 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(var_start);
var_start = NULL;
Py_XDECREF(var_stop);
var_stop = NULL;
Py_XDECREF(var_existing_representation);
var_existing_representation = NULL;
Py_XDECREF(var_entry_page);
var_entry_page = NULL;
Py_XDECREF(var_first_page_size);
var_first_page_size = NULL;
Py_XDECREF(var_entry_dicts);
var_entry_dicts = NULL;
Py_XDECREF(var_page_url);
var_page_url = NULL;
Py_XDECREF(var_desired_size);
var_desired_size = NULL;
Py_XDECREF(var_more_needed);
var_more_needed = NULL;
Py_XDECREF(var_page_get);
var_page_get = NULL;
Py_XDECREF(var_representation);
var_representation = NULL;
Py_XDECREF(var_current_page_entries);
var_current_page_entries = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_slice);
Py_DECREF(par_slice);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_slice);
Py_DECREF(par_slice);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__51__convert_dicts_to_entries(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 = Nuitka_Cell_New1(python_pars[0]);
struct Nuitka_CellObject *par_entries = Nuitka_Cell_New1(python_pars[1]);
PyObject *tmp_return_value = NULL;
// Actual function body.
{
struct Nuitka_CellObject *tmp_closure_1[2];
tmp_closure_1[0] = par_entries;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = par_self;
Py_INCREF(tmp_closure_1[1]);
tmp_return_value = MAKE_GENERATOR_lazr$restfulclient$resource$$$function__51__convert_dicts_to_entries$$$genobj__1__convert_dicts_to_entries(tmp_closure_1);
goto function_return_exit;
}
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_entries);
Py_DECREF(par_entries);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
struct lazr$restfulclient$resource$$$function__51__convert_dicts_to_entries$$$genobj__1__convert_dicts_to_entries_locals {
PyObject *var_entry_dict;
PyObject *var_resource_url;
PyObject *var_resource_type_link;
PyObject *var_wadl_application;
PyObject *var_resource_type;
PyObject *var_resource;
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 *lazr$restfulclient$resource$$$function__51__convert_dicts_to_entries$$$genobj__1__convert_dicts_to_entries_context(struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value) {
CHECK_OBJECT(generator);
assert(Nuitka_Generator_Check((PyObject *)generator));
CHECK_OBJECT_X(yield_return_value);
// Heap access if used.
struct lazr$restfulclient$resource$$$function__51__convert_dicts_to_entries$$$genobj__1__convert_dicts_to_entries_locals *generator_heap = (struct lazr$restfulclient$resource$$$function__51__convert_dicts_to_entries$$$genobj__1__convert_dicts_to_entries_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 nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_m_frame = NULL;
generator_heap->var_entry_dict = NULL;
generator_heap->var_resource_url = NULL;
generator_heap->var_resource_type_link = NULL;
generator_heap->var_wadl_application = NULL;
generator_heap->var_resource_type = NULL;
generator_heap->var_resource = 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 generator function body.
// Tried code:
if (isFrameUnusable(cache_m_frame)) {
Py_XDECREF(cache_m_frame);
#if _DEBUG_REFCOUNTS
if (cache_m_frame == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_85f4131b897f4785044339e1f00c3bd6, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
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 >= 0x340
Nuitka_SetFrameGenerator(generator->m_frame, (PyObject *)generator);
#endif
assert(generator->m_frame->m_frame.f_back == NULL);
pushFrameStack(generator->m_frame);
// Taking a reference prevents reuse of generator frame while it is being used.
Py_INCREF(generator->m_frame->m_frame.f_back);
#if PYTHON_VERSION >= 0x300
// Accept currently existing exception as the one to publish again when we
// yield or yield from.
{
PyThreadState *thread_state = PyThreadState_GET();
#if PYTHON_VERSION < 0x3b0
EXC_TYPE_F(generator) = EXC_TYPE(thread_state);
if (EXC_TYPE_F(generator) == Py_None) EXC_TYPE_F(generator) = NULL;
Py_XINCREF(EXC_TYPE_F(generator));
#endif
EXC_VALUE_F(generator) = EXC_VALUE(thread_state);
Py_XINCREF(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
ASSIGN_EXC_TRACEBACK_F(generator, EXC_TRACEBACK(thread_state));
Py_XINCREF(EXC_TRACEBACK_F(generator));
#endif
}
#endif
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[219]);
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 = 952;
generator_heap->type_description_1 = "ccoooooo";
goto frame_exception_exit_1;
}
tmp_iter_arg_1 = Nuitka_Cell_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 = 952;
generator_heap->type_description_1 = "ccoooooo";
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 = "ccoooooo";
generator_heap->exception_lineno = 952;
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_entry_dict;
generator_heap->var_entry_dict = tmp_assign_source_3;
Py_INCREF(generator_heap->var_entry_dict);
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(generator_heap->var_entry_dict);
tmp_expression_value_1 = generator_heap->var_entry_dict;
tmp_subscript_value_1 = mod_consts[8];
tmp_assign_source_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 953;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
{
PyObject *old = generator_heap->var_resource_url;
generator_heap->var_resource_url = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_2;
CHECK_OBJECT(generator_heap->var_entry_dict);
tmp_expression_value_2 = generator_heap->var_entry_dict;
tmp_subscript_value_2 = mod_consts[100];
tmp_assign_source_5 = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_2);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 954;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
{
PyObject *old = generator_heap->var_resource_type_link;
generator_heap->var_resource_type_link = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
if (Nuitka_Cell_GET(generator->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[10]);
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 = 955;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
tmp_expression_value_4 = Nuitka_Cell_GET(generator->m_closure[1]);
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[14]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 955;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
tmp_assign_source_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[243]);
Py_DECREF(tmp_expression_value_3);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 955;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
{
PyObject *old = generator_heap->var_wadl_application;
generator_heap->var_wadl_application = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(generator_heap->var_wadl_application);
tmp_called_instance_1 = generator_heap->var_wadl_application;
CHECK_OBJECT(generator_heap->var_resource_type_link);
tmp_args_element_value_1 = generator_heap->var_resource_type_link;
generator->m_frame->m_frame.f_lineno = 956;
tmp_assign_source_7 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[102], tmp_args_element_value_1);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 956;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
{
PyObject *old = generator_heap->var_resource_type;
generator_heap->var_resource_type = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_7;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[150]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[150]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 958;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
if (Nuitka_Cell_GET(generator->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[10]);
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 = 959;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
tmp_expression_value_6 = Nuitka_Cell_GET(generator->m_closure[1]);
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[14]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 959;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[243]);
Py_DECREF(tmp_expression_value_5);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 959;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(generator_heap->var_resource_url);
tmp_args_element_value_3 = generator_heap->var_resource_url;
CHECK_OBJECT(generator_heap->var_resource_type);
tmp_expression_value_7 = generator_heap->var_resource_type;
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[103]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_args_element_value_2);
generator_heap->exception_lineno = 960;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
generator->m_frame->m_frame.f_lineno = 958;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4};
tmp_assign_source_8 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_4);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 958;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
{
PyObject *old = generator_heap->var_resource;
generator_heap->var_resource = tmp_assign_source_8;
Py_XDECREF(old);
}
}
{
PyObject *tmp_expression_value_8;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_9;
PyObject *tmp_args_element_value_5;
PyObject *tmp_expression_value_10;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
PyObject *tmp_expression_value_11;
PyObject *tmp_args_element_value_9;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
tmp_expression_value_9 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_9 == NULL)) {
tmp_expression_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 961;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[56]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 961;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
if (Nuitka_Cell_GET(generator->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[10]);
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 = 962;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
tmp_expression_value_10 = Nuitka_Cell_GET(generator->m_closure[1]);
tmp_args_element_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[13]);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_called_value_2);
generator_heap->exception_lineno = 962;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(generator_heap->var_resource);
tmp_args_element_value_6 = generator_heap->var_resource;
CHECK_OBJECT(generator_heap->var_entry_dict);
tmp_args_element_value_7 = generator_heap->var_entry_dict;
if (Nuitka_Cell_GET(generator->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_5);
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[10]);
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 = 962;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
tmp_expression_value_11 = Nuitka_Cell_GET(generator->m_closure[1]);
tmp_args_element_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[41]);
if (tmp_args_element_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_5);
generator_heap->exception_lineno = 962;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
tmp_args_element_value_9 = Py_False;
generator->m_frame->m_frame.f_lineno = 961;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6, tmp_args_element_value_7, tmp_args_element_value_8, tmp_args_element_value_9};
tmp_expression_value_8 = CALL_FUNCTION_WITH_ARGS5(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_5);
Py_DECREF(tmp_args_element_value_8);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 961;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_called_value_2, sizeof(PyObject *), &tmp_expression_value_9, sizeof(PyObject *), &tmp_args_element_value_5, sizeof(PyObject *), &tmp_expression_value_10, sizeof(PyObject *), &tmp_args_element_value_6, sizeof(PyObject *), &tmp_args_element_value_7, sizeof(PyObject *), &tmp_args_element_value_8, sizeof(PyObject *), &tmp_expression_value_11, sizeof(PyObject *), &tmp_args_element_value_9, sizeof(PyObject *), NULL);
generator->m_yield_return_index = 1;
return tmp_expression_value_8;
yield_return_1:
Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_called_value_2, sizeof(PyObject *), &tmp_expression_value_9, sizeof(PyObject *), &tmp_args_element_value_5, sizeof(PyObject *), &tmp_expression_value_10, sizeof(PyObject *), &tmp_args_element_value_6, sizeof(PyObject *), &tmp_args_element_value_7, sizeof(PyObject *), &tmp_args_element_value_8, sizeof(PyObject *), &tmp_expression_value_11, sizeof(PyObject *), &tmp_args_element_value_9, 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 = 961;
generator_heap->type_description_1 = "ccoooooo";
goto try_except_handler_2;
}
tmp_yield_result_1 = 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 = 952;
generator_heap->type_description_1 = "ccoooooo";
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(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 >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#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(
generator->m_frame,
generator_heap->type_description_1,
generator->m_closure[1],
generator->m_closure[0],
generator_heap->var_entry_dict,
generator_heap->var_resource_url,
generator_heap->var_resource_type_link,
generator_heap->var_wadl_application,
generator_heap->var_resource_type,
generator_heap->var_resource
);
// Release cached frame if used for exception.
if (generator->m_frame == cache_m_frame) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_m_frame);
cache_m_frame = NULL;
}
assertFrameObject(generator->m_frame);
}
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#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_entry_dict);
generator_heap->var_entry_dict = NULL;
Py_XDECREF(generator_heap->var_resource_url);
generator_heap->var_resource_url = NULL;
Py_XDECREF(generator_heap->var_resource_type_link);
generator_heap->var_resource_type_link = NULL;
Py_XDECREF(generator_heap->var_wadl_application);
generator_heap->var_wadl_application = NULL;
Py_XDECREF(generator_heap->var_resource_type);
generator_heap->var_resource_type = NULL;
Py_XDECREF(generator_heap->var_resource);
generator_heap->var_resource = 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(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_entry_dict);
generator_heap->var_entry_dict = NULL;
Py_XDECREF(generator_heap->var_resource_url);
generator_heap->var_resource_url = NULL;
Py_XDECREF(generator_heap->var_resource_type_link);
generator_heap->var_resource_type_link = NULL;
Py_XDECREF(generator_heap->var_wadl_application);
generator_heap->var_wadl_application = NULL;
Py_XDECREF(generator_heap->var_resource_type);
generator_heap->var_resource_type = NULL;
Py_XDECREF(generator_heap->var_resource);
generator_heap->var_resource = 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 *MAKE_GENERATOR_lazr$restfulclient$resource$$$function__51__convert_dicts_to_entries$$$genobj__1__convert_dicts_to_entries(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
lazr$restfulclient$resource$$$function__51__convert_dicts_to_entries$$$genobj__1__convert_dicts_to_entries_context,
module_lazr$restfulclient$resource,
mod_consts[217],
#if PYTHON_VERSION >= 0x350
mod_consts[244],
#endif
codeobj_85f4131b897f4785044339e1f00c3bd6,
closure,
2,
sizeof(struct lazr$restfulclient$resource$$$function__51__convert_dicts_to_entries$$$genobj__1__convert_dicts_to_entries_locals)
);
}
static PyObject *impl_lazr$restfulclient$resource$$$function__52__with_url_query_variable_set(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_url = python_pars[1];
PyObject *par_variable = python_pars[2];
PyObject *par_new_value = python_pars[3];
PyObject *var_uri = NULL;
PyObject *var_params = NULL;
struct Nuitka_FrameObject *frame_bc31093fcf822268ba231f923f06b3da;
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 *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_bc31093fcf822268ba231f923f06b3da = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_bc31093fcf822268ba231f923f06b3da)) {
Py_XDECREF(cache_frame_bc31093fcf822268ba231f923f06b3da);
#if _DEBUG_REFCOUNTS
if (cache_frame_bc31093fcf822268ba231f923f06b3da == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_bc31093fcf822268ba231f923f06b3da = MAKE_FUNCTION_FRAME(codeobj_bc31093fcf822268ba231f923f06b3da, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_bc31093fcf822268ba231f923f06b3da->m_type_description == NULL);
frame_bc31093fcf822268ba231f923f06b3da = cache_frame_bc31093fcf822268ba231f923f06b3da;
// Push the new frame as the currently active one.
pushFrameStack(frame_bc31093fcf822268ba231f923f06b3da);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_bc31093fcf822268ba231f923f06b3da) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[118]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[118]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 967;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_url);
tmp_args_element_value_1 = par_url;
frame_bc31093fcf822268ba231f923f06b3da->m_frame.f_lineno = 967;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 967;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_uri == NULL);
var_uri = tmp_assign_source_1;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(var_uri);
tmp_expression_value_1 = var_uri;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[245]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 968;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_DICT_EMPTY();
assert(var_params == NULL);
var_params = tmp_assign_source_2;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[246]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[246]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 971;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_uri);
tmp_expression_value_2 = var_uri;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[245]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 971;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_bc31093fcf822268ba231f923f06b3da->m_frame.f_lineno = 971;
tmp_assign_source_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 971;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_params == NULL);
var_params = tmp_assign_source_3;
}
branch_end_1:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_unicode_arg_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(par_new_value);
tmp_unicode_arg_1 = par_new_value;
tmp_ass_subvalue_1 = PyObject_Unicode(tmp_unicode_arg_1);
if (tmp_ass_subvalue_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 972;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_params);
tmp_ass_subscribed_1 = var_params;
CHECK_OBJECT(par_variable);
tmp_ass_subscript_1 = par_variable;
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 = 972;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_assattr_target_1;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[247]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[247]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 973;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_params);
tmp_args_element_value_3 = var_params;
tmp_args_element_value_4 = Py_True;
frame_bc31093fcf822268ba231f923f06b3da->m_frame.f_lineno = 973;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_assattr_value_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 973;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_uri);
tmp_assattr_target_1 = var_uri;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[245], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 973;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_unicode_arg_2;
CHECK_OBJECT(var_uri);
tmp_unicode_arg_2 = var_uri;
tmp_return_value = PyObject_Unicode(tmp_unicode_arg_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 974;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_bc31093fcf822268ba231f923f06b3da);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bc31093fcf822268ba231f923f06b3da);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bc31093fcf822268ba231f923f06b3da);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_bc31093fcf822268ba231f923f06b3da, exception_lineno);
} else if (exception_tb->tb_frame != &frame_bc31093fcf822268ba231f923f06b3da->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_bc31093fcf822268ba231f923f06b3da, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_bc31093fcf822268ba231f923f06b3da,
type_description_1,
par_self,
par_url,
par_variable,
par_new_value,
var_uri,
var_params
);
// Release cached frame if used for exception.
if (frame_bc31093fcf822268ba231f923f06b3da == cache_frame_bc31093fcf822268ba231f923f06b3da) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_bc31093fcf822268ba231f923f06b3da);
cache_frame_bc31093fcf822268ba231f923f06b3da = NULL;
}
assertFrameObject(frame_bc31093fcf822268ba231f923f06b3da);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_uri);
Py_DECREF(var_uri);
var_uri = NULL;
CHECK_OBJECT(var_params);
Py_DECREF(var_params);
var_params = 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(var_uri);
var_uri = NULL;
Py_XDECREF(var_params);
var_params = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_url);
Py_DECREF(par_url);
CHECK_OBJECT(par_variable);
Py_DECREF(par_variable);
CHECK_OBJECT(par_new_value);
Py_DECREF(par_new_value);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_url);
Py_DECREF(par_url);
CHECK_OBJECT(par_variable);
Py_DECREF(par_variable);
CHECK_OBJECT(par_new_value);
Py_DECREF(par_new_value);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__53___getitem__(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 *var_url = NULL;
PyObject *var_shim_resource = NULL;
PyObject *var_e = NULL;
struct Nuitka_FrameObject *frame_3ca5e6a90ec8bb59b6865c290d5d1688;
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;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_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;
NUITKA_MAY_BE_UNUSED nuitka_void 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;
struct Nuitka_ExceptionStackItem exception_preserved_2;
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;
static struct Nuitka_FrameObject *cache_frame_3ca5e6a90ec8bb59b6865c290d5d1688 = 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;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_3ca5e6a90ec8bb59b6865c290d5d1688)) {
Py_XDECREF(cache_frame_3ca5e6a90ec8bb59b6865c290d5d1688);
#if _DEBUG_REFCOUNTS
if (cache_frame_3ca5e6a90ec8bb59b6865c290d5d1688 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3ca5e6a90ec8bb59b6865c290d5d1688 = MAKE_FUNCTION_FRAME(codeobj_3ca5e6a90ec8bb59b6865c290d5d1688, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_3ca5e6a90ec8bb59b6865c290d5d1688->m_type_description == NULL);
frame_3ca5e6a90ec8bb59b6865c290d5d1688 = cache_frame_3ca5e6a90ec8bb59b6865c290d5d1688;
// Push the new frame as the currently active one.
pushFrameStack(frame_3ca5e6a90ec8bb59b6865c290d5d1688);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3ca5e6a90ec8bb59b6865c290d5d1688) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_key);
tmp_isinstance_inst_1 = par_key;
tmp_isinstance_cls_1 = (PyObject *)&PySlice_Type;
tmp_res = PyObject_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 = 986;
type_description_1 = "oooooN";
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_called_instance_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_args_element_value_1;
tmp_type_arg_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[249]);
if (unlikely(tmp_type_arg_value_1 == NULL)) {
tmp_type_arg_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[249]);
}
if (tmp_type_arg_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 987;
type_description_1 = "oooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_called_instance_1 = BUILTIN_SUPER2(moduledict_lazr$restfulclient$resource, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 987;
type_description_1 = "oooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_key);
tmp_args_element_value_1 = par_key;
frame_3ca5e6a90ec8bb59b6865c290d5d1688->m_frame.f_lineno = 987;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[250], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 987;
type_description_1 = "oooooN";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_self);
tmp_called_instance_2 = par_self;
CHECK_OBJECT(par_key);
tmp_args_element_value_2 = par_key;
frame_3ca5e6a90ec8bb59b6865c290d5d1688->m_frame.f_lineno = 990;
tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[251], tmp_args_element_value_2);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 990;
type_description_1 = "oooooN";
goto try_except_handler_2;
}
assert(var_url == NULL);
var_url = tmp_assign_source_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;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_3ca5e6a90ec8bb59b6865c290d5d1688, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_3ca5e6a90ec8bb59b6865c290d5d1688, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_NotImplementedError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[252];
frame_3ca5e6a90ec8bb59b6865c290d5d1688->m_frame.f_lineno = 992;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_TypeError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 992;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooN";
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 = 989;
}
if (exception_tb && exception_tb->tb_frame == &frame_3ca5e6a90ec8bb59b6865c290d5d1688->m_frame) frame_3ca5e6a90ec8bb59b6865c290d5d1688->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooN";
goto try_except_handler_3;
branch_end_2:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
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 id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_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:
try_end_1:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(var_url);
tmp_cmp_expr_left_2 = var_url;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_3 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_make_exception_arg_2;
CHECK_OBJECT(par_key);
tmp_make_exception_arg_2 = par_key;
frame_3ca5e6a90ec8bb59b6865c290d5d1688->m_frame.f_lineno = 994;
tmp_raise_type_2 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_KeyError, tmp_make_exception_arg_2);
assert(!(tmp_raise_type_2 == NULL));
exception_type = tmp_raise_type_2;
exception_lineno = 994;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooN";
goto frame_exception_exit_1;
}
branch_no_3:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(par_self);
tmp_called_value_1 = par_self;
CHECK_OBJECT(par_key);
tmp_args_element_value_3 = par_key;
frame_3ca5e6a90ec8bb59b6865c290d5d1688->m_frame.f_lineno = 996;
tmp_assign_source_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_3);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 996;
type_description_1 = "oooooN";
goto frame_exception_exit_1;
}
assert(var_shim_resource == NULL);
var_shim_resource = tmp_assign_source_2;
}
// Tried code:
{
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_1;
CHECK_OBJECT(var_shim_resource);
tmp_called_instance_3 = var_shim_resource;
frame_3ca5e6a90ec8bb59b6865c290d5d1688->m_frame.f_lineno = 998;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[50]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 998;
type_description_1 = "oooooN";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_1);
}
goto try_end_2;
// 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;
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_3 == NULL) {
exception_keeper_tb_3 = MAKE_TRACEBACK(frame_3ca5e6a90ec8bb59b6865c290d5d1688, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_3ca5e6a90ec8bb59b6865c290d5d1688, exception_keeper_lineno_3);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3);
// Tried code:
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
tmp_cmp_expr_left_3 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_3 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[253]);
if (unlikely(tmp_cmp_expr_right_3 == NULL)) {
tmp_cmp_expr_right_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[253]);
}
if (tmp_cmp_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 999;
type_description_1 = "oooooN";
goto try_except_handler_5;
}
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 999;
type_description_1 = "oooooN";
goto try_except_handler_5;
}
tmp_condition_result_4 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = EXC_VALUE(PyThreadState_GET());
assert(var_e == NULL);
Py_INCREF(tmp_assign_source_3);
var_e = tmp_assign_source_3;
}
// Tried code:
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(var_e);
tmp_expression_value_2 = var_e;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[181]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1000;
type_description_1 = "oooooN";
goto try_except_handler_6;
}
tmp_cmp_expr_left_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[174]);
Py_DECREF(tmp_expression_value_1);
if (tmp_cmp_expr_left_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1000;
type_description_1 = "oooooN";
goto try_except_handler_6;
}
tmp_cmp_expr_right_4 = mod_consts[254];
tmp_condition_result_5 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
Py_DECREF(tmp_cmp_expr_left_4);
if (tmp_condition_result_5 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1000;
type_description_1 = "oooooN";
goto try_except_handler_6;
}
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_raise_type_3;
PyObject *tmp_make_exception_arg_3;
CHECK_OBJECT(par_key);
tmp_make_exception_arg_3 = par_key;
frame_3ca5e6a90ec8bb59b6865c290d5d1688->m_frame.f_lineno = 1001;
tmp_raise_type_3 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_KeyError, tmp_make_exception_arg_3);
assert(!(tmp_raise_type_3 == NULL));
exception_type = tmp_raise_type_3;
exception_lineno = 1001;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooN";
goto try_except_handler_6;
}
goto branch_end_5;
branch_no_5:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 1003;
}
if (exception_tb && exception_tb->tb_frame == &frame_3ca5e6a90ec8bb59b6865c290d5d1688->m_frame) frame_3ca5e6a90ec8bb59b6865c290d5d1688->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooN";
goto try_except_handler_6;
branch_end_5:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_6:;
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(var_e);
var_e = 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_5;
// End of try:
goto branch_end_4;
branch_no_4:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 997;
}
if (exception_tb && exception_tb->tb_frame == &frame_3ca5e6a90ec8bb59b6865c290d5d1688->m_frame) frame_3ca5e6a90ec8bb59b6865c290d5d1688->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooN";
goto try_except_handler_5;
branch_end_4:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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 id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_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:
// End of try:
try_end_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3ca5e6a90ec8bb59b6865c290d5d1688);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3ca5e6a90ec8bb59b6865c290d5d1688);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3ca5e6a90ec8bb59b6865c290d5d1688);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3ca5e6a90ec8bb59b6865c290d5d1688, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3ca5e6a90ec8bb59b6865c290d5d1688->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3ca5e6a90ec8bb59b6865c290d5d1688, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3ca5e6a90ec8bb59b6865c290d5d1688,
type_description_1,
par_self,
par_key,
var_url,
var_shim_resource,
var_e,
NULL
);
// Release cached frame if used for exception.
if (frame_3ca5e6a90ec8bb59b6865c290d5d1688 == cache_frame_3ca5e6a90ec8bb59b6865c290d5d1688) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3ca5e6a90ec8bb59b6865c290d5d1688);
cache_frame_3ca5e6a90ec8bb59b6865c290d5d1688 = NULL;
}
assertFrameObject(frame_3ca5e6a90ec8bb59b6865c290d5d1688);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_shim_resource);
tmp_return_value = var_shim_resource;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_url);
var_url = NULL;
Py_XDECREF(var_shim_resource);
var_shim_resource = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_url);
var_url = NULL;
Py_XDECREF(var_shim_resource);
var_shim_resource = 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 function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_key);
Py_DECREF(par_key);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_key);
Py_DECREF(par_key);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__54___call__(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 *var_url = NULL;
PyObject *var_representation = NULL;
PyObject *var_resource_type_link = NULL;
PyObject *var_url_get = NULL;
PyObject *var_error = NULL;
PyObject *var_resource = NULL;
struct Nuitka_FrameObject *frame_7e1b0a6b91f32b49e579cee12803c6ff;
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;
struct Nuitka_ExceptionStackItem exception_preserved_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;
struct Nuitka_ExceptionStackItem exception_preserved_2;
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 *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_7e1b0a6b91f32b49e579cee12803c6ff = 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;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_7e1b0a6b91f32b49e579cee12803c6ff)) {
Py_XDECREF(cache_frame_7e1b0a6b91f32b49e579cee12803c6ff);
#if _DEBUG_REFCOUNTS
if (cache_frame_7e1b0a6b91f32b49e579cee12803c6ff == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7e1b0a6b91f32b49e579cee12803c6ff = MAKE_FUNCTION_FRAME(codeobj_7e1b0a6b91f32b49e579cee12803c6ff, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7e1b0a6b91f32b49e579cee12803c6ff->m_type_description == NULL);
frame_7e1b0a6b91f32b49e579cee12803c6ff = cache_frame_7e1b0a6b91f32b49e579cee12803c6ff;
// Push the new frame as the currently active one.
pushFrameStack(frame_7e1b0a6b91f32b49e579cee12803c6ff);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7e1b0a6b91f32b49e579cee12803c6ff) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_key);
tmp_args_element_value_1 = par_key;
frame_7e1b0a6b91f32b49e579cee12803c6ff->m_frame.f_lineno = 1010;
tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[251], tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1010;
type_description_1 = "oooooooo";
goto try_except_handler_2;
}
assert(var_url == NULL);
var_url = tmp_assign_source_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;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_7e1b0a6b91f32b49e579cee12803c6ff, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_7e1b0a6b91f32b49e579cee12803c6ff, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_NotImplementedError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
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 = mod_consts[252];
frame_7e1b0a6b91f32b49e579cee12803c6ff->m_frame.f_lineno = 1012;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_TypeError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 1012;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooo";
goto try_except_handler_3;
}
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 1009;
}
if (exception_tb && exception_tb->tb_frame == &frame_7e1b0a6b91f32b49e579cee12803c6ff->m_frame) frame_7e1b0a6b91f32b49e579cee12803c6ff->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooooo";
goto try_except_handler_3;
branch_end_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
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 id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_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:
try_end_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(var_url);
tmp_cmp_expr_left_2 = var_url;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_make_exception_arg_2;
CHECK_OBJECT(par_key);
tmp_make_exception_arg_2 = par_key;
frame_7e1b0a6b91f32b49e579cee12803c6ff->m_frame.f_lineno = 1014;
tmp_raise_type_2 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_2);
assert(!(tmp_raise_type_2 == NULL));
exception_type = tmp_raise_type_2;
exception_lineno = 1014;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[256]);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1016;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = Py_None;
tmp_condition_result_3 = (tmp_cmp_expr_left_3 != tmp_cmp_expr_right_3) ? true : false;
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = Py_None;
assert(var_representation == NULL);
Py_INCREF(tmp_assign_source_2);
var_representation = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_3;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_expression_value_5;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[257]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[257]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1023;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[13]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1024;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[101]);
Py_DECREF(tmp_expression_value_3);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1024;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[258]);
Py_DECREF(tmp_expression_value_2);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1024;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_add_expr_left_1 = mod_consts[259];
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_add_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[256]);
if (tmp_add_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_args_element_value_2);
exception_lineno = 1024;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = BINARY_OPERATION_ADD_OBJECT_UNICODE_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_right_1);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_args_element_value_2);
exception_lineno = 1024;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_7e1b0a6b91f32b49e579cee12803c6ff->m_frame.f_lineno = 1023;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_3);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1023;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_resource_type_link == NULL);
var_resource_type_link = tmp_assign_source_3;
}
goto branch_end_3;
branch_no_3:;
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_expression_value_8;
PyObject *tmp_args_element_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_expression_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[13]);
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1034;
type_description_1 = "oooooooo";
goto try_except_handler_4;
}
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[81]);
Py_DECREF(tmp_expression_value_7);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1034;
type_description_1 = "oooooooo";
goto try_except_handler_4;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[1]);
Py_DECREF(tmp_expression_value_6);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1034;
type_description_1 = "oooooooo";
goto try_except_handler_4;
}
CHECK_OBJECT(var_url);
tmp_args_element_value_4 = var_url;
frame_7e1b0a6b91f32b49e579cee12803c6ff->m_frame.f_lineno = 1034;
tmp_assign_source_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1034;
type_description_1 = "oooooooo";
goto try_except_handler_4;
}
assert(var_url_get == NULL);
var_url_get = tmp_assign_source_4;
}
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(var_url_get);
tmp_isinstance_inst_1 = var_url_get;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[96]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[96]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1035;
type_description_1 = "oooooooo";
goto try_except_handler_4;
}
tmp_res = PyObject_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 = 1035;
type_description_1 = "oooooooo";
goto try_except_handler_4;
}
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_5;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(var_url_get);
tmp_expression_value_9 = var_url_get;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[97]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1036;
type_description_1 = "oooooooo";
goto try_except_handler_4;
}
frame_7e1b0a6b91f32b49e579cee12803c6ff->m_frame.f_lineno = 1036;
tmp_assign_source_5 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[98]);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1036;
type_description_1 = "oooooooo";
goto try_except_handler_4;
}
{
PyObject *old = var_url_get;
assert(old != NULL);
var_url_get = tmp_assign_source_5;
Py_DECREF(old);
}
}
branch_no_4:;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_5;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[99]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[99]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1037;
type_description_1 = "oooooooo";
goto try_except_handler_4;
}
CHECK_OBJECT(var_url_get);
tmp_args_element_value_5 = var_url_get;
frame_7e1b0a6b91f32b49e579cee12803c6ff->m_frame.f_lineno = 1037;
tmp_assign_source_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_5);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1037;
type_description_1 = "oooooooo";
goto try_except_handler_4;
}
assert(var_representation == NULL);
var_representation = tmp_assign_source_6;
}
goto try_end_2;
// 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;
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_3 == NULL) {
exception_keeper_tb_3 = MAKE_TRACEBACK(frame_7e1b0a6b91f32b49e579cee12803c6ff, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_7e1b0a6b91f32b49e579cee12803c6ff, exception_keeper_lineno_3);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3);
// Tried code:
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
tmp_cmp_expr_left_4 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_4 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[253]);
if (unlikely(tmp_cmp_expr_right_4 == NULL)) {
tmp_cmp_expr_right_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[253]);
}
if (tmp_cmp_expr_right_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1038;
type_description_1 = "oooooooo";
goto try_except_handler_5;
}
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1038;
type_description_1 = "oooooooo";
goto try_except_handler_5;
}
tmp_condition_result_5 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_assign_source_7;
tmp_assign_source_7 = EXC_VALUE(PyThreadState_GET());
assert(var_error == NULL);
Py_INCREF(tmp_assign_source_7);
var_error = tmp_assign_source_7;
}
// Tried code:
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
PyObject *tmp_expression_value_10;
PyObject *tmp_expression_value_11;
CHECK_OBJECT(var_error);
tmp_expression_value_11 = var_error;
tmp_expression_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[181]);
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1040;
type_description_1 = "oooooooo";
goto try_except_handler_6;
}
tmp_cmp_expr_left_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[174]);
Py_DECREF(tmp_expression_value_10);
if (tmp_cmp_expr_left_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1040;
type_description_1 = "oooooooo";
goto try_except_handler_6;
}
tmp_cmp_expr_right_5 = mod_consts[254];
tmp_condition_result_6 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
Py_DECREF(tmp_cmp_expr_left_5);
if (tmp_condition_result_6 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1040;
type_description_1 = "oooooooo";
goto try_except_handler_6;
}
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_raise_type_3;
PyObject *tmp_make_exception_arg_3;
CHECK_OBJECT(par_key);
tmp_make_exception_arg_3 = par_key;
frame_7e1b0a6b91f32b49e579cee12803c6ff->m_frame.f_lineno = 1041;
tmp_raise_type_3 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_KeyError, tmp_make_exception_arg_3);
assert(!(tmp_raise_type_3 == NULL));
exception_type = tmp_raise_type_3;
exception_lineno = 1041;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooo";
goto try_except_handler_6;
}
branch_no_6:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 1042;
}
if (exception_tb && exception_tb->tb_frame == &frame_7e1b0a6b91f32b49e579cee12803c6ff->m_frame) frame_7e1b0a6b91f32b49e579cee12803c6ff->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooooo";
goto try_except_handler_6;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_6:;
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(var_error);
var_error = 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_5;
// End of try:
goto branch_end_5;
branch_no_5:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 1033;
}
if (exception_tb && exception_tb->tb_frame == &frame_7e1b0a6b91f32b49e579cee12803c6ff->m_frame) frame_7e1b0a6b91f32b49e579cee12803c6ff->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooooo";
goto try_except_handler_5;
branch_end_5:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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 id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_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:
// End of try:
try_end_2:;
{
PyObject *tmp_assign_source_8;
PyObject *tmp_expression_value_12;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_representation);
tmp_expression_value_12 = var_representation;
tmp_subscript_value_1 = mod_consts[100];
tmp_assign_source_8 = LOOKUP_SUBSCRIPT(tmp_expression_value_12, tmp_subscript_value_1);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1045;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_resource_type_link == NULL);
var_resource_type_link = tmp_assign_source_8;
}
branch_end_3:;
{
PyObject *tmp_assign_source_9;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_expression_value_13;
PyObject *tmp_expression_value_14;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[150]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[150]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1047;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_14 = par_self;
tmp_expression_value_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[13]);
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1047;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[101]);
Py_DECREF(tmp_expression_value_13);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1047;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if (var_url == NULL) {
Py_DECREF(tmp_args_element_value_6);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[113]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1047;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_7 = var_url;
CHECK_OBJECT(var_resource_type_link);
tmp_args_element_value_8 = var_resource_type_link;
frame_7e1b0a6b91f32b49e579cee12803c6ff->m_frame.f_lineno = 1047;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7, tmp_args_element_value_8};
tmp_assign_source_9 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_args_element_value_6);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1047;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_resource == NULL);
var_resource = tmp_assign_source_9;
}
{
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_15;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_expression_value_16;
PyObject *tmp_kw_call_arg_value_1_1;
PyObject *tmp_kw_call_dict_value_0_1;
PyObject *tmp_kw_call_dict_value_1_1;
CHECK_OBJECT(par_self);
tmp_expression_value_15 = par_self;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[56]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1048;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_16 = par_self;
tmp_kw_call_arg_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[13]);
if (tmp_kw_call_arg_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 1049;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_resource);
tmp_kw_call_arg_value_1_1 = var_resource;
CHECK_OBJECT(var_representation);
tmp_kw_call_dict_value_0_1 = var_representation;
tmp_kw_call_dict_value_1_1 = Py_False;
frame_7e1b0a6b91f32b49e579cee12803c6ff->m_frame.f_lineno = 1048;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1, tmp_kw_call_arg_value_1_1};
PyObject *kw_values[2] = {tmp_kw_call_dict_value_0_1, tmp_kw_call_dict_value_1_1};
tmp_return_value = CALL_FUNCTION_WITH_ARGS2_KWSPLIT(tmp_called_value_6, args, kw_values, mod_consts[260]);
}
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_kw_call_arg_value_0_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1048;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7e1b0a6b91f32b49e579cee12803c6ff);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7e1b0a6b91f32b49e579cee12803c6ff);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7e1b0a6b91f32b49e579cee12803c6ff);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7e1b0a6b91f32b49e579cee12803c6ff, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7e1b0a6b91f32b49e579cee12803c6ff->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7e1b0a6b91f32b49e579cee12803c6ff, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7e1b0a6b91f32b49e579cee12803c6ff,
type_description_1,
par_self,
par_key,
var_url,
var_representation,
var_resource_type_link,
var_url_get,
var_error,
var_resource
);
// Release cached frame if used for exception.
if (frame_7e1b0a6b91f32b49e579cee12803c6ff == cache_frame_7e1b0a6b91f32b49e579cee12803c6ff) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7e1b0a6b91f32b49e579cee12803c6ff);
cache_frame_7e1b0a6b91f32b49e579cee12803c6ff = NULL;
}
assertFrameObject(frame_7e1b0a6b91f32b49e579cee12803c6ff);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_url);
var_url = NULL;
CHECK_OBJECT(var_representation);
Py_DECREF(var_representation);
var_representation = NULL;
CHECK_OBJECT(var_resource_type_link);
Py_DECREF(var_resource_type_link);
var_resource_type_link = NULL;
Py_XDECREF(var_url_get);
var_url_get = NULL;
CHECK_OBJECT(var_resource);
Py_DECREF(var_resource);
var_resource = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_url);
var_url = NULL;
Py_XDECREF(var_representation);
var_representation = NULL;
Py_XDECREF(var_resource_type_link);
var_resource_type_link = NULL;
Py_XDECREF(var_url_get);
var_url_get = NULL;
Py_XDECREF(var_resource);
var_resource = 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 function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_key);
Py_DECREF(par_key);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_key);
Py_DECREF(par_key);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__55__get_url_from_id(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_key = python_pars[1];
struct Nuitka_FrameObject *frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e;
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;
static struct Nuitka_FrameObject *cache_frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e)) {
Py_XDECREF(cache_frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e);
#if _DEBUG_REFCOUNTS
if (cache_frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e = MAKE_FUNCTION_FRAME(codeobj_0fc7ebd5bcebb90c2a7fdcce45cfb92e, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e->m_type_description == NULL);
frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e = cache_frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e;
// Push the new frame as the currently active one.
pushFrameStack(frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_raise_type_1;
frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e->m_frame.f_lineno = 1058;
tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS(PyExc_NotImplementedError);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 1058;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
goto frame_exception_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e,
type_description_1,
par_self,
par_key
);
// Release cached frame if used for exception.
if (frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e == cache_frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e);
cache_frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e = NULL;
}
assertFrameObject(frame_0fc7ebd5bcebb90c2a7fdcce45cfb92e);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_key);
Py_DECREF(par_key);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__56___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_hosted_file = python_pars[1];
PyObject *par_mode = python_pars[2];
PyObject *par_content_type = python_pars[3];
PyObject *par_filename = python_pars[4];
PyObject *var_response = NULL;
PyObject *var_value = NULL;
PyObject *var_last_modified = NULL;
PyObject *var_content_location = NULL;
PyObject *var_path = 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;
struct Nuitka_FrameObject *frame_915a426b214fe060d6e4c9e78c6b46bf;
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 *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;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_915a426b214fe060d6e4c9e78c6b46bf = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_915a426b214fe060d6e4c9e78c6b46bf)) {
Py_XDECREF(cache_frame_915a426b214fe060d6e4c9e78c6b46bf);
#if _DEBUG_REFCOUNTS
if (cache_frame_915a426b214fe060d6e4c9e78c6b46bf == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_915a426b214fe060d6e4c9e78c6b46bf = MAKE_FUNCTION_FRAME(codeobj_915a426b214fe060d6e4c9e78c6b46bf, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_915a426b214fe060d6e4c9e78c6b46bf->m_type_description == NULL);
frame_915a426b214fe060d6e4c9e78c6b46bf = cache_frame_915a426b214fe060d6e4c9e78c6b46bf;
// Push the new frame as the currently active one.
pushFrameStack(frame_915a426b214fe060d6e4c9e78c6b46bf);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_915a426b214fe060d6e4c9e78c6b46bf) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_hosted_file);
tmp_expression_value_2 = par_hosted_file;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[14]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1064;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[113]);
Py_DECREF(tmp_expression_value_1);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1064;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[113], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1064;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_mode);
tmp_cmp_expr_left_1 = par_mode;
tmp_cmp_expr_right_1 = mod_consts[263];
tmp_condition_result_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1065;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(par_content_type);
tmp_cmp_expr_left_2 = par_content_type;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[264];
frame_915a426b214fe060d6e4c9e78c6b46bf->m_frame.f_lineno = 1067;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 1067;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(par_filename);
tmp_cmp_expr_left_3 = par_filename;
tmp_cmp_expr_right_3 = Py_None;
tmp_condition_result_3 = (tmp_cmp_expr_left_3 != tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_make_exception_arg_2;
tmp_make_exception_arg_2 = mod_consts[265];
frame_915a426b214fe060d6e4c9e78c6b46bf->m_frame.f_lineno = 1070;
tmp_raise_type_2 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_2);
assert(!(tmp_raise_type_2 == NULL));
exception_type = tmp_raise_type_2;
exception_lineno = 1070;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
branch_no_3:;
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(par_hosted_file);
tmp_expression_value_5 = par_hosted_file;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[13]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1072;
type_description_1 = "oooooooooo";
goto try_except_handler_2;
}
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[81]);
Py_DECREF(tmp_expression_value_4);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1072;
type_description_1 = "oooooooooo";
goto try_except_handler_2;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[1]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1072;
type_description_1 = "oooooooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[113]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 1073;
type_description_1 = "oooooooooo";
goto try_except_handler_2;
}
tmp_args_value_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_args_value_1, 0, tmp_tuple_element_1);
tmp_kwargs_value_1 = DICT_COPY(mod_consts[266]);
frame_915a426b214fe060d6e4c9e78c6b46bf->m_frame.f_lineno = 1072;
tmp_iter_arg_1 = CALL_FUNCTION(tmp_called_value_1, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1072;
type_description_1 = "oooooooooo";
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 = 1072;
type_description_1 = "oooooooooo";
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, 2);
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 = "oooooooooo";
exception_lineno = 1072;
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, 2);
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 = "oooooooooo";
exception_lineno = 1072;
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_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 = "oooooooooo";
exception_lineno = 1072;
goto try_except_handler_3;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[6];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooo";
exception_lineno = 1072;
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(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;
// 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(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_4;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_4 = tmp_tuple_unpack_1__element_1;
assert(var_response == NULL);
Py_INCREF(tmp_assign_source_4);
var_response = tmp_assign_source_4;
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_5 = tmp_tuple_unpack_1__element_2;
assert(var_value == NULL);
Py_INCREF(tmp_assign_source_5);
var_value = tmp_assign_source_5;
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_response);
tmp_expression_value_7 = var_response;
tmp_subscript_value_1 = mod_consts[185];
tmp_assign_source_6 = LOOKUP_SUBSCRIPT(tmp_expression_value_7, tmp_subscript_value_1);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1074;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_content_type;
assert(old != NULL);
par_content_type = tmp_assign_source_6;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(var_response);
tmp_expression_value_8 = var_response;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[1]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1075;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
frame_915a426b214fe060d6e4c9e78c6b46bf->m_frame.f_lineno = 1075;
tmp_assign_source_7 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[267]);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1075;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
assert(var_last_modified == NULL);
var_last_modified = tmp_assign_source_7;
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_expression_value_9;
PyObject *tmp_subscript_value_2;
CHECK_OBJECT(var_response);
tmp_expression_value_9 = var_response;
tmp_subscript_value_2 = mod_consts[268];
tmp_assign_source_8 = LOOKUP_SUBSCRIPT(tmp_expression_value_9, tmp_subscript_value_2);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1081;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
assert(var_content_location == NULL);
var_content_location = tmp_assign_source_8;
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_expression_value_10;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_subscript_value_3;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[69]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[69]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1082;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_content_location);
tmp_args_element_value_1 = var_content_location;
frame_915a426b214fe060d6e4c9e78c6b46bf->m_frame.f_lineno = 1082;
tmp_expression_value_10 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_1);
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1082;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_3 = mod_consts[269];
tmp_assign_source_9 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_10, tmp_subscript_value_3, 2);
Py_DECREF(tmp_expression_value_10);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1082;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
assert(var_path == NULL);
var_path = tmp_assign_source_9;
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_11;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_12;
PyObject *tmp_subscript_value_4;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[270]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[270]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1083;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_path);
tmp_expression_value_12 = var_path;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[271]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1083;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
frame_915a426b214fe060d6e4c9e78c6b46bf->m_frame.f_lineno = 1083;
tmp_expression_value_11 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_5, mod_consts[272]);
Py_DECREF(tmp_called_value_5);
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1083;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_4 = mod_consts[70];
tmp_args_element_value_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_11, tmp_subscript_value_4, -1);
Py_DECREF(tmp_expression_value_11);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1083;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
frame_915a426b214fe060d6e4c9e78c6b46bf->m_frame.f_lineno = 1083;
tmp_assign_source_10 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1083;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_filename;
assert(old != NULL);
par_filename = tmp_assign_source_10;
Py_DECREF(old);
}
}
goto branch_end_1;
branch_no_1:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(par_mode);
tmp_cmp_expr_left_4 = par_mode;
tmp_cmp_expr_right_4 = mod_consts[273];
tmp_condition_result_4 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_condition_result_4 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1084;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_11;
tmp_assign_source_11 = mod_consts[133];
assert(var_value == NULL);
Py_INCREF(tmp_assign_source_11);
var_value = tmp_assign_source_11;
}
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
CHECK_OBJECT(par_content_type);
tmp_cmp_expr_left_5 = par_content_type;
tmp_cmp_expr_right_5 = Py_None;
tmp_condition_result_5 = (tmp_cmp_expr_left_5 == tmp_cmp_expr_right_5) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_raise_type_3;
PyObject *tmp_make_exception_arg_3;
tmp_make_exception_arg_3 = mod_consts[274];
frame_915a426b214fe060d6e4c9e78c6b46bf->m_frame.f_lineno = 1087;
tmp_raise_type_3 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_3);
assert(!(tmp_raise_type_3 == NULL));
exception_type = tmp_raise_type_3;
exception_lineno = 1087;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
branch_no_5:;
{
bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
CHECK_OBJECT(par_filename);
tmp_cmp_expr_left_6 = par_filename;
tmp_cmp_expr_right_6 = Py_None;
tmp_condition_result_6 = (tmp_cmp_expr_left_6 == tmp_cmp_expr_right_6) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_raise_type_4;
PyObject *tmp_make_exception_arg_4;
tmp_make_exception_arg_4 = mod_consts[275];
frame_915a426b214fe060d6e4c9e78c6b46bf->m_frame.f_lineno = 1090;
tmp_raise_type_4 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_4);
assert(!(tmp_raise_type_4 == NULL));
exception_type = tmp_raise_type_4;
exception_lineno = 1090;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
branch_no_6:;
{
PyObject *tmp_assign_source_12;
tmp_assign_source_12 = Py_None;
assert(var_last_modified == NULL);
Py_INCREF(tmp_assign_source_12);
var_last_modified = tmp_assign_source_12;
}
goto branch_end_4;
branch_no_4:;
{
PyObject *tmp_raise_type_5;
PyObject *tmp_make_exception_arg_5;
tmp_make_exception_arg_5 = mod_consts[110];
frame_915a426b214fe060d6e4c9e78c6b46bf->m_frame.f_lineno = 1094;
tmp_raise_type_5 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_5);
assert(!(tmp_raise_type_5 == NULL));
exception_type = tmp_raise_type_5;
exception_lineno = 1094;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
branch_end_4:;
branch_end_1:;
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_hosted_file);
tmp_assattr_value_2 = par_hosted_file;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[276], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1096;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_mode);
tmp_assattr_value_3 = par_mode;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[277], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1097;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(par_content_type);
tmp_assattr_value_4 = par_content_type;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[278], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1098;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_assattr_target_5;
CHECK_OBJECT(par_filename);
tmp_assattr_value_5 = par_filename;
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[279], tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1099;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_assattr_target_6;
CHECK_OBJECT(var_last_modified);
tmp_assattr_value_6 = var_last_modified;
CHECK_OBJECT(par_self);
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[280], tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1100;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[281]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[281]);
}
assert(!(tmp_called_instance_1 == NULL));
CHECK_OBJECT(par_self);
tmp_args_element_value_3 = par_self;
CHECK_OBJECT(var_value);
tmp_args_element_value_4 = var_value;
frame_915a426b214fe060d6e4c9e78c6b46bf->m_frame.f_lineno = 1101;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[129],
call_args
);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1101;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_915a426b214fe060d6e4c9e78c6b46bf);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_915a426b214fe060d6e4c9e78c6b46bf);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_915a426b214fe060d6e4c9e78c6b46bf, exception_lineno);
} else if (exception_tb->tb_frame != &frame_915a426b214fe060d6e4c9e78c6b46bf->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_915a426b214fe060d6e4c9e78c6b46bf, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_915a426b214fe060d6e4c9e78c6b46bf,
type_description_1,
par_self,
par_hosted_file,
par_mode,
par_content_type,
par_filename,
var_response,
var_value,
var_last_modified,
var_content_location,
var_path
);
// Release cached frame if used for exception.
if (frame_915a426b214fe060d6e4c9e78c6b46bf == cache_frame_915a426b214fe060d6e4c9e78c6b46bf) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_915a426b214fe060d6e4c9e78c6b46bf);
cache_frame_915a426b214fe060d6e4c9e78c6b46bf = NULL;
}
assertFrameObject(frame_915a426b214fe060d6e4c9e78c6b46bf);
// 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;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_content_type);
Py_DECREF(par_content_type);
par_content_type = NULL;
CHECK_OBJECT(par_filename);
Py_DECREF(par_filename);
par_filename = NULL;
Py_XDECREF(var_response);
var_response = NULL;
CHECK_OBJECT(var_value);
Py_DECREF(var_value);
var_value = NULL;
CHECK_OBJECT(var_last_modified);
Py_DECREF(var_last_modified);
var_last_modified = NULL;
Py_XDECREF(var_content_location);
var_content_location = NULL;
Py_XDECREF(var_path);
var_path = 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;
CHECK_OBJECT(par_content_type);
Py_DECREF(par_content_type);
par_content_type = NULL;
CHECK_OBJECT(par_filename);
Py_DECREF(par_filename);
par_filename = NULL;
Py_XDECREF(var_response);
var_response = NULL;
Py_XDECREF(var_value);
var_value = NULL;
Py_XDECREF(var_last_modified);
var_last_modified = NULL;
Py_XDECREF(var_content_location);
var_content_location = NULL;
Py_XDECREF(var_path);
var_path = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_hosted_file);
Py_DECREF(par_hosted_file);
CHECK_OBJECT(par_mode);
Py_DECREF(par_mode);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_hosted_file);
Py_DECREF(par_hosted_file);
CHECK_OBJECT(par_mode);
Py_DECREF(par_mode);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__57_close(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_disposition = NULL;
struct Nuitka_FrameObject *frame_f93d9feaf535738bc0929c1bc3b88524;
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;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_f93d9feaf535738bc0929c1bc3b88524 = NULL;
PyObject *tmp_return_value = 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 body.
// Tried code:
if (isFrameUnusable(cache_frame_f93d9feaf535738bc0929c1bc3b88524)) {
Py_XDECREF(cache_frame_f93d9feaf535738bc0929c1bc3b88524);
#if _DEBUG_REFCOUNTS
if (cache_frame_f93d9feaf535738bc0929c1bc3b88524 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f93d9feaf535738bc0929c1bc3b88524 = MAKE_FUNCTION_FRAME(codeobj_f93d9feaf535738bc0929c1bc3b88524, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f93d9feaf535738bc0929c1bc3b88524->m_type_description == NULL);
frame_f93d9feaf535738bc0929c1bc3b88524 = cache_frame_f93d9feaf535738bc0929c1bc3b88524;
// Push the new frame as the currently active one.
pushFrameStack(frame_f93d9feaf535738bc0929c1bc3b88524);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f93d9feaf535738bc0929c1bc3b88524) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[277]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1104;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = mod_consts[273];
tmp_condition_result_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1104;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
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_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_expression_value_2;
tmp_mod_expr_left_1 = mod_consts[282];
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_mod_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[279]);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1105;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1105;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_disposition == NULL);
var_disposition = tmp_assign_source_1;
}
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_2;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_8;
PyObject *tmp_args_element_value_4;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[276]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1106;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[13]);
Py_DECREF(tmp_expression_value_5);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1106;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[81]);
Py_DECREF(tmp_expression_value_4);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1106;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[283]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1106;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[113]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 1107;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
frame_f93d9feaf535738bc0929c1bc3b88524->m_frame.f_lineno = 1107;
tmp_args_element_value_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[284]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
exception_lineno = 1107;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[278]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
exception_lineno = 1108;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_dict_key_1 = mod_consts[285];
CHECK_OBJECT(var_disposition);
tmp_dict_value_1 = var_disposition;
tmp_args_element_value_4 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_args_element_value_4, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
frame_f93d9feaf535738bc0929c1bc3b88524->m_frame.f_lineno = 1106;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_3);
Py_DECREF(tmp_args_element_value_4);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1106;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_5;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[281]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[281]);
}
assert(!(tmp_called_instance_2 == NULL));
CHECK_OBJECT(par_self);
tmp_args_element_value_5 = par_self;
frame_f93d9feaf535738bc0929c1bc3b88524->m_frame.f_lineno = 1109;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[286], tmp_args_element_value_5);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1109;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_f93d9feaf535738bc0929c1bc3b88524);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f93d9feaf535738bc0929c1bc3b88524);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f93d9feaf535738bc0929c1bc3b88524, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f93d9feaf535738bc0929c1bc3b88524->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f93d9feaf535738bc0929c1bc3b88524, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f93d9feaf535738bc0929c1bc3b88524,
type_description_1,
par_self,
var_disposition
);
// Release cached frame if used for exception.
if (frame_f93d9feaf535738bc0929c1bc3b88524 == cache_frame_f93d9feaf535738bc0929c1bc3b88524) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f93d9feaf535738bc0929c1bc3b88524);
cache_frame_f93d9feaf535738bc0929c1bc3b88524 = NULL;
}
assertFrameObject(frame_f93d9feaf535738bc0929c1bc3b88524);
// 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;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_disposition);
var_disposition = 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(var_disposition);
var_disposition = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$resource$$$function__58_write(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_b = python_pars[1];
struct Nuitka_FrameObject *frame_cc99ad9cd52c682546f8c08143c13606;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
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_cc99ad9cd52c682546f8c08143c13606 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_cc99ad9cd52c682546f8c08143c13606)) {
Py_XDECREF(cache_frame_cc99ad9cd52c682546f8c08143c13606);
#if _DEBUG_REFCOUNTS
if (cache_frame_cc99ad9cd52c682546f8c08143c13606 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_cc99ad9cd52c682546f8c08143c13606 = MAKE_FUNCTION_FRAME(codeobj_cc99ad9cd52c682546f8c08143c13606, module_lazr$restfulclient$resource, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_cc99ad9cd52c682546f8c08143c13606->m_type_description == NULL);
frame_cc99ad9cd52c682546f8c08143c13606 = cache_frame_cc99ad9cd52c682546f8c08143c13606;
// Push the new frame as the currently active one.
pushFrameStack(frame_cc99ad9cd52c682546f8c08143c13606);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_cc99ad9cd52c682546f8c08143c13606) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[281]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[281]);
}
assert(!(tmp_called_instance_1 == NULL));
CHECK_OBJECT(par_self);
tmp_args_element_value_1 = par_self;
CHECK_OBJECT(par_b);
tmp_args_element_value_2 = par_b;
frame_cc99ad9cd52c682546f8c08143c13606->m_frame.f_lineno = 1112;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[287],
call_args
);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1112;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_cc99ad9cd52c682546f8c08143c13606);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_cc99ad9cd52c682546f8c08143c13606);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_cc99ad9cd52c682546f8c08143c13606, exception_lineno);
} else if (exception_tb->tb_frame != &frame_cc99ad9cd52c682546f8c08143c13606->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_cc99ad9cd52c682546f8c08143c13606, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_cc99ad9cd52c682546f8c08143c13606,
type_description_1,
par_self,
par_b
);
// Release cached frame if used for exception.
if (frame_cc99ad9cd52c682546f8c08143c13606 == cache_frame_cc99ad9cd52c682546f8c08143c13606) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_cc99ad9cd52c682546f8c08143c13606);
cache_frame_cc99ad9cd52c682546f8c08143c13606 = NULL;
}
assertFrameObject(frame_cc99ad9cd52c682546f8c08143c13606);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_b);
Py_DECREF(par_b);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_b);
Py_DECREF(par_b);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__10_lp_operations() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__10_lp_operations,
mod_consts[353],
#if PYTHON_VERSION >= 0x300
mod_consts[354],
#endif
codeobj_33aca8fcef119203a746fe78e00c9ae9,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[38],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__11___members__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__11___members__,
mod_consts[355],
#if PYTHON_VERSION >= 0x300
mod_consts[356],
#endif
codeobj_37f783f4aa0b9757527532852f05ad99,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[39],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__12__get_parameter_names() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__12__get_parameter_names,
mod_consts[16],
#if PYTHON_VERSION >= 0x300
mod_consts[358],
#endif
codeobj_e2f892382afe8be2b85698052149d6f7,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[48],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__13_lp_has_parameter() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__13_lp_has_parameter,
mod_consts[199],
#if PYTHON_VERSION >= 0x300
mod_consts[359],
#endif
codeobj_fac307af899528d3727c02a38118aaea,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[49],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__14_lp_get_parameter() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__14_lp_get_parameter,
mod_consts[87],
#if PYTHON_VERSION >= 0x300
mod_consts[360],
#endif
codeobj_daf8e184fc45063fe44e0a9507b3a3ad,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[59],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__15_lp_get_named_operation() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__15_lp_get_named_operation,
mod_consts[86],
#if PYTHON_VERSION >= 0x300
mod_consts[361],
#endif
codeobj_a69efd75c3e1fcc442460e54dd143688,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[67],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__16__create_bound_resource(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__16__create_bound_resource,
mod_consts[56],
#if PYTHON_VERSION >= 0x300
mod_consts[364],
#endif
codeobj_3f4c652b258f1b705adf5780e487f928,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[78],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__17_lp_refresh(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__17_lp_refresh,
mod_consts[179],
#if PYTHON_VERSION >= 0x300
mod_consts[366],
#endif
codeobj_0fcd7a1afbdb2f2f340edc5912c6215f,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[85],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__18___getattr__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__18___getattr__,
mod_consts[197],
#if PYTHON_VERSION >= 0x300
mod_consts[367],
#endif
codeobj_7350f6c78dff19cbd49efb28949b585b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[89],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__19_lp_values_for() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__19_lp_values_for,
mod_consts[368],
#if PYTHON_VERSION >= 0x300
mod_consts[369],
#endif
codeobj_ca9dcc74e85c7c3fdefc7d71acecf446,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[92],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__1___init__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__1___init__,
mod_consts[129],
#if PYTHON_VERSION >= 0x300
mod_consts[334],
#endif
codeobj_7c7249cce646d5960a3c2b1d075bac18,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__20__get_external_param_name() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__20__get_external_param_name,
mod_consts[11],
#if PYTHON_VERSION >= 0x300
mod_consts[370],
#endif
codeobj_679de4ea2eb0efb1fccedf6bef21df0b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[94],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__21__ensure_representation() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__21__ensure_representation,
mod_consts[50],
#if PYTHON_VERSION >= 0x300
mod_consts[371],
#endif
codeobj_f738fea529d79efb5b13637e29d60d93,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[105],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__22___ne__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__22___ne__,
mod_consts[372],
#if PYTHON_VERSION >= 0x300
mod_consts[373],
#endif
codeobj_e5c1ca7246d8ad97289d8d8bf86a5fa1,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[106],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__23_value() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__23_value,
mod_consts[91],
#if PYTHON_VERSION >= 0x300
mod_consts[376],
#endif
codeobj_3f8cdc4384d9c63e9bf917bd329f8c7a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[107],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__24_open(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__24_open,
mod_consts[380],
#if PYTHON_VERSION >= 0x300
mod_consts[381],
#endif
codeobj_5a0f0ac62628a581b8724f2c6a35142e,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[111],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__25_delete() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__25_delete,
mod_consts[112],
#if PYTHON_VERSION >= 0x300
mod_consts[382],
#endif
codeobj_6f83e7570e4924a6238e787e15f8c043,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[114],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__26__get_parameter_names() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__26__get_parameter_names,
mod_consts[16],
#if PYTHON_VERSION >= 0x300
mod_consts[383],
#endif
codeobj_b6d3f46f95619560400bf87d7e2bb27b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[115],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__27___eq__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__27___eq__,
mod_consts[384],
#if PYTHON_VERSION >= 0x300
mod_consts[385],
#endif
codeobj_7d39930d14524953aa1335d9f6c39d54,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[116],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__28___init__(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__28___init__,
mod_consts[129],
#if PYTHON_VERSION >= 0x300
mod_consts[388],
#endif
codeobj_29621f3fed55193076df8f0bfcdf21da,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[130],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__29__user_agent() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__29__user_agent,
mod_consts[123],
#if PYTHON_VERSION >= 0x300
mod_consts[389],
#endif
codeobj_59ac088b8e6a0230f3e96eea3310aa2a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[142],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__2_get(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__2_get,
mod_consts[1],
#if PYTHON_VERSION >= 0x300
mod_consts[336],
#endif
codeobj_69a1b6f95b4d2775de4b7f50e7428790,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[3],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__30_httpFactory() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__30_httpFactory,
mod_consts[390],
#if PYTHON_VERSION >= 0x300
mod_consts[391],
#endif
codeobj_69a55fd3f4965338a1858f4ca594a3b9,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__31_load() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__31_load,
mod_consts[392],
#if PYTHON_VERSION >= 0x300
mod_consts[393],
#endif
codeobj_a08b33f69859135de786f6994b25cc57,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[151],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__32___init__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__32___init__,
mod_consts[129],
#if PYTHON_VERSION >= 0x300
mod_consts[395],
#endif
codeobj_d4b0827e3ae505b9d361d17ca001cdc7,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[154],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__33___call__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__33___call__,
mod_consts[396],
#if PYTHON_VERSION >= 0x300
mod_consts[397],
#endif
codeobj_94574b7951c4e0f1bcdfa1f328a47f17,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[182],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__34__handle_201_response() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__34__handle_201_response,
mod_consts[176],
#if PYTHON_VERSION >= 0x300
mod_consts[398],
#endif
codeobj_b2e5965bbdfa76ae3e0013423798178a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[186],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__35__handle_200_response() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__35__handle_200_response,
mod_consts[180],
#if PYTHON_VERSION >= 0x300
mod_consts[399],
#endif
codeobj_15837221c44c32103e91fa6848e4cf51,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[189],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__36__get_external_param_name() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__36__get_external_param_name,
mod_consts[11],
#if PYTHON_VERSION >= 0x300
mod_consts[400],
#endif
codeobj_ac65151abb93f2712c6d59ebc8aabaec,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[190],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__37___init__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__37___init__,
mod_consts[129],
#if PYTHON_VERSION >= 0x300
mod_consts[402],
#endif
codeobj_65b12e0788320d5e661970194578401d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__38___repr__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__38___repr__,
mod_consts[403],
#if PYTHON_VERSION >= 0x300
mod_consts[404],
#endif
codeobj_ccb0cfc96033a0d6f12a189dff76f47c,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[194],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__39_lp_delete() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__39_lp_delete,
mod_consts[405],
#if PYTHON_VERSION >= 0x300
mod_consts[406],
#endif
codeobj_fbe7c136c237e301a42b20705fd25bdf,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[195],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__3___getitem__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__3___getitem__,
mod_consts[250],
#if PYTHON_VERSION >= 0x300
mod_consts[337],
#endif
codeobj_ec6e2346cacfc10d6e0effc92dc2d3b1,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[3],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__40___str__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__40___str__,
mod_consts[407],
#if PYTHON_VERSION >= 0x300
mod_consts[408],
#endif
codeobj_a59410bc0df2db284ec475d100fdfd69,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[196],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__41___getattr__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__41___getattr__,
mod_consts[197],
#if PYTHON_VERSION >= 0x300
mod_consts[409],
#endif
codeobj_80aa71cd554cd43e23e7025b06287f35,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[198],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__42___setattr__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__42___setattr__,
mod_consts[410],
#if PYTHON_VERSION >= 0x300
mod_consts[411],
#endif
codeobj_d0ebe2130b7e3ed1fb2dc19b3869662d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[202],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__43___eq__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__43___eq__,
mod_consts[384],
#if PYTHON_VERSION >= 0x300
mod_consts[412],
#endif
codeobj_bde88962847dcc9331882f29360c6f82,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[204],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__44_lp_refresh(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__44_lp_refresh,
mod_consts[179],
#if PYTHON_VERSION >= 0x300
mod_consts[413],
#endif
codeobj_fc970866c36494ddb9c6b58668664ab1,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[85],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__45_lp_save() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__45_lp_save,
mod_consts[414],
#if PYTHON_VERSION >= 0x300
mod_consts[415],
#endif
codeobj_77778c4dff1e9ce64745096e35b57e42,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[210],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__46___init__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__46___init__,
mod_consts[129],
#if PYTHON_VERSION >= 0x300
mod_consts[417],
#endif
codeobj_7de4e15190e094c8e69d2c6eb23d8818,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[211],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__47___len__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__47___len__,
mod_consts[418],
#if PYTHON_VERSION >= 0x300
mod_consts[419],
#endif
codeobj_d5dc125f1c8d8bd0f56c06986c35b4da,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[215],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__48___iter__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__48___iter__,
mod_consts[221],
#if PYTHON_VERSION >= 0x300
mod_consts[222],
#endif
codeobj_60b708407d68650a7d4f139f52a06777,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[216],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__49___getitem__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__49___getitem__,
mod_consts[250],
#if PYTHON_VERSION >= 0x300
mod_consts[420],
#endif
codeobj_8a5f5ccab432f0bf7e6e474f15aca2d7,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[227],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__4__transform_resources_to_links() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__4__transform_resources_to_links,
mod_consts[156],
#if PYTHON_VERSION >= 0x300
mod_consts[341],
#endif
codeobj_d04e8719ad677abaf748e482ee10a358,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__50__get_slice() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__50__get_slice,
mod_consts[223],
#if PYTHON_VERSION >= 0x300
mod_consts[421],
#endif
codeobj_89dee6f4057e7f7a058b454072a2a74f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[241],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__51__convert_dicts_to_entries() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__51__convert_dicts_to_entries,
mod_consts[217],
#if PYTHON_VERSION >= 0x300
mod_consts[244],
#endif
codeobj_85f4131b897f4785044339e1f00c3bd6,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[242],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__52__with_url_query_variable_set() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__52__with_url_query_variable_set,
mod_consts[232],
#if PYTHON_VERSION >= 0x300
mod_consts[422],
#endif
codeobj_bc31093fcf822268ba231f923f06b3da,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[248],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__53___getitem__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__53___getitem__,
mod_consts[250],
#if PYTHON_VERSION >= 0x300
mod_consts[424],
#endif
codeobj_3ca5e6a90ec8bb59b6865c290d5d1688,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[255],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__54___call__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__54___call__,
mod_consts[396],
#if PYTHON_VERSION >= 0x300
mod_consts[425],
#endif
codeobj_7e1b0a6b91f32b49e579cee12803c6ff,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[261],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__55__get_url_from_id() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__55__get_url_from_id,
mod_consts[251],
#if PYTHON_VERSION >= 0x300
mod_consts[426],
#endif
codeobj_0fc7ebd5bcebb90c2a7fdcce45cfb92e,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[262],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__56___init__(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__56___init__,
mod_consts[129],
#if PYTHON_VERSION >= 0x300
mod_consts[428],
#endif
codeobj_915a426b214fe060d6e4c9e78c6b46bf,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__57_close() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__57_close,
mod_consts[286],
#if PYTHON_VERSION >= 0x300
mod_consts[429],
#endif
codeobj_f93d9feaf535738bc0929c1bc3b88524,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__58_write() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__58_write,
mod_consts[287],
#if PYTHON_VERSION >= 0x300
mod_consts[430],
#endif
codeobj_cc99ad9cd52c682546f8c08143c13606,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__5__get_external_param_name() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__5__get_external_param_name,
mod_consts[11],
#if PYTHON_VERSION >= 0x300
mod_consts[342],
#endif
codeobj_5fb8bb5e49d01b05e1a558b064786f07,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[12],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__6___init__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__6___init__,
mod_consts[129],
#if PYTHON_VERSION >= 0x300
mod_consts[344],
#endif
codeobj_c4903572dbf5b001471ab1bdc7821825,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[15],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__7_lp_collections() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__7_lp_collections,
mod_consts[347],
#if PYTHON_VERSION >= 0x300
mod_consts[348],
#endif
codeobj_016e01f2d7b7186c23fc86036b3d3a76,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[18],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__8_lp_entries() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__8_lp_entries,
mod_consts[349],
#if PYTHON_VERSION >= 0x300
mod_consts[350],
#endif
codeobj_82803a6bdfcd8958dd3a6f9ab7bf9989,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[20],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$resource$$$function__9_lp_attributes() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$resource$$$function__9_lp_attributes,
mod_consts[351],
#if PYTHON_VERSION >= 0x300
mod_consts[352],
#endif
codeobj_4881213caf4642215f6f69ee33e4c7ea,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$resource,
mod_consts[22],
NULL,
0
);
return (PyObject *)result;
}
extern void _initCompiledCellType();
extern void _initCompiledGeneratorType();
extern void _initCompiledFunctionType();
extern void _initCompiledMethodType();
extern void _initCompiledFrameType();
extern PyTypeObject Nuitka_Loader_Type;
#ifdef _NUITKA_PLUGIN_DILL_ENABLED
// Provide a way to create find a function via its C code and create it back
// in another process, useful for multiprocessing extensions like dill
extern void registerDillPluginTables(char const *module_name, PyMethodDef *reduce_compiled_function, PyMethodDef *create_compiled_function);
function_impl_code functable_lazr$restfulclient$resource[] = {
impl_lazr$restfulclient$resource$$$function__1___init__,
impl_lazr$restfulclient$resource$$$function__2_get,
impl_lazr$restfulclient$resource$$$function__3___getitem__,
impl_lazr$restfulclient$resource$$$function__4__transform_resources_to_links,
impl_lazr$restfulclient$resource$$$function__5__get_external_param_name,
impl_lazr$restfulclient$resource$$$function__6___init__,
impl_lazr$restfulclient$resource$$$function__7_lp_collections,
impl_lazr$restfulclient$resource$$$function__8_lp_entries,
impl_lazr$restfulclient$resource$$$function__9_lp_attributes,
impl_lazr$restfulclient$resource$$$function__10_lp_operations,
impl_lazr$restfulclient$resource$$$function__11___members__,
impl_lazr$restfulclient$resource$$$function__12__get_parameter_names,
impl_lazr$restfulclient$resource$$$function__13_lp_has_parameter,
impl_lazr$restfulclient$resource$$$function__14_lp_get_parameter,
impl_lazr$restfulclient$resource$$$function__15_lp_get_named_operation,
impl_lazr$restfulclient$resource$$$function__16__create_bound_resource,
impl_lazr$restfulclient$resource$$$function__17_lp_refresh,
impl_lazr$restfulclient$resource$$$function__18___getattr__,
impl_lazr$restfulclient$resource$$$function__19_lp_values_for,
impl_lazr$restfulclient$resource$$$function__20__get_external_param_name,
impl_lazr$restfulclient$resource$$$function__21__ensure_representation,
impl_lazr$restfulclient$resource$$$function__22___ne__,
impl_lazr$restfulclient$resource$$$function__23_value,
impl_lazr$restfulclient$resource$$$function__24_open,
impl_lazr$restfulclient$resource$$$function__25_delete,
impl_lazr$restfulclient$resource$$$function__26__get_parameter_names,
impl_lazr$restfulclient$resource$$$function__27___eq__,
impl_lazr$restfulclient$resource$$$function__28___init__,
impl_lazr$restfulclient$resource$$$function__29__user_agent,
impl_lazr$restfulclient$resource$$$function__30_httpFactory,
impl_lazr$restfulclient$resource$$$function__31_load,
impl_lazr$restfulclient$resource$$$function__32___init__,
impl_lazr$restfulclient$resource$$$function__33___call__,
impl_lazr$restfulclient$resource$$$function__34__handle_201_response,
impl_lazr$restfulclient$resource$$$function__35__handle_200_response,
impl_lazr$restfulclient$resource$$$function__36__get_external_param_name,
impl_lazr$restfulclient$resource$$$function__37___init__,
impl_lazr$restfulclient$resource$$$function__38___repr__,
impl_lazr$restfulclient$resource$$$function__39_lp_delete,
impl_lazr$restfulclient$resource$$$function__40___str__,
impl_lazr$restfulclient$resource$$$function__41___getattr__,
impl_lazr$restfulclient$resource$$$function__42___setattr__,
impl_lazr$restfulclient$resource$$$function__43___eq__,
impl_lazr$restfulclient$resource$$$function__44_lp_refresh,
impl_lazr$restfulclient$resource$$$function__45_lp_save,
impl_lazr$restfulclient$resource$$$function__46___init__,
impl_lazr$restfulclient$resource$$$function__47___len__,
impl_lazr$restfulclient$resource$$$function__48___iter__,
impl_lazr$restfulclient$resource$$$function__49___getitem__,
impl_lazr$restfulclient$resource$$$function__50__get_slice,
impl_lazr$restfulclient$resource$$$function__51__convert_dicts_to_entries,
impl_lazr$restfulclient$resource$$$function__52__with_url_query_variable_set,
impl_lazr$restfulclient$resource$$$function__53___getitem__,
impl_lazr$restfulclient$resource$$$function__54___call__,
impl_lazr$restfulclient$resource$$$function__55__get_url_from_id,
impl_lazr$restfulclient$resource$$$function__56___init__,
impl_lazr$restfulclient$resource$$$function__57_close,
impl_lazr$restfulclient$resource$$$function__58_write,
NULL
};
static char const *_reduce_compiled_function_argnames[] = {
"func",
NULL
};
static PyObject *_reduce_compiled_function(PyObject *self, PyObject *args, PyObject *kwds) {
PyObject *func;
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O:reduce_compiled_function", (char **)_reduce_compiled_function_argnames, &func, NULL)) {
return NULL;
}
if (Nuitka_Function_Check(func) == false) {
SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "not a compiled function");
return NULL;
}
struct Nuitka_FunctionObject *function = (struct Nuitka_FunctionObject *)func;
function_impl_code *current = functable_lazr$restfulclient$resource;
int offset = 0;
while (*current != NULL) {
if (*current == function->m_c_code) {
break;
}
current += 1;
offset += 1;
}
if (*current == NULL) {
SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "Cannot find compiled function in module.");
return NULL;
}
PyObject *code_object_desc = MAKE_TUPLE_EMPTY(6);
PyTuple_SET_ITEM0(code_object_desc, 0, function->m_code_object->co_filename);
PyTuple_SET_ITEM0(code_object_desc, 1, function->m_code_object->co_name);
PyTuple_SET_ITEM(code_object_desc, 2, PyLong_FromLong(function->m_code_object->co_firstlineno));
PyTuple_SET_ITEM0(code_object_desc, 3, function->m_code_object->co_varnames);
PyTuple_SET_ITEM(code_object_desc, 4, PyLong_FromLong(function->m_code_object->co_argcount));
PyTuple_SET_ITEM(code_object_desc, 5, PyLong_FromLong(function->m_code_object->co_flags));
CHECK_OBJECT_DEEP(code_object_desc);
PyObject *result = MAKE_TUPLE_EMPTY(4);
PyTuple_SET_ITEM(result, 0, PyLong_FromLong(offset));
PyTuple_SET_ITEM(result, 1, code_object_desc);
PyTuple_SET_ITEM0(result, 2, function->m_defaults);
PyTuple_SET_ITEM0(result, 3, function->m_doc != NULL ? function->m_doc : Py_None);
CHECK_OBJECT_DEEP(result);
return result;
}
static PyMethodDef _method_def_reduce_compiled_function = {"reduce_compiled_function", (PyCFunction)_reduce_compiled_function,
METH_VARARGS | METH_KEYWORDS, NULL};
static char const *_create_compiled_function_argnames[] = {
"func",
"code_object_desc",
"defaults",
"doc",
NULL
};
static PyObject *_create_compiled_function(PyObject *self, PyObject *args, PyObject *kwds) {
CHECK_OBJECT_DEEP(args);
PyObject *func;
PyObject *code_object_desc;
PyObject *defaults;
PyObject *doc;
if (!PyArg_ParseTupleAndKeywords(args, kwds, "OOOO:create_compiled_function", (char **)_create_compiled_function_argnames, &func, &code_object_desc, &defaults, &doc, NULL)) {
return NULL;
}
int offset = PyLong_AsLong(func);
if (offset == -1 && ERROR_OCCURRED()) {
return NULL;
}
if (offset > sizeof(functable_lazr$restfulclient$resource) || offset < 0) {
SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "Wrong offset for compiled function.");
return NULL;
}
PyObject *filename = PyTuple_GET_ITEM(code_object_desc, 0);
PyObject *function_name = PyTuple_GET_ITEM(code_object_desc, 1);
PyObject *line = PyTuple_GET_ITEM(code_object_desc, 2);
int line_int = PyLong_AsLong(line);
assert(!ERROR_OCCURRED());
PyObject *argnames = PyTuple_GET_ITEM(code_object_desc, 3);
PyObject *arg_count = PyTuple_GET_ITEM(code_object_desc, 4);
int arg_count_int = PyLong_AsLong(arg_count);
assert(!ERROR_OCCURRED());
PyObject *flags = PyTuple_GET_ITEM(code_object_desc, 5);
int flags_int = PyLong_AsLong(flags);
assert(!ERROR_OCCURRED());
PyCodeObject *code_object = MAKE_CODE_OBJECT(
filename,
line_int,
flags_int,
function_name,
argnames,
NULL, // freevars
arg_count_int,
0, // TODO: Missing kw_only_count
0 // TODO: Missing pos_only_count
);
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
functable_lazr$restfulclient$resource[offset],
code_object->co_name,
#if PYTHON_VERSION >= 0x300
NULL, // TODO: Not transferring qualname yet
#endif
code_object,
defaults,
#if PYTHON_VERSION >= 0x300
NULL, // kwdefaults are done on the outside currently
NULL, // TODO: Not transferring annotations
#endif
module_lazr$restfulclient$resource,
doc,
NULL,
0
);
return (PyObject *)result;
}
static PyMethodDef _method_def_create_compiled_function = {
"create_compiled_function",
(PyCFunction)_create_compiled_function,
METH_VARARGS | METH_KEYWORDS, NULL
};
#endif
// Internal entry point for module code.
PyObject *modulecode_lazr$restfulclient$resource(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("lazr.restfulclient.resource");
// Store the module for future use.
module_lazr$restfulclient$resource = module;
// Modules can be loaded again in case of errors, avoid the init being done again.
static bool init_done = false;
if (init_done == false) {
#if defined(_NUITKA_MODULE) && 0
// In case of an extension module loaded into a process, we need to call
// initialization here because that's the first and potentially only time
// we are going called.
// Initialize the constant values used.
_initBuiltinModule();
createGlobalConstants();
/* Initialize the compiled types of Nuitka. */
_initCompiledCellType();
_initCompiledGeneratorType();
_initCompiledFunctionType();
_initCompiledMethodType();
_initCompiledFrameType();
_initSlotCompare();
#if PYTHON_VERSION >= 0x270
_initSlotIterNext();
#endif
patchTypeComparison();
// Enable meta path based loader if not already done.
#ifdef _NUITKA_TRACE
PRINT_STRING("lazr.restfulclient.resource: Calling setupMetaPathBasedLoader().\n");
#endif
setupMetaPathBasedLoader();
#if PYTHON_VERSION >= 0x300
patchInspectModule();
#endif
#endif
/* The constants only used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("lazr.restfulclient.resource: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("lazr.restfulclient.resource: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in initlazr$restfulclient$resource\n");
moduledict_lazr$restfulclient$resource = MODULE_DICT(module_lazr$restfulclient$resource);
#ifdef _NUITKA_PLUGIN_DILL_ENABLED
registerDillPluginTables(loader_entry->name, &_method_def_reduce_compiled_function, &_method_def_create_compiled_function);
#endif
// Set "__compiled__" to what version information we have.
UPDATE_STRING_DICT0(
moduledict_lazr$restfulclient$resource,
(Nuitka_StringObject *)const_str_plain___compiled__,
Nuitka_dunder_compiled_value
);
// Update "__package__" value to what it ought to be.
{
#if 0
UPDATE_STRING_DICT0(
moduledict_lazr$restfulclient$resource,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[133]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_lazr$restfulclient$resource,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (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_lazr$restfulclient$resource,
(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_lazr$restfulclient$resource, (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_lazr$restfulclient$resource,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_lazr$restfulclient$resource);
// 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_lazr$restfulclient$resource, (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_MODULE) || !0
value = PyModule_GetDict(value);
#endif
UPDATE_STRING_DICT0(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)const_str_plain___loader__, (PyObject *)&Nuitka_Loader_Type);
#endif
#if PYTHON_VERSION >= 0x340
// Set the "__spec__" value
#if 0
// Main modules just get "None" as spec.
UPDATE_STRING_DICT0(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)const_str_plain___spec__, Py_None);
#else
// Other modules get a "ModuleSpec" from the standard mechanism.
{
PyObject *bootstrap_module = getImportLibBootstrapModule();
CHECK_OBJECT(bootstrap_module);
PyObject *_spec_from_module = PyObject_GetAttrString(bootstrap_module, "_spec_from_module");
CHECK_OBJECT(_spec_from_module);
PyObject *spec_value = CALL_FUNCTION_WITH_SINGLE_ARG(_spec_from_module, module_lazr$restfulclient$resource);
Py_DECREF(_spec_from_module);
// We can assume this to never fail, or else we are in trouble anyway.
// CHECK_OBJECT(spec_value);
if (spec_value == NULL) {
PyErr_PrintEx(0);
abort();
}
// Mark the execution in the "__spec__" value.
SET_ATTRIBUTE(spec_value, const_str_plain__initializing, Py_True);
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)const_str_plain___spec__, spec_value);
}
#endif
#endif
// Temp variables if any
PyObject *outline_0_var___class__ = NULL;
PyObject *outline_1_var___class__ = NULL;
PyObject *outline_2_var___class__ = NULL;
PyObject *outline_3_var___class__ = NULL;
PyObject *outline_4_var___class__ = NULL;
PyObject *outline_5_var___class__ = NULL;
PyObject *outline_6_var___class__ = NULL;
PyObject *outline_7_var___class__ = NULL;
PyObject *outline_8_var___class__ = NULL;
PyObject *outline_9_var___class__ = NULL;
PyObject *outline_10_var___class__ = NULL;
PyObject *tmp_class_creation_10__bases = NULL;
PyObject *tmp_class_creation_10__bases_orig = NULL;
PyObject *tmp_class_creation_10__class_decl_dict = NULL;
PyObject *tmp_class_creation_10__metaclass = NULL;
PyObject *tmp_class_creation_10__prepared = NULL;
PyObject *tmp_class_creation_11__bases = NULL;
PyObject *tmp_class_creation_11__bases_orig = NULL;
PyObject *tmp_class_creation_11__class_decl_dict = NULL;
PyObject *tmp_class_creation_11__metaclass = NULL;
PyObject *tmp_class_creation_11__prepared = NULL;
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
PyObject *tmp_class_creation_1__metaclass = NULL;
PyObject *tmp_class_creation_1__prepared = NULL;
PyObject *tmp_class_creation_2__class_decl_dict = NULL;
PyObject *tmp_class_creation_2__metaclass = NULL;
PyObject *tmp_class_creation_2__prepared = NULL;
PyObject *tmp_class_creation_3__bases = NULL;
PyObject *tmp_class_creation_3__bases_orig = NULL;
PyObject *tmp_class_creation_3__class_decl_dict = NULL;
PyObject *tmp_class_creation_3__metaclass = NULL;
PyObject *tmp_class_creation_3__prepared = NULL;
PyObject *tmp_class_creation_4__bases = NULL;
PyObject *tmp_class_creation_4__bases_orig = NULL;
PyObject *tmp_class_creation_4__class_decl_dict = NULL;
PyObject *tmp_class_creation_4__metaclass = NULL;
PyObject *tmp_class_creation_4__prepared = NULL;
PyObject *tmp_class_creation_5__bases = NULL;
PyObject *tmp_class_creation_5__bases_orig = NULL;
PyObject *tmp_class_creation_5__class_decl_dict = NULL;
PyObject *tmp_class_creation_5__metaclass = NULL;
PyObject *tmp_class_creation_5__prepared = NULL;
PyObject *tmp_class_creation_6__bases = NULL;
PyObject *tmp_class_creation_6__bases_orig = NULL;
PyObject *tmp_class_creation_6__class_decl_dict = NULL;
PyObject *tmp_class_creation_6__metaclass = NULL;
PyObject *tmp_class_creation_6__prepared = NULL;
PyObject *tmp_class_creation_7__bases = NULL;
PyObject *tmp_class_creation_7__bases_orig = NULL;
PyObject *tmp_class_creation_7__class_decl_dict = NULL;
PyObject *tmp_class_creation_7__metaclass = NULL;
PyObject *tmp_class_creation_7__prepared = NULL;
PyObject *tmp_class_creation_8__bases = NULL;
PyObject *tmp_class_creation_8__bases_orig = NULL;
PyObject *tmp_class_creation_8__class_decl_dict = NULL;
PyObject *tmp_class_creation_8__metaclass = NULL;
PyObject *tmp_class_creation_8__prepared = NULL;
PyObject *tmp_class_creation_9__bases = NULL;
PyObject *tmp_class_creation_9__bases_orig = NULL;
PyObject *tmp_class_creation_9__class_decl_dict = NULL;
PyObject *tmp_class_creation_9__metaclass = NULL;
PyObject *tmp_class_creation_9__prepared = NULL;
PyObject *tmp_import_from_1__module = NULL;
PyObject *tmp_import_from_2__module = NULL;
PyObject *tmp_import_from_3__module = NULL;
PyObject *tmp_import_from_4__module = NULL;
PyObject *tmp_import_from_5__module = NULL;
PyObject *tmp_import_from_6__module = NULL;
struct Nuitka_FrameObject *frame_75c1cff68170903badef31f2b3a89517;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
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;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_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;
struct Nuitka_ExceptionStackItem exception_preserved_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 *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;
struct Nuitka_ExceptionStackItem exception_preserved_4;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
PyObject *exception_keeper_type_11;
PyObject *exception_keeper_value_11;
PyTracebackObject *exception_keeper_tb_11;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11;
PyObject *exception_keeper_type_12;
PyObject *exception_keeper_value_12;
PyTracebackObject *exception_keeper_tb_12;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
PyObject *locals_lazr$restfulclient$resource$$$class__1_HeaderDictionary_75 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_51b055501edc5f0ae4e9de3de96bd52c_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_51b055501edc5f0ae4e9de3de96bd52c_2 = NULL;
PyObject *exception_keeper_type_13;
PyObject *exception_keeper_value_13;
PyTracebackObject *exception_keeper_tb_13;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13;
PyObject *exception_keeper_type_14;
PyObject *exception_keeper_value_14;
PyTracebackObject *exception_keeper_tb_14;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14;
PyObject *exception_keeper_type_15;
PyObject *exception_keeper_value_15;
PyTracebackObject *exception_keeper_tb_15;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15;
PyObject *locals_lazr$restfulclient$resource$$$class__2_RestfulBase_101 = NULL;
struct Nuitka_FrameObject *frame_e1e17906f9e8b062122b1adb2dff7dbd_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
static struct Nuitka_FrameObject *cache_frame_e1e17906f9e8b062122b1adb2dff7dbd_3 = NULL;
PyObject *exception_keeper_type_16;
PyObject *exception_keeper_value_16;
PyTracebackObject *exception_keeper_tb_16;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16;
PyObject *exception_keeper_type_17;
PyObject *exception_keeper_value_17;
PyTracebackObject *exception_keeper_tb_17;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17;
PyObject *exception_keeper_type_18;
PyObject *exception_keeper_value_18;
PyTracebackObject *exception_keeper_tb_18;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_18;
PyObject *locals_lazr$restfulclient$resource$$$class__3_Resource_125 = NULL;
struct Nuitka_FrameObject *frame_3dfdcacc6184057dc7b1fe6305377ba8_4;
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
static struct Nuitka_FrameObject *cache_frame_3dfdcacc6184057dc7b1fe6305377ba8_4 = NULL;
PyObject *exception_keeper_type_19;
PyObject *exception_keeper_value_19;
PyTracebackObject *exception_keeper_tb_19;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_19;
PyObject *exception_keeper_type_20;
PyObject *exception_keeper_value_20;
PyTracebackObject *exception_keeper_tb_20;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_20;
PyObject *exception_keeper_type_21;
PyObject *exception_keeper_value_21;
PyTracebackObject *exception_keeper_tb_21;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_21;
PyObject *locals_lazr$restfulclient$resource$$$class__4_ScalarValue_408 = NULL;
struct Nuitka_FrameObject *frame_f6fa001ce837af0463621d8590b312be_5;
NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL;
static struct Nuitka_FrameObject *cache_frame_f6fa001ce837af0463621d8590b312be_5 = NULL;
PyObject *exception_keeper_type_22;
PyObject *exception_keeper_value_22;
PyTracebackObject *exception_keeper_tb_22;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_22;
PyObject *exception_keeper_type_23;
PyObject *exception_keeper_value_23;
PyTracebackObject *exception_keeper_tb_23;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_23;
PyObject *exception_keeper_type_24;
PyObject *exception_keeper_value_24;
PyTracebackObject *exception_keeper_tb_24;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_24;
PyObject *locals_lazr$restfulclient$resource$$$class__5_HostedFile_418 = NULL;
struct Nuitka_FrameObject *frame_f3d2ae5eb07d77fd5a615f8b3617871a_6;
NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL;
static struct Nuitka_FrameObject *cache_frame_f3d2ae5eb07d77fd5a615f8b3617871a_6 = NULL;
PyObject *exception_keeper_type_25;
PyObject *exception_keeper_value_25;
PyTracebackObject *exception_keeper_tb_25;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_25;
PyObject *exception_keeper_type_26;
PyObject *exception_keeper_value_26;
PyTracebackObject *exception_keeper_tb_26;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_26;
PyObject *exception_keeper_type_27;
PyObject *exception_keeper_value_27;
PyTracebackObject *exception_keeper_tb_27;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_27;
PyObject *locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449 = NULL;
struct Nuitka_FrameObject *frame_290e809bf822520b51bae1c8353d042c_7;
NUITKA_MAY_BE_UNUSED char const *type_description_7 = NULL;
static struct Nuitka_FrameObject *cache_frame_290e809bf822520b51bae1c8353d042c_7 = NULL;
PyObject *exception_keeper_type_28;
PyObject *exception_keeper_value_28;
PyTracebackObject *exception_keeper_tb_28;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_28;
PyObject *exception_keeper_type_29;
PyObject *exception_keeper_value_29;
PyTracebackObject *exception_keeper_tb_29;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_29;
PyObject *exception_keeper_type_30;
PyObject *exception_keeper_value_30;
PyTracebackObject *exception_keeper_tb_30;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_30;
PyObject *locals_lazr$restfulclient$resource$$$class__7_NamedOperation_548 = NULL;
struct Nuitka_FrameObject *frame_cf958528e9c04d269b79f0ad1cd675cd_8;
NUITKA_MAY_BE_UNUSED char const *type_description_8 = NULL;
static struct Nuitka_FrameObject *cache_frame_cf958528e9c04d269b79f0ad1cd675cd_8 = NULL;
PyObject *exception_keeper_type_31;
PyObject *exception_keeper_value_31;
PyTracebackObject *exception_keeper_tb_31;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_31;
PyObject *exception_keeper_type_32;
PyObject *exception_keeper_value_32;
PyTracebackObject *exception_keeper_tb_32;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_32;
PyObject *exception_keeper_type_33;
PyObject *exception_keeper_value_33;
PyTracebackObject *exception_keeper_tb_33;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_33;
PyObject *locals_lazr$restfulclient$resource$$$class__8_Entry_696 = NULL;
struct Nuitka_FrameObject *frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9;
NUITKA_MAY_BE_UNUSED char const *type_description_9 = NULL;
static struct Nuitka_FrameObject *cache_frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9 = NULL;
PyObject *exception_keeper_type_34;
PyObject *exception_keeper_value_34;
PyTracebackObject *exception_keeper_tb_34;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_34;
PyObject *exception_keeper_type_35;
PyObject *exception_keeper_value_35;
PyTracebackObject *exception_keeper_tb_35;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_35;
PyObject *exception_keeper_type_36;
PyObject *exception_keeper_value_36;
PyTracebackObject *exception_keeper_tb_36;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_36;
PyObject *locals_lazr$restfulclient$resource$$$class__9_Collection_792 = NULL;
struct Nuitka_FrameObject *frame_38d3d2f8ce00f9bcb92534d98d53474e_10;
NUITKA_MAY_BE_UNUSED char const *type_description_10 = NULL;
static struct Nuitka_FrameObject *cache_frame_38d3d2f8ce00f9bcb92534d98d53474e_10 = NULL;
PyObject *exception_keeper_type_37;
PyObject *exception_keeper_value_37;
PyTracebackObject *exception_keeper_tb_37;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_37;
PyObject *exception_keeper_type_38;
PyObject *exception_keeper_value_38;
PyTracebackObject *exception_keeper_tb_38;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_38;
PyObject *exception_keeper_type_39;
PyObject *exception_keeper_value_39;
PyTracebackObject *exception_keeper_tb_39;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_39;
PyObject *locals_lazr$restfulclient$resource$$$class__10_CollectionWithKeyBasedLookup_977 = NULL;
struct Nuitka_FrameObject *frame_ebc97cd30c6cf878725b0e8eb4250c6e_11;
NUITKA_MAY_BE_UNUSED char const *type_description_11 = NULL;
static struct Nuitka_FrameObject *cache_frame_ebc97cd30c6cf878725b0e8eb4250c6e_11 = NULL;
PyObject *exception_keeper_type_40;
PyObject *exception_keeper_value_40;
PyTracebackObject *exception_keeper_tb_40;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_40;
PyObject *exception_keeper_type_41;
PyObject *exception_keeper_value_41;
PyTracebackObject *exception_keeper_tb_41;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_41;
PyObject *exception_keeper_type_42;
PyObject *exception_keeper_value_42;
PyTracebackObject *exception_keeper_tb_42;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_42;
PyObject *locals_lazr$restfulclient$resource$$$class__11_HostedFileBuffer_1061 = NULL;
struct Nuitka_FrameObject *frame_421a240b95afeb0ae590e0bae78f4414_12;
NUITKA_MAY_BE_UNUSED char const *type_description_12 = NULL;
static struct Nuitka_FrameObject *cache_frame_421a240b95afeb0ae590e0bae78f4414_12 = NULL;
PyObject *exception_keeper_type_43;
PyObject *exception_keeper_value_43;
PyTracebackObject *exception_keeper_tb_43;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_43;
PyObject *exception_keeper_type_44;
PyObject *exception_keeper_value_44;
PyTracebackObject *exception_keeper_tb_44;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_44;
PyObject *exception_keeper_type_45;
PyObject *exception_keeper_value_45;
PyTracebackObject *exception_keeper_tb_45;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_45;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[288];
UPDATE_STRING_DICT0(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[289], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[290];
UPDATE_STRING_DICT0(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[291], tmp_assign_source_2);
}
// Frame without reuse.
frame_75c1cff68170903badef31f2b3a89517 = MAKE_MODULE_FRAME(codeobj_75c1cff68170903badef31f2b3a89517, module_lazr$restfulclient$resource);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_75c1cff68170903badef31f2b3a89517);
assert(Py_REFCNT(frame_75c1cff68170903badef31f2b3a89517) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[290];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[293], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1;
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_value_2 = Py_True;
tmp_assattr_target_2 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[292]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[292]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[294], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1;
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = Py_None;
UPDATE_STRING_DICT0(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[295], tmp_assign_source_3);
}
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = (PyObject *)&PyType_Type;
UPDATE_STRING_DICT0(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[296], tmp_assign_source_4);
}
{
PyObject *tmp_assign_source_5;
tmp_assign_source_5 = LIST_COPY(mod_consts[297]);
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[298], tmp_assign_source_5);
}
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_import_name_from_1;
PyObject *tmp_name_value_1;
PyObject *tmp_globals_arg_value_1;
PyObject *tmp_locals_arg_value_1;
PyObject *tmp_fromlist_value_1;
PyObject *tmp_level_value_1;
tmp_name_value_1 = mod_consts[299];
tmp_globals_arg_value_1 = (PyObject *)moduledict_lazr$restfulclient$resource;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = mod_consts[300];
tmp_level_value_1 = mod_consts[226];
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 33;
tmp_import_name_from_1 = IMPORT_MODULE5(tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1, tmp_level_value_1);
if (tmp_import_name_from_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 33;
goto try_except_handler_1;
}
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_6 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[136],
mod_consts[226]
);
} else {
tmp_assign_source_6 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[136]);
}
Py_DECREF(tmp_import_name_from_1);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 33;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[136], tmp_assign_source_6);
}
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 id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_75c1cff68170903badef31f2b3a89517, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_75c1cff68170903badef31f2b3a89517, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_ImportError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_import_name_from_2;
PyObject *tmp_name_value_2;
PyObject *tmp_globals_arg_value_2;
PyObject *tmp_locals_arg_value_2;
PyObject *tmp_fromlist_value_2;
PyObject *tmp_level_value_2;
tmp_name_value_2 = mod_consts[301];
tmp_globals_arg_value_2 = (PyObject *)moduledict_lazr$restfulclient$resource;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = mod_consts[300];
tmp_level_value_2 = mod_consts[226];
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 35;
tmp_import_name_from_2 = IMPORT_MODULE5(tmp_name_value_2, tmp_globals_arg_value_2, tmp_locals_arg_value_2, tmp_fromlist_value_2, tmp_level_value_2);
if (tmp_import_name_from_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 35;
goto try_except_handler_2;
}
if (PyModule_Check(tmp_import_name_from_2)) {
tmp_assign_source_7 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[136],
mod_consts[226]
);
} else {
tmp_assign_source_7 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[136]);
}
Py_DECREF(tmp_import_name_from_2);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 35;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[136], tmp_assign_source_7);
}
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 32;
}
if (exception_tb && exception_tb->tb_frame == &frame_75c1cff68170903badef31f2b3a89517->m_frame) frame_75c1cff68170903badef31f2b3a89517->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 id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_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 id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
// Tried code:
{
PyObject *tmp_assign_source_8;
PyObject *tmp_name_value_3;
PyObject *tmp_globals_arg_value_3;
PyObject *tmp_locals_arg_value_3;
PyObject *tmp_fromlist_value_3;
PyObject *tmp_level_value_3;
tmp_name_value_3 = mod_consts[302];
tmp_globals_arg_value_3 = (PyObject *)moduledict_lazr$restfulclient$resource;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = mod_consts[303];
tmp_level_value_3 = mod_consts[226];
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 39;
tmp_assign_source_8 = IMPORT_MODULE5(tmp_name_value_3, tmp_globals_arg_value_3, tmp_locals_arg_value_3, tmp_fromlist_value_3, tmp_level_value_3);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_3;
}
assert(tmp_import_from_1__module == NULL);
tmp_import_from_1__module = tmp_assign_source_8;
}
// Tried code:
{
PyObject *tmp_assign_source_9;
PyObject *tmp_import_name_from_3;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_3 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_3)) {
tmp_assign_source_9 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[164],
mod_consts[226]
);
} else {
tmp_assign_source_9 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[164]);
}
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[164], tmp_assign_source_9);
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_import_name_from_4;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_4 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_4)) {
tmp_assign_source_10 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[99],
mod_consts[226]
);
} else {
tmp_assign_source_10 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[99]);
}
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[99], tmp_assign_source_10);
}
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(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(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 id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_4 == NULL) {
exception_keeper_tb_4 = MAKE_TRACEBACK(frame_75c1cff68170903badef31f2b3a89517, exception_keeper_lineno_4);
} else if (exception_keeper_lineno_4 != 0) {
exception_keeper_tb_4 = ADD_TRACEBACK(exception_keeper_tb_4, frame_75c1cff68170903badef31f2b3a89517, exception_keeper_lineno_4);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_4, &exception_keeper_value_4, &exception_keeper_tb_4);
// Tried code:
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_ImportError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(tmp_res == -1));
tmp_condition_result_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_11;
PyObject *tmp_name_value_4;
PyObject *tmp_globals_arg_value_4;
PyObject *tmp_locals_arg_value_4;
PyObject *tmp_fromlist_value_4;
PyObject *tmp_level_value_4;
tmp_name_value_4 = mod_consts[304];
tmp_globals_arg_value_4 = (PyObject *)moduledict_lazr$restfulclient$resource;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = mod_consts[303];
tmp_level_value_4 = mod_consts[226];
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 41;
tmp_assign_source_11 = IMPORT_MODULE5(tmp_name_value_4, tmp_globals_arg_value_4, tmp_locals_arg_value_4, tmp_fromlist_value_4, tmp_level_value_4);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 41;
goto try_except_handler_5;
}
assert(tmp_import_from_2__module == NULL);
tmp_import_from_2__module = tmp_assign_source_11;
}
// Tried code:
{
PyObject *tmp_assign_source_12;
PyObject *tmp_import_name_from_5;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_5 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_5)) {
tmp_assign_source_12 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[164],
mod_consts[226]
);
} else {
tmp_assign_source_12 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[164]);
}
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 41;
goto try_except_handler_6;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[164], tmp_assign_source_12);
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_import_name_from_6;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_6 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_6)) {
tmp_assign_source_13 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[99],
mod_consts[226]
);
} else {
tmp_assign_source_13 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[99]);
}
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 41;
goto try_except_handler_6;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[99], tmp_assign_source_13);
}
goto try_end_5;
// Exception handler code:
try_except_handler_6:;
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;
CHECK_OBJECT(tmp_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto try_except_handler_5;
// End of try:
try_end_5:;
CHECK_OBJECT(tmp_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
goto branch_end_2;
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 37;
}
if (exception_tb && exception_tb->tb_frame == &frame_75c1cff68170903badef31f2b3a89517->m_frame) frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_5;
branch_end_2:;
goto try_end_6;
// Exception handler code:
try_except_handler_5:;
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;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// 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 frame_exception_exit_1;
// End of try:
try_end_6:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto try_end_4;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_4:;
{
PyObject *tmp_assign_source_14;
{
PyObject *hard_module = IMPORT_HARD_IO();
tmp_assign_source_14 = LOOKUP_ATTRIBUTE(hard_module, mod_consts[281]);
}
assert(!(tmp_assign_source_14 == NULL));
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[281], tmp_assign_source_14);
}
// Tried code:
{
PyObject *tmp_assign_source_15;
PyObject *tmp_name_value_5;
PyObject *tmp_globals_arg_value_5;
PyObject *tmp_locals_arg_value_5;
PyObject *tmp_fromlist_value_5;
PyObject *tmp_level_value_5;
tmp_name_value_5 = mod_consts[305];
tmp_globals_arg_value_5 = (PyObject *)moduledict_lazr$restfulclient$resource;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = mod_consts[306];
tmp_level_value_5 = mod_consts[226];
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 51;
tmp_assign_source_15 = IMPORT_MODULE5(tmp_name_value_5, tmp_globals_arg_value_5, tmp_locals_arg_value_5, tmp_fromlist_value_5, tmp_level_value_5);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 51;
goto try_except_handler_7;
}
assert(tmp_import_from_3__module == NULL);
tmp_import_from_3__module = tmp_assign_source_15;
}
// Tried code:
{
PyObject *tmp_assign_source_16;
PyObject *tmp_import_name_from_7;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_7 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_7)) {
tmp_assign_source_16 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_7,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[257],
mod_consts[226]
);
} else {
tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[257]);
}
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 51;
goto try_except_handler_8;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[257], tmp_assign_source_16);
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_import_name_from_8;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_8 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_8)) {
tmp_assign_source_17 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_8,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[69],
mod_consts[226]
);
} else {
tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[69]);
}
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 51;
goto try_except_handler_8;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[69], tmp_assign_source_17);
}
{
PyObject *tmp_assign_source_18;
PyObject *tmp_import_name_from_9;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_9 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_9)) {
tmp_assign_source_18 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_9,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[246],
mod_consts[226]
);
} else {
tmp_assign_source_18 = IMPORT_NAME(tmp_import_name_from_9, mod_consts[246]);
}
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 51;
goto try_except_handler_8;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[246], tmp_assign_source_18);
}
{
PyObject *tmp_assign_source_19;
PyObject *tmp_import_name_from_10;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_10 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_10)) {
tmp_assign_source_19 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_10,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[270],
mod_consts[226]
);
} else {
tmp_assign_source_19 = IMPORT_NAME(tmp_import_name_from_10, mod_consts[270]);
}
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 51;
goto try_except_handler_8;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[270], tmp_assign_source_19);
}
{
PyObject *tmp_assign_source_20;
PyObject *tmp_import_name_from_11;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_11 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_11)) {
tmp_assign_source_20 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_11,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[247],
mod_consts[226]
);
} else {
tmp_assign_source_20 = IMPORT_NAME(tmp_import_name_from_11, mod_consts[247]);
}
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 51;
goto try_except_handler_8;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[247], tmp_assign_source_20);
}
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;
CHECK_OBJECT(tmp_import_from_3__module);
Py_DECREF(tmp_import_from_3__module);
tmp_import_from_3__module = 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(tmp_import_from_3__module);
Py_DECREF(tmp_import_from_3__module);
tmp_import_from_3__module = NULL;
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;
// Preserve existing published exception id 4.
exception_preserved_4 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_8 == NULL) {
exception_keeper_tb_8 = MAKE_TRACEBACK(frame_75c1cff68170903badef31f2b3a89517, exception_keeper_lineno_8);
} else if (exception_keeper_lineno_8 != 0) {
exception_keeper_tb_8 = ADD_TRACEBACK(exception_keeper_tb_8, frame_75c1cff68170903badef31f2b3a89517, exception_keeper_lineno_8);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_8, &exception_keeper_value_8, &exception_keeper_tb_8);
// Tried code:
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
tmp_cmp_expr_left_3 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_3 = PyExc_ImportError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
assert(!(tmp_res == -1));
tmp_condition_result_3 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_21;
PyObject *tmp_name_value_6;
PyObject *tmp_globals_arg_value_6;
PyObject *tmp_locals_arg_value_6;
PyObject *tmp_fromlist_value_6;
PyObject *tmp_level_value_6;
tmp_name_value_6 = mod_consts[69];
tmp_globals_arg_value_6 = (PyObject *)moduledict_lazr$restfulclient$resource;
tmp_locals_arg_value_6 = Py_None;
tmp_fromlist_value_6 = mod_consts[307];
tmp_level_value_6 = mod_consts[226];
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 53;
tmp_assign_source_21 = IMPORT_MODULE5(tmp_name_value_6, tmp_globals_arg_value_6, tmp_locals_arg_value_6, tmp_fromlist_value_6, tmp_level_value_6);
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_9;
}
assert(tmp_import_from_4__module == NULL);
tmp_import_from_4__module = tmp_assign_source_21;
}
// Tried code:
{
PyObject *tmp_assign_source_22;
PyObject *tmp_import_name_from_12;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_12 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_12)) {
tmp_assign_source_22 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_12,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[257],
mod_consts[226]
);
} else {
tmp_assign_source_22 = IMPORT_NAME(tmp_import_name_from_12, mod_consts[257]);
}
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_10;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[257], tmp_assign_source_22);
}
{
PyObject *tmp_assign_source_23;
PyObject *tmp_import_name_from_13;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_13 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_13)) {
tmp_assign_source_23 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_13,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[69],
mod_consts[226]
);
} else {
tmp_assign_source_23 = IMPORT_NAME(tmp_import_name_from_13, mod_consts[69]);
}
if (tmp_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_10;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[69], tmp_assign_source_23);
}
{
PyObject *tmp_assign_source_24;
PyObject *tmp_import_name_from_14;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_14 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_14)) {
tmp_assign_source_24 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_14,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[246],
mod_consts[226]
);
} else {
tmp_assign_source_24 = IMPORT_NAME(tmp_import_name_from_14, mod_consts[246]);
}
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_10;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[246], tmp_assign_source_24);
}
goto try_end_9;
// Exception handler code:
try_except_handler_10:;
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;
CHECK_OBJECT(tmp_import_from_4__module);
Py_DECREF(tmp_import_from_4__module);
tmp_import_from_4__module = 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 try_except_handler_9;
// End of try:
try_end_9:;
CHECK_OBJECT(tmp_import_from_4__module);
Py_DECREF(tmp_import_from_4__module);
tmp_import_from_4__module = NULL;
{
PyObject *tmp_assign_source_25;
PyObject *tmp_name_value_7;
PyObject *tmp_globals_arg_value_7;
PyObject *tmp_locals_arg_value_7;
PyObject *tmp_fromlist_value_7;
PyObject *tmp_level_value_7;
tmp_name_value_7 = mod_consts[308];
tmp_globals_arg_value_7 = (PyObject *)moduledict_lazr$restfulclient$resource;
tmp_locals_arg_value_7 = Py_None;
tmp_fromlist_value_7 = mod_consts[309];
tmp_level_value_7 = mod_consts[226];
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 54;
tmp_assign_source_25 = IMPORT_MODULE5(tmp_name_value_7, tmp_globals_arg_value_7, tmp_locals_arg_value_7, tmp_fromlist_value_7, tmp_level_value_7);
if (tmp_assign_source_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 54;
goto try_except_handler_9;
}
assert(tmp_import_from_5__module == NULL);
tmp_import_from_5__module = tmp_assign_source_25;
}
// Tried code:
{
PyObject *tmp_assign_source_26;
PyObject *tmp_import_name_from_15;
CHECK_OBJECT(tmp_import_from_5__module);
tmp_import_name_from_15 = tmp_import_from_5__module;
if (PyModule_Check(tmp_import_name_from_15)) {
tmp_assign_source_26 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_15,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[270],
mod_consts[226]
);
} else {
tmp_assign_source_26 = IMPORT_NAME(tmp_import_name_from_15, mod_consts[270]);
}
if (tmp_assign_source_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 54;
goto try_except_handler_11;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[270], tmp_assign_source_26);
}
{
PyObject *tmp_assign_source_27;
PyObject *tmp_import_name_from_16;
CHECK_OBJECT(tmp_import_from_5__module);
tmp_import_name_from_16 = tmp_import_from_5__module;
if (PyModule_Check(tmp_import_name_from_16)) {
tmp_assign_source_27 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_16,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[247],
mod_consts[226]
);
} else {
tmp_assign_source_27 = IMPORT_NAME(tmp_import_name_from_16, mod_consts[247]);
}
if (tmp_assign_source_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 54;
goto try_except_handler_11;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[247], tmp_assign_source_27);
}
goto try_end_10;
// Exception handler code:
try_except_handler_11:;
exception_keeper_type_10 = exception_type;
exception_keeper_value_10 = exception_value;
exception_keeper_tb_10 = exception_tb;
exception_keeper_lineno_10 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_5__module);
Py_DECREF(tmp_import_from_5__module);
tmp_import_from_5__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_10;
exception_value = exception_keeper_value_10;
exception_tb = exception_keeper_tb_10;
exception_lineno = exception_keeper_lineno_10;
goto try_except_handler_9;
// End of try:
try_end_10:;
CHECK_OBJECT(tmp_import_from_5__module);
Py_DECREF(tmp_import_from_5__module);
tmp_import_from_5__module = NULL;
goto branch_end_3;
branch_no_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 49;
}
if (exception_tb && exception_tb->tb_frame == &frame_75c1cff68170903badef31f2b3a89517->m_frame) frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_9;
branch_end_3:;
goto try_end_11;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_11 = exception_type;
exception_keeper_value_11 = exception_value;
exception_keeper_tb_11 = exception_tb;
exception_keeper_lineno_11 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 4.
SET_CURRENT_EXCEPTION(&exception_preserved_4);
// Re-raise.
exception_type = exception_keeper_type_11;
exception_value = exception_keeper_value_11;
exception_tb = exception_keeper_tb_11;
exception_lineno = exception_keeper_lineno_11;
goto frame_exception_exit_1;
// End of try:
try_end_11:;
// Restore previous exception id 4.
SET_CURRENT_EXCEPTION(&exception_preserved_4);
goto try_end_8;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_8:;
{
PyObject *tmp_assign_source_28;
tmp_assign_source_28 = IMPORT_HARD_SYS();
assert(!(tmp_assign_source_28 == NULL));
UPDATE_STRING_DICT0(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[310], tmp_assign_source_28);
}
{
PyObject *tmp_assign_source_29;
tmp_assign_source_29 = (PyObject *)&PyUnicode_Type;
UPDATE_STRING_DICT0(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[311], tmp_assign_source_29);
}
{
PyObject *tmp_assign_source_30;
tmp_assign_source_30 = (PyObject *)&PyBytes_Type;
UPDATE_STRING_DICT0(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[96], tmp_assign_source_30);
}
{
PyObject *tmp_assign_source_31;
PyObject *tmp_import_name_from_17;
PyObject *tmp_name_value_8;
PyObject *tmp_globals_arg_value_8;
PyObject *tmp_locals_arg_value_8;
PyObject *tmp_fromlist_value_8;
PyObject *tmp_level_value_8;
tmp_name_value_8 = mod_consts[312];
tmp_globals_arg_value_8 = (PyObject *)moduledict_lazr$restfulclient$resource;
tmp_locals_arg_value_8 = Py_None;
tmp_fromlist_value_8 = mod_consts[313];
tmp_level_value_8 = mod_consts[226];
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 64;
tmp_import_name_from_17 = IMPORT_MODULE5(tmp_name_value_8, tmp_globals_arg_value_8, tmp_locals_arg_value_8, tmp_fromlist_value_8, tmp_level_value_8);
if (tmp_import_name_from_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_17)) {
tmp_assign_source_31 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_17,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[118],
mod_consts[226]
);
} else {
tmp_assign_source_31 = IMPORT_NAME(tmp_import_name_from_17, mod_consts[118]);
}
Py_DECREF(tmp_import_name_from_17);
if (tmp_assign_source_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[118], tmp_assign_source_31);
}
{
PyObject *tmp_assign_source_32;
PyObject *tmp_import_name_from_18;
PyObject *tmp_name_value_9;
PyObject *tmp_globals_arg_value_9;
PyObject *tmp_locals_arg_value_9;
PyObject *tmp_fromlist_value_9;
PyObject *tmp_level_value_9;
tmp_name_value_9 = mod_consts[314];
tmp_globals_arg_value_9 = (PyObject *)moduledict_lazr$restfulclient$resource;
tmp_locals_arg_value_9 = Py_None;
tmp_fromlist_value_9 = mod_consts[315];
tmp_level_value_9 = mod_consts[226];
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 65;
tmp_import_name_from_18 = IMPORT_MODULE5(tmp_name_value_9, tmp_globals_arg_value_9, tmp_locals_arg_value_9, tmp_fromlist_value_9, tmp_level_value_9);
if (tmp_import_name_from_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 65;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_18)) {
tmp_assign_source_32 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_18,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[7],
mod_consts[226]
);
} else {
tmp_assign_source_32 = IMPORT_NAME(tmp_import_name_from_18, mod_consts[7]);
}
Py_DECREF(tmp_import_name_from_18);
if (tmp_assign_source_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 65;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[150], tmp_assign_source_32);
}
{
PyObject *tmp_assign_source_33;
PyObject *tmp_import_name_from_19;
PyObject *tmp_name_value_10;
PyObject *tmp_globals_arg_value_10;
PyObject *tmp_locals_arg_value_10;
PyObject *tmp_fromlist_value_10;
PyObject *tmp_level_value_10;
tmp_name_value_10 = mod_consts[316];
tmp_globals_arg_value_10 = (PyObject *)moduledict_lazr$restfulclient$resource;
tmp_locals_arg_value_10 = Py_None;
tmp_fromlist_value_10 = mod_consts[317];
tmp_level_value_10 = mod_consts[226];
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 67;
tmp_import_name_from_19 = IMPORT_MODULE5(tmp_name_value_10, tmp_globals_arg_value_10, tmp_locals_arg_value_10, tmp_fromlist_value_10, tmp_level_value_10);
if (tmp_import_name_from_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 67;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_19)) {
tmp_assign_source_33 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_19,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[132],
mod_consts[226]
);
} else {
tmp_assign_source_33 = IMPORT_NAME(tmp_import_name_from_19, mod_consts[132]);
}
Py_DECREF(tmp_import_name_from_19);
if (tmp_assign_source_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 67;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[132], tmp_assign_source_33);
}
{
PyObject *tmp_assign_source_34;
PyObject *tmp_name_value_11;
PyObject *tmp_globals_arg_value_11;
PyObject *tmp_locals_arg_value_11;
PyObject *tmp_fromlist_value_11;
PyObject *tmp_level_value_11;
tmp_name_value_11 = mod_consts[318];
tmp_globals_arg_value_11 = (PyObject *)moduledict_lazr$restfulclient$resource;
tmp_locals_arg_value_11 = Py_None;
tmp_fromlist_value_11 = mod_consts[319];
tmp_level_value_11 = mod_consts[226];
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 68;
tmp_assign_source_34 = IMPORT_MODULE5(tmp_name_value_11, tmp_globals_arg_value_11, tmp_locals_arg_value_11, tmp_fromlist_value_11, tmp_level_value_11);
if (tmp_assign_source_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 68;
goto frame_exception_exit_1;
}
assert(tmp_import_from_6__module == NULL);
tmp_import_from_6__module = tmp_assign_source_34;
}
// Tried code:
{
PyObject *tmp_assign_source_35;
PyObject *tmp_import_name_from_20;
CHECK_OBJECT(tmp_import_from_6__module);
tmp_import_name_from_20 = tmp_import_from_6__module;
if (PyModule_Check(tmp_import_name_from_20)) {
tmp_assign_source_35 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_20,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[122],
mod_consts[226]
);
} else {
tmp_assign_source_35 = IMPORT_NAME(tmp_import_name_from_20, mod_consts[122]);
}
if (tmp_assign_source_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 68;
goto try_except_handler_12;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[122], tmp_assign_source_35);
}
{
PyObject *tmp_assign_source_36;
PyObject *tmp_import_name_from_21;
CHECK_OBJECT(tmp_import_from_6__module);
tmp_import_name_from_21 = tmp_import_from_6__module;
if (PyModule_Check(tmp_import_name_from_21)) {
tmp_assign_source_36 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_21,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[143],
mod_consts[226]
);
} else {
tmp_assign_source_36 = IMPORT_NAME(tmp_import_name_from_21, mod_consts[143]);
}
if (tmp_assign_source_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 68;
goto try_except_handler_12;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[143], tmp_assign_source_36);
}
goto try_end_12;
// Exception handler code:
try_except_handler_12:;
exception_keeper_type_12 = exception_type;
exception_keeper_value_12 = exception_value;
exception_keeper_tb_12 = exception_tb;
exception_keeper_lineno_12 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_6__module);
Py_DECREF(tmp_import_from_6__module);
tmp_import_from_6__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_12;
exception_value = exception_keeper_value_12;
exception_tb = exception_keeper_tb_12;
exception_lineno = exception_keeper_lineno_12;
goto frame_exception_exit_1;
// End of try:
try_end_12:;
CHECK_OBJECT(tmp_import_from_6__module);
Py_DECREF(tmp_import_from_6__module);
tmp_import_from_6__module = NULL;
{
PyObject *tmp_assign_source_37;
PyObject *tmp_import_name_from_22;
PyObject *tmp_name_value_12;
PyObject *tmp_globals_arg_value_12;
PyObject *tmp_locals_arg_value_12;
PyObject *tmp_fromlist_value_12;
PyObject *tmp_level_value_12;
tmp_name_value_12 = mod_consts[320];
tmp_globals_arg_value_12 = (PyObject *)moduledict_lazr$restfulclient$resource;
tmp_locals_arg_value_12 = Py_None;
tmp_fromlist_value_12 = mod_consts[321];
tmp_level_value_12 = mod_consts[226];
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 69;
tmp_import_name_from_22 = IMPORT_MODULE5(tmp_name_value_12, tmp_globals_arg_value_12, tmp_locals_arg_value_12, tmp_fromlist_value_12, tmp_level_value_12);
if (tmp_import_name_from_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 69;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_22)) {
tmp_assign_source_37 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_22,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[165],
mod_consts[226]
);
} else {
tmp_assign_source_37 = IMPORT_NAME(tmp_import_name_from_22, mod_consts[165]);
}
Py_DECREF(tmp_import_name_from_22);
if (tmp_assign_source_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 69;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[165], tmp_assign_source_37);
}
{
PyObject *tmp_assign_source_38;
PyObject *tmp_import_name_from_23;
PyObject *tmp_name_value_13;
PyObject *tmp_globals_arg_value_13;
PyObject *tmp_locals_arg_value_13;
PyObject *tmp_fromlist_value_13;
PyObject *tmp_level_value_13;
tmp_name_value_13 = mod_consts[322];
tmp_globals_arg_value_13 = (PyObject *)moduledict_lazr$restfulclient$resource;
tmp_locals_arg_value_13 = Py_None;
tmp_fromlist_value_13 = mod_consts[323];
tmp_level_value_13 = mod_consts[226];
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 70;
tmp_import_name_from_23 = IMPORT_MODULE5(tmp_name_value_13, tmp_globals_arg_value_13, tmp_locals_arg_value_13, tmp_fromlist_value_13, tmp_level_value_13);
if (tmp_import_name_from_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_23)) {
tmp_assign_source_38 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_23,
(PyObject *)moduledict_lazr$restfulclient$resource,
mod_consts[253],
mod_consts[226]
);
} else {
tmp_assign_source_38 = IMPORT_NAME(tmp_import_name_from_23, mod_consts[253]);
}
Py_DECREF(tmp_import_name_from_23);
if (tmp_assign_source_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[253], tmp_assign_source_38);
}
{
PyObject *tmp_assign_source_39;
PyObject *tmp_called_value_1;
tmp_called_value_1 = (PyObject *)&PyBaseObject_Type;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 72;
tmp_assign_source_39 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_39 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[4], tmp_assign_source_39);
}
{
PyObject *tmp_assign_source_40;
tmp_assign_source_40 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__class_decl_dict == NULL);
tmp_class_creation_1__class_decl_dict = tmp_assign_source_40;
}
// Tried code:
{
PyObject *tmp_assign_source_41;
PyObject *tmp_metaclass_value_1;
bool tmp_condition_result_4;
PyObject *tmp_key_value_1;
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_dict_arg_value_2;
PyObject *tmp_key_value_2;
PyObject *tmp_bases_value_1;
tmp_key_value_1 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_1 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_1, tmp_key_value_1);
assert(!(tmp_res == -1));
tmp_condition_result_4 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_2 = tmp_class_creation_1__class_decl_dict;
tmp_key_value_2 = mod_consts[324];
tmp_metaclass_value_1 = DICT_GET_ITEM0(tmp_dict_arg_value_2, tmp_key_value_2);
if (tmp_metaclass_value_1 == NULL) {
tmp_metaclass_value_1 = Py_None;
}
assert(!(tmp_metaclass_value_1 == NULL));
goto condexpr_end_1;
condexpr_false_1:;
tmp_metaclass_value_1 = (PyObject *)&PyType_Type;
condexpr_end_1:;
tmp_bases_value_1 = mod_consts[325];
tmp_assign_source_41 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1);
if (tmp_assign_source_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
goto try_except_handler_13;
}
assert(tmp_class_creation_1__metaclass == NULL);
tmp_class_creation_1__metaclass = tmp_assign_source_41;
}
{
bool tmp_condition_result_5;
PyObject *tmp_key_value_3;
PyObject *tmp_dict_arg_value_3;
tmp_key_value_3 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_3 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_3, tmp_key_value_3);
assert(!(tmp_res == -1));
tmp_condition_result_5 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
tmp_dictdel_key = mod_consts[324];
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 = 75;
goto try_except_handler_13;
}
branch_no_4:;
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_1 = tmp_class_creation_1__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_1, mod_consts[326]);
tmp_condition_result_6 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_assign_source_42;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_value_1;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_2 = tmp_class_creation_1__metaclass;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[326]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
goto try_except_handler_13;
}
tmp_args_value_1 = mod_consts[327];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_1 = tmp_class_creation_1__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 75;
tmp_assign_source_42 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
goto try_except_handler_13;
}
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_42;
}
{
bool tmp_condition_result_7;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_expression_value_3 = tmp_class_creation_1__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_3, mod_consts[250]);
tmp_operand_value_1 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
goto try_except_handler_13;
}
tmp_condition_result_7 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
tmp_raise_type_1 = PyExc_TypeError;
tmp_mod_expr_left_1 = mod_consts[328];
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = mod_consts[201];
tmp_getattr_default_1 = mod_consts[329];
tmp_tuple_element_1 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
goto try_except_handler_13;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_4;
PyObject *tmp_type_arg_1;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_type_arg_1 = tmp_class_creation_1__prepared;
tmp_expression_value_4 = BUILTIN_TYPE1(tmp_type_arg_1);
assert(!(tmp_expression_value_4 == NULL));
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[201]);
Py_DECREF(tmp_expression_value_4);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_1);
goto try_except_handler_13;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_raise_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_raise_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
goto try_except_handler_13;
}
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 75;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_13;
}
branch_no_6:;
goto branch_end_5;
branch_no_5:;
{
PyObject *tmp_assign_source_43;
tmp_assign_source_43 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_43;
}
branch_end_5:;
{
PyObject *tmp_assign_source_44;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_lazr$restfulclient$resource$$$class__1_HeaderDictionary_75 = tmp_set_locals_1;
Py_INCREF(tmp_set_locals_1);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[330];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__1_HeaderDictionary_75, mod_consts[331], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
goto try_except_handler_15;
}
tmp_dictset_value = mod_consts[332];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__1_HeaderDictionary_75, mod_consts[289], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
goto try_except_handler_15;
}
tmp_dictset_value = mod_consts[183];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__1_HeaderDictionary_75, mod_consts[333], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
goto try_except_handler_15;
}
if (isFrameUnusable(cache_frame_51b055501edc5f0ae4e9de3de96bd52c_2)) {
Py_XDECREF(cache_frame_51b055501edc5f0ae4e9de3de96bd52c_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_51b055501edc5f0ae4e9de3de96bd52c_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_51b055501edc5f0ae4e9de3de96bd52c_2 = MAKE_CLASS_FRAME(codeobj_51b055501edc5f0ae4e9de3de96bd52c, module_lazr$restfulclient$resource, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_51b055501edc5f0ae4e9de3de96bd52c_2->m_type_description == NULL);
frame_51b055501edc5f0ae4e9de3de96bd52c_2 = cache_frame_51b055501edc5f0ae4e9de3de96bd52c_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_51b055501edc5f0ae4e9de3de96bd52c_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_51b055501edc5f0ae4e9de3de96bd52c_2) == 2); // Frame stack
// Framed code:
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__1___init__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__1_HeaderDictionary_75, mod_consts[129], 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 = 86;
type_description_2 = "o";
goto frame_exception_exit_2;
}
{
PyObject *tmp_defaults_1;
tmp_defaults_1 = mod_consts[335];
Py_INCREF(tmp_defaults_1);
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__2_get(tmp_defaults_1);
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__1_HeaderDictionary_75, mod_consts[1], 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 = 89;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__3___getitem__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__1_HeaderDictionary_75, mod_consts[250], 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 = 93;
type_description_2 = "o";
goto frame_exception_exit_2;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_51b055501edc5f0ae4e9de3de96bd52c_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_51b055501edc5f0ae4e9de3de96bd52c_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_51b055501edc5f0ae4e9de3de96bd52c_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_51b055501edc5f0ae4e9de3de96bd52c_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_51b055501edc5f0ae4e9de3de96bd52c_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_51b055501edc5f0ae4e9de3de96bd52c_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame if used for exception.
if (frame_51b055501edc5f0ae4e9de3de96bd52c_2 == cache_frame_51b055501edc5f0ae4e9de3de96bd52c_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_51b055501edc5f0ae4e9de3de96bd52c_2);
cache_frame_51b055501edc5f0ae4e9de3de96bd52c_2 = NULL;
}
assertFrameObject(frame_51b055501edc5f0ae4e9de3de96bd52c_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_15;
skip_nested_handling_1:;
{
PyObject *tmp_assign_source_45;
PyObject *tmp_called_value_3;
PyObject *tmp_args_value_2;
PyObject *tmp_tuple_element_2;
PyObject *tmp_kwargs_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_called_value_3 = tmp_class_creation_1__metaclass;
tmp_tuple_element_2 = mod_consts[183];
tmp_args_value_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_2, 0, tmp_tuple_element_2);
tmp_tuple_element_2 = mod_consts[325];
PyTuple_SET_ITEM0(tmp_args_value_2, 1, tmp_tuple_element_2);
tmp_tuple_element_2 = locals_lazr$restfulclient$resource$$$class__1_HeaderDictionary_75;
PyTuple_SET_ITEM0(tmp_args_value_2, 2, tmp_tuple_element_2);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_2 = tmp_class_creation_1__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 75;
tmp_assign_source_45 = CALL_FUNCTION(tmp_called_value_3, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
if (tmp_assign_source_45 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
goto try_except_handler_15;
}
assert(outline_0_var___class__ == NULL);
outline_0_var___class__ = tmp_assign_source_45;
}
CHECK_OBJECT(outline_0_var___class__);
tmp_assign_source_44 = outline_0_var___class__;
Py_INCREF(tmp_assign_source_44);
goto try_return_handler_15;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_15:;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__1_HeaderDictionary_75);
locals_lazr$restfulclient$resource$$$class__1_HeaderDictionary_75 = NULL;
goto try_return_handler_14;
// Exception handler code:
try_except_handler_15:;
exception_keeper_type_13 = exception_type;
exception_keeper_value_13 = exception_value;
exception_keeper_tb_13 = exception_tb;
exception_keeper_lineno_13 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__1_HeaderDictionary_75);
locals_lazr$restfulclient$resource$$$class__1_HeaderDictionary_75 = NULL;
// Re-raise.
exception_type = exception_keeper_type_13;
exception_value = exception_keeper_value_13;
exception_tb = exception_keeper_tb_13;
exception_lineno = exception_keeper_lineno_13;
goto try_except_handler_14;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_14:;
CHECK_OBJECT(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_14:;
exception_keeper_type_14 = exception_type;
exception_keeper_value_14 = exception_value;
exception_keeper_tb_14 = exception_tb;
exception_keeper_lineno_14 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_14;
exception_value = exception_keeper_value_14;
exception_tb = exception_keeper_tb_14;
exception_lineno = exception_keeper_lineno_14;
goto outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 75;
goto try_except_handler_13;
outline_result_1:;
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[183], tmp_assign_source_44);
}
goto try_end_13;
// Exception handler code:
try_except_handler_13:;
exception_keeper_type_15 = exception_type;
exception_keeper_value_15 = exception_value;
exception_keeper_tb_15 = exception_tb;
exception_keeper_lineno_15 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
Py_DECREF(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_15;
exception_value = exception_keeper_value_15;
exception_tb = exception_keeper_tb_15;
exception_lineno = exception_keeper_lineno_15;
goto frame_exception_exit_1;
// End of try:
try_end_13:;
CHECK_OBJECT(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(tmp_class_creation_1__metaclass);
Py_DECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_1__prepared);
Py_DECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
{
PyObject *tmp_assign_source_46;
tmp_assign_source_46 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__class_decl_dict == NULL);
tmp_class_creation_2__class_decl_dict = tmp_assign_source_46;
}
// Tried code:
{
PyObject *tmp_assign_source_47;
PyObject *tmp_metaclass_value_2;
bool tmp_condition_result_8;
PyObject *tmp_key_value_4;
PyObject *tmp_dict_arg_value_4;
PyObject *tmp_dict_arg_value_5;
PyObject *tmp_key_value_5;
PyObject *tmp_bases_value_2;
tmp_key_value_4 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dict_arg_value_4 = tmp_class_creation_2__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_4, tmp_key_value_4);
assert(!(tmp_res == -1));
tmp_condition_result_8 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_8 != false) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dict_arg_value_5 = tmp_class_creation_2__class_decl_dict;
tmp_key_value_5 = mod_consts[324];
tmp_metaclass_value_2 = DICT_GET_ITEM0(tmp_dict_arg_value_5, tmp_key_value_5);
if (tmp_metaclass_value_2 == NULL) {
tmp_metaclass_value_2 = Py_None;
}
assert(!(tmp_metaclass_value_2 == NULL));
goto condexpr_end_2;
condexpr_false_2:;
tmp_metaclass_value_2 = (PyObject *)&PyType_Type;
condexpr_end_2:;
tmp_bases_value_2 = mod_consts[325];
tmp_assign_source_47 = SELECT_METACLASS(tmp_metaclass_value_2, tmp_bases_value_2);
if (tmp_assign_source_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 101;
goto try_except_handler_16;
}
assert(tmp_class_creation_2__metaclass == NULL);
tmp_class_creation_2__metaclass = tmp_assign_source_47;
}
{
bool tmp_condition_result_9;
PyObject *tmp_key_value_6;
PyObject *tmp_dict_arg_value_6;
tmp_key_value_6 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dict_arg_value_6 = tmp_class_creation_2__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_6, tmp_key_value_6);
assert(!(tmp_res == -1));
tmp_condition_result_9 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_9 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict;
tmp_dictdel_key = mod_consts[324];
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 = 101;
goto try_except_handler_16;
}
branch_no_7:;
{
nuitka_bool tmp_condition_result_10;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_5 = tmp_class_creation_2__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_5, mod_consts[326]);
tmp_condition_result_10 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_assign_source_48;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_value_3;
PyObject *tmp_kwargs_value_3;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_6 = tmp_class_creation_2__metaclass;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[326]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 101;
goto try_except_handler_16;
}
tmp_args_value_3 = mod_consts[338];
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_3 = tmp_class_creation_2__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 101;
tmp_assign_source_48 = CALL_FUNCTION(tmp_called_value_4, tmp_args_value_3, tmp_kwargs_value_3);
Py_DECREF(tmp_called_value_4);
if (tmp_assign_source_48 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 101;
goto try_except_handler_16;
}
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_48;
}
{
bool tmp_condition_result_11;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_expression_value_7 = tmp_class_creation_2__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_7, mod_consts[250]);
tmp_operand_value_2 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 101;
goto try_except_handler_16;
}
tmp_condition_result_11 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_11 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_raise_value_2;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_3;
PyObject *tmp_getattr_target_2;
PyObject *tmp_getattr_attr_2;
PyObject *tmp_getattr_default_2;
tmp_raise_type_2 = PyExc_TypeError;
tmp_mod_expr_left_2 = mod_consts[328];
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
tmp_getattr_attr_2 = mod_consts[201];
tmp_getattr_default_2 = mod_consts[329];
tmp_tuple_element_3 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2);
if (tmp_tuple_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 101;
goto try_except_handler_16;
}
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_8;
PyObject *tmp_type_arg_2;
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 0, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_type_arg_2 = tmp_class_creation_2__prepared;
tmp_expression_value_8 = BUILTIN_TYPE1(tmp_type_arg_2);
assert(!(tmp_expression_value_8 == NULL));
tmp_tuple_element_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[201]);
Py_DECREF(tmp_expression_value_8);
if (tmp_tuple_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 101;
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 1, tmp_tuple_element_3);
}
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_mod_expr_right_2);
goto try_except_handler_16;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
tmp_raise_value_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_raise_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 101;
goto try_except_handler_16;
}
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_value = tmp_raise_value_2;
exception_lineno = 101;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_16;
}
branch_no_9:;
goto branch_end_8;
branch_no_8:;
{
PyObject *tmp_assign_source_49;
tmp_assign_source_49 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_49;
}
branch_end_8:;
{
PyObject *tmp_assign_source_50;
{
PyObject *tmp_set_locals_2;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_set_locals_2 = tmp_class_creation_2__prepared;
locals_lazr$restfulclient$resource$$$class__2_RestfulBase_101 = tmp_set_locals_2;
Py_INCREF(tmp_set_locals_2);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[330];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__2_RestfulBase_101, mod_consts[331], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 101;
goto try_except_handler_18;
}
tmp_dictset_value = mod_consts[339];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__2_RestfulBase_101, mod_consts[289], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 101;
goto try_except_handler_18;
}
tmp_dictset_value = mod_consts[340];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__2_RestfulBase_101, mod_consts[333], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 101;
goto try_except_handler_18;
}
if (isFrameUnusable(cache_frame_e1e17906f9e8b062122b1adb2dff7dbd_3)) {
Py_XDECREF(cache_frame_e1e17906f9e8b062122b1adb2dff7dbd_3);
#if _DEBUG_REFCOUNTS
if (cache_frame_e1e17906f9e8b062122b1adb2dff7dbd_3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_e1e17906f9e8b062122b1adb2dff7dbd_3 = MAKE_CLASS_FRAME(codeobj_e1e17906f9e8b062122b1adb2dff7dbd, module_lazr$restfulclient$resource, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_e1e17906f9e8b062122b1adb2dff7dbd_3->m_type_description == NULL);
frame_e1e17906f9e8b062122b1adb2dff7dbd_3 = cache_frame_e1e17906f9e8b062122b1adb2dff7dbd_3;
// Push the new frame as the currently active one.
pushFrameStack(frame_e1e17906f9e8b062122b1adb2dff7dbd_3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_e1e17906f9e8b062122b1adb2dff7dbd_3) == 2); // Frame stack
// Framed code:
tmp_dictset_value = mod_consts[127];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__2_RestfulBase_101, mod_consts[41], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__4__transform_resources_to_links();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__2_RestfulBase_101, mod_consts[156], 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 = 106;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__5__get_external_param_name();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__2_RestfulBase_101, mod_consts[11], 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 = 114;
type_description_2 = "o";
goto frame_exception_exit_3;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_e1e17906f9e8b062122b1adb2dff7dbd_3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_exception_exit_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e1e17906f9e8b062122b1adb2dff7dbd_3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e1e17906f9e8b062122b1adb2dff7dbd_3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e1e17906f9e8b062122b1adb2dff7dbd_3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e1e17906f9e8b062122b1adb2dff7dbd_3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_e1e17906f9e8b062122b1adb2dff7dbd_3,
type_description_2,
outline_1_var___class__
);
// Release cached frame if used for exception.
if (frame_e1e17906f9e8b062122b1adb2dff7dbd_3 == cache_frame_e1e17906f9e8b062122b1adb2dff7dbd_3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_e1e17906f9e8b062122b1adb2dff7dbd_3);
cache_frame_e1e17906f9e8b062122b1adb2dff7dbd_3 = NULL;
}
assertFrameObject(frame_e1e17906f9e8b062122b1adb2dff7dbd_3);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_2;
frame_no_exception_2:;
goto skip_nested_handling_2;
nested_frame_exit_2:;
goto try_except_handler_18;
skip_nested_handling_2:;
{
PyObject *tmp_assign_source_51;
PyObject *tmp_called_value_5;
PyObject *tmp_args_value_4;
PyObject *tmp_tuple_element_4;
PyObject *tmp_kwargs_value_4;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_called_value_5 = tmp_class_creation_2__metaclass;
tmp_tuple_element_4 = mod_consts[340];
tmp_args_value_4 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_4, 0, tmp_tuple_element_4);
tmp_tuple_element_4 = mod_consts[325];
PyTuple_SET_ITEM0(tmp_args_value_4, 1, tmp_tuple_element_4);
tmp_tuple_element_4 = locals_lazr$restfulclient$resource$$$class__2_RestfulBase_101;
PyTuple_SET_ITEM0(tmp_args_value_4, 2, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_4 = tmp_class_creation_2__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 101;
tmp_assign_source_51 = CALL_FUNCTION(tmp_called_value_5, tmp_args_value_4, tmp_kwargs_value_4);
Py_DECREF(tmp_args_value_4);
if (tmp_assign_source_51 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 101;
goto try_except_handler_18;
}
assert(outline_1_var___class__ == NULL);
outline_1_var___class__ = tmp_assign_source_51;
}
CHECK_OBJECT(outline_1_var___class__);
tmp_assign_source_50 = outline_1_var___class__;
Py_INCREF(tmp_assign_source_50);
goto try_return_handler_18;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_18:;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__2_RestfulBase_101);
locals_lazr$restfulclient$resource$$$class__2_RestfulBase_101 = NULL;
goto try_return_handler_17;
// Exception handler code:
try_except_handler_18:;
exception_keeper_type_16 = exception_type;
exception_keeper_value_16 = exception_value;
exception_keeper_tb_16 = exception_tb;
exception_keeper_lineno_16 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__2_RestfulBase_101);
locals_lazr$restfulclient$resource$$$class__2_RestfulBase_101 = NULL;
// Re-raise.
exception_type = exception_keeper_type_16;
exception_value = exception_keeper_value_16;
exception_tb = exception_keeper_tb_16;
exception_lineno = exception_keeper_lineno_16;
goto try_except_handler_17;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_17:;
CHECK_OBJECT(outline_1_var___class__);
Py_DECREF(outline_1_var___class__);
outline_1_var___class__ = NULL;
goto outline_result_2;
// Exception handler code:
try_except_handler_17:;
exception_keeper_type_17 = exception_type;
exception_keeper_value_17 = exception_value;
exception_keeper_tb_17 = exception_tb;
exception_keeper_lineno_17 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_17;
exception_value = exception_keeper_value_17;
exception_tb = exception_keeper_tb_17;
exception_lineno = exception_keeper_lineno_17;
goto outline_exception_2;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_2:;
exception_lineno = 101;
goto try_except_handler_16;
outline_result_2:;
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[340], tmp_assign_source_50);
}
goto try_end_14;
// Exception handler code:
try_except_handler_16:;
exception_keeper_type_18 = exception_type;
exception_keeper_value_18 = exception_value;
exception_keeper_tb_18 = exception_tb;
exception_keeper_lineno_18 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
Py_DECREF(tmp_class_creation_2__class_decl_dict);
tmp_class_creation_2__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_2__metaclass);
tmp_class_creation_2__metaclass = NULL;
Py_XDECREF(tmp_class_creation_2__prepared);
tmp_class_creation_2__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_18;
exception_value = exception_keeper_value_18;
exception_tb = exception_keeper_tb_18;
exception_lineno = exception_keeper_lineno_18;
goto frame_exception_exit_1;
// End of try:
try_end_14:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
Py_DECREF(tmp_class_creation_2__class_decl_dict);
tmp_class_creation_2__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
Py_DECREF(tmp_class_creation_2__metaclass);
tmp_class_creation_2__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_2__prepared);
Py_DECREF(tmp_class_creation_2__prepared);
tmp_class_creation_2__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_52;
PyObject *tmp_tuple_element_5;
tmp_tuple_element_5 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[340]);
if (unlikely(tmp_tuple_element_5 == NULL)) {
tmp_tuple_element_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[340]);
}
if (tmp_tuple_element_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto try_except_handler_19;
}
tmp_assign_source_52 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_52, 0, tmp_tuple_element_5);
assert(tmp_class_creation_3__bases_orig == NULL);
tmp_class_creation_3__bases_orig = tmp_assign_source_52;
}
{
PyObject *tmp_assign_source_53;
PyObject *tmp_dircall_arg1_1;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_dircall_arg1_1 = tmp_class_creation_3__bases_orig;
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_53 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_53 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto try_except_handler_19;
}
assert(tmp_class_creation_3__bases == NULL);
tmp_class_creation_3__bases = tmp_assign_source_53;
}
{
PyObject *tmp_assign_source_54;
tmp_assign_source_54 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__class_decl_dict == NULL);
tmp_class_creation_3__class_decl_dict = tmp_assign_source_54;
}
{
PyObject *tmp_assign_source_55;
PyObject *tmp_metaclass_value_3;
bool tmp_condition_result_12;
PyObject *tmp_key_value_7;
PyObject *tmp_dict_arg_value_7;
PyObject *tmp_dict_arg_value_8;
PyObject *tmp_key_value_8;
nuitka_bool tmp_condition_result_13;
int tmp_truth_name_1;
PyObject *tmp_type_arg_3;
PyObject *tmp_expression_value_9;
PyObject *tmp_subscript_value_1;
PyObject *tmp_bases_value_3;
tmp_key_value_7 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dict_arg_value_7 = tmp_class_creation_3__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_7, tmp_key_value_7);
assert(!(tmp_res == -1));
tmp_condition_result_12 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_12 != false) {
goto condexpr_true_3;
} else {
goto condexpr_false_3;
}
condexpr_true_3:;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dict_arg_value_8 = tmp_class_creation_3__class_decl_dict;
tmp_key_value_8 = mod_consts[324];
tmp_metaclass_value_3 = DICT_GET_ITEM0(tmp_dict_arg_value_8, tmp_key_value_8);
if (tmp_metaclass_value_3 == NULL) {
tmp_metaclass_value_3 = Py_None;
}
assert(!(tmp_metaclass_value_3 == NULL));
Py_INCREF(tmp_metaclass_value_3);
goto condexpr_end_3;
condexpr_false_3:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_class_creation_3__bases);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto try_except_handler_19;
}
tmp_condition_result_13 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_13 == NUITKA_BOOL_TRUE) {
goto condexpr_true_4;
} else {
goto condexpr_false_4;
}
condexpr_true_4:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_expression_value_9 = tmp_class_creation_3__bases;
tmp_subscript_value_1 = mod_consts[226];
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_9, tmp_subscript_value_1, 0);
if (tmp_type_arg_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto try_except_handler_19;
}
tmp_metaclass_value_3 = BUILTIN_TYPE1(tmp_type_arg_3);
Py_DECREF(tmp_type_arg_3);
if (tmp_metaclass_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto try_except_handler_19;
}
goto condexpr_end_4;
condexpr_false_4:;
tmp_metaclass_value_3 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_3);
condexpr_end_4:;
condexpr_end_3:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_bases_value_3 = tmp_class_creation_3__bases;
tmp_assign_source_55 = SELECT_METACLASS(tmp_metaclass_value_3, tmp_bases_value_3);
Py_DECREF(tmp_metaclass_value_3);
if (tmp_assign_source_55 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto try_except_handler_19;
}
assert(tmp_class_creation_3__metaclass == NULL);
tmp_class_creation_3__metaclass = tmp_assign_source_55;
}
{
bool tmp_condition_result_14;
PyObject *tmp_key_value_9;
PyObject *tmp_dict_arg_value_9;
tmp_key_value_9 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dict_arg_value_9 = tmp_class_creation_3__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_9, tmp_key_value_9);
assert(!(tmp_res == -1));
tmp_condition_result_14 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_14 != false) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict;
tmp_dictdel_key = mod_consts[324];
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 = 125;
goto try_except_handler_19;
}
branch_no_10:;
{
nuitka_bool tmp_condition_result_15;
PyObject *tmp_expression_value_10;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_10 = tmp_class_creation_3__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_10, mod_consts[326]);
tmp_condition_result_15 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_15 == NUITKA_BOOL_TRUE) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_assign_source_56;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_11;
PyObject *tmp_args_value_5;
PyObject *tmp_tuple_element_6;
PyObject *tmp_kwargs_value_5;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_11 = tmp_class_creation_3__metaclass;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[326]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto try_except_handler_19;
}
tmp_tuple_element_6 = mod_consts[7];
tmp_args_value_5 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_5, 0, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_6 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_5, 1, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_5 = tmp_class_creation_3__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 125;
tmp_assign_source_56 = CALL_FUNCTION(tmp_called_value_6, tmp_args_value_5, tmp_kwargs_value_5);
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_value_5);
if (tmp_assign_source_56 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto try_except_handler_19;
}
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_56;
}
{
bool tmp_condition_result_16;
PyObject *tmp_operand_value_3;
PyObject *tmp_expression_value_12;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_expression_value_12 = tmp_class_creation_3__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_12, mod_consts[250]);
tmp_operand_value_3 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto try_except_handler_19;
}
tmp_condition_result_16 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_16 != false) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
{
PyObject *tmp_raise_type_3;
PyObject *tmp_raise_value_3;
PyObject *tmp_mod_expr_left_3;
PyObject *tmp_mod_expr_right_3;
PyObject *tmp_tuple_element_7;
PyObject *tmp_getattr_target_3;
PyObject *tmp_getattr_attr_3;
PyObject *tmp_getattr_default_3;
tmp_raise_type_3 = PyExc_TypeError;
tmp_mod_expr_left_3 = mod_consts[328];
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
tmp_getattr_attr_3 = mod_consts[201];
tmp_getattr_default_3 = mod_consts[329];
tmp_tuple_element_7 = BUILTIN_GETATTR(tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto try_except_handler_19;
}
tmp_mod_expr_right_3 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_13;
PyObject *tmp_type_arg_4;
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 0, tmp_tuple_element_7);
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_type_arg_4 = tmp_class_creation_3__prepared;
tmp_expression_value_13 = BUILTIN_TYPE1(tmp_type_arg_4);
assert(!(tmp_expression_value_13 == NULL));
tmp_tuple_element_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[201]);
Py_DECREF(tmp_expression_value_13);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 1, tmp_tuple_element_7);
}
goto tuple_build_noexception_3;
// Exception handling pass through code for tuple_build:
tuple_build_exception_3:;
Py_DECREF(tmp_mod_expr_right_3);
goto try_except_handler_19;
// Finished with no exception for tuple_build:
tuple_build_noexception_3:;
tmp_raise_value_3 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_3, tmp_mod_expr_right_3);
Py_DECREF(tmp_mod_expr_right_3);
if (tmp_raise_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto try_except_handler_19;
}
exception_type = tmp_raise_type_3;
Py_INCREF(tmp_raise_type_3);
exception_value = tmp_raise_value_3;
exception_lineno = 125;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_19;
}
branch_no_12:;
goto branch_end_11;
branch_no_11:;
{
PyObject *tmp_assign_source_57;
tmp_assign_source_57 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_57;
}
branch_end_11:;
{
PyObject *tmp_assign_source_58;
{
PyObject *tmp_set_locals_3;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_set_locals_3 = tmp_class_creation_3__prepared;
locals_lazr$restfulclient$resource$$$class__3_Resource_125 = tmp_set_locals_3;
Py_INCREF(tmp_set_locals_3);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[330];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[331], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto try_except_handler_21;
}
tmp_dictset_value = mod_consts[343];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[289], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto try_except_handler_21;
}
tmp_dictset_value = mod_consts[7];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[333], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto try_except_handler_21;
}
if (isFrameUnusable(cache_frame_3dfdcacc6184057dc7b1fe6305377ba8_4)) {
Py_XDECREF(cache_frame_3dfdcacc6184057dc7b1fe6305377ba8_4);
#if _DEBUG_REFCOUNTS
if (cache_frame_3dfdcacc6184057dc7b1fe6305377ba8_4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3dfdcacc6184057dc7b1fe6305377ba8_4 = MAKE_CLASS_FRAME(codeobj_3dfdcacc6184057dc7b1fe6305377ba8, module_lazr$restfulclient$resource, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_type_description == NULL);
frame_3dfdcacc6184057dc7b1fe6305377ba8_4 = cache_frame_3dfdcacc6184057dc7b1fe6305377ba8_4;
// Push the new frame as the currently active one.
pushFrameStack(frame_3dfdcacc6184057dc7b1fe6305377ba8_4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3dfdcacc6184057dc7b1fe6305377ba8_4) == 2); // Frame stack
// Framed code:
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__6___init__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[129], 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_4;
}
{
nuitka_bool tmp_condition_result_17;
PyObject *tmp_called_value_7;
PyObject *tmp_called_value_8;
tmp_res = MAPPING_HAS_ITEM(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[345]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_condition_result_17 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_17 == NUITKA_BOOL_TRUE) {
goto condexpr_true_5;
} else {
goto condexpr_false_5;
}
condexpr_true_5:;
tmp_called_value_7 = PyObject_GetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[345]);
if (unlikely(tmp_called_value_7 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[345]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 138;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_2 = "o";
goto frame_exception_exit_4;
}
frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_frame.f_lineno = 138;
tmp_dictset_value = CALL_FUNCTION_NO_ARGS(tmp_called_value_7);
Py_DECREF(tmp_called_value_7);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_2 = "o";
goto frame_exception_exit_4;
}
goto condexpr_end_5;
condexpr_false_5:;
tmp_called_value_8 = (PyObject *)&PyBaseObject_Type;
frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_frame.f_lineno = 138;
tmp_dictset_value = CALL_FUNCTION_NO_ARGS(tmp_called_value_8);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_2 = "o";
goto frame_exception_exit_4;
}
condexpr_end_5:;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[17], 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 = 138;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
nuitka_bool tmp_condition_result_18;
PyObject *tmp_called_value_9;
PyObject *tmp_called_value_10;
tmp_res = MAPPING_HAS_ITEM(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[345]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_condition_result_18 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) {
goto condexpr_true_6;
} else {
goto condexpr_false_6;
}
condexpr_true_6:;
tmp_called_value_9 = PyObject_GetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[345]);
if (unlikely(tmp_called_value_9 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[345]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 139;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_2 = "o";
goto frame_exception_exit_4;
}
frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_frame.f_lineno = 139;
tmp_dictset_value = CALL_FUNCTION_NO_ARGS(tmp_called_value_9);
Py_DECREF(tmp_called_value_9);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_2 = "o";
goto frame_exception_exit_4;
}
goto condexpr_end_6;
condexpr_false_6:;
tmp_called_value_10 = (PyObject *)&PyBaseObject_Type;
frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_frame.f_lineno = 139;
tmp_dictset_value = CALL_FUNCTION_NO_ARGS(tmp_called_value_10);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_2 = "o";
goto frame_exception_exit_4;
}
condexpr_end_6:;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[19], 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 = 139;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
nuitka_bool tmp_condition_result_19;
PyObject *tmp_called_value_11;
PyObject *tmp_called_value_12;
tmp_res = MAPPING_HAS_ITEM(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[345]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 140;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_condition_result_19 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_19 == NUITKA_BOOL_TRUE) {
goto condexpr_true_7;
} else {
goto condexpr_false_7;
}
condexpr_true_7:;
tmp_called_value_11 = PyObject_GetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[345]);
if (unlikely(tmp_called_value_11 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[345]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 140;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if (tmp_called_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 140;
type_description_2 = "o";
goto frame_exception_exit_4;
}
frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_frame.f_lineno = 140;
tmp_dictset_value = CALL_FUNCTION_NO_ARGS(tmp_called_value_11);
Py_DECREF(tmp_called_value_11);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 140;
type_description_2 = "o";
goto frame_exception_exit_4;
}
goto condexpr_end_7;
condexpr_false_7:;
tmp_called_value_12 = (PyObject *)&PyBaseObject_Type;
frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_frame.f_lineno = 140;
tmp_dictset_value = CALL_FUNCTION_NO_ARGS(tmp_called_value_12);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 140;
type_description_2 = "o";
goto frame_exception_exit_4;
}
condexpr_end_7:;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[21], 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 = 140;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
nuitka_bool tmp_condition_result_20;
PyObject *tmp_called_value_13;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_14;
PyObject *tmp_args_element_value_2;
tmp_res = MAPPING_HAS_ITEM(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[346]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_condition_result_20 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_20 == NUITKA_BOOL_TRUE) {
goto condexpr_true_8;
} else {
goto condexpr_false_8;
}
condexpr_true_8:;
tmp_called_value_13 = PyObject_GetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[346]);
if (unlikely(tmp_called_value_13 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[346]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 142;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if (tmp_called_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_args_element_value_1 = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__7_lp_collections();
frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_frame.f_lineno = 142;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_13, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_13);
Py_DECREF(tmp_args_element_value_1);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_2 = "o";
goto frame_exception_exit_4;
}
goto condexpr_end_8;
condexpr_false_8:;
tmp_called_value_14 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_2 = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__7_lp_collections();
frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_frame.f_lineno = 142;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_14, tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_2 = "o";
goto frame_exception_exit_4;
}
condexpr_end_8:;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[347], 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 = 143;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
nuitka_bool tmp_condition_result_21;
PyObject *tmp_called_value_15;
PyObject *tmp_args_element_value_3;
PyObject *tmp_called_value_16;
PyObject *tmp_args_element_value_4;
tmp_res = MAPPING_HAS_ITEM(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[346]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_condition_result_21 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_21 == NUITKA_BOOL_TRUE) {
goto condexpr_true_9;
} else {
goto condexpr_false_9;
}
condexpr_true_9:;
tmp_called_value_15 = PyObject_GetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[346]);
if (unlikely(tmp_called_value_15 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[346]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 147;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if (tmp_called_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_args_element_value_3 = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__8_lp_entries();
frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_frame.f_lineno = 147;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_15, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_15);
Py_DECREF(tmp_args_element_value_3);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_2 = "o";
goto frame_exception_exit_4;
}
goto condexpr_end_9;
condexpr_false_9:;
tmp_called_value_16 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_4 = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__8_lp_entries();
frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_frame.f_lineno = 147;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_16, tmp_args_element_value_4);
Py_DECREF(tmp_args_element_value_4);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_2 = "o";
goto frame_exception_exit_4;
}
condexpr_end_9:;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[349], 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 = 148;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
nuitka_bool tmp_condition_result_22;
PyObject *tmp_called_value_17;
PyObject *tmp_args_element_value_5;
PyObject *tmp_called_value_18;
PyObject *tmp_args_element_value_6;
tmp_res = MAPPING_HAS_ITEM(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[346]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 152;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_condition_result_22 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_22 == NUITKA_BOOL_TRUE) {
goto condexpr_true_10;
} else {
goto condexpr_false_10;
}
condexpr_true_10:;
tmp_called_value_17 = PyObject_GetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[346]);
if (unlikely(tmp_called_value_17 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[346]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 152;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if (tmp_called_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 152;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_args_element_value_5 = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__9_lp_attributes();
frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_frame.f_lineno = 152;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_17, tmp_args_element_value_5);
Py_DECREF(tmp_called_value_17);
Py_DECREF(tmp_args_element_value_5);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 152;
type_description_2 = "o";
goto frame_exception_exit_4;
}
goto condexpr_end_10;
condexpr_false_10:;
tmp_called_value_18 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_6 = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__9_lp_attributes();
frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_frame.f_lineno = 152;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_18, tmp_args_element_value_6);
Py_DECREF(tmp_args_element_value_6);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 152;
type_description_2 = "o";
goto frame_exception_exit_4;
}
condexpr_end_10:;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[351], 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 = 153;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
nuitka_bool tmp_condition_result_23;
PyObject *tmp_called_value_19;
PyObject *tmp_args_element_value_7;
PyObject *tmp_called_value_20;
PyObject *tmp_args_element_value_8;
tmp_res = MAPPING_HAS_ITEM(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[346]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 157;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_condition_result_23 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_23 == NUITKA_BOOL_TRUE) {
goto condexpr_true_11;
} else {
goto condexpr_false_11;
}
condexpr_true_11:;
tmp_called_value_19 = PyObject_GetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[346]);
if (unlikely(tmp_called_value_19 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[346]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 157;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if (tmp_called_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 157;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_args_element_value_7 = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__10_lp_operations();
frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_frame.f_lineno = 157;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_19, tmp_args_element_value_7);
Py_DECREF(tmp_called_value_19);
Py_DECREF(tmp_args_element_value_7);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 157;
type_description_2 = "o";
goto frame_exception_exit_4;
}
goto condexpr_end_11;
condexpr_false_11:;
tmp_called_value_20 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_8 = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__10_lp_operations();
frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_frame.f_lineno = 157;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_20, tmp_args_element_value_8);
Py_DECREF(tmp_args_element_value_8);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 157;
type_description_2 = "o";
goto frame_exception_exit_4;
}
condexpr_end_11:;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[353], 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 = 158;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
nuitka_bool tmp_condition_result_24;
PyObject *tmp_called_value_21;
PyObject *tmp_args_element_value_9;
PyObject *tmp_called_value_22;
PyObject *tmp_args_element_value_10;
tmp_res = MAPPING_HAS_ITEM(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[346]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 182;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_condition_result_24 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_24 == NUITKA_BOOL_TRUE) {
goto condexpr_true_12;
} else {
goto condexpr_false_12;
}
condexpr_true_12:;
tmp_called_value_21 = PyObject_GetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[346]);
if (unlikely(tmp_called_value_21 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[346]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 182;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if (tmp_called_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 182;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_args_element_value_9 = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__11___members__();
frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_frame.f_lineno = 182;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_21, tmp_args_element_value_9);
Py_DECREF(tmp_called_value_21);
Py_DECREF(tmp_args_element_value_9);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 182;
type_description_2 = "o";
goto frame_exception_exit_4;
}
goto condexpr_end_12;
condexpr_false_12:;
tmp_called_value_22 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_10 = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__11___members__();
frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_frame.f_lineno = 182;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_22, tmp_args_element_value_10);
Py_DECREF(tmp_args_element_value_10);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 182;
type_description_2 = "o";
goto frame_exception_exit_4;
}
condexpr_end_12:;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[355], 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 = 183;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
tmp_dictset_value = PyObject_GetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[353]);
if (unlikely(tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[353]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 188;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 188;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[357], 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 = 188;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__12__get_parameter_names();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[16], 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_4;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__13_lp_has_parameter();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[199], 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 = 226;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__14_lp_get_parameter();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[87], 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 = 230;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__15_lp_get_named_operation();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[86], 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 = 261;
type_description_2 = "o";
goto frame_exception_exit_4;
}
{
nuitka_bool tmp_condition_result_25;
PyObject *tmp_called_value_23;
PyObject *tmp_args_element_value_11;
PyObject *tmp_defaults_2;
PyObject *tmp_classmethod_arg_1;
PyObject *tmp_defaults_3;
tmp_res = MAPPING_HAS_ITEM(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[362]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 276;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_condition_result_25 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_25 == NUITKA_BOOL_TRUE) {
goto condexpr_true_13;
} else {
goto condexpr_false_13;
}
condexpr_true_13:;
tmp_called_value_23 = PyObject_GetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[362]);
if (unlikely(tmp_called_value_23 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[362]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 276;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if (tmp_called_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 276;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_defaults_2 = mod_consts[363];
Py_INCREF(tmp_defaults_2);
tmp_args_element_value_11 = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__16__create_bound_resource(tmp_defaults_2);
frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_frame.f_lineno = 276;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_23, tmp_args_element_value_11);
Py_DECREF(tmp_called_value_23);
Py_DECREF(tmp_args_element_value_11);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 276;
type_description_2 = "o";
goto frame_exception_exit_4;
}
goto condexpr_end_13;
condexpr_false_13:;
tmp_defaults_3 = mod_consts[363];
Py_INCREF(tmp_defaults_3);
tmp_classmethod_arg_1 = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__16__create_bound_resource(tmp_defaults_3);
tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_1);
Py_DECREF(tmp_classmethod_arg_1);
assert(!(tmp_dictset_value == NULL));
condexpr_end_13:;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[56], 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 = 277;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_defaults_4;
tmp_defaults_4 = mod_consts[365];
Py_INCREF(tmp_defaults_4);
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__17_lp_refresh(tmp_defaults_4);
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[179], 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 = 329;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__18___getattr__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[197], 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 = 346;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__19_lp_values_for();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[368], 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 = 358;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__20__get_external_param_name();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[11], 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 = 367;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__21__ensure_representation();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[50], 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 = 375;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__22___ne__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[372], 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 = 403;
type_description_2 = "o";
goto frame_exception_exit_4;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_3dfdcacc6184057dc7b1fe6305377ba8_4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_3;
frame_exception_exit_4:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3dfdcacc6184057dc7b1fe6305377ba8_4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3dfdcacc6184057dc7b1fe6305377ba8_4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3dfdcacc6184057dc7b1fe6305377ba8_4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3dfdcacc6184057dc7b1fe6305377ba8_4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3dfdcacc6184057dc7b1fe6305377ba8_4,
type_description_2,
outline_2_var___class__
);
// Release cached frame if used for exception.
if (frame_3dfdcacc6184057dc7b1fe6305377ba8_4 == cache_frame_3dfdcacc6184057dc7b1fe6305377ba8_4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3dfdcacc6184057dc7b1fe6305377ba8_4);
cache_frame_3dfdcacc6184057dc7b1fe6305377ba8_4 = NULL;
}
assertFrameObject(frame_3dfdcacc6184057dc7b1fe6305377ba8_4);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_3;
frame_no_exception_3:;
goto skip_nested_handling_3;
nested_frame_exit_3:;
goto try_except_handler_21;
skip_nested_handling_3:;
{
nuitka_bool tmp_condition_result_26;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_cmp_expr_left_4 = tmp_class_creation_3__bases;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_cmp_expr_right_4 = tmp_class_creation_3__bases_orig;
tmp_condition_result_26 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_condition_result_26 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto try_except_handler_21;
}
if (tmp_condition_result_26 == NUITKA_BOOL_TRUE) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_dictset_value = tmp_class_creation_3__bases_orig;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__3_Resource_125, mod_consts[374], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto try_except_handler_21;
}
branch_no_13:;
{
PyObject *tmp_assign_source_59;
PyObject *tmp_called_value_24;
PyObject *tmp_args_value_6;
PyObject *tmp_tuple_element_8;
PyObject *tmp_kwargs_value_6;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_called_value_24 = tmp_class_creation_3__metaclass;
tmp_tuple_element_8 = mod_consts[7];
tmp_args_value_6 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_6, 0, tmp_tuple_element_8);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_8 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_6, 1, tmp_tuple_element_8);
tmp_tuple_element_8 = locals_lazr$restfulclient$resource$$$class__3_Resource_125;
PyTuple_SET_ITEM0(tmp_args_value_6, 2, tmp_tuple_element_8);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_6 = tmp_class_creation_3__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 125;
tmp_assign_source_59 = CALL_FUNCTION(tmp_called_value_24, tmp_args_value_6, tmp_kwargs_value_6);
Py_DECREF(tmp_args_value_6);
if (tmp_assign_source_59 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto try_except_handler_21;
}
assert(outline_2_var___class__ == NULL);
outline_2_var___class__ = tmp_assign_source_59;
}
CHECK_OBJECT(outline_2_var___class__);
tmp_assign_source_58 = outline_2_var___class__;
Py_INCREF(tmp_assign_source_58);
goto try_return_handler_21;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_21:;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__3_Resource_125);
locals_lazr$restfulclient$resource$$$class__3_Resource_125 = NULL;
goto try_return_handler_20;
// Exception handler code:
try_except_handler_21:;
exception_keeper_type_19 = exception_type;
exception_keeper_value_19 = exception_value;
exception_keeper_tb_19 = exception_tb;
exception_keeper_lineno_19 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__3_Resource_125);
locals_lazr$restfulclient$resource$$$class__3_Resource_125 = NULL;
// Re-raise.
exception_type = exception_keeper_type_19;
exception_value = exception_keeper_value_19;
exception_tb = exception_keeper_tb_19;
exception_lineno = exception_keeper_lineno_19;
goto try_except_handler_20;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_20:;
CHECK_OBJECT(outline_2_var___class__);
Py_DECREF(outline_2_var___class__);
outline_2_var___class__ = NULL;
goto outline_result_3;
// Exception handler code:
try_except_handler_20:;
exception_keeper_type_20 = exception_type;
exception_keeper_value_20 = exception_value;
exception_keeper_tb_20 = exception_tb;
exception_keeper_lineno_20 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_20;
exception_value = exception_keeper_value_20;
exception_tb = exception_keeper_tb_20;
exception_lineno = exception_keeper_lineno_20;
goto outline_exception_3;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_3:;
exception_lineno = 125;
goto try_except_handler_19;
outline_result_3:;
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[7], tmp_assign_source_58);
}
goto try_end_15;
// Exception handler code:
try_except_handler_19:;
exception_keeper_type_21 = exception_type;
exception_keeper_value_21 = exception_value;
exception_keeper_tb_21 = exception_tb;
exception_keeper_lineno_21 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_3__bases_orig);
tmp_class_creation_3__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_3__bases);
tmp_class_creation_3__bases = NULL;
Py_XDECREF(tmp_class_creation_3__class_decl_dict);
tmp_class_creation_3__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_3__metaclass);
tmp_class_creation_3__metaclass = NULL;
Py_XDECREF(tmp_class_creation_3__prepared);
tmp_class_creation_3__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_21;
exception_value = exception_keeper_value_21;
exception_tb = exception_keeper_tb_21;
exception_lineno = exception_keeper_lineno_21;
goto frame_exception_exit_1;
// End of try:
try_end_15:;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
Py_DECREF(tmp_class_creation_3__bases_orig);
tmp_class_creation_3__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_3__bases);
Py_DECREF(tmp_class_creation_3__bases);
tmp_class_creation_3__bases = NULL;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
Py_DECREF(tmp_class_creation_3__class_decl_dict);
tmp_class_creation_3__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
Py_DECREF(tmp_class_creation_3__metaclass);
tmp_class_creation_3__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_3__prepared);
Py_DECREF(tmp_class_creation_3__prepared);
tmp_class_creation_3__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_60;
PyObject *tmp_tuple_element_9;
tmp_tuple_element_9 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_tuple_element_9 == NULL)) {
tmp_tuple_element_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_tuple_element_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
goto try_except_handler_22;
}
tmp_assign_source_60 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_60, 0, tmp_tuple_element_9);
assert(tmp_class_creation_4__bases_orig == NULL);
tmp_class_creation_4__bases_orig = tmp_assign_source_60;
}
{
PyObject *tmp_assign_source_61;
PyObject *tmp_dircall_arg1_2;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
tmp_dircall_arg1_2 = tmp_class_creation_4__bases_orig;
Py_INCREF(tmp_dircall_arg1_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2};
tmp_assign_source_61 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_61 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
goto try_except_handler_22;
}
assert(tmp_class_creation_4__bases == NULL);
tmp_class_creation_4__bases = tmp_assign_source_61;
}
{
PyObject *tmp_assign_source_62;
tmp_assign_source_62 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__class_decl_dict == NULL);
tmp_class_creation_4__class_decl_dict = tmp_assign_source_62;
}
{
PyObject *tmp_assign_source_63;
PyObject *tmp_metaclass_value_4;
bool tmp_condition_result_27;
PyObject *tmp_key_value_10;
PyObject *tmp_dict_arg_value_10;
PyObject *tmp_dict_arg_value_11;
PyObject *tmp_key_value_11;
nuitka_bool tmp_condition_result_28;
int tmp_truth_name_2;
PyObject *tmp_type_arg_5;
PyObject *tmp_expression_value_14;
PyObject *tmp_subscript_value_2;
PyObject *tmp_bases_value_4;
tmp_key_value_10 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dict_arg_value_10 = tmp_class_creation_4__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_10, tmp_key_value_10);
assert(!(tmp_res == -1));
tmp_condition_result_27 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_27 != false) {
goto condexpr_true_14;
} else {
goto condexpr_false_14;
}
condexpr_true_14:;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dict_arg_value_11 = tmp_class_creation_4__class_decl_dict;
tmp_key_value_11 = mod_consts[324];
tmp_metaclass_value_4 = DICT_GET_ITEM0(tmp_dict_arg_value_11, tmp_key_value_11);
if (tmp_metaclass_value_4 == NULL) {
tmp_metaclass_value_4 = Py_None;
}
assert(!(tmp_metaclass_value_4 == NULL));
Py_INCREF(tmp_metaclass_value_4);
goto condexpr_end_14;
condexpr_false_14:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_class_creation_4__bases);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
goto try_except_handler_22;
}
tmp_condition_result_28 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_28 == NUITKA_BOOL_TRUE) {
goto condexpr_true_15;
} else {
goto condexpr_false_15;
}
condexpr_true_15:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_expression_value_14 = tmp_class_creation_4__bases;
tmp_subscript_value_2 = mod_consts[226];
tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_14, tmp_subscript_value_2, 0);
if (tmp_type_arg_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
goto try_except_handler_22;
}
tmp_metaclass_value_4 = BUILTIN_TYPE1(tmp_type_arg_5);
Py_DECREF(tmp_type_arg_5);
if (tmp_metaclass_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
goto try_except_handler_22;
}
goto condexpr_end_15;
condexpr_false_15:;
tmp_metaclass_value_4 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_4);
condexpr_end_15:;
condexpr_end_14:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_bases_value_4 = tmp_class_creation_4__bases;
tmp_assign_source_63 = SELECT_METACLASS(tmp_metaclass_value_4, tmp_bases_value_4);
Py_DECREF(tmp_metaclass_value_4);
if (tmp_assign_source_63 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
goto try_except_handler_22;
}
assert(tmp_class_creation_4__metaclass == NULL);
tmp_class_creation_4__metaclass = tmp_assign_source_63;
}
{
bool tmp_condition_result_29;
PyObject *tmp_key_value_12;
PyObject *tmp_dict_arg_value_12;
tmp_key_value_12 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dict_arg_value_12 = tmp_class_creation_4__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_12, tmp_key_value_12);
assert(!(tmp_res == -1));
tmp_condition_result_29 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_29 != false) {
goto branch_yes_14;
} else {
goto branch_no_14;
}
}
branch_yes_14:;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_4__class_decl_dict;
tmp_dictdel_key = mod_consts[324];
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 = 408;
goto try_except_handler_22;
}
branch_no_14:;
{
nuitka_bool tmp_condition_result_30;
PyObject *tmp_expression_value_15;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_15 = tmp_class_creation_4__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_15, mod_consts[326]);
tmp_condition_result_30 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_30 == NUITKA_BOOL_TRUE) {
goto branch_yes_15;
} else {
goto branch_no_15;
}
}
branch_yes_15:;
{
PyObject *tmp_assign_source_64;
PyObject *tmp_called_value_25;
PyObject *tmp_expression_value_16;
PyObject *tmp_args_value_7;
PyObject *tmp_tuple_element_10;
PyObject *tmp_kwargs_value_7;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_16 = tmp_class_creation_4__metaclass;
tmp_called_value_25 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[326]);
if (tmp_called_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
goto try_except_handler_22;
}
tmp_tuple_element_10 = mod_consts[213];
tmp_args_value_7 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_7, 0, tmp_tuple_element_10);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_10 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_7, 1, tmp_tuple_element_10);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_7 = tmp_class_creation_4__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 408;
tmp_assign_source_64 = CALL_FUNCTION(tmp_called_value_25, tmp_args_value_7, tmp_kwargs_value_7);
Py_DECREF(tmp_called_value_25);
Py_DECREF(tmp_args_value_7);
if (tmp_assign_source_64 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
goto try_except_handler_22;
}
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_64;
}
{
bool tmp_condition_result_31;
PyObject *tmp_operand_value_4;
PyObject *tmp_expression_value_17;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_expression_value_17 = tmp_class_creation_4__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_17, mod_consts[250]);
tmp_operand_value_4 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
goto try_except_handler_22;
}
tmp_condition_result_31 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_31 != false) {
goto branch_yes_16;
} else {
goto branch_no_16;
}
}
branch_yes_16:;
{
PyObject *tmp_raise_type_4;
PyObject *tmp_raise_value_4;
PyObject *tmp_mod_expr_left_4;
PyObject *tmp_mod_expr_right_4;
PyObject *tmp_tuple_element_11;
PyObject *tmp_getattr_target_4;
PyObject *tmp_getattr_attr_4;
PyObject *tmp_getattr_default_4;
tmp_raise_type_4 = PyExc_TypeError;
tmp_mod_expr_left_4 = mod_consts[328];
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_getattr_target_4 = tmp_class_creation_4__metaclass;
tmp_getattr_attr_4 = mod_consts[201];
tmp_getattr_default_4 = mod_consts[329];
tmp_tuple_element_11 = BUILTIN_GETATTR(tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4);
if (tmp_tuple_element_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
goto try_except_handler_22;
}
tmp_mod_expr_right_4 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_18;
PyObject *tmp_type_arg_6;
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 0, tmp_tuple_element_11);
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_type_arg_6 = tmp_class_creation_4__prepared;
tmp_expression_value_18 = BUILTIN_TYPE1(tmp_type_arg_6);
assert(!(tmp_expression_value_18 == NULL));
tmp_tuple_element_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[201]);
Py_DECREF(tmp_expression_value_18);
if (tmp_tuple_element_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
goto tuple_build_exception_4;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 1, tmp_tuple_element_11);
}
goto tuple_build_noexception_4;
// Exception handling pass through code for tuple_build:
tuple_build_exception_4:;
Py_DECREF(tmp_mod_expr_right_4);
goto try_except_handler_22;
// Finished with no exception for tuple_build:
tuple_build_noexception_4:;
tmp_raise_value_4 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_4, tmp_mod_expr_right_4);
Py_DECREF(tmp_mod_expr_right_4);
if (tmp_raise_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
goto try_except_handler_22;
}
exception_type = tmp_raise_type_4;
Py_INCREF(tmp_raise_type_4);
exception_value = tmp_raise_value_4;
exception_lineno = 408;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_22;
}
branch_no_16:;
goto branch_end_15;
branch_no_15:;
{
PyObject *tmp_assign_source_65;
tmp_assign_source_65 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_65;
}
branch_end_15:;
{
PyObject *tmp_assign_source_66;
{
PyObject *tmp_set_locals_4;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_set_locals_4 = tmp_class_creation_4__prepared;
locals_lazr$restfulclient$resource$$$class__4_ScalarValue_408 = tmp_set_locals_4;
Py_INCREF(tmp_set_locals_4);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[330];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__4_ScalarValue_408, mod_consts[331], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
goto try_except_handler_24;
}
tmp_dictset_value = mod_consts[375];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__4_ScalarValue_408, mod_consts[289], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
goto try_except_handler_24;
}
tmp_dictset_value = mod_consts[213];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__4_ScalarValue_408, mod_consts[333], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
goto try_except_handler_24;
}
if (isFrameUnusable(cache_frame_f6fa001ce837af0463621d8590b312be_5)) {
Py_XDECREF(cache_frame_f6fa001ce837af0463621d8590b312be_5);
#if _DEBUG_REFCOUNTS
if (cache_frame_f6fa001ce837af0463621d8590b312be_5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f6fa001ce837af0463621d8590b312be_5 = MAKE_CLASS_FRAME(codeobj_f6fa001ce837af0463621d8590b312be, module_lazr$restfulclient$resource, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f6fa001ce837af0463621d8590b312be_5->m_type_description == NULL);
frame_f6fa001ce837af0463621d8590b312be_5 = cache_frame_f6fa001ce837af0463621d8590b312be_5;
// Push the new frame as the currently active one.
pushFrameStack(frame_f6fa001ce837af0463621d8590b312be_5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f6fa001ce837af0463621d8590b312be_5) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_32;
PyObject *tmp_called_value_26;
PyObject *tmp_args_element_value_12;
PyObject *tmp_called_value_27;
PyObject *tmp_args_element_value_13;
tmp_res = MAPPING_HAS_ITEM(locals_lazr$restfulclient$resource$$$class__4_ScalarValue_408, mod_consts[346]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 411;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_condition_result_32 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_32 == NUITKA_BOOL_TRUE) {
goto condexpr_true_16;
} else {
goto condexpr_false_16;
}
condexpr_true_16:;
tmp_called_value_26 = PyObject_GetItem(locals_lazr$restfulclient$resource$$$class__4_ScalarValue_408, mod_consts[346]);
if (unlikely(tmp_called_value_26 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[346]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 411;
type_description_2 = "o";
goto frame_exception_exit_5;
}
if (tmp_called_value_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 411;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_args_element_value_12 = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__23_value();
frame_f6fa001ce837af0463621d8590b312be_5->m_frame.f_lineno = 411;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_26, tmp_args_element_value_12);
Py_DECREF(tmp_called_value_26);
Py_DECREF(tmp_args_element_value_12);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 411;
type_description_2 = "o";
goto frame_exception_exit_5;
}
goto condexpr_end_16;
condexpr_false_16:;
tmp_called_value_27 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_13 = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__23_value();
frame_f6fa001ce837af0463621d8590b312be_5->m_frame.f_lineno = 411;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_27, tmp_args_element_value_13);
Py_DECREF(tmp_args_element_value_13);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 411;
type_description_2 = "o";
goto frame_exception_exit_5;
}
condexpr_end_16:;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__4_ScalarValue_408, mod_consts[91], 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 = 412;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_f6fa001ce837af0463621d8590b312be_5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_4;
frame_exception_exit_5:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f6fa001ce837af0463621d8590b312be_5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f6fa001ce837af0463621d8590b312be_5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f6fa001ce837af0463621d8590b312be_5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f6fa001ce837af0463621d8590b312be_5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f6fa001ce837af0463621d8590b312be_5,
type_description_2,
outline_3_var___class__
);
// Release cached frame if used for exception.
if (frame_f6fa001ce837af0463621d8590b312be_5 == cache_frame_f6fa001ce837af0463621d8590b312be_5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f6fa001ce837af0463621d8590b312be_5);
cache_frame_f6fa001ce837af0463621d8590b312be_5 = NULL;
}
assertFrameObject(frame_f6fa001ce837af0463621d8590b312be_5);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_4;
frame_no_exception_4:;
goto skip_nested_handling_4;
nested_frame_exit_4:;
goto try_except_handler_24;
skip_nested_handling_4:;
{
nuitka_bool tmp_condition_result_33;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_cmp_expr_left_5 = tmp_class_creation_4__bases;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
tmp_cmp_expr_right_5 = tmp_class_creation_4__bases_orig;
tmp_condition_result_33 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
if (tmp_condition_result_33 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
goto try_except_handler_24;
}
if (tmp_condition_result_33 == NUITKA_BOOL_TRUE) {
goto branch_yes_17;
} else {
goto branch_no_17;
}
}
branch_yes_17:;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
tmp_dictset_value = tmp_class_creation_4__bases_orig;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__4_ScalarValue_408, mod_consts[374], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
goto try_except_handler_24;
}
branch_no_17:;
{
PyObject *tmp_assign_source_67;
PyObject *tmp_called_value_28;
PyObject *tmp_args_value_8;
PyObject *tmp_tuple_element_12;
PyObject *tmp_kwargs_value_8;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_called_value_28 = tmp_class_creation_4__metaclass;
tmp_tuple_element_12 = mod_consts[213];
tmp_args_value_8 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_8, 0, tmp_tuple_element_12);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_12 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_8, 1, tmp_tuple_element_12);
tmp_tuple_element_12 = locals_lazr$restfulclient$resource$$$class__4_ScalarValue_408;
PyTuple_SET_ITEM0(tmp_args_value_8, 2, tmp_tuple_element_12);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_8 = tmp_class_creation_4__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 408;
tmp_assign_source_67 = CALL_FUNCTION(tmp_called_value_28, tmp_args_value_8, tmp_kwargs_value_8);
Py_DECREF(tmp_args_value_8);
if (tmp_assign_source_67 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
goto try_except_handler_24;
}
assert(outline_3_var___class__ == NULL);
outline_3_var___class__ = tmp_assign_source_67;
}
CHECK_OBJECT(outline_3_var___class__);
tmp_assign_source_66 = outline_3_var___class__;
Py_INCREF(tmp_assign_source_66);
goto try_return_handler_24;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_24:;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__4_ScalarValue_408);
locals_lazr$restfulclient$resource$$$class__4_ScalarValue_408 = NULL;
goto try_return_handler_23;
// Exception handler code:
try_except_handler_24:;
exception_keeper_type_22 = exception_type;
exception_keeper_value_22 = exception_value;
exception_keeper_tb_22 = exception_tb;
exception_keeper_lineno_22 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__4_ScalarValue_408);
locals_lazr$restfulclient$resource$$$class__4_ScalarValue_408 = NULL;
// Re-raise.
exception_type = exception_keeper_type_22;
exception_value = exception_keeper_value_22;
exception_tb = exception_keeper_tb_22;
exception_lineno = exception_keeper_lineno_22;
goto try_except_handler_23;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_23:;
CHECK_OBJECT(outline_3_var___class__);
Py_DECREF(outline_3_var___class__);
outline_3_var___class__ = NULL;
goto outline_result_4;
// Exception handler code:
try_except_handler_23:;
exception_keeper_type_23 = exception_type;
exception_keeper_value_23 = exception_value;
exception_keeper_tb_23 = exception_tb;
exception_keeper_lineno_23 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_23;
exception_value = exception_keeper_value_23;
exception_tb = exception_keeper_tb_23;
exception_lineno = exception_keeper_lineno_23;
goto outline_exception_4;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_4:;
exception_lineno = 408;
goto try_except_handler_22;
outline_result_4:;
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[213], tmp_assign_source_66);
}
goto try_end_16;
// Exception handler code:
try_except_handler_22:;
exception_keeper_type_24 = exception_type;
exception_keeper_value_24 = exception_value;
exception_keeper_tb_24 = exception_tb;
exception_keeper_lineno_24 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_4__bases_orig);
tmp_class_creation_4__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_4__bases);
tmp_class_creation_4__bases = NULL;
Py_XDECREF(tmp_class_creation_4__class_decl_dict);
tmp_class_creation_4__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_4__metaclass);
tmp_class_creation_4__metaclass = NULL;
Py_XDECREF(tmp_class_creation_4__prepared);
tmp_class_creation_4__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_24;
exception_value = exception_keeper_value_24;
exception_tb = exception_keeper_tb_24;
exception_lineno = exception_keeper_lineno_24;
goto frame_exception_exit_1;
// End of try:
try_end_16:;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
Py_DECREF(tmp_class_creation_4__bases_orig);
tmp_class_creation_4__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_4__bases);
Py_DECREF(tmp_class_creation_4__bases);
tmp_class_creation_4__bases = NULL;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
Py_DECREF(tmp_class_creation_4__class_decl_dict);
tmp_class_creation_4__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
Py_DECREF(tmp_class_creation_4__metaclass);
tmp_class_creation_4__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_4__prepared);
Py_DECREF(tmp_class_creation_4__prepared);
tmp_class_creation_4__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_68;
PyObject *tmp_tuple_element_13;
tmp_tuple_element_13 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_tuple_element_13 == NULL)) {
tmp_tuple_element_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_tuple_element_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
goto try_except_handler_25;
}
tmp_assign_source_68 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_68, 0, tmp_tuple_element_13);
assert(tmp_class_creation_5__bases_orig == NULL);
tmp_class_creation_5__bases_orig = tmp_assign_source_68;
}
{
PyObject *tmp_assign_source_69;
PyObject *tmp_dircall_arg1_3;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
tmp_dircall_arg1_3 = tmp_class_creation_5__bases_orig;
Py_INCREF(tmp_dircall_arg1_3);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_3};
tmp_assign_source_69 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_69 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
goto try_except_handler_25;
}
assert(tmp_class_creation_5__bases == NULL);
tmp_class_creation_5__bases = tmp_assign_source_69;
}
{
PyObject *tmp_assign_source_70;
tmp_assign_source_70 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__class_decl_dict == NULL);
tmp_class_creation_5__class_decl_dict = tmp_assign_source_70;
}
{
PyObject *tmp_assign_source_71;
PyObject *tmp_metaclass_value_5;
bool tmp_condition_result_34;
PyObject *tmp_key_value_13;
PyObject *tmp_dict_arg_value_13;
PyObject *tmp_dict_arg_value_14;
PyObject *tmp_key_value_14;
nuitka_bool tmp_condition_result_35;
int tmp_truth_name_3;
PyObject *tmp_type_arg_7;
PyObject *tmp_expression_value_19;
PyObject *tmp_subscript_value_3;
PyObject *tmp_bases_value_5;
tmp_key_value_13 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dict_arg_value_13 = tmp_class_creation_5__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_13, tmp_key_value_13);
assert(!(tmp_res == -1));
tmp_condition_result_34 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_34 != false) {
goto condexpr_true_17;
} else {
goto condexpr_false_17;
}
condexpr_true_17:;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dict_arg_value_14 = tmp_class_creation_5__class_decl_dict;
tmp_key_value_14 = mod_consts[324];
tmp_metaclass_value_5 = DICT_GET_ITEM0(tmp_dict_arg_value_14, tmp_key_value_14);
if (tmp_metaclass_value_5 == NULL) {
tmp_metaclass_value_5 = Py_None;
}
assert(!(tmp_metaclass_value_5 == NULL));
Py_INCREF(tmp_metaclass_value_5);
goto condexpr_end_17;
condexpr_false_17:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_truth_name_3 = CHECK_IF_TRUE(tmp_class_creation_5__bases);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
goto try_except_handler_25;
}
tmp_condition_result_35 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_35 == NUITKA_BOOL_TRUE) {
goto condexpr_true_18;
} else {
goto condexpr_false_18;
}
condexpr_true_18:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_expression_value_19 = tmp_class_creation_5__bases;
tmp_subscript_value_3 = mod_consts[226];
tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_19, tmp_subscript_value_3, 0);
if (tmp_type_arg_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
goto try_except_handler_25;
}
tmp_metaclass_value_5 = BUILTIN_TYPE1(tmp_type_arg_7);
Py_DECREF(tmp_type_arg_7);
if (tmp_metaclass_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
goto try_except_handler_25;
}
goto condexpr_end_18;
condexpr_false_18:;
tmp_metaclass_value_5 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_5);
condexpr_end_18:;
condexpr_end_17:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_bases_value_5 = tmp_class_creation_5__bases;
tmp_assign_source_71 = SELECT_METACLASS(tmp_metaclass_value_5, tmp_bases_value_5);
Py_DECREF(tmp_metaclass_value_5);
if (tmp_assign_source_71 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
goto try_except_handler_25;
}
assert(tmp_class_creation_5__metaclass == NULL);
tmp_class_creation_5__metaclass = tmp_assign_source_71;
}
{
bool tmp_condition_result_36;
PyObject *tmp_key_value_15;
PyObject *tmp_dict_arg_value_15;
tmp_key_value_15 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dict_arg_value_15 = tmp_class_creation_5__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_15, tmp_key_value_15);
assert(!(tmp_res == -1));
tmp_condition_result_36 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_36 != false) {
goto branch_yes_18;
} else {
goto branch_no_18;
}
}
branch_yes_18:;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_5__class_decl_dict;
tmp_dictdel_key = mod_consts[324];
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 = 418;
goto try_except_handler_25;
}
branch_no_18:;
{
nuitka_bool tmp_condition_result_37;
PyObject *tmp_expression_value_20;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_20 = tmp_class_creation_5__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_20, mod_consts[326]);
tmp_condition_result_37 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_37 == NUITKA_BOOL_TRUE) {
goto branch_yes_19;
} else {
goto branch_no_19;
}
}
branch_yes_19:;
{
PyObject *tmp_assign_source_72;
PyObject *tmp_called_value_29;
PyObject *tmp_expression_value_21;
PyObject *tmp_args_value_9;
PyObject *tmp_tuple_element_14;
PyObject *tmp_kwargs_value_9;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_21 = tmp_class_creation_5__metaclass;
tmp_called_value_29 = LOOKUP_ATTRIBUTE(tmp_expression_value_21, mod_consts[326]);
if (tmp_called_value_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
goto try_except_handler_25;
}
tmp_tuple_element_14 = mod_consts[377];
tmp_args_value_9 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_9, 0, tmp_tuple_element_14);
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_tuple_element_14 = tmp_class_creation_5__bases;
PyTuple_SET_ITEM0(tmp_args_value_9, 1, tmp_tuple_element_14);
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_kwargs_value_9 = tmp_class_creation_5__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 418;
tmp_assign_source_72 = CALL_FUNCTION(tmp_called_value_29, tmp_args_value_9, tmp_kwargs_value_9);
Py_DECREF(tmp_called_value_29);
Py_DECREF(tmp_args_value_9);
if (tmp_assign_source_72 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
goto try_except_handler_25;
}
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_72;
}
{
bool tmp_condition_result_38;
PyObject *tmp_operand_value_5;
PyObject *tmp_expression_value_22;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_expression_value_22 = tmp_class_creation_5__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_22, mod_consts[250]);
tmp_operand_value_5 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
goto try_except_handler_25;
}
tmp_condition_result_38 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_38 != false) {
goto branch_yes_20;
} else {
goto branch_no_20;
}
}
branch_yes_20:;
{
PyObject *tmp_raise_type_5;
PyObject *tmp_raise_value_5;
PyObject *tmp_mod_expr_left_5;
PyObject *tmp_mod_expr_right_5;
PyObject *tmp_tuple_element_15;
PyObject *tmp_getattr_target_5;
PyObject *tmp_getattr_attr_5;
PyObject *tmp_getattr_default_5;
tmp_raise_type_5 = PyExc_TypeError;
tmp_mod_expr_left_5 = mod_consts[328];
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_getattr_target_5 = tmp_class_creation_5__metaclass;
tmp_getattr_attr_5 = mod_consts[201];
tmp_getattr_default_5 = mod_consts[329];
tmp_tuple_element_15 = BUILTIN_GETATTR(tmp_getattr_target_5, tmp_getattr_attr_5, tmp_getattr_default_5);
if (tmp_tuple_element_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
goto try_except_handler_25;
}
tmp_mod_expr_right_5 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_23;
PyObject *tmp_type_arg_8;
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 0, tmp_tuple_element_15);
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_type_arg_8 = tmp_class_creation_5__prepared;
tmp_expression_value_23 = BUILTIN_TYPE1(tmp_type_arg_8);
assert(!(tmp_expression_value_23 == NULL));
tmp_tuple_element_15 = LOOKUP_ATTRIBUTE(tmp_expression_value_23, mod_consts[201]);
Py_DECREF(tmp_expression_value_23);
if (tmp_tuple_element_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
goto tuple_build_exception_5;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 1, tmp_tuple_element_15);
}
goto tuple_build_noexception_5;
// Exception handling pass through code for tuple_build:
tuple_build_exception_5:;
Py_DECREF(tmp_mod_expr_right_5);
goto try_except_handler_25;
// Finished with no exception for tuple_build:
tuple_build_noexception_5:;
tmp_raise_value_5 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_5, tmp_mod_expr_right_5);
Py_DECREF(tmp_mod_expr_right_5);
if (tmp_raise_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
goto try_except_handler_25;
}
exception_type = tmp_raise_type_5;
Py_INCREF(tmp_raise_type_5);
exception_value = tmp_raise_value_5;
exception_lineno = 418;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_25;
}
branch_no_20:;
goto branch_end_19;
branch_no_19:;
{
PyObject *tmp_assign_source_73;
tmp_assign_source_73 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_73;
}
branch_end_19:;
{
PyObject *tmp_assign_source_74;
{
PyObject *tmp_set_locals_5;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_set_locals_5 = tmp_class_creation_5__prepared;
locals_lazr$restfulclient$resource$$$class__5_HostedFile_418 = tmp_set_locals_5;
Py_INCREF(tmp_set_locals_5);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[330];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__5_HostedFile_418, mod_consts[331], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
goto try_except_handler_27;
}
tmp_dictset_value = mod_consts[378];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__5_HostedFile_418, mod_consts[289], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
goto try_except_handler_27;
}
tmp_dictset_value = mod_consts[377];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__5_HostedFile_418, mod_consts[333], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
goto try_except_handler_27;
}
if (isFrameUnusable(cache_frame_f3d2ae5eb07d77fd5a615f8b3617871a_6)) {
Py_XDECREF(cache_frame_f3d2ae5eb07d77fd5a615f8b3617871a_6);
#if _DEBUG_REFCOUNTS
if (cache_frame_f3d2ae5eb07d77fd5a615f8b3617871a_6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f3d2ae5eb07d77fd5a615f8b3617871a_6 = MAKE_CLASS_FRAME(codeobj_f3d2ae5eb07d77fd5a615f8b3617871a, module_lazr$restfulclient$resource, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f3d2ae5eb07d77fd5a615f8b3617871a_6->m_type_description == NULL);
frame_f3d2ae5eb07d77fd5a615f8b3617871a_6 = cache_frame_f3d2ae5eb07d77fd5a615f8b3617871a_6;
// Push the new frame as the currently active one.
pushFrameStack(frame_f3d2ae5eb07d77fd5a615f8b3617871a_6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f3d2ae5eb07d77fd5a615f8b3617871a_6) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_5;
tmp_defaults_5 = mod_consts[379];
Py_INCREF(tmp_defaults_5);
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__24_open(tmp_defaults_5);
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__5_HostedFile_418, mod_consts[380], 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 = 421;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__25_delete();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__5_HostedFile_418, mod_consts[112], 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 = 428;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__26__get_parameter_names();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__5_HostedFile_418, mod_consts[16], 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 = 432;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__27___eq__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__5_HostedFile_418, mod_consts[384], 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 = 436;
type_description_2 = "o";
goto frame_exception_exit_6;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_f3d2ae5eb07d77fd5a615f8b3617871a_6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_5;
frame_exception_exit_6:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f3d2ae5eb07d77fd5a615f8b3617871a_6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f3d2ae5eb07d77fd5a615f8b3617871a_6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f3d2ae5eb07d77fd5a615f8b3617871a_6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f3d2ae5eb07d77fd5a615f8b3617871a_6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f3d2ae5eb07d77fd5a615f8b3617871a_6,
type_description_2,
outline_4_var___class__
);
// Release cached frame if used for exception.
if (frame_f3d2ae5eb07d77fd5a615f8b3617871a_6 == cache_frame_f3d2ae5eb07d77fd5a615f8b3617871a_6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f3d2ae5eb07d77fd5a615f8b3617871a_6);
cache_frame_f3d2ae5eb07d77fd5a615f8b3617871a_6 = NULL;
}
assertFrameObject(frame_f3d2ae5eb07d77fd5a615f8b3617871a_6);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_5;
frame_no_exception_5:;
goto skip_nested_handling_5;
nested_frame_exit_5:;
goto try_except_handler_27;
skip_nested_handling_5:;
{
nuitka_bool tmp_condition_result_39;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_cmp_expr_left_6 = tmp_class_creation_5__bases;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
tmp_cmp_expr_right_6 = tmp_class_creation_5__bases_orig;
tmp_condition_result_39 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
if (tmp_condition_result_39 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
goto try_except_handler_27;
}
if (tmp_condition_result_39 == NUITKA_BOOL_TRUE) {
goto branch_yes_21;
} else {
goto branch_no_21;
}
}
branch_yes_21:;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
tmp_dictset_value = tmp_class_creation_5__bases_orig;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__5_HostedFile_418, mod_consts[374], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
goto try_except_handler_27;
}
branch_no_21:;
{
PyObject *tmp_assign_source_75;
PyObject *tmp_called_value_30;
PyObject *tmp_args_value_10;
PyObject *tmp_tuple_element_16;
PyObject *tmp_kwargs_value_10;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_called_value_30 = tmp_class_creation_5__metaclass;
tmp_tuple_element_16 = mod_consts[377];
tmp_args_value_10 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_10, 0, tmp_tuple_element_16);
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_tuple_element_16 = tmp_class_creation_5__bases;
PyTuple_SET_ITEM0(tmp_args_value_10, 1, tmp_tuple_element_16);
tmp_tuple_element_16 = locals_lazr$restfulclient$resource$$$class__5_HostedFile_418;
PyTuple_SET_ITEM0(tmp_args_value_10, 2, tmp_tuple_element_16);
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_kwargs_value_10 = tmp_class_creation_5__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 418;
tmp_assign_source_75 = CALL_FUNCTION(tmp_called_value_30, tmp_args_value_10, tmp_kwargs_value_10);
Py_DECREF(tmp_args_value_10);
if (tmp_assign_source_75 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
goto try_except_handler_27;
}
assert(outline_4_var___class__ == NULL);
outline_4_var___class__ = tmp_assign_source_75;
}
CHECK_OBJECT(outline_4_var___class__);
tmp_assign_source_74 = outline_4_var___class__;
Py_INCREF(tmp_assign_source_74);
goto try_return_handler_27;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_27:;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__5_HostedFile_418);
locals_lazr$restfulclient$resource$$$class__5_HostedFile_418 = NULL;
goto try_return_handler_26;
// Exception handler code:
try_except_handler_27:;
exception_keeper_type_25 = exception_type;
exception_keeper_value_25 = exception_value;
exception_keeper_tb_25 = exception_tb;
exception_keeper_lineno_25 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__5_HostedFile_418);
locals_lazr$restfulclient$resource$$$class__5_HostedFile_418 = NULL;
// Re-raise.
exception_type = exception_keeper_type_25;
exception_value = exception_keeper_value_25;
exception_tb = exception_keeper_tb_25;
exception_lineno = exception_keeper_lineno_25;
goto try_except_handler_26;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_26:;
CHECK_OBJECT(outline_4_var___class__);
Py_DECREF(outline_4_var___class__);
outline_4_var___class__ = NULL;
goto outline_result_5;
// Exception handler code:
try_except_handler_26:;
exception_keeper_type_26 = exception_type;
exception_keeper_value_26 = exception_value;
exception_keeper_tb_26 = exception_tb;
exception_keeper_lineno_26 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_26;
exception_value = exception_keeper_value_26;
exception_tb = exception_keeper_tb_26;
exception_lineno = exception_keeper_lineno_26;
goto outline_exception_5;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_5:;
exception_lineno = 418;
goto try_except_handler_25;
outline_result_5:;
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[377], tmp_assign_source_74);
}
goto try_end_17;
// Exception handler code:
try_except_handler_25:;
exception_keeper_type_27 = exception_type;
exception_keeper_value_27 = exception_value;
exception_keeper_tb_27 = exception_tb;
exception_keeper_lineno_27 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_5__bases_orig);
tmp_class_creation_5__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_5__bases);
tmp_class_creation_5__bases = NULL;
Py_XDECREF(tmp_class_creation_5__class_decl_dict);
tmp_class_creation_5__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_5__metaclass);
tmp_class_creation_5__metaclass = NULL;
Py_XDECREF(tmp_class_creation_5__prepared);
tmp_class_creation_5__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_27;
exception_value = exception_keeper_value_27;
exception_tb = exception_keeper_tb_27;
exception_lineno = exception_keeper_lineno_27;
goto frame_exception_exit_1;
// End of try:
try_end_17:;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
Py_DECREF(tmp_class_creation_5__bases_orig);
tmp_class_creation_5__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_5__bases);
Py_DECREF(tmp_class_creation_5__bases);
tmp_class_creation_5__bases = NULL;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
Py_DECREF(tmp_class_creation_5__class_decl_dict);
tmp_class_creation_5__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
Py_DECREF(tmp_class_creation_5__metaclass);
tmp_class_creation_5__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_5__prepared);
Py_DECREF(tmp_class_creation_5__prepared);
tmp_class_creation_5__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_76;
PyObject *tmp_tuple_element_17;
tmp_tuple_element_17 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_tuple_element_17 == NULL)) {
tmp_tuple_element_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_tuple_element_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
goto try_except_handler_28;
}
tmp_assign_source_76 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_76, 0, tmp_tuple_element_17);
assert(tmp_class_creation_6__bases_orig == NULL);
tmp_class_creation_6__bases_orig = tmp_assign_source_76;
}
{
PyObject *tmp_assign_source_77;
PyObject *tmp_dircall_arg1_4;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
tmp_dircall_arg1_4 = tmp_class_creation_6__bases_orig;
Py_INCREF(tmp_dircall_arg1_4);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_4};
tmp_assign_source_77 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_77 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
goto try_except_handler_28;
}
assert(tmp_class_creation_6__bases == NULL);
tmp_class_creation_6__bases = tmp_assign_source_77;
}
{
PyObject *tmp_assign_source_78;
tmp_assign_source_78 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_6__class_decl_dict == NULL);
tmp_class_creation_6__class_decl_dict = tmp_assign_source_78;
}
{
PyObject *tmp_assign_source_79;
PyObject *tmp_metaclass_value_6;
bool tmp_condition_result_40;
PyObject *tmp_key_value_16;
PyObject *tmp_dict_arg_value_16;
PyObject *tmp_dict_arg_value_17;
PyObject *tmp_key_value_17;
nuitka_bool tmp_condition_result_41;
int tmp_truth_name_4;
PyObject *tmp_type_arg_9;
PyObject *tmp_expression_value_24;
PyObject *tmp_subscript_value_4;
PyObject *tmp_bases_value_6;
tmp_key_value_16 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_dict_arg_value_16 = tmp_class_creation_6__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_16, tmp_key_value_16);
assert(!(tmp_res == -1));
tmp_condition_result_40 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_40 != false) {
goto condexpr_true_19;
} else {
goto condexpr_false_19;
}
condexpr_true_19:;
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_dict_arg_value_17 = tmp_class_creation_6__class_decl_dict;
tmp_key_value_17 = mod_consts[324];
tmp_metaclass_value_6 = DICT_GET_ITEM0(tmp_dict_arg_value_17, tmp_key_value_17);
if (tmp_metaclass_value_6 == NULL) {
tmp_metaclass_value_6 = Py_None;
}
assert(!(tmp_metaclass_value_6 == NULL));
Py_INCREF(tmp_metaclass_value_6);
goto condexpr_end_19;
condexpr_false_19:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_truth_name_4 = CHECK_IF_TRUE(tmp_class_creation_6__bases);
if (tmp_truth_name_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
goto try_except_handler_28;
}
tmp_condition_result_41 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_41 == NUITKA_BOOL_TRUE) {
goto condexpr_true_20;
} else {
goto condexpr_false_20;
}
condexpr_true_20:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_expression_value_24 = tmp_class_creation_6__bases;
tmp_subscript_value_4 = mod_consts[226];
tmp_type_arg_9 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_24, tmp_subscript_value_4, 0);
if (tmp_type_arg_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
goto try_except_handler_28;
}
tmp_metaclass_value_6 = BUILTIN_TYPE1(tmp_type_arg_9);
Py_DECREF(tmp_type_arg_9);
if (tmp_metaclass_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
goto try_except_handler_28;
}
goto condexpr_end_20;
condexpr_false_20:;
tmp_metaclass_value_6 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_6);
condexpr_end_20:;
condexpr_end_19:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_bases_value_6 = tmp_class_creation_6__bases;
tmp_assign_source_79 = SELECT_METACLASS(tmp_metaclass_value_6, tmp_bases_value_6);
Py_DECREF(tmp_metaclass_value_6);
if (tmp_assign_source_79 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
goto try_except_handler_28;
}
assert(tmp_class_creation_6__metaclass == NULL);
tmp_class_creation_6__metaclass = tmp_assign_source_79;
}
{
bool tmp_condition_result_42;
PyObject *tmp_key_value_18;
PyObject *tmp_dict_arg_value_18;
tmp_key_value_18 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_dict_arg_value_18 = tmp_class_creation_6__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_18, tmp_key_value_18);
assert(!(tmp_res == -1));
tmp_condition_result_42 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_42 != false) {
goto branch_yes_22;
} else {
goto branch_no_22;
}
}
branch_yes_22:;
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_6__class_decl_dict;
tmp_dictdel_key = mod_consts[324];
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 = 449;
goto try_except_handler_28;
}
branch_no_22:;
{
nuitka_bool tmp_condition_result_43;
PyObject *tmp_expression_value_25;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_expression_value_25 = tmp_class_creation_6__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_25, mod_consts[326]);
tmp_condition_result_43 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_43 == NUITKA_BOOL_TRUE) {
goto branch_yes_23;
} else {
goto branch_no_23;
}
}
branch_yes_23:;
{
PyObject *tmp_assign_source_80;
PyObject *tmp_called_value_31;
PyObject *tmp_expression_value_26;
PyObject *tmp_args_value_11;
PyObject *tmp_tuple_element_18;
PyObject *tmp_kwargs_value_11;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_expression_value_26 = tmp_class_creation_6__metaclass;
tmp_called_value_31 = LOOKUP_ATTRIBUTE(tmp_expression_value_26, mod_consts[326]);
if (tmp_called_value_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
goto try_except_handler_28;
}
tmp_tuple_element_18 = mod_consts[128];
tmp_args_value_11 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_11, 0, tmp_tuple_element_18);
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_tuple_element_18 = tmp_class_creation_6__bases;
PyTuple_SET_ITEM0(tmp_args_value_11, 1, tmp_tuple_element_18);
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_kwargs_value_11 = tmp_class_creation_6__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 449;
tmp_assign_source_80 = CALL_FUNCTION(tmp_called_value_31, tmp_args_value_11, tmp_kwargs_value_11);
Py_DECREF(tmp_called_value_31);
Py_DECREF(tmp_args_value_11);
if (tmp_assign_source_80 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
goto try_except_handler_28;
}
assert(tmp_class_creation_6__prepared == NULL);
tmp_class_creation_6__prepared = tmp_assign_source_80;
}
{
bool tmp_condition_result_44;
PyObject *tmp_operand_value_6;
PyObject *tmp_expression_value_27;
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_expression_value_27 = tmp_class_creation_6__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_27, mod_consts[250]);
tmp_operand_value_6 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_6);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
goto try_except_handler_28;
}
tmp_condition_result_44 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_44 != false) {
goto branch_yes_24;
} else {
goto branch_no_24;
}
}
branch_yes_24:;
{
PyObject *tmp_raise_type_6;
PyObject *tmp_raise_value_6;
PyObject *tmp_mod_expr_left_6;
PyObject *tmp_mod_expr_right_6;
PyObject *tmp_tuple_element_19;
PyObject *tmp_getattr_target_6;
PyObject *tmp_getattr_attr_6;
PyObject *tmp_getattr_default_6;
tmp_raise_type_6 = PyExc_TypeError;
tmp_mod_expr_left_6 = mod_consts[328];
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_getattr_target_6 = tmp_class_creation_6__metaclass;
tmp_getattr_attr_6 = mod_consts[201];
tmp_getattr_default_6 = mod_consts[329];
tmp_tuple_element_19 = BUILTIN_GETATTR(tmp_getattr_target_6, tmp_getattr_attr_6, tmp_getattr_default_6);
if (tmp_tuple_element_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
goto try_except_handler_28;
}
tmp_mod_expr_right_6 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_28;
PyObject *tmp_type_arg_10;
PyTuple_SET_ITEM(tmp_mod_expr_right_6, 0, tmp_tuple_element_19);
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_type_arg_10 = tmp_class_creation_6__prepared;
tmp_expression_value_28 = BUILTIN_TYPE1(tmp_type_arg_10);
assert(!(tmp_expression_value_28 == NULL));
tmp_tuple_element_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_28, mod_consts[201]);
Py_DECREF(tmp_expression_value_28);
if (tmp_tuple_element_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
goto tuple_build_exception_6;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_6, 1, tmp_tuple_element_19);
}
goto tuple_build_noexception_6;
// Exception handling pass through code for tuple_build:
tuple_build_exception_6:;
Py_DECREF(tmp_mod_expr_right_6);
goto try_except_handler_28;
// Finished with no exception for tuple_build:
tuple_build_noexception_6:;
tmp_raise_value_6 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_6, tmp_mod_expr_right_6);
Py_DECREF(tmp_mod_expr_right_6);
if (tmp_raise_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
goto try_except_handler_28;
}
exception_type = tmp_raise_type_6;
Py_INCREF(tmp_raise_type_6);
exception_value = tmp_raise_value_6;
exception_lineno = 449;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_28;
}
branch_no_24:;
goto branch_end_23;
branch_no_23:;
{
PyObject *tmp_assign_source_81;
tmp_assign_source_81 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_6__prepared == NULL);
tmp_class_creation_6__prepared = tmp_assign_source_81;
}
branch_end_23:;
{
PyObject *tmp_assign_source_82;
{
PyObject *tmp_set_locals_6;
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_set_locals_6 = tmp_class_creation_6__prepared;
locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449 = tmp_set_locals_6;
Py_INCREF(tmp_set_locals_6);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[330];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449, mod_consts[331], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
goto try_except_handler_30;
}
tmp_dictset_value = mod_consts[386];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449, mod_consts[289], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
goto try_except_handler_30;
}
tmp_dictset_value = mod_consts[128];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449, mod_consts[333], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
goto try_except_handler_30;
}
if (isFrameUnusable(cache_frame_290e809bf822520b51bae1c8353d042c_7)) {
Py_XDECREF(cache_frame_290e809bf822520b51bae1c8353d042c_7);
#if _DEBUG_REFCOUNTS
if (cache_frame_290e809bf822520b51bae1c8353d042c_7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_290e809bf822520b51bae1c8353d042c_7 = MAKE_CLASS_FRAME(codeobj_290e809bf822520b51bae1c8353d042c, module_lazr$restfulclient$resource, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_290e809bf822520b51bae1c8353d042c_7->m_type_description == NULL);
frame_290e809bf822520b51bae1c8353d042c_7 = cache_frame_290e809bf822520b51bae1c8353d042c_7;
// Push the new frame as the currently active one.
pushFrameStack(frame_290e809bf822520b51bae1c8353d042c_7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_290e809bf822520b51bae1c8353d042c_7) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
tmp_dict_key_1 = mod_consts[377];
tmp_dict_value_1 = PyObject_GetItem(locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449, mod_consts[377]);
if (tmp_dict_value_1 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[377]);
if (unlikely(tmp_dict_value_1 == NULL)) {
tmp_dict_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[377]);
}
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 457;
type_description_2 = "o";
goto frame_exception_exit_7;
}
Py_INCREF(tmp_dict_value_1);
} else {
goto frame_exception_exit_7;
}
}
tmp_dictset_value = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_dictset_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[213];
tmp_dict_value_1 = PyObject_GetItem(locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449, mod_consts[213]);
if (tmp_dict_value_1 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[213]);
if (unlikely(tmp_dict_value_1 == NULL)) {
tmp_dict_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[213]);
}
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 458;
type_description_2 = "o";
goto dict_build_exception_1;
}
Py_INCREF(tmp_dict_value_1);
} else {
goto dict_build_exception_1;
}
}
tmp_res = PyDict_SetItem(tmp_dictset_value, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
goto dict_build_noexception_1;
// Exception handling pass through code for dict_build:
dict_build_exception_1:;
Py_DECREF(tmp_dictset_value);
goto frame_exception_exit_7;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449, mod_consts[74], 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 = 457;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
{
PyObject *tmp_defaults_6;
PyObject *tmp_tuple_element_20;
tmp_tuple_element_20 = Py_None;
tmp_defaults_6 = MAKE_TUPLE_EMPTY(6);
{
PyObject *tmp_expression_value_29;
PyTuple_SET_ITEM0(tmp_defaults_6, 0, tmp_tuple_element_20);
tmp_tuple_element_20 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_6, 1, tmp_tuple_element_20);
tmp_tuple_element_20 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_6, 2, tmp_tuple_element_20);
tmp_tuple_element_20 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_6, 3, tmp_tuple_element_20);
tmp_tuple_element_20 = mod_consts[133];
PyTuple_SET_ITEM0(tmp_defaults_6, 4, tmp_tuple_element_20);
tmp_expression_value_29 = PyObject_GetItem(locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449, mod_consts[122]);
if (tmp_expression_value_29 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_29 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_29 == NULL)) {
tmp_expression_value_29 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 462;
type_description_2 = "o";
goto tuple_build_exception_7;
}
Py_INCREF(tmp_expression_value_29);
} else {
goto tuple_build_exception_7;
}
}
tmp_tuple_element_20 = LOOKUP_ATTRIBUTE(tmp_expression_value_29, mod_consts[387]);
Py_DECREF(tmp_expression_value_29);
if (tmp_tuple_element_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 462;
type_description_2 = "o";
goto tuple_build_exception_7;
}
PyTuple_SET_ITEM(tmp_defaults_6, 5, tmp_tuple_element_20);
}
goto tuple_build_noexception_7;
// Exception handling pass through code for tuple_build:
tuple_build_exception_7:;
Py_DECREF(tmp_defaults_6);
goto frame_exception_exit_7;
// Finished with no exception for tuple_build:
tuple_build_noexception_7:;
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__28___init__(tmp_defaults_6);
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449, mod_consts[129], 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 = 460;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
{
nuitka_bool tmp_condition_result_45;
PyObject *tmp_called_value_32;
PyObject *tmp_args_element_value_14;
PyObject *tmp_called_value_33;
PyObject *tmp_args_element_value_15;
tmp_res = MAPPING_HAS_ITEM(locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449, mod_consts[346]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_condition_result_45 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_45 == NUITKA_BOOL_TRUE) {
goto condexpr_true_21;
} else {
goto condexpr_false_21;
}
condexpr_true_21:;
tmp_called_value_32 = PyObject_GetItem(locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449, mod_consts[346]);
if (unlikely(tmp_called_value_32 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[346]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 493;
type_description_2 = "o";
goto frame_exception_exit_7;
}
if (tmp_called_value_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_args_element_value_14 = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__29__user_agent();
frame_290e809bf822520b51bae1c8353d042c_7->m_frame.f_lineno = 493;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_32, tmp_args_element_value_14);
Py_DECREF(tmp_called_value_32);
Py_DECREF(tmp_args_element_value_14);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
type_description_2 = "o";
goto frame_exception_exit_7;
}
goto condexpr_end_21;
condexpr_false_21:;
tmp_called_value_33 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_15 = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__29__user_agent();
frame_290e809bf822520b51bae1c8353d042c_7->m_frame.f_lineno = 493;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_33, tmp_args_element_value_15);
Py_DECREF(tmp_args_element_value_15);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
type_description_2 = "o";
goto frame_exception_exit_7;
}
condexpr_end_21:;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449, mod_consts[123], 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 = 494;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__30_httpFactory();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449, mod_consts[390], 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 = 518;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__31_load();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449, mod_consts[392], 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 = 521;
type_description_2 = "o";
goto frame_exception_exit_7;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_290e809bf822520b51bae1c8353d042c_7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_6;
frame_exception_exit_7:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_290e809bf822520b51bae1c8353d042c_7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_290e809bf822520b51bae1c8353d042c_7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_290e809bf822520b51bae1c8353d042c_7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_290e809bf822520b51bae1c8353d042c_7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_290e809bf822520b51bae1c8353d042c_7,
type_description_2,
outline_5_var___class__
);
// Release cached frame if used for exception.
if (frame_290e809bf822520b51bae1c8353d042c_7 == cache_frame_290e809bf822520b51bae1c8353d042c_7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_290e809bf822520b51bae1c8353d042c_7);
cache_frame_290e809bf822520b51bae1c8353d042c_7 = NULL;
}
assertFrameObject(frame_290e809bf822520b51bae1c8353d042c_7);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_6;
frame_no_exception_6:;
goto skip_nested_handling_6;
nested_frame_exit_6:;
goto try_except_handler_30;
skip_nested_handling_6:;
{
nuitka_bool tmp_condition_result_46;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_cmp_expr_left_7 = tmp_class_creation_6__bases;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
tmp_cmp_expr_right_7 = tmp_class_creation_6__bases_orig;
tmp_condition_result_46 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_7, tmp_cmp_expr_right_7);
if (tmp_condition_result_46 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
goto try_except_handler_30;
}
if (tmp_condition_result_46 == NUITKA_BOOL_TRUE) {
goto branch_yes_25;
} else {
goto branch_no_25;
}
}
branch_yes_25:;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
tmp_dictset_value = tmp_class_creation_6__bases_orig;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449, mod_consts[374], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
goto try_except_handler_30;
}
branch_no_25:;
{
PyObject *tmp_assign_source_83;
PyObject *tmp_called_value_34;
PyObject *tmp_args_value_12;
PyObject *tmp_tuple_element_21;
PyObject *tmp_kwargs_value_12;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_called_value_34 = tmp_class_creation_6__metaclass;
tmp_tuple_element_21 = mod_consts[128];
tmp_args_value_12 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_12, 0, tmp_tuple_element_21);
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_tuple_element_21 = tmp_class_creation_6__bases;
PyTuple_SET_ITEM0(tmp_args_value_12, 1, tmp_tuple_element_21);
tmp_tuple_element_21 = locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449;
PyTuple_SET_ITEM0(tmp_args_value_12, 2, tmp_tuple_element_21);
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_kwargs_value_12 = tmp_class_creation_6__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 449;
tmp_assign_source_83 = CALL_FUNCTION(tmp_called_value_34, tmp_args_value_12, tmp_kwargs_value_12);
Py_DECREF(tmp_args_value_12);
if (tmp_assign_source_83 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 449;
goto try_except_handler_30;
}
assert(outline_5_var___class__ == NULL);
outline_5_var___class__ = tmp_assign_source_83;
}
CHECK_OBJECT(outline_5_var___class__);
tmp_assign_source_82 = outline_5_var___class__;
Py_INCREF(tmp_assign_source_82);
goto try_return_handler_30;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_30:;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449);
locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449 = NULL;
goto try_return_handler_29;
// Exception handler code:
try_except_handler_30:;
exception_keeper_type_28 = exception_type;
exception_keeper_value_28 = exception_value;
exception_keeper_tb_28 = exception_tb;
exception_keeper_lineno_28 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449);
locals_lazr$restfulclient$resource$$$class__6_ServiceRoot_449 = NULL;
// Re-raise.
exception_type = exception_keeper_type_28;
exception_value = exception_keeper_value_28;
exception_tb = exception_keeper_tb_28;
exception_lineno = exception_keeper_lineno_28;
goto try_except_handler_29;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_29:;
CHECK_OBJECT(outline_5_var___class__);
Py_DECREF(outline_5_var___class__);
outline_5_var___class__ = NULL;
goto outline_result_6;
// Exception handler code:
try_except_handler_29:;
exception_keeper_type_29 = exception_type;
exception_keeper_value_29 = exception_value;
exception_keeper_tb_29 = exception_tb;
exception_keeper_lineno_29 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_29;
exception_value = exception_keeper_value_29;
exception_tb = exception_keeper_tb_29;
exception_lineno = exception_keeper_lineno_29;
goto outline_exception_6;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_6:;
exception_lineno = 449;
goto try_except_handler_28;
outline_result_6:;
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[128], tmp_assign_source_82);
}
goto try_end_18;
// Exception handler code:
try_except_handler_28:;
exception_keeper_type_30 = exception_type;
exception_keeper_value_30 = exception_value;
exception_keeper_tb_30 = exception_tb;
exception_keeper_lineno_30 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_6__bases_orig);
tmp_class_creation_6__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_6__bases);
tmp_class_creation_6__bases = NULL;
Py_XDECREF(tmp_class_creation_6__class_decl_dict);
tmp_class_creation_6__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_6__metaclass);
tmp_class_creation_6__metaclass = NULL;
Py_XDECREF(tmp_class_creation_6__prepared);
tmp_class_creation_6__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_30;
exception_value = exception_keeper_value_30;
exception_tb = exception_keeper_tb_30;
exception_lineno = exception_keeper_lineno_30;
goto frame_exception_exit_1;
// End of try:
try_end_18:;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
Py_DECREF(tmp_class_creation_6__bases_orig);
tmp_class_creation_6__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_6__bases);
Py_DECREF(tmp_class_creation_6__bases);
tmp_class_creation_6__bases = NULL;
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
Py_DECREF(tmp_class_creation_6__class_decl_dict);
tmp_class_creation_6__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
Py_DECREF(tmp_class_creation_6__metaclass);
tmp_class_creation_6__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_6__prepared);
Py_DECREF(tmp_class_creation_6__prepared);
tmp_class_creation_6__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_84;
PyObject *tmp_tuple_element_22;
tmp_tuple_element_22 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[340]);
if (unlikely(tmp_tuple_element_22 == NULL)) {
tmp_tuple_element_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[340]);
}
if (tmp_tuple_element_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
goto try_except_handler_31;
}
tmp_assign_source_84 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_84, 0, tmp_tuple_element_22);
assert(tmp_class_creation_7__bases_orig == NULL);
tmp_class_creation_7__bases_orig = tmp_assign_source_84;
}
{
PyObject *tmp_assign_source_85;
PyObject *tmp_dircall_arg1_5;
CHECK_OBJECT(tmp_class_creation_7__bases_orig);
tmp_dircall_arg1_5 = tmp_class_creation_7__bases_orig;
Py_INCREF(tmp_dircall_arg1_5);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_5};
tmp_assign_source_85 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_85 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
goto try_except_handler_31;
}
assert(tmp_class_creation_7__bases == NULL);
tmp_class_creation_7__bases = tmp_assign_source_85;
}
{
PyObject *tmp_assign_source_86;
tmp_assign_source_86 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_7__class_decl_dict == NULL);
tmp_class_creation_7__class_decl_dict = tmp_assign_source_86;
}
{
PyObject *tmp_assign_source_87;
PyObject *tmp_metaclass_value_7;
bool tmp_condition_result_47;
PyObject *tmp_key_value_19;
PyObject *tmp_dict_arg_value_19;
PyObject *tmp_dict_arg_value_20;
PyObject *tmp_key_value_20;
nuitka_bool tmp_condition_result_48;
int tmp_truth_name_5;
PyObject *tmp_type_arg_11;
PyObject *tmp_expression_value_30;
PyObject *tmp_subscript_value_5;
PyObject *tmp_bases_value_7;
tmp_key_value_19 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_dict_arg_value_19 = tmp_class_creation_7__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_19, tmp_key_value_19);
assert(!(tmp_res == -1));
tmp_condition_result_47 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_47 != false) {
goto condexpr_true_22;
} else {
goto condexpr_false_22;
}
condexpr_true_22:;
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_dict_arg_value_20 = tmp_class_creation_7__class_decl_dict;
tmp_key_value_20 = mod_consts[324];
tmp_metaclass_value_7 = DICT_GET_ITEM0(tmp_dict_arg_value_20, tmp_key_value_20);
if (tmp_metaclass_value_7 == NULL) {
tmp_metaclass_value_7 = Py_None;
}
assert(!(tmp_metaclass_value_7 == NULL));
Py_INCREF(tmp_metaclass_value_7);
goto condexpr_end_22;
condexpr_false_22:;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_truth_name_5 = CHECK_IF_TRUE(tmp_class_creation_7__bases);
if (tmp_truth_name_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
goto try_except_handler_31;
}
tmp_condition_result_48 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_48 == NUITKA_BOOL_TRUE) {
goto condexpr_true_23;
} else {
goto condexpr_false_23;
}
condexpr_true_23:;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_expression_value_30 = tmp_class_creation_7__bases;
tmp_subscript_value_5 = mod_consts[226];
tmp_type_arg_11 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_30, tmp_subscript_value_5, 0);
if (tmp_type_arg_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
goto try_except_handler_31;
}
tmp_metaclass_value_7 = BUILTIN_TYPE1(tmp_type_arg_11);
Py_DECREF(tmp_type_arg_11);
if (tmp_metaclass_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
goto try_except_handler_31;
}
goto condexpr_end_23;
condexpr_false_23:;
tmp_metaclass_value_7 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_7);
condexpr_end_23:;
condexpr_end_22:;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_bases_value_7 = tmp_class_creation_7__bases;
tmp_assign_source_87 = SELECT_METACLASS(tmp_metaclass_value_7, tmp_bases_value_7);
Py_DECREF(tmp_metaclass_value_7);
if (tmp_assign_source_87 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
goto try_except_handler_31;
}
assert(tmp_class_creation_7__metaclass == NULL);
tmp_class_creation_7__metaclass = tmp_assign_source_87;
}
{
bool tmp_condition_result_49;
PyObject *tmp_key_value_21;
PyObject *tmp_dict_arg_value_21;
tmp_key_value_21 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_dict_arg_value_21 = tmp_class_creation_7__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_21, tmp_key_value_21);
assert(!(tmp_res == -1));
tmp_condition_result_49 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_49 != false) {
goto branch_yes_26;
} else {
goto branch_no_26;
}
}
branch_yes_26:;
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_7__class_decl_dict;
tmp_dictdel_key = mod_consts[324];
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 = 548;
goto try_except_handler_31;
}
branch_no_26:;
{
nuitka_bool tmp_condition_result_50;
PyObject *tmp_expression_value_31;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_expression_value_31 = tmp_class_creation_7__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_31, mod_consts[326]);
tmp_condition_result_50 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_50 == NUITKA_BOOL_TRUE) {
goto branch_yes_27;
} else {
goto branch_no_27;
}
}
branch_yes_27:;
{
PyObject *tmp_assign_source_88;
PyObject *tmp_called_value_35;
PyObject *tmp_expression_value_32;
PyObject *tmp_args_value_13;
PyObject *tmp_tuple_element_23;
PyObject *tmp_kwargs_value_13;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_expression_value_32 = tmp_class_creation_7__metaclass;
tmp_called_value_35 = LOOKUP_ATTRIBUTE(tmp_expression_value_32, mod_consts[326]);
if (tmp_called_value_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
goto try_except_handler_31;
}
tmp_tuple_element_23 = mod_consts[66];
tmp_args_value_13 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_13, 0, tmp_tuple_element_23);
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_tuple_element_23 = tmp_class_creation_7__bases;
PyTuple_SET_ITEM0(tmp_args_value_13, 1, tmp_tuple_element_23);
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_kwargs_value_13 = tmp_class_creation_7__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 548;
tmp_assign_source_88 = CALL_FUNCTION(tmp_called_value_35, tmp_args_value_13, tmp_kwargs_value_13);
Py_DECREF(tmp_called_value_35);
Py_DECREF(tmp_args_value_13);
if (tmp_assign_source_88 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
goto try_except_handler_31;
}
assert(tmp_class_creation_7__prepared == NULL);
tmp_class_creation_7__prepared = tmp_assign_source_88;
}
{
bool tmp_condition_result_51;
PyObject *tmp_operand_value_7;
PyObject *tmp_expression_value_33;
CHECK_OBJECT(tmp_class_creation_7__prepared);
tmp_expression_value_33 = tmp_class_creation_7__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_33, mod_consts[250]);
tmp_operand_value_7 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_7);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
goto try_except_handler_31;
}
tmp_condition_result_51 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_51 != false) {
goto branch_yes_28;
} else {
goto branch_no_28;
}
}
branch_yes_28:;
{
PyObject *tmp_raise_type_7;
PyObject *tmp_raise_value_7;
PyObject *tmp_mod_expr_left_7;
PyObject *tmp_mod_expr_right_7;
PyObject *tmp_tuple_element_24;
PyObject *tmp_getattr_target_7;
PyObject *tmp_getattr_attr_7;
PyObject *tmp_getattr_default_7;
tmp_raise_type_7 = PyExc_TypeError;
tmp_mod_expr_left_7 = mod_consts[328];
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_getattr_target_7 = tmp_class_creation_7__metaclass;
tmp_getattr_attr_7 = mod_consts[201];
tmp_getattr_default_7 = mod_consts[329];
tmp_tuple_element_24 = BUILTIN_GETATTR(tmp_getattr_target_7, tmp_getattr_attr_7, tmp_getattr_default_7);
if (tmp_tuple_element_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
goto try_except_handler_31;
}
tmp_mod_expr_right_7 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_34;
PyObject *tmp_type_arg_12;
PyTuple_SET_ITEM(tmp_mod_expr_right_7, 0, tmp_tuple_element_24);
CHECK_OBJECT(tmp_class_creation_7__prepared);
tmp_type_arg_12 = tmp_class_creation_7__prepared;
tmp_expression_value_34 = BUILTIN_TYPE1(tmp_type_arg_12);
assert(!(tmp_expression_value_34 == NULL));
tmp_tuple_element_24 = LOOKUP_ATTRIBUTE(tmp_expression_value_34, mod_consts[201]);
Py_DECREF(tmp_expression_value_34);
if (tmp_tuple_element_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
goto tuple_build_exception_8;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_7, 1, tmp_tuple_element_24);
}
goto tuple_build_noexception_8;
// Exception handling pass through code for tuple_build:
tuple_build_exception_8:;
Py_DECREF(tmp_mod_expr_right_7);
goto try_except_handler_31;
// Finished with no exception for tuple_build:
tuple_build_noexception_8:;
tmp_raise_value_7 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_7, tmp_mod_expr_right_7);
Py_DECREF(tmp_mod_expr_right_7);
if (tmp_raise_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
goto try_except_handler_31;
}
exception_type = tmp_raise_type_7;
Py_INCREF(tmp_raise_type_7);
exception_value = tmp_raise_value_7;
exception_lineno = 548;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_31;
}
branch_no_28:;
goto branch_end_27;
branch_no_27:;
{
PyObject *tmp_assign_source_89;
tmp_assign_source_89 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_7__prepared == NULL);
tmp_class_creation_7__prepared = tmp_assign_source_89;
}
branch_end_27:;
{
PyObject *tmp_assign_source_90;
{
PyObject *tmp_set_locals_7;
CHECK_OBJECT(tmp_class_creation_7__prepared);
tmp_set_locals_7 = tmp_class_creation_7__prepared;
locals_lazr$restfulclient$resource$$$class__7_NamedOperation_548 = tmp_set_locals_7;
Py_INCREF(tmp_set_locals_7);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[330];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__7_NamedOperation_548, mod_consts[331], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
goto try_except_handler_33;
}
tmp_dictset_value = mod_consts[394];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__7_NamedOperation_548, mod_consts[289], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
goto try_except_handler_33;
}
tmp_dictset_value = mod_consts[66];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__7_NamedOperation_548, mod_consts[333], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
goto try_except_handler_33;
}
if (isFrameUnusable(cache_frame_cf958528e9c04d269b79f0ad1cd675cd_8)) {
Py_XDECREF(cache_frame_cf958528e9c04d269b79f0ad1cd675cd_8);
#if _DEBUG_REFCOUNTS
if (cache_frame_cf958528e9c04d269b79f0ad1cd675cd_8 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_cf958528e9c04d269b79f0ad1cd675cd_8 = MAKE_CLASS_FRAME(codeobj_cf958528e9c04d269b79f0ad1cd675cd, module_lazr$restfulclient$resource, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_cf958528e9c04d269b79f0ad1cd675cd_8->m_type_description == NULL);
frame_cf958528e9c04d269b79f0ad1cd675cd_8 = cache_frame_cf958528e9c04d269b79f0ad1cd675cd_8;
// Push the new frame as the currently active one.
pushFrameStack(frame_cf958528e9c04d269b79f0ad1cd675cd_8);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_cf958528e9c04d269b79f0ad1cd675cd_8) == 2); // Frame stack
// Framed code:
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__32___init__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__7_NamedOperation_548, mod_consts[129], 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 = 551;
type_description_2 = "o";
goto frame_exception_exit_8;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__33___call__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__7_NamedOperation_548, mod_consts[396], 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 = 557;
type_description_2 = "o";
goto frame_exception_exit_8;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__34__handle_201_response();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__7_NamedOperation_548, mod_consts[176], 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 = 623;
type_description_2 = "o";
goto frame_exception_exit_8;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__35__handle_200_response();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__7_NamedOperation_548, mod_consts[180], 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 = 637;
type_description_2 = "o";
goto frame_exception_exit_8;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__36__get_external_param_name();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__7_NamedOperation_548, mod_consts[11], 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 = 691;
type_description_2 = "o";
goto frame_exception_exit_8;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_cf958528e9c04d269b79f0ad1cd675cd_8);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_7;
frame_exception_exit_8:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_cf958528e9c04d269b79f0ad1cd675cd_8);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_cf958528e9c04d269b79f0ad1cd675cd_8, exception_lineno);
} else if (exception_tb->tb_frame != &frame_cf958528e9c04d269b79f0ad1cd675cd_8->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_cf958528e9c04d269b79f0ad1cd675cd_8, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_cf958528e9c04d269b79f0ad1cd675cd_8,
type_description_2,
outline_6_var___class__
);
// Release cached frame if used for exception.
if (frame_cf958528e9c04d269b79f0ad1cd675cd_8 == cache_frame_cf958528e9c04d269b79f0ad1cd675cd_8) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_cf958528e9c04d269b79f0ad1cd675cd_8);
cache_frame_cf958528e9c04d269b79f0ad1cd675cd_8 = NULL;
}
assertFrameObject(frame_cf958528e9c04d269b79f0ad1cd675cd_8);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_7;
frame_no_exception_7:;
goto skip_nested_handling_7;
nested_frame_exit_7:;
goto try_except_handler_33;
skip_nested_handling_7:;
{
nuitka_bool tmp_condition_result_52;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_cmp_expr_left_8 = tmp_class_creation_7__bases;
CHECK_OBJECT(tmp_class_creation_7__bases_orig);
tmp_cmp_expr_right_8 = tmp_class_creation_7__bases_orig;
tmp_condition_result_52 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_8, tmp_cmp_expr_right_8);
if (tmp_condition_result_52 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
goto try_except_handler_33;
}
if (tmp_condition_result_52 == NUITKA_BOOL_TRUE) {
goto branch_yes_29;
} else {
goto branch_no_29;
}
}
branch_yes_29:;
CHECK_OBJECT(tmp_class_creation_7__bases_orig);
tmp_dictset_value = tmp_class_creation_7__bases_orig;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__7_NamedOperation_548, mod_consts[374], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
goto try_except_handler_33;
}
branch_no_29:;
{
PyObject *tmp_assign_source_91;
PyObject *tmp_called_value_36;
PyObject *tmp_args_value_14;
PyObject *tmp_tuple_element_25;
PyObject *tmp_kwargs_value_14;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_called_value_36 = tmp_class_creation_7__metaclass;
tmp_tuple_element_25 = mod_consts[66];
tmp_args_value_14 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_14, 0, tmp_tuple_element_25);
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_tuple_element_25 = tmp_class_creation_7__bases;
PyTuple_SET_ITEM0(tmp_args_value_14, 1, tmp_tuple_element_25);
tmp_tuple_element_25 = locals_lazr$restfulclient$resource$$$class__7_NamedOperation_548;
PyTuple_SET_ITEM0(tmp_args_value_14, 2, tmp_tuple_element_25);
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_kwargs_value_14 = tmp_class_creation_7__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 548;
tmp_assign_source_91 = CALL_FUNCTION(tmp_called_value_36, tmp_args_value_14, tmp_kwargs_value_14);
Py_DECREF(tmp_args_value_14);
if (tmp_assign_source_91 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
goto try_except_handler_33;
}
assert(outline_6_var___class__ == NULL);
outline_6_var___class__ = tmp_assign_source_91;
}
CHECK_OBJECT(outline_6_var___class__);
tmp_assign_source_90 = outline_6_var___class__;
Py_INCREF(tmp_assign_source_90);
goto try_return_handler_33;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_33:;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__7_NamedOperation_548);
locals_lazr$restfulclient$resource$$$class__7_NamedOperation_548 = NULL;
goto try_return_handler_32;
// Exception handler code:
try_except_handler_33:;
exception_keeper_type_31 = exception_type;
exception_keeper_value_31 = exception_value;
exception_keeper_tb_31 = exception_tb;
exception_keeper_lineno_31 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__7_NamedOperation_548);
locals_lazr$restfulclient$resource$$$class__7_NamedOperation_548 = NULL;
// Re-raise.
exception_type = exception_keeper_type_31;
exception_value = exception_keeper_value_31;
exception_tb = exception_keeper_tb_31;
exception_lineno = exception_keeper_lineno_31;
goto try_except_handler_32;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_32:;
CHECK_OBJECT(outline_6_var___class__);
Py_DECREF(outline_6_var___class__);
outline_6_var___class__ = NULL;
goto outline_result_7;
// Exception handler code:
try_except_handler_32:;
exception_keeper_type_32 = exception_type;
exception_keeper_value_32 = exception_value;
exception_keeper_tb_32 = exception_tb;
exception_keeper_lineno_32 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_32;
exception_value = exception_keeper_value_32;
exception_tb = exception_keeper_tb_32;
exception_lineno = exception_keeper_lineno_32;
goto outline_exception_7;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_7:;
exception_lineno = 548;
goto try_except_handler_31;
outline_result_7:;
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[66], tmp_assign_source_90);
}
goto try_end_19;
// Exception handler code:
try_except_handler_31:;
exception_keeper_type_33 = exception_type;
exception_keeper_value_33 = exception_value;
exception_keeper_tb_33 = exception_tb;
exception_keeper_lineno_33 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_7__bases_orig);
tmp_class_creation_7__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_7__bases);
tmp_class_creation_7__bases = NULL;
Py_XDECREF(tmp_class_creation_7__class_decl_dict);
tmp_class_creation_7__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_7__metaclass);
tmp_class_creation_7__metaclass = NULL;
Py_XDECREF(tmp_class_creation_7__prepared);
tmp_class_creation_7__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_33;
exception_value = exception_keeper_value_33;
exception_tb = exception_keeper_tb_33;
exception_lineno = exception_keeper_lineno_33;
goto frame_exception_exit_1;
// End of try:
try_end_19:;
CHECK_OBJECT(tmp_class_creation_7__bases_orig);
Py_DECREF(tmp_class_creation_7__bases_orig);
tmp_class_creation_7__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_7__bases);
Py_DECREF(tmp_class_creation_7__bases);
tmp_class_creation_7__bases = NULL;
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
Py_DECREF(tmp_class_creation_7__class_decl_dict);
tmp_class_creation_7__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
Py_DECREF(tmp_class_creation_7__metaclass);
tmp_class_creation_7__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_7__prepared);
Py_DECREF(tmp_class_creation_7__prepared);
tmp_class_creation_7__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_92;
PyObject *tmp_tuple_element_26;
tmp_tuple_element_26 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_tuple_element_26 == NULL)) {
tmp_tuple_element_26 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_tuple_element_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
goto try_except_handler_34;
}
tmp_assign_source_92 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_92, 0, tmp_tuple_element_26);
assert(tmp_class_creation_8__bases_orig == NULL);
tmp_class_creation_8__bases_orig = tmp_assign_source_92;
}
{
PyObject *tmp_assign_source_93;
PyObject *tmp_dircall_arg1_6;
CHECK_OBJECT(tmp_class_creation_8__bases_orig);
tmp_dircall_arg1_6 = tmp_class_creation_8__bases_orig;
Py_INCREF(tmp_dircall_arg1_6);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_6};
tmp_assign_source_93 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_93 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
goto try_except_handler_34;
}
assert(tmp_class_creation_8__bases == NULL);
tmp_class_creation_8__bases = tmp_assign_source_93;
}
{
PyObject *tmp_assign_source_94;
tmp_assign_source_94 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_8__class_decl_dict == NULL);
tmp_class_creation_8__class_decl_dict = tmp_assign_source_94;
}
{
PyObject *tmp_assign_source_95;
PyObject *tmp_metaclass_value_8;
bool tmp_condition_result_53;
PyObject *tmp_key_value_22;
PyObject *tmp_dict_arg_value_22;
PyObject *tmp_dict_arg_value_23;
PyObject *tmp_key_value_23;
nuitka_bool tmp_condition_result_54;
int tmp_truth_name_6;
PyObject *tmp_type_arg_13;
PyObject *tmp_expression_value_35;
PyObject *tmp_subscript_value_6;
PyObject *tmp_bases_value_8;
tmp_key_value_22 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
tmp_dict_arg_value_22 = tmp_class_creation_8__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_22, tmp_key_value_22);
assert(!(tmp_res == -1));
tmp_condition_result_53 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_53 != false) {
goto condexpr_true_24;
} else {
goto condexpr_false_24;
}
condexpr_true_24:;
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
tmp_dict_arg_value_23 = tmp_class_creation_8__class_decl_dict;
tmp_key_value_23 = mod_consts[324];
tmp_metaclass_value_8 = DICT_GET_ITEM0(tmp_dict_arg_value_23, tmp_key_value_23);
if (tmp_metaclass_value_8 == NULL) {
tmp_metaclass_value_8 = Py_None;
}
assert(!(tmp_metaclass_value_8 == NULL));
Py_INCREF(tmp_metaclass_value_8);
goto condexpr_end_24;
condexpr_false_24:;
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_truth_name_6 = CHECK_IF_TRUE(tmp_class_creation_8__bases);
if (tmp_truth_name_6 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
goto try_except_handler_34;
}
tmp_condition_result_54 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_54 == NUITKA_BOOL_TRUE) {
goto condexpr_true_25;
} else {
goto condexpr_false_25;
}
condexpr_true_25:;
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_expression_value_35 = tmp_class_creation_8__bases;
tmp_subscript_value_6 = mod_consts[226];
tmp_type_arg_13 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_35, tmp_subscript_value_6, 0);
if (tmp_type_arg_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
goto try_except_handler_34;
}
tmp_metaclass_value_8 = BUILTIN_TYPE1(tmp_type_arg_13);
Py_DECREF(tmp_type_arg_13);
if (tmp_metaclass_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
goto try_except_handler_34;
}
goto condexpr_end_25;
condexpr_false_25:;
tmp_metaclass_value_8 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_8);
condexpr_end_25:;
condexpr_end_24:;
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_bases_value_8 = tmp_class_creation_8__bases;
tmp_assign_source_95 = SELECT_METACLASS(tmp_metaclass_value_8, tmp_bases_value_8);
Py_DECREF(tmp_metaclass_value_8);
if (tmp_assign_source_95 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
goto try_except_handler_34;
}
assert(tmp_class_creation_8__metaclass == NULL);
tmp_class_creation_8__metaclass = tmp_assign_source_95;
}
{
bool tmp_condition_result_55;
PyObject *tmp_key_value_24;
PyObject *tmp_dict_arg_value_24;
tmp_key_value_24 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
tmp_dict_arg_value_24 = tmp_class_creation_8__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_24, tmp_key_value_24);
assert(!(tmp_res == -1));
tmp_condition_result_55 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_55 != false) {
goto branch_yes_30;
} else {
goto branch_no_30;
}
}
branch_yes_30:;
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_8__class_decl_dict;
tmp_dictdel_key = mod_consts[324];
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 = 696;
goto try_except_handler_34;
}
branch_no_30:;
{
nuitka_bool tmp_condition_result_56;
PyObject *tmp_expression_value_36;
CHECK_OBJECT(tmp_class_creation_8__metaclass);
tmp_expression_value_36 = tmp_class_creation_8__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_36, mod_consts[326]);
tmp_condition_result_56 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_56 == NUITKA_BOOL_TRUE) {
goto branch_yes_31;
} else {
goto branch_no_31;
}
}
branch_yes_31:;
{
PyObject *tmp_assign_source_96;
PyObject *tmp_called_value_37;
PyObject *tmp_expression_value_37;
PyObject *tmp_args_value_15;
PyObject *tmp_tuple_element_27;
PyObject *tmp_kwargs_value_15;
CHECK_OBJECT(tmp_class_creation_8__metaclass);
tmp_expression_value_37 = tmp_class_creation_8__metaclass;
tmp_called_value_37 = LOOKUP_ATTRIBUTE(tmp_expression_value_37, mod_consts[326]);
if (tmp_called_value_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
goto try_except_handler_34;
}
tmp_tuple_element_27 = mod_consts[71];
tmp_args_value_15 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_15, 0, tmp_tuple_element_27);
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_tuple_element_27 = tmp_class_creation_8__bases;
PyTuple_SET_ITEM0(tmp_args_value_15, 1, tmp_tuple_element_27);
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
tmp_kwargs_value_15 = tmp_class_creation_8__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 696;
tmp_assign_source_96 = CALL_FUNCTION(tmp_called_value_37, tmp_args_value_15, tmp_kwargs_value_15);
Py_DECREF(tmp_called_value_37);
Py_DECREF(tmp_args_value_15);
if (tmp_assign_source_96 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
goto try_except_handler_34;
}
assert(tmp_class_creation_8__prepared == NULL);
tmp_class_creation_8__prepared = tmp_assign_source_96;
}
{
bool tmp_condition_result_57;
PyObject *tmp_operand_value_8;
PyObject *tmp_expression_value_38;
CHECK_OBJECT(tmp_class_creation_8__prepared);
tmp_expression_value_38 = tmp_class_creation_8__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_38, mod_consts[250]);
tmp_operand_value_8 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_8);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
goto try_except_handler_34;
}
tmp_condition_result_57 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_57 != false) {
goto branch_yes_32;
} else {
goto branch_no_32;
}
}
branch_yes_32:;
{
PyObject *tmp_raise_type_8;
PyObject *tmp_raise_value_8;
PyObject *tmp_mod_expr_left_8;
PyObject *tmp_mod_expr_right_8;
PyObject *tmp_tuple_element_28;
PyObject *tmp_getattr_target_8;
PyObject *tmp_getattr_attr_8;
PyObject *tmp_getattr_default_8;
tmp_raise_type_8 = PyExc_TypeError;
tmp_mod_expr_left_8 = mod_consts[328];
CHECK_OBJECT(tmp_class_creation_8__metaclass);
tmp_getattr_target_8 = tmp_class_creation_8__metaclass;
tmp_getattr_attr_8 = mod_consts[201];
tmp_getattr_default_8 = mod_consts[329];
tmp_tuple_element_28 = BUILTIN_GETATTR(tmp_getattr_target_8, tmp_getattr_attr_8, tmp_getattr_default_8);
if (tmp_tuple_element_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
goto try_except_handler_34;
}
tmp_mod_expr_right_8 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_39;
PyObject *tmp_type_arg_14;
PyTuple_SET_ITEM(tmp_mod_expr_right_8, 0, tmp_tuple_element_28);
CHECK_OBJECT(tmp_class_creation_8__prepared);
tmp_type_arg_14 = tmp_class_creation_8__prepared;
tmp_expression_value_39 = BUILTIN_TYPE1(tmp_type_arg_14);
assert(!(tmp_expression_value_39 == NULL));
tmp_tuple_element_28 = LOOKUP_ATTRIBUTE(tmp_expression_value_39, mod_consts[201]);
Py_DECREF(tmp_expression_value_39);
if (tmp_tuple_element_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
goto tuple_build_exception_9;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_8, 1, tmp_tuple_element_28);
}
goto tuple_build_noexception_9;
// Exception handling pass through code for tuple_build:
tuple_build_exception_9:;
Py_DECREF(tmp_mod_expr_right_8);
goto try_except_handler_34;
// Finished with no exception for tuple_build:
tuple_build_noexception_9:;
tmp_raise_value_8 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_8, tmp_mod_expr_right_8);
Py_DECREF(tmp_mod_expr_right_8);
if (tmp_raise_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
goto try_except_handler_34;
}
exception_type = tmp_raise_type_8;
Py_INCREF(tmp_raise_type_8);
exception_value = tmp_raise_value_8;
exception_lineno = 696;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_34;
}
branch_no_32:;
goto branch_end_31;
branch_no_31:;
{
PyObject *tmp_assign_source_97;
tmp_assign_source_97 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_8__prepared == NULL);
tmp_class_creation_8__prepared = tmp_assign_source_97;
}
branch_end_31:;
{
PyObject *tmp_assign_source_98;
{
PyObject *tmp_set_locals_8;
CHECK_OBJECT(tmp_class_creation_8__prepared);
tmp_set_locals_8 = tmp_class_creation_8__prepared;
locals_lazr$restfulclient$resource$$$class__8_Entry_696 = tmp_set_locals_8;
Py_INCREF(tmp_set_locals_8);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[330];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__8_Entry_696, mod_consts[331], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
goto try_except_handler_36;
}
tmp_dictset_value = mod_consts[401];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__8_Entry_696, mod_consts[289], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
goto try_except_handler_36;
}
tmp_dictset_value = mod_consts[71];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__8_Entry_696, mod_consts[333], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
goto try_except_handler_36;
}
if (isFrameUnusable(cache_frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9)) {
Py_XDECREF(cache_frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9);
#if _DEBUG_REFCOUNTS
if (cache_frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9 = MAKE_CLASS_FRAME(codeobj_2a1fa34074cfc72a3bdba5cc1d40b8e3, module_lazr$restfulclient$resource, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9->m_type_description == NULL);
frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9 = cache_frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9;
// Push the new frame as the currently active one.
pushFrameStack(frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9) == 2); // Frame stack
// Framed code:
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__37___init__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__8_Entry_696, mod_consts[129], 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 = 699;
type_description_2 = "o";
goto frame_exception_exit_9;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__38___repr__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__8_Entry_696, mod_consts[403], 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 = 714;
type_description_2 = "o";
goto frame_exception_exit_9;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__39_lp_delete();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__8_Entry_696, mod_consts[405], 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 = 719;
type_description_2 = "o";
goto frame_exception_exit_9;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__40___str__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__8_Entry_696, mod_consts[407], 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 = 723;
type_description_2 = "o";
goto frame_exception_exit_9;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__41___getattr__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__8_Entry_696, mod_consts[197], 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 = 727;
type_description_2 = "o";
goto frame_exception_exit_9;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__42___setattr__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__8_Entry_696, mod_consts[410], 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 = 734;
type_description_2 = "o";
goto frame_exception_exit_9;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__43___eq__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__8_Entry_696, mod_consts[384], 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 = 741;
type_description_2 = "o";
goto frame_exception_exit_9;
}
{
PyObject *tmp_defaults_7;
tmp_defaults_7 = mod_consts[335];
Py_INCREF(tmp_defaults_7);
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__44_lp_refresh(tmp_defaults_7);
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__8_Entry_696, mod_consts[179], 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 = 754;
type_description_2 = "o";
goto frame_exception_exit_9;
}
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__45_lp_save();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__8_Entry_696, mod_consts[414], 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 = 760;
type_description_2 = "o";
goto frame_exception_exit_9;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_8;
frame_exception_exit_9:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9,
type_description_2,
outline_7_var___class__
);
// Release cached frame if used for exception.
if (frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9 == cache_frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9);
cache_frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9 = NULL;
}
assertFrameObject(frame_2a1fa34074cfc72a3bdba5cc1d40b8e3_9);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_8;
frame_no_exception_8:;
goto skip_nested_handling_8;
nested_frame_exit_8:;
goto try_except_handler_36;
skip_nested_handling_8:;
{
nuitka_bool tmp_condition_result_58;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_cmp_expr_left_9 = tmp_class_creation_8__bases;
CHECK_OBJECT(tmp_class_creation_8__bases_orig);
tmp_cmp_expr_right_9 = tmp_class_creation_8__bases_orig;
tmp_condition_result_58 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_9, tmp_cmp_expr_right_9);
if (tmp_condition_result_58 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
goto try_except_handler_36;
}
if (tmp_condition_result_58 == NUITKA_BOOL_TRUE) {
goto branch_yes_33;
} else {
goto branch_no_33;
}
}
branch_yes_33:;
CHECK_OBJECT(tmp_class_creation_8__bases_orig);
tmp_dictset_value = tmp_class_creation_8__bases_orig;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__8_Entry_696, mod_consts[374], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
goto try_except_handler_36;
}
branch_no_33:;
{
PyObject *tmp_assign_source_99;
PyObject *tmp_called_value_38;
PyObject *tmp_args_value_16;
PyObject *tmp_tuple_element_29;
PyObject *tmp_kwargs_value_16;
CHECK_OBJECT(tmp_class_creation_8__metaclass);
tmp_called_value_38 = tmp_class_creation_8__metaclass;
tmp_tuple_element_29 = mod_consts[71];
tmp_args_value_16 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_16, 0, tmp_tuple_element_29);
CHECK_OBJECT(tmp_class_creation_8__bases);
tmp_tuple_element_29 = tmp_class_creation_8__bases;
PyTuple_SET_ITEM0(tmp_args_value_16, 1, tmp_tuple_element_29);
tmp_tuple_element_29 = locals_lazr$restfulclient$resource$$$class__8_Entry_696;
PyTuple_SET_ITEM0(tmp_args_value_16, 2, tmp_tuple_element_29);
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
tmp_kwargs_value_16 = tmp_class_creation_8__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 696;
tmp_assign_source_99 = CALL_FUNCTION(tmp_called_value_38, tmp_args_value_16, tmp_kwargs_value_16);
Py_DECREF(tmp_args_value_16);
if (tmp_assign_source_99 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
goto try_except_handler_36;
}
assert(outline_7_var___class__ == NULL);
outline_7_var___class__ = tmp_assign_source_99;
}
CHECK_OBJECT(outline_7_var___class__);
tmp_assign_source_98 = outline_7_var___class__;
Py_INCREF(tmp_assign_source_98);
goto try_return_handler_36;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_36:;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__8_Entry_696);
locals_lazr$restfulclient$resource$$$class__8_Entry_696 = NULL;
goto try_return_handler_35;
// Exception handler code:
try_except_handler_36:;
exception_keeper_type_34 = exception_type;
exception_keeper_value_34 = exception_value;
exception_keeper_tb_34 = exception_tb;
exception_keeper_lineno_34 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__8_Entry_696);
locals_lazr$restfulclient$resource$$$class__8_Entry_696 = NULL;
// Re-raise.
exception_type = exception_keeper_type_34;
exception_value = exception_keeper_value_34;
exception_tb = exception_keeper_tb_34;
exception_lineno = exception_keeper_lineno_34;
goto try_except_handler_35;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_35:;
CHECK_OBJECT(outline_7_var___class__);
Py_DECREF(outline_7_var___class__);
outline_7_var___class__ = NULL;
goto outline_result_8;
// Exception handler code:
try_except_handler_35:;
exception_keeper_type_35 = exception_type;
exception_keeper_value_35 = exception_value;
exception_keeper_tb_35 = exception_tb;
exception_keeper_lineno_35 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_35;
exception_value = exception_keeper_value_35;
exception_tb = exception_keeper_tb_35;
exception_lineno = exception_keeper_lineno_35;
goto outline_exception_8;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_8:;
exception_lineno = 696;
goto try_except_handler_34;
outline_result_8:;
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[71], tmp_assign_source_98);
}
goto try_end_20;
// Exception handler code:
try_except_handler_34:;
exception_keeper_type_36 = exception_type;
exception_keeper_value_36 = exception_value;
exception_keeper_tb_36 = exception_tb;
exception_keeper_lineno_36 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_8__bases_orig);
tmp_class_creation_8__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_8__bases);
tmp_class_creation_8__bases = NULL;
Py_XDECREF(tmp_class_creation_8__class_decl_dict);
tmp_class_creation_8__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_8__metaclass);
tmp_class_creation_8__metaclass = NULL;
Py_XDECREF(tmp_class_creation_8__prepared);
tmp_class_creation_8__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_36;
exception_value = exception_keeper_value_36;
exception_tb = exception_keeper_tb_36;
exception_lineno = exception_keeper_lineno_36;
goto frame_exception_exit_1;
// End of try:
try_end_20:;
CHECK_OBJECT(tmp_class_creation_8__bases_orig);
Py_DECREF(tmp_class_creation_8__bases_orig);
tmp_class_creation_8__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_8__bases);
Py_DECREF(tmp_class_creation_8__bases);
tmp_class_creation_8__bases = NULL;
CHECK_OBJECT(tmp_class_creation_8__class_decl_dict);
Py_DECREF(tmp_class_creation_8__class_decl_dict);
tmp_class_creation_8__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_8__metaclass);
Py_DECREF(tmp_class_creation_8__metaclass);
tmp_class_creation_8__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_8__prepared);
Py_DECREF(tmp_class_creation_8__prepared);
tmp_class_creation_8__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_100;
PyObject *tmp_tuple_element_30;
tmp_tuple_element_30 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_tuple_element_30 == NULL)) {
tmp_tuple_element_30 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_tuple_element_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
goto try_except_handler_37;
}
tmp_assign_source_100 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_100, 0, tmp_tuple_element_30);
assert(tmp_class_creation_9__bases_orig == NULL);
tmp_class_creation_9__bases_orig = tmp_assign_source_100;
}
{
PyObject *tmp_assign_source_101;
PyObject *tmp_dircall_arg1_7;
CHECK_OBJECT(tmp_class_creation_9__bases_orig);
tmp_dircall_arg1_7 = tmp_class_creation_9__bases_orig;
Py_INCREF(tmp_dircall_arg1_7);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_7};
tmp_assign_source_101 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_101 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
goto try_except_handler_37;
}
assert(tmp_class_creation_9__bases == NULL);
tmp_class_creation_9__bases = tmp_assign_source_101;
}
{
PyObject *tmp_assign_source_102;
tmp_assign_source_102 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_9__class_decl_dict == NULL);
tmp_class_creation_9__class_decl_dict = tmp_assign_source_102;
}
{
PyObject *tmp_assign_source_103;
PyObject *tmp_metaclass_value_9;
bool tmp_condition_result_59;
PyObject *tmp_key_value_25;
PyObject *tmp_dict_arg_value_25;
PyObject *tmp_dict_arg_value_26;
PyObject *tmp_key_value_26;
nuitka_bool tmp_condition_result_60;
int tmp_truth_name_7;
PyObject *tmp_type_arg_15;
PyObject *tmp_expression_value_40;
PyObject *tmp_subscript_value_7;
PyObject *tmp_bases_value_9;
tmp_key_value_25 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_dict_arg_value_25 = tmp_class_creation_9__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_25, tmp_key_value_25);
assert(!(tmp_res == -1));
tmp_condition_result_59 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_59 != false) {
goto condexpr_true_26;
} else {
goto condexpr_false_26;
}
condexpr_true_26:;
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_dict_arg_value_26 = tmp_class_creation_9__class_decl_dict;
tmp_key_value_26 = mod_consts[324];
tmp_metaclass_value_9 = DICT_GET_ITEM0(tmp_dict_arg_value_26, tmp_key_value_26);
if (tmp_metaclass_value_9 == NULL) {
tmp_metaclass_value_9 = Py_None;
}
assert(!(tmp_metaclass_value_9 == NULL));
Py_INCREF(tmp_metaclass_value_9);
goto condexpr_end_26;
condexpr_false_26:;
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_truth_name_7 = CHECK_IF_TRUE(tmp_class_creation_9__bases);
if (tmp_truth_name_7 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
goto try_except_handler_37;
}
tmp_condition_result_60 = tmp_truth_name_7 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_60 == NUITKA_BOOL_TRUE) {
goto condexpr_true_27;
} else {
goto condexpr_false_27;
}
condexpr_true_27:;
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_expression_value_40 = tmp_class_creation_9__bases;
tmp_subscript_value_7 = mod_consts[226];
tmp_type_arg_15 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_40, tmp_subscript_value_7, 0);
if (tmp_type_arg_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
goto try_except_handler_37;
}
tmp_metaclass_value_9 = BUILTIN_TYPE1(tmp_type_arg_15);
Py_DECREF(tmp_type_arg_15);
if (tmp_metaclass_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
goto try_except_handler_37;
}
goto condexpr_end_27;
condexpr_false_27:;
tmp_metaclass_value_9 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_9);
condexpr_end_27:;
condexpr_end_26:;
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_bases_value_9 = tmp_class_creation_9__bases;
tmp_assign_source_103 = SELECT_METACLASS(tmp_metaclass_value_9, tmp_bases_value_9);
Py_DECREF(tmp_metaclass_value_9);
if (tmp_assign_source_103 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
goto try_except_handler_37;
}
assert(tmp_class_creation_9__metaclass == NULL);
tmp_class_creation_9__metaclass = tmp_assign_source_103;
}
{
bool tmp_condition_result_61;
PyObject *tmp_key_value_27;
PyObject *tmp_dict_arg_value_27;
tmp_key_value_27 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_dict_arg_value_27 = tmp_class_creation_9__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_27, tmp_key_value_27);
assert(!(tmp_res == -1));
tmp_condition_result_61 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_61 != false) {
goto branch_yes_34;
} else {
goto branch_no_34;
}
}
branch_yes_34:;
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_9__class_decl_dict;
tmp_dictdel_key = mod_consts[324];
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 = 792;
goto try_except_handler_37;
}
branch_no_34:;
{
nuitka_bool tmp_condition_result_62;
PyObject *tmp_expression_value_41;
CHECK_OBJECT(tmp_class_creation_9__metaclass);
tmp_expression_value_41 = tmp_class_creation_9__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_41, mod_consts[326]);
tmp_condition_result_62 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_62 == NUITKA_BOOL_TRUE) {
goto branch_yes_35;
} else {
goto branch_no_35;
}
}
branch_yes_35:;
{
PyObject *tmp_assign_source_104;
PyObject *tmp_called_value_39;
PyObject *tmp_expression_value_42;
PyObject *tmp_args_value_17;
PyObject *tmp_tuple_element_31;
PyObject *tmp_kwargs_value_17;
CHECK_OBJECT(tmp_class_creation_9__metaclass);
tmp_expression_value_42 = tmp_class_creation_9__metaclass;
tmp_called_value_39 = LOOKUP_ATTRIBUTE(tmp_expression_value_42, mod_consts[326]);
if (tmp_called_value_39 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
goto try_except_handler_37;
}
tmp_tuple_element_31 = mod_consts[73];
tmp_args_value_17 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_17, 0, tmp_tuple_element_31);
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_tuple_element_31 = tmp_class_creation_9__bases;
PyTuple_SET_ITEM0(tmp_args_value_17, 1, tmp_tuple_element_31);
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_kwargs_value_17 = tmp_class_creation_9__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 792;
tmp_assign_source_104 = CALL_FUNCTION(tmp_called_value_39, tmp_args_value_17, tmp_kwargs_value_17);
Py_DECREF(tmp_called_value_39);
Py_DECREF(tmp_args_value_17);
if (tmp_assign_source_104 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
goto try_except_handler_37;
}
assert(tmp_class_creation_9__prepared == NULL);
tmp_class_creation_9__prepared = tmp_assign_source_104;
}
{
bool tmp_condition_result_63;
PyObject *tmp_operand_value_9;
PyObject *tmp_expression_value_43;
CHECK_OBJECT(tmp_class_creation_9__prepared);
tmp_expression_value_43 = tmp_class_creation_9__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_43, mod_consts[250]);
tmp_operand_value_9 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_9);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
goto try_except_handler_37;
}
tmp_condition_result_63 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_63 != false) {
goto branch_yes_36;
} else {
goto branch_no_36;
}
}
branch_yes_36:;
{
PyObject *tmp_raise_type_9;
PyObject *tmp_raise_value_9;
PyObject *tmp_mod_expr_left_9;
PyObject *tmp_mod_expr_right_9;
PyObject *tmp_tuple_element_32;
PyObject *tmp_getattr_target_9;
PyObject *tmp_getattr_attr_9;
PyObject *tmp_getattr_default_9;
tmp_raise_type_9 = PyExc_TypeError;
tmp_mod_expr_left_9 = mod_consts[328];
CHECK_OBJECT(tmp_class_creation_9__metaclass);
tmp_getattr_target_9 = tmp_class_creation_9__metaclass;
tmp_getattr_attr_9 = mod_consts[201];
tmp_getattr_default_9 = mod_consts[329];
tmp_tuple_element_32 = BUILTIN_GETATTR(tmp_getattr_target_9, tmp_getattr_attr_9, tmp_getattr_default_9);
if (tmp_tuple_element_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
goto try_except_handler_37;
}
tmp_mod_expr_right_9 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_44;
PyObject *tmp_type_arg_16;
PyTuple_SET_ITEM(tmp_mod_expr_right_9, 0, tmp_tuple_element_32);
CHECK_OBJECT(tmp_class_creation_9__prepared);
tmp_type_arg_16 = tmp_class_creation_9__prepared;
tmp_expression_value_44 = BUILTIN_TYPE1(tmp_type_arg_16);
assert(!(tmp_expression_value_44 == NULL));
tmp_tuple_element_32 = LOOKUP_ATTRIBUTE(tmp_expression_value_44, mod_consts[201]);
Py_DECREF(tmp_expression_value_44);
if (tmp_tuple_element_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
goto tuple_build_exception_10;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_9, 1, tmp_tuple_element_32);
}
goto tuple_build_noexception_10;
// Exception handling pass through code for tuple_build:
tuple_build_exception_10:;
Py_DECREF(tmp_mod_expr_right_9);
goto try_except_handler_37;
// Finished with no exception for tuple_build:
tuple_build_noexception_10:;
tmp_raise_value_9 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_9, tmp_mod_expr_right_9);
Py_DECREF(tmp_mod_expr_right_9);
if (tmp_raise_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
goto try_except_handler_37;
}
exception_type = tmp_raise_type_9;
Py_INCREF(tmp_raise_type_9);
exception_value = tmp_raise_value_9;
exception_lineno = 792;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_37;
}
branch_no_36:;
goto branch_end_35;
branch_no_35:;
{
PyObject *tmp_assign_source_105;
tmp_assign_source_105 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_9__prepared == NULL);
tmp_class_creation_9__prepared = tmp_assign_source_105;
}
branch_end_35:;
{
PyObject *tmp_assign_source_106;
{
PyObject *tmp_set_locals_9;
CHECK_OBJECT(tmp_class_creation_9__prepared);
tmp_set_locals_9 = tmp_class_creation_9__prepared;
locals_lazr$restfulclient$resource$$$class__9_Collection_792 = tmp_set_locals_9;
Py_INCREF(tmp_set_locals_9);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[330];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__9_Collection_792, mod_consts[331], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
goto try_except_handler_39;
}
tmp_dictset_value = mod_consts[416];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__9_Collection_792, mod_consts[289], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
goto try_except_handler_39;
}
tmp_dictset_value = mod_consts[73];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__9_Collection_792, mod_consts[333], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
goto try_except_handler_39;
}
if (isFrameUnusable(cache_frame_38d3d2f8ce00f9bcb92534d98d53474e_10)) {
Py_XDECREF(cache_frame_38d3d2f8ce00f9bcb92534d98d53474e_10);
#if _DEBUG_REFCOUNTS
if (cache_frame_38d3d2f8ce00f9bcb92534d98d53474e_10 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_38d3d2f8ce00f9bcb92534d98d53474e_10 = MAKE_CLASS_FRAME(codeobj_38d3d2f8ce00f9bcb92534d98d53474e, module_lazr$restfulclient$resource, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_38d3d2f8ce00f9bcb92534d98d53474e_10->m_type_description == NULL);
frame_38d3d2f8ce00f9bcb92534d98d53474e_10 = cache_frame_38d3d2f8ce00f9bcb92534d98d53474e_10;
// Push the new frame as the currently active one.
pushFrameStack(frame_38d3d2f8ce00f9bcb92534d98d53474e_10);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_38d3d2f8ce00f9bcb92534d98d53474e_10) == 2); // Frame stack
// Framed code:
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__46___init__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__9_Collection_792, mod_consts[129], 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 = 795;
type_description_2 = "o";
goto frame_exception_exit_10;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__47___len__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__9_Collection_792, mod_consts[418], 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 = 799;
type_description_2 = "o";
goto frame_exception_exit_10;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__48___iter__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__9_Collection_792, mod_consts[221], 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 = 817;
type_description_2 = "o";
goto frame_exception_exit_10;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__49___getitem__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__9_Collection_792, mod_consts[250], 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 = 837;
type_description_2 = "o";
goto frame_exception_exit_10;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__50__get_slice();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__9_Collection_792, mod_consts[223], 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 = 855;
type_description_2 = "o";
goto frame_exception_exit_10;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__51__convert_dicts_to_entries();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__9_Collection_792, mod_consts[217], 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 = 940;
type_description_2 = "o";
goto frame_exception_exit_10;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__52__with_url_query_variable_set();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__9_Collection_792, mod_consts[232], 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 = 965;
type_description_2 = "o";
goto frame_exception_exit_10;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_38d3d2f8ce00f9bcb92534d98d53474e_10);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_9;
frame_exception_exit_10:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_38d3d2f8ce00f9bcb92534d98d53474e_10);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_38d3d2f8ce00f9bcb92534d98d53474e_10, exception_lineno);
} else if (exception_tb->tb_frame != &frame_38d3d2f8ce00f9bcb92534d98d53474e_10->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_38d3d2f8ce00f9bcb92534d98d53474e_10, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_38d3d2f8ce00f9bcb92534d98d53474e_10,
type_description_2,
outline_8_var___class__
);
// Release cached frame if used for exception.
if (frame_38d3d2f8ce00f9bcb92534d98d53474e_10 == cache_frame_38d3d2f8ce00f9bcb92534d98d53474e_10) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_38d3d2f8ce00f9bcb92534d98d53474e_10);
cache_frame_38d3d2f8ce00f9bcb92534d98d53474e_10 = NULL;
}
assertFrameObject(frame_38d3d2f8ce00f9bcb92534d98d53474e_10);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_9;
frame_no_exception_9:;
goto skip_nested_handling_9;
nested_frame_exit_9:;
goto try_except_handler_39;
skip_nested_handling_9:;
{
nuitka_bool tmp_condition_result_64;
PyObject *tmp_cmp_expr_left_10;
PyObject *tmp_cmp_expr_right_10;
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_cmp_expr_left_10 = tmp_class_creation_9__bases;
CHECK_OBJECT(tmp_class_creation_9__bases_orig);
tmp_cmp_expr_right_10 = tmp_class_creation_9__bases_orig;
tmp_condition_result_64 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_10, tmp_cmp_expr_right_10);
if (tmp_condition_result_64 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
goto try_except_handler_39;
}
if (tmp_condition_result_64 == NUITKA_BOOL_TRUE) {
goto branch_yes_37;
} else {
goto branch_no_37;
}
}
branch_yes_37:;
CHECK_OBJECT(tmp_class_creation_9__bases_orig);
tmp_dictset_value = tmp_class_creation_9__bases_orig;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__9_Collection_792, mod_consts[374], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
goto try_except_handler_39;
}
branch_no_37:;
{
PyObject *tmp_assign_source_107;
PyObject *tmp_called_value_40;
PyObject *tmp_args_value_18;
PyObject *tmp_tuple_element_33;
PyObject *tmp_kwargs_value_18;
CHECK_OBJECT(tmp_class_creation_9__metaclass);
tmp_called_value_40 = tmp_class_creation_9__metaclass;
tmp_tuple_element_33 = mod_consts[73];
tmp_args_value_18 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_18, 0, tmp_tuple_element_33);
CHECK_OBJECT(tmp_class_creation_9__bases);
tmp_tuple_element_33 = tmp_class_creation_9__bases;
PyTuple_SET_ITEM0(tmp_args_value_18, 1, tmp_tuple_element_33);
tmp_tuple_element_33 = locals_lazr$restfulclient$resource$$$class__9_Collection_792;
PyTuple_SET_ITEM0(tmp_args_value_18, 2, tmp_tuple_element_33);
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
tmp_kwargs_value_18 = tmp_class_creation_9__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 792;
tmp_assign_source_107 = CALL_FUNCTION(tmp_called_value_40, tmp_args_value_18, tmp_kwargs_value_18);
Py_DECREF(tmp_args_value_18);
if (tmp_assign_source_107 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
goto try_except_handler_39;
}
assert(outline_8_var___class__ == NULL);
outline_8_var___class__ = tmp_assign_source_107;
}
CHECK_OBJECT(outline_8_var___class__);
tmp_assign_source_106 = outline_8_var___class__;
Py_INCREF(tmp_assign_source_106);
goto try_return_handler_39;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_39:;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__9_Collection_792);
locals_lazr$restfulclient$resource$$$class__9_Collection_792 = NULL;
goto try_return_handler_38;
// Exception handler code:
try_except_handler_39:;
exception_keeper_type_37 = exception_type;
exception_keeper_value_37 = exception_value;
exception_keeper_tb_37 = exception_tb;
exception_keeper_lineno_37 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__9_Collection_792);
locals_lazr$restfulclient$resource$$$class__9_Collection_792 = NULL;
// Re-raise.
exception_type = exception_keeper_type_37;
exception_value = exception_keeper_value_37;
exception_tb = exception_keeper_tb_37;
exception_lineno = exception_keeper_lineno_37;
goto try_except_handler_38;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_38:;
CHECK_OBJECT(outline_8_var___class__);
Py_DECREF(outline_8_var___class__);
outline_8_var___class__ = NULL;
goto outline_result_9;
// Exception handler code:
try_except_handler_38:;
exception_keeper_type_38 = exception_type;
exception_keeper_value_38 = exception_value;
exception_keeper_tb_38 = exception_tb;
exception_keeper_lineno_38 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_38;
exception_value = exception_keeper_value_38;
exception_tb = exception_keeper_tb_38;
exception_lineno = exception_keeper_lineno_38;
goto outline_exception_9;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_9:;
exception_lineno = 792;
goto try_except_handler_37;
outline_result_9:;
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[73], tmp_assign_source_106);
}
goto try_end_21;
// Exception handler code:
try_except_handler_37:;
exception_keeper_type_39 = exception_type;
exception_keeper_value_39 = exception_value;
exception_keeper_tb_39 = exception_tb;
exception_keeper_lineno_39 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_9__bases_orig);
tmp_class_creation_9__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_9__bases);
tmp_class_creation_9__bases = NULL;
Py_XDECREF(tmp_class_creation_9__class_decl_dict);
tmp_class_creation_9__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_9__metaclass);
tmp_class_creation_9__metaclass = NULL;
Py_XDECREF(tmp_class_creation_9__prepared);
tmp_class_creation_9__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_39;
exception_value = exception_keeper_value_39;
exception_tb = exception_keeper_tb_39;
exception_lineno = exception_keeper_lineno_39;
goto frame_exception_exit_1;
// End of try:
try_end_21:;
CHECK_OBJECT(tmp_class_creation_9__bases_orig);
Py_DECREF(tmp_class_creation_9__bases_orig);
tmp_class_creation_9__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_9__bases);
Py_DECREF(tmp_class_creation_9__bases);
tmp_class_creation_9__bases = NULL;
CHECK_OBJECT(tmp_class_creation_9__class_decl_dict);
Py_DECREF(tmp_class_creation_9__class_decl_dict);
tmp_class_creation_9__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_9__metaclass);
Py_DECREF(tmp_class_creation_9__metaclass);
tmp_class_creation_9__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_9__prepared);
Py_DECREF(tmp_class_creation_9__prepared);
tmp_class_creation_9__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_108;
PyObject *tmp_tuple_element_34;
tmp_tuple_element_34 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[73]);
if (unlikely(tmp_tuple_element_34 == NULL)) {
tmp_tuple_element_34 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[73]);
}
if (tmp_tuple_element_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
goto try_except_handler_40;
}
tmp_assign_source_108 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_108, 0, tmp_tuple_element_34);
assert(tmp_class_creation_10__bases_orig == NULL);
tmp_class_creation_10__bases_orig = tmp_assign_source_108;
}
{
PyObject *tmp_assign_source_109;
PyObject *tmp_dircall_arg1_8;
CHECK_OBJECT(tmp_class_creation_10__bases_orig);
tmp_dircall_arg1_8 = tmp_class_creation_10__bases_orig;
Py_INCREF(tmp_dircall_arg1_8);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_8};
tmp_assign_source_109 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_109 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
goto try_except_handler_40;
}
assert(tmp_class_creation_10__bases == NULL);
tmp_class_creation_10__bases = tmp_assign_source_109;
}
{
PyObject *tmp_assign_source_110;
tmp_assign_source_110 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_10__class_decl_dict == NULL);
tmp_class_creation_10__class_decl_dict = tmp_assign_source_110;
}
{
PyObject *tmp_assign_source_111;
PyObject *tmp_metaclass_value_10;
bool tmp_condition_result_65;
PyObject *tmp_key_value_28;
PyObject *tmp_dict_arg_value_28;
PyObject *tmp_dict_arg_value_29;
PyObject *tmp_key_value_29;
nuitka_bool tmp_condition_result_66;
int tmp_truth_name_8;
PyObject *tmp_type_arg_17;
PyObject *tmp_expression_value_45;
PyObject *tmp_subscript_value_8;
PyObject *tmp_bases_value_10;
tmp_key_value_28 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_10__class_decl_dict);
tmp_dict_arg_value_28 = tmp_class_creation_10__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_28, tmp_key_value_28);
assert(!(tmp_res == -1));
tmp_condition_result_65 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_65 != false) {
goto condexpr_true_28;
} else {
goto condexpr_false_28;
}
condexpr_true_28:;
CHECK_OBJECT(tmp_class_creation_10__class_decl_dict);
tmp_dict_arg_value_29 = tmp_class_creation_10__class_decl_dict;
tmp_key_value_29 = mod_consts[324];
tmp_metaclass_value_10 = DICT_GET_ITEM0(tmp_dict_arg_value_29, tmp_key_value_29);
if (tmp_metaclass_value_10 == NULL) {
tmp_metaclass_value_10 = Py_None;
}
assert(!(tmp_metaclass_value_10 == NULL));
Py_INCREF(tmp_metaclass_value_10);
goto condexpr_end_28;
condexpr_false_28:;
CHECK_OBJECT(tmp_class_creation_10__bases);
tmp_truth_name_8 = CHECK_IF_TRUE(tmp_class_creation_10__bases);
if (tmp_truth_name_8 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
goto try_except_handler_40;
}
tmp_condition_result_66 = tmp_truth_name_8 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_66 == NUITKA_BOOL_TRUE) {
goto condexpr_true_29;
} else {
goto condexpr_false_29;
}
condexpr_true_29:;
CHECK_OBJECT(tmp_class_creation_10__bases);
tmp_expression_value_45 = tmp_class_creation_10__bases;
tmp_subscript_value_8 = mod_consts[226];
tmp_type_arg_17 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_45, tmp_subscript_value_8, 0);
if (tmp_type_arg_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
goto try_except_handler_40;
}
tmp_metaclass_value_10 = BUILTIN_TYPE1(tmp_type_arg_17);
Py_DECREF(tmp_type_arg_17);
if (tmp_metaclass_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
goto try_except_handler_40;
}
goto condexpr_end_29;
condexpr_false_29:;
tmp_metaclass_value_10 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_10);
condexpr_end_29:;
condexpr_end_28:;
CHECK_OBJECT(tmp_class_creation_10__bases);
tmp_bases_value_10 = tmp_class_creation_10__bases;
tmp_assign_source_111 = SELECT_METACLASS(tmp_metaclass_value_10, tmp_bases_value_10);
Py_DECREF(tmp_metaclass_value_10);
if (tmp_assign_source_111 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
goto try_except_handler_40;
}
assert(tmp_class_creation_10__metaclass == NULL);
tmp_class_creation_10__metaclass = tmp_assign_source_111;
}
{
bool tmp_condition_result_67;
PyObject *tmp_key_value_30;
PyObject *tmp_dict_arg_value_30;
tmp_key_value_30 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_10__class_decl_dict);
tmp_dict_arg_value_30 = tmp_class_creation_10__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_30, tmp_key_value_30);
assert(!(tmp_res == -1));
tmp_condition_result_67 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_67 != false) {
goto branch_yes_38;
} else {
goto branch_no_38;
}
}
branch_yes_38:;
CHECK_OBJECT(tmp_class_creation_10__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_10__class_decl_dict;
tmp_dictdel_key = mod_consts[324];
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 = 977;
goto try_except_handler_40;
}
branch_no_38:;
{
nuitka_bool tmp_condition_result_68;
PyObject *tmp_expression_value_46;
CHECK_OBJECT(tmp_class_creation_10__metaclass);
tmp_expression_value_46 = tmp_class_creation_10__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_46, mod_consts[326]);
tmp_condition_result_68 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_68 == NUITKA_BOOL_TRUE) {
goto branch_yes_39;
} else {
goto branch_no_39;
}
}
branch_yes_39:;
{
PyObject *tmp_assign_source_112;
PyObject *tmp_called_value_41;
PyObject *tmp_expression_value_47;
PyObject *tmp_args_value_19;
PyObject *tmp_tuple_element_35;
PyObject *tmp_kwargs_value_19;
CHECK_OBJECT(tmp_class_creation_10__metaclass);
tmp_expression_value_47 = tmp_class_creation_10__metaclass;
tmp_called_value_41 = LOOKUP_ATTRIBUTE(tmp_expression_value_47, mod_consts[326]);
if (tmp_called_value_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
goto try_except_handler_40;
}
tmp_tuple_element_35 = mod_consts[249];
tmp_args_value_19 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_19, 0, tmp_tuple_element_35);
CHECK_OBJECT(tmp_class_creation_10__bases);
tmp_tuple_element_35 = tmp_class_creation_10__bases;
PyTuple_SET_ITEM0(tmp_args_value_19, 1, tmp_tuple_element_35);
CHECK_OBJECT(tmp_class_creation_10__class_decl_dict);
tmp_kwargs_value_19 = tmp_class_creation_10__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 977;
tmp_assign_source_112 = CALL_FUNCTION(tmp_called_value_41, tmp_args_value_19, tmp_kwargs_value_19);
Py_DECREF(tmp_called_value_41);
Py_DECREF(tmp_args_value_19);
if (tmp_assign_source_112 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
goto try_except_handler_40;
}
assert(tmp_class_creation_10__prepared == NULL);
tmp_class_creation_10__prepared = tmp_assign_source_112;
}
{
bool tmp_condition_result_69;
PyObject *tmp_operand_value_10;
PyObject *tmp_expression_value_48;
CHECK_OBJECT(tmp_class_creation_10__prepared);
tmp_expression_value_48 = tmp_class_creation_10__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_48, mod_consts[250]);
tmp_operand_value_10 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_10);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
goto try_except_handler_40;
}
tmp_condition_result_69 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_69 != false) {
goto branch_yes_40;
} else {
goto branch_no_40;
}
}
branch_yes_40:;
{
PyObject *tmp_raise_type_10;
PyObject *tmp_raise_value_10;
PyObject *tmp_mod_expr_left_10;
PyObject *tmp_mod_expr_right_10;
PyObject *tmp_tuple_element_36;
PyObject *tmp_getattr_target_10;
PyObject *tmp_getattr_attr_10;
PyObject *tmp_getattr_default_10;
tmp_raise_type_10 = PyExc_TypeError;
tmp_mod_expr_left_10 = mod_consts[328];
CHECK_OBJECT(tmp_class_creation_10__metaclass);
tmp_getattr_target_10 = tmp_class_creation_10__metaclass;
tmp_getattr_attr_10 = mod_consts[201];
tmp_getattr_default_10 = mod_consts[329];
tmp_tuple_element_36 = BUILTIN_GETATTR(tmp_getattr_target_10, tmp_getattr_attr_10, tmp_getattr_default_10);
if (tmp_tuple_element_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
goto try_except_handler_40;
}
tmp_mod_expr_right_10 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_49;
PyObject *tmp_type_arg_18;
PyTuple_SET_ITEM(tmp_mod_expr_right_10, 0, tmp_tuple_element_36);
CHECK_OBJECT(tmp_class_creation_10__prepared);
tmp_type_arg_18 = tmp_class_creation_10__prepared;
tmp_expression_value_49 = BUILTIN_TYPE1(tmp_type_arg_18);
assert(!(tmp_expression_value_49 == NULL));
tmp_tuple_element_36 = LOOKUP_ATTRIBUTE(tmp_expression_value_49, mod_consts[201]);
Py_DECREF(tmp_expression_value_49);
if (tmp_tuple_element_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
goto tuple_build_exception_11;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_10, 1, tmp_tuple_element_36);
}
goto tuple_build_noexception_11;
// Exception handling pass through code for tuple_build:
tuple_build_exception_11:;
Py_DECREF(tmp_mod_expr_right_10);
goto try_except_handler_40;
// Finished with no exception for tuple_build:
tuple_build_noexception_11:;
tmp_raise_value_10 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_10, tmp_mod_expr_right_10);
Py_DECREF(tmp_mod_expr_right_10);
if (tmp_raise_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
goto try_except_handler_40;
}
exception_type = tmp_raise_type_10;
Py_INCREF(tmp_raise_type_10);
exception_value = tmp_raise_value_10;
exception_lineno = 977;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_40;
}
branch_no_40:;
goto branch_end_39;
branch_no_39:;
{
PyObject *tmp_assign_source_113;
tmp_assign_source_113 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_10__prepared == NULL);
tmp_class_creation_10__prepared = tmp_assign_source_113;
}
branch_end_39:;
{
PyObject *tmp_assign_source_114;
{
PyObject *tmp_set_locals_10;
CHECK_OBJECT(tmp_class_creation_10__prepared);
tmp_set_locals_10 = tmp_class_creation_10__prepared;
locals_lazr$restfulclient$resource$$$class__10_CollectionWithKeyBasedLookup_977 = tmp_set_locals_10;
Py_INCREF(tmp_set_locals_10);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[330];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__10_CollectionWithKeyBasedLookup_977, mod_consts[331], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
goto try_except_handler_42;
}
tmp_dictset_value = mod_consts[423];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__10_CollectionWithKeyBasedLookup_977, mod_consts[289], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
goto try_except_handler_42;
}
tmp_dictset_value = mod_consts[249];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__10_CollectionWithKeyBasedLookup_977, mod_consts[333], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
goto try_except_handler_42;
}
if (isFrameUnusable(cache_frame_ebc97cd30c6cf878725b0e8eb4250c6e_11)) {
Py_XDECREF(cache_frame_ebc97cd30c6cf878725b0e8eb4250c6e_11);
#if _DEBUG_REFCOUNTS
if (cache_frame_ebc97cd30c6cf878725b0e8eb4250c6e_11 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ebc97cd30c6cf878725b0e8eb4250c6e_11 = MAKE_CLASS_FRAME(codeobj_ebc97cd30c6cf878725b0e8eb4250c6e, module_lazr$restfulclient$resource, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ebc97cd30c6cf878725b0e8eb4250c6e_11->m_type_description == NULL);
frame_ebc97cd30c6cf878725b0e8eb4250c6e_11 = cache_frame_ebc97cd30c6cf878725b0e8eb4250c6e_11;
// Push the new frame as the currently active one.
pushFrameStack(frame_ebc97cd30c6cf878725b0e8eb4250c6e_11);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ebc97cd30c6cf878725b0e8eb4250c6e_11) == 2); // Frame stack
// Framed code:
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__53___getitem__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__10_CollectionWithKeyBasedLookup_977, mod_consts[250], 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 = 984;
type_description_2 = "o";
goto frame_exception_exit_11;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__54___call__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__10_CollectionWithKeyBasedLookup_977, mod_consts[396], 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 = 1006;
type_description_2 = "o";
goto frame_exception_exit_11;
}
tmp_dictset_value = Py_None;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__10_CollectionWithKeyBasedLookup_977, mod_consts[256], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1054;
type_description_2 = "o";
goto frame_exception_exit_11;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__55__get_url_from_id();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__10_CollectionWithKeyBasedLookup_977, mod_consts[251], 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 = 1056;
type_description_2 = "o";
goto frame_exception_exit_11;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ebc97cd30c6cf878725b0e8eb4250c6e_11);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_10;
frame_exception_exit_11:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ebc97cd30c6cf878725b0e8eb4250c6e_11);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ebc97cd30c6cf878725b0e8eb4250c6e_11, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ebc97cd30c6cf878725b0e8eb4250c6e_11->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ebc97cd30c6cf878725b0e8eb4250c6e_11, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ebc97cd30c6cf878725b0e8eb4250c6e_11,
type_description_2,
outline_9_var___class__
);
// Release cached frame if used for exception.
if (frame_ebc97cd30c6cf878725b0e8eb4250c6e_11 == cache_frame_ebc97cd30c6cf878725b0e8eb4250c6e_11) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ebc97cd30c6cf878725b0e8eb4250c6e_11);
cache_frame_ebc97cd30c6cf878725b0e8eb4250c6e_11 = NULL;
}
assertFrameObject(frame_ebc97cd30c6cf878725b0e8eb4250c6e_11);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_10;
frame_no_exception_10:;
goto skip_nested_handling_10;
nested_frame_exit_10:;
goto try_except_handler_42;
skip_nested_handling_10:;
{
nuitka_bool tmp_condition_result_70;
PyObject *tmp_cmp_expr_left_11;
PyObject *tmp_cmp_expr_right_11;
CHECK_OBJECT(tmp_class_creation_10__bases);
tmp_cmp_expr_left_11 = tmp_class_creation_10__bases;
CHECK_OBJECT(tmp_class_creation_10__bases_orig);
tmp_cmp_expr_right_11 = tmp_class_creation_10__bases_orig;
tmp_condition_result_70 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_11, tmp_cmp_expr_right_11);
if (tmp_condition_result_70 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
goto try_except_handler_42;
}
if (tmp_condition_result_70 == NUITKA_BOOL_TRUE) {
goto branch_yes_41;
} else {
goto branch_no_41;
}
}
branch_yes_41:;
CHECK_OBJECT(tmp_class_creation_10__bases_orig);
tmp_dictset_value = tmp_class_creation_10__bases_orig;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__10_CollectionWithKeyBasedLookup_977, mod_consts[374], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
goto try_except_handler_42;
}
branch_no_41:;
{
PyObject *tmp_assign_source_115;
PyObject *tmp_called_value_42;
PyObject *tmp_args_value_20;
PyObject *tmp_tuple_element_37;
PyObject *tmp_kwargs_value_20;
CHECK_OBJECT(tmp_class_creation_10__metaclass);
tmp_called_value_42 = tmp_class_creation_10__metaclass;
tmp_tuple_element_37 = mod_consts[249];
tmp_args_value_20 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_20, 0, tmp_tuple_element_37);
CHECK_OBJECT(tmp_class_creation_10__bases);
tmp_tuple_element_37 = tmp_class_creation_10__bases;
PyTuple_SET_ITEM0(tmp_args_value_20, 1, tmp_tuple_element_37);
tmp_tuple_element_37 = locals_lazr$restfulclient$resource$$$class__10_CollectionWithKeyBasedLookup_977;
PyTuple_SET_ITEM0(tmp_args_value_20, 2, tmp_tuple_element_37);
CHECK_OBJECT(tmp_class_creation_10__class_decl_dict);
tmp_kwargs_value_20 = tmp_class_creation_10__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 977;
tmp_assign_source_115 = CALL_FUNCTION(tmp_called_value_42, tmp_args_value_20, tmp_kwargs_value_20);
Py_DECREF(tmp_args_value_20);
if (tmp_assign_source_115 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 977;
goto try_except_handler_42;
}
assert(outline_9_var___class__ == NULL);
outline_9_var___class__ = tmp_assign_source_115;
}
CHECK_OBJECT(outline_9_var___class__);
tmp_assign_source_114 = outline_9_var___class__;
Py_INCREF(tmp_assign_source_114);
goto try_return_handler_42;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_42:;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__10_CollectionWithKeyBasedLookup_977);
locals_lazr$restfulclient$resource$$$class__10_CollectionWithKeyBasedLookup_977 = NULL;
goto try_return_handler_41;
// Exception handler code:
try_except_handler_42:;
exception_keeper_type_40 = exception_type;
exception_keeper_value_40 = exception_value;
exception_keeper_tb_40 = exception_tb;
exception_keeper_lineno_40 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__10_CollectionWithKeyBasedLookup_977);
locals_lazr$restfulclient$resource$$$class__10_CollectionWithKeyBasedLookup_977 = NULL;
// Re-raise.
exception_type = exception_keeper_type_40;
exception_value = exception_keeper_value_40;
exception_tb = exception_keeper_tb_40;
exception_lineno = exception_keeper_lineno_40;
goto try_except_handler_41;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_41:;
CHECK_OBJECT(outline_9_var___class__);
Py_DECREF(outline_9_var___class__);
outline_9_var___class__ = NULL;
goto outline_result_10;
// Exception handler code:
try_except_handler_41:;
exception_keeper_type_41 = exception_type;
exception_keeper_value_41 = exception_value;
exception_keeper_tb_41 = exception_tb;
exception_keeper_lineno_41 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_41;
exception_value = exception_keeper_value_41;
exception_tb = exception_keeper_tb_41;
exception_lineno = exception_keeper_lineno_41;
goto outline_exception_10;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_10:;
exception_lineno = 977;
goto try_except_handler_40;
outline_result_10:;
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[249], tmp_assign_source_114);
}
goto try_end_22;
// Exception handler code:
try_except_handler_40:;
exception_keeper_type_42 = exception_type;
exception_keeper_value_42 = exception_value;
exception_keeper_tb_42 = exception_tb;
exception_keeper_lineno_42 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_10__bases_orig);
tmp_class_creation_10__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_10__bases);
tmp_class_creation_10__bases = NULL;
Py_XDECREF(tmp_class_creation_10__class_decl_dict);
tmp_class_creation_10__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_10__metaclass);
tmp_class_creation_10__metaclass = NULL;
Py_XDECREF(tmp_class_creation_10__prepared);
tmp_class_creation_10__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_42;
exception_value = exception_keeper_value_42;
exception_tb = exception_keeper_tb_42;
exception_lineno = exception_keeper_lineno_42;
goto frame_exception_exit_1;
// End of try:
try_end_22:;
CHECK_OBJECT(tmp_class_creation_10__bases_orig);
Py_DECREF(tmp_class_creation_10__bases_orig);
tmp_class_creation_10__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_10__bases);
Py_DECREF(tmp_class_creation_10__bases);
tmp_class_creation_10__bases = NULL;
CHECK_OBJECT(tmp_class_creation_10__class_decl_dict);
Py_DECREF(tmp_class_creation_10__class_decl_dict);
tmp_class_creation_10__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_10__metaclass);
Py_DECREF(tmp_class_creation_10__metaclass);
tmp_class_creation_10__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_10__prepared);
Py_DECREF(tmp_class_creation_10__prepared);
tmp_class_creation_10__prepared = NULL;
{
PyObject *tmp_assign_source_116;
PyObject *tmp_tuple_element_38;
tmp_tuple_element_38 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[281]);
if (unlikely(tmp_tuple_element_38 == NULL)) {
tmp_tuple_element_38 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[281]);
}
assert(!(tmp_tuple_element_38 == NULL));
tmp_assign_source_116 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_116, 0, tmp_tuple_element_38);
assert(tmp_class_creation_11__bases_orig == NULL);
tmp_class_creation_11__bases_orig = tmp_assign_source_116;
}
// Tried code:
{
PyObject *tmp_assign_source_117;
PyObject *tmp_dircall_arg1_9;
CHECK_OBJECT(tmp_class_creation_11__bases_orig);
tmp_dircall_arg1_9 = tmp_class_creation_11__bases_orig;
Py_INCREF(tmp_dircall_arg1_9);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_9};
tmp_assign_source_117 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_117 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1061;
goto try_except_handler_43;
}
assert(tmp_class_creation_11__bases == NULL);
tmp_class_creation_11__bases = tmp_assign_source_117;
}
{
PyObject *tmp_assign_source_118;
tmp_assign_source_118 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_11__class_decl_dict == NULL);
tmp_class_creation_11__class_decl_dict = tmp_assign_source_118;
}
{
PyObject *tmp_assign_source_119;
PyObject *tmp_metaclass_value_11;
bool tmp_condition_result_71;
PyObject *tmp_key_value_31;
PyObject *tmp_dict_arg_value_31;
PyObject *tmp_dict_arg_value_32;
PyObject *tmp_key_value_32;
nuitka_bool tmp_condition_result_72;
int tmp_truth_name_9;
PyObject *tmp_type_arg_19;
PyObject *tmp_expression_value_50;
PyObject *tmp_subscript_value_9;
PyObject *tmp_bases_value_11;
tmp_key_value_31 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_11__class_decl_dict);
tmp_dict_arg_value_31 = tmp_class_creation_11__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_31, tmp_key_value_31);
assert(!(tmp_res == -1));
tmp_condition_result_71 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_71 != false) {
goto condexpr_true_30;
} else {
goto condexpr_false_30;
}
condexpr_true_30:;
CHECK_OBJECT(tmp_class_creation_11__class_decl_dict);
tmp_dict_arg_value_32 = tmp_class_creation_11__class_decl_dict;
tmp_key_value_32 = mod_consts[324];
tmp_metaclass_value_11 = DICT_GET_ITEM0(tmp_dict_arg_value_32, tmp_key_value_32);
if (tmp_metaclass_value_11 == NULL) {
tmp_metaclass_value_11 = Py_None;
}
assert(!(tmp_metaclass_value_11 == NULL));
Py_INCREF(tmp_metaclass_value_11);
goto condexpr_end_30;
condexpr_false_30:;
CHECK_OBJECT(tmp_class_creation_11__bases);
tmp_truth_name_9 = CHECK_IF_TRUE(tmp_class_creation_11__bases);
if (tmp_truth_name_9 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1061;
goto try_except_handler_43;
}
tmp_condition_result_72 = tmp_truth_name_9 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_72 == NUITKA_BOOL_TRUE) {
goto condexpr_true_31;
} else {
goto condexpr_false_31;
}
condexpr_true_31:;
CHECK_OBJECT(tmp_class_creation_11__bases);
tmp_expression_value_50 = tmp_class_creation_11__bases;
tmp_subscript_value_9 = mod_consts[226];
tmp_type_arg_19 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_50, tmp_subscript_value_9, 0);
if (tmp_type_arg_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1061;
goto try_except_handler_43;
}
tmp_metaclass_value_11 = BUILTIN_TYPE1(tmp_type_arg_19);
Py_DECREF(tmp_type_arg_19);
if (tmp_metaclass_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1061;
goto try_except_handler_43;
}
goto condexpr_end_31;
condexpr_false_31:;
tmp_metaclass_value_11 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_11);
condexpr_end_31:;
condexpr_end_30:;
CHECK_OBJECT(tmp_class_creation_11__bases);
tmp_bases_value_11 = tmp_class_creation_11__bases;
tmp_assign_source_119 = SELECT_METACLASS(tmp_metaclass_value_11, tmp_bases_value_11);
Py_DECREF(tmp_metaclass_value_11);
if (tmp_assign_source_119 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1061;
goto try_except_handler_43;
}
assert(tmp_class_creation_11__metaclass == NULL);
tmp_class_creation_11__metaclass = tmp_assign_source_119;
}
{
bool tmp_condition_result_73;
PyObject *tmp_key_value_33;
PyObject *tmp_dict_arg_value_33;
tmp_key_value_33 = mod_consts[324];
CHECK_OBJECT(tmp_class_creation_11__class_decl_dict);
tmp_dict_arg_value_33 = tmp_class_creation_11__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_33, tmp_key_value_33);
assert(!(tmp_res == -1));
tmp_condition_result_73 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_73 != false) {
goto branch_yes_42;
} else {
goto branch_no_42;
}
}
branch_yes_42:;
CHECK_OBJECT(tmp_class_creation_11__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_11__class_decl_dict;
tmp_dictdel_key = mod_consts[324];
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 = 1061;
goto try_except_handler_43;
}
branch_no_42:;
{
nuitka_bool tmp_condition_result_74;
PyObject *tmp_expression_value_51;
CHECK_OBJECT(tmp_class_creation_11__metaclass);
tmp_expression_value_51 = tmp_class_creation_11__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_51, mod_consts[326]);
tmp_condition_result_74 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_74 == NUITKA_BOOL_TRUE) {
goto branch_yes_43;
} else {
goto branch_no_43;
}
}
branch_yes_43:;
{
PyObject *tmp_assign_source_120;
PyObject *tmp_called_value_43;
PyObject *tmp_expression_value_52;
PyObject *tmp_args_value_21;
PyObject *tmp_tuple_element_39;
PyObject *tmp_kwargs_value_21;
CHECK_OBJECT(tmp_class_creation_11__metaclass);
tmp_expression_value_52 = tmp_class_creation_11__metaclass;
tmp_called_value_43 = LOOKUP_ATTRIBUTE(tmp_expression_value_52, mod_consts[326]);
if (tmp_called_value_43 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1061;
goto try_except_handler_43;
}
tmp_tuple_element_39 = mod_consts[109];
tmp_args_value_21 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_21, 0, tmp_tuple_element_39);
CHECK_OBJECT(tmp_class_creation_11__bases);
tmp_tuple_element_39 = tmp_class_creation_11__bases;
PyTuple_SET_ITEM0(tmp_args_value_21, 1, tmp_tuple_element_39);
CHECK_OBJECT(tmp_class_creation_11__class_decl_dict);
tmp_kwargs_value_21 = tmp_class_creation_11__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 1061;
tmp_assign_source_120 = CALL_FUNCTION(tmp_called_value_43, tmp_args_value_21, tmp_kwargs_value_21);
Py_DECREF(tmp_called_value_43);
Py_DECREF(tmp_args_value_21);
if (tmp_assign_source_120 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1061;
goto try_except_handler_43;
}
assert(tmp_class_creation_11__prepared == NULL);
tmp_class_creation_11__prepared = tmp_assign_source_120;
}
{
bool tmp_condition_result_75;
PyObject *tmp_operand_value_11;
PyObject *tmp_expression_value_53;
CHECK_OBJECT(tmp_class_creation_11__prepared);
tmp_expression_value_53 = tmp_class_creation_11__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_53, mod_consts[250]);
tmp_operand_value_11 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_11);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1061;
goto try_except_handler_43;
}
tmp_condition_result_75 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_75 != false) {
goto branch_yes_44;
} else {
goto branch_no_44;
}
}
branch_yes_44:;
{
PyObject *tmp_raise_type_11;
PyObject *tmp_raise_value_11;
PyObject *tmp_mod_expr_left_11;
PyObject *tmp_mod_expr_right_11;
PyObject *tmp_tuple_element_40;
PyObject *tmp_getattr_target_11;
PyObject *tmp_getattr_attr_11;
PyObject *tmp_getattr_default_11;
tmp_raise_type_11 = PyExc_TypeError;
tmp_mod_expr_left_11 = mod_consts[328];
CHECK_OBJECT(tmp_class_creation_11__metaclass);
tmp_getattr_target_11 = tmp_class_creation_11__metaclass;
tmp_getattr_attr_11 = mod_consts[201];
tmp_getattr_default_11 = mod_consts[329];
tmp_tuple_element_40 = BUILTIN_GETATTR(tmp_getattr_target_11, tmp_getattr_attr_11, tmp_getattr_default_11);
if (tmp_tuple_element_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1061;
goto try_except_handler_43;
}
tmp_mod_expr_right_11 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_54;
PyObject *tmp_type_arg_20;
PyTuple_SET_ITEM(tmp_mod_expr_right_11, 0, tmp_tuple_element_40);
CHECK_OBJECT(tmp_class_creation_11__prepared);
tmp_type_arg_20 = tmp_class_creation_11__prepared;
tmp_expression_value_54 = BUILTIN_TYPE1(tmp_type_arg_20);
assert(!(tmp_expression_value_54 == NULL));
tmp_tuple_element_40 = LOOKUP_ATTRIBUTE(tmp_expression_value_54, mod_consts[201]);
Py_DECREF(tmp_expression_value_54);
if (tmp_tuple_element_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1061;
goto tuple_build_exception_12;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_11, 1, tmp_tuple_element_40);
}
goto tuple_build_noexception_12;
// Exception handling pass through code for tuple_build:
tuple_build_exception_12:;
Py_DECREF(tmp_mod_expr_right_11);
goto try_except_handler_43;
// Finished with no exception for tuple_build:
tuple_build_noexception_12:;
tmp_raise_value_11 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_11, tmp_mod_expr_right_11);
Py_DECREF(tmp_mod_expr_right_11);
if (tmp_raise_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1061;
goto try_except_handler_43;
}
exception_type = tmp_raise_type_11;
Py_INCREF(tmp_raise_type_11);
exception_value = tmp_raise_value_11;
exception_lineno = 1061;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_43;
}
branch_no_44:;
goto branch_end_43;
branch_no_43:;
{
PyObject *tmp_assign_source_121;
tmp_assign_source_121 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_11__prepared == NULL);
tmp_class_creation_11__prepared = tmp_assign_source_121;
}
branch_end_43:;
{
PyObject *tmp_assign_source_122;
{
PyObject *tmp_set_locals_11;
CHECK_OBJECT(tmp_class_creation_11__prepared);
tmp_set_locals_11 = tmp_class_creation_11__prepared;
locals_lazr$restfulclient$resource$$$class__11_HostedFileBuffer_1061 = tmp_set_locals_11;
Py_INCREF(tmp_set_locals_11);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[330];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__11_HostedFileBuffer_1061, mod_consts[331], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1061;
goto try_except_handler_45;
}
tmp_dictset_value = mod_consts[427];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__11_HostedFileBuffer_1061, mod_consts[289], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1061;
goto try_except_handler_45;
}
tmp_dictset_value = mod_consts[109];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__11_HostedFileBuffer_1061, mod_consts[333], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1061;
goto try_except_handler_45;
}
if (isFrameUnusable(cache_frame_421a240b95afeb0ae590e0bae78f4414_12)) {
Py_XDECREF(cache_frame_421a240b95afeb0ae590e0bae78f4414_12);
#if _DEBUG_REFCOUNTS
if (cache_frame_421a240b95afeb0ae590e0bae78f4414_12 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_421a240b95afeb0ae590e0bae78f4414_12 = MAKE_CLASS_FRAME(codeobj_421a240b95afeb0ae590e0bae78f4414, module_lazr$restfulclient$resource, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_421a240b95afeb0ae590e0bae78f4414_12->m_type_description == NULL);
frame_421a240b95afeb0ae590e0bae78f4414_12 = cache_frame_421a240b95afeb0ae590e0bae78f4414_12;
// Push the new frame as the currently active one.
pushFrameStack(frame_421a240b95afeb0ae590e0bae78f4414_12);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_421a240b95afeb0ae590e0bae78f4414_12) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_8;
tmp_defaults_8 = mod_consts[365];
Py_INCREF(tmp_defaults_8);
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__56___init__(tmp_defaults_8);
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__11_HostedFileBuffer_1061, mod_consts[129], 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 = 1063;
type_description_2 = "o";
goto frame_exception_exit_12;
}
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__57_close();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__11_HostedFileBuffer_1061, mod_consts[286], 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 = 1103;
type_description_2 = "o";
goto frame_exception_exit_12;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$resource$$$function__58_write();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__11_HostedFileBuffer_1061, mod_consts[287], 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 = 1111;
type_description_2 = "o";
goto frame_exception_exit_12;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_421a240b95afeb0ae590e0bae78f4414_12);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_11;
frame_exception_exit_12:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_421a240b95afeb0ae590e0bae78f4414_12);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_421a240b95afeb0ae590e0bae78f4414_12, exception_lineno);
} else if (exception_tb->tb_frame != &frame_421a240b95afeb0ae590e0bae78f4414_12->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_421a240b95afeb0ae590e0bae78f4414_12, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_421a240b95afeb0ae590e0bae78f4414_12,
type_description_2,
outline_10_var___class__
);
// Release cached frame if used for exception.
if (frame_421a240b95afeb0ae590e0bae78f4414_12 == cache_frame_421a240b95afeb0ae590e0bae78f4414_12) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_421a240b95afeb0ae590e0bae78f4414_12);
cache_frame_421a240b95afeb0ae590e0bae78f4414_12 = NULL;
}
assertFrameObject(frame_421a240b95afeb0ae590e0bae78f4414_12);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_11;
frame_no_exception_11:;
goto skip_nested_handling_11;
nested_frame_exit_11:;
goto try_except_handler_45;
skip_nested_handling_11:;
{
nuitka_bool tmp_condition_result_76;
PyObject *tmp_cmp_expr_left_12;
PyObject *tmp_cmp_expr_right_12;
CHECK_OBJECT(tmp_class_creation_11__bases);
tmp_cmp_expr_left_12 = tmp_class_creation_11__bases;
CHECK_OBJECT(tmp_class_creation_11__bases_orig);
tmp_cmp_expr_right_12 = tmp_class_creation_11__bases_orig;
tmp_condition_result_76 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_12, tmp_cmp_expr_right_12);
if (tmp_condition_result_76 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1061;
goto try_except_handler_45;
}
if (tmp_condition_result_76 == NUITKA_BOOL_TRUE) {
goto branch_yes_45;
} else {
goto branch_no_45;
}
}
branch_yes_45:;
CHECK_OBJECT(tmp_class_creation_11__bases_orig);
tmp_dictset_value = tmp_class_creation_11__bases_orig;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$resource$$$class__11_HostedFileBuffer_1061, mod_consts[374], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1061;
goto try_except_handler_45;
}
branch_no_45:;
{
PyObject *tmp_assign_source_123;
PyObject *tmp_called_value_44;
PyObject *tmp_args_value_22;
PyObject *tmp_tuple_element_41;
PyObject *tmp_kwargs_value_22;
CHECK_OBJECT(tmp_class_creation_11__metaclass);
tmp_called_value_44 = tmp_class_creation_11__metaclass;
tmp_tuple_element_41 = mod_consts[109];
tmp_args_value_22 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_22, 0, tmp_tuple_element_41);
CHECK_OBJECT(tmp_class_creation_11__bases);
tmp_tuple_element_41 = tmp_class_creation_11__bases;
PyTuple_SET_ITEM0(tmp_args_value_22, 1, tmp_tuple_element_41);
tmp_tuple_element_41 = locals_lazr$restfulclient$resource$$$class__11_HostedFileBuffer_1061;
PyTuple_SET_ITEM0(tmp_args_value_22, 2, tmp_tuple_element_41);
CHECK_OBJECT(tmp_class_creation_11__class_decl_dict);
tmp_kwargs_value_22 = tmp_class_creation_11__class_decl_dict;
frame_75c1cff68170903badef31f2b3a89517->m_frame.f_lineno = 1061;
tmp_assign_source_123 = CALL_FUNCTION(tmp_called_value_44, tmp_args_value_22, tmp_kwargs_value_22);
Py_DECREF(tmp_args_value_22);
if (tmp_assign_source_123 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1061;
goto try_except_handler_45;
}
assert(outline_10_var___class__ == NULL);
outline_10_var___class__ = tmp_assign_source_123;
}
CHECK_OBJECT(outline_10_var___class__);
tmp_assign_source_122 = outline_10_var___class__;
Py_INCREF(tmp_assign_source_122);
goto try_return_handler_45;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_45:;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__11_HostedFileBuffer_1061);
locals_lazr$restfulclient$resource$$$class__11_HostedFileBuffer_1061 = NULL;
goto try_return_handler_44;
// Exception handler code:
try_except_handler_45:;
exception_keeper_type_43 = exception_type;
exception_keeper_value_43 = exception_value;
exception_keeper_tb_43 = exception_tb;
exception_keeper_lineno_43 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_lazr$restfulclient$resource$$$class__11_HostedFileBuffer_1061);
locals_lazr$restfulclient$resource$$$class__11_HostedFileBuffer_1061 = NULL;
// Re-raise.
exception_type = exception_keeper_type_43;
exception_value = exception_keeper_value_43;
exception_tb = exception_keeper_tb_43;
exception_lineno = exception_keeper_lineno_43;
goto try_except_handler_44;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_44:;
CHECK_OBJECT(outline_10_var___class__);
Py_DECREF(outline_10_var___class__);
outline_10_var___class__ = NULL;
goto outline_result_11;
// Exception handler code:
try_except_handler_44:;
exception_keeper_type_44 = exception_type;
exception_keeper_value_44 = exception_value;
exception_keeper_tb_44 = exception_tb;
exception_keeper_lineno_44 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_44;
exception_value = exception_keeper_value_44;
exception_tb = exception_keeper_tb_44;
exception_lineno = exception_keeper_lineno_44;
goto outline_exception_11;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_11:;
exception_lineno = 1061;
goto try_except_handler_43;
outline_result_11:;
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)mod_consts[109], tmp_assign_source_122);
}
goto try_end_23;
// Exception handler code:
try_except_handler_43:;
exception_keeper_type_45 = exception_type;
exception_keeper_value_45 = exception_value;
exception_keeper_tb_45 = exception_tb;
exception_keeper_lineno_45 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_class_creation_11__bases_orig);
Py_DECREF(tmp_class_creation_11__bases_orig);
tmp_class_creation_11__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_11__bases);
tmp_class_creation_11__bases = NULL;
Py_XDECREF(tmp_class_creation_11__class_decl_dict);
tmp_class_creation_11__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_11__metaclass);
tmp_class_creation_11__metaclass = NULL;
Py_XDECREF(tmp_class_creation_11__prepared);
tmp_class_creation_11__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_45;
exception_value = exception_keeper_value_45;
exception_tb = exception_keeper_tb_45;
exception_lineno = exception_keeper_lineno_45;
goto frame_exception_exit_1;
// End of try:
try_end_23:;
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_75c1cff68170903badef31f2b3a89517);
#endif
popFrameStack();
goto frame_no_exception_12;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_75c1cff68170903badef31f2b3a89517);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_75c1cff68170903badef31f2b3a89517, exception_lineno);
} else if (exception_tb->tb_frame != &frame_75c1cff68170903badef31f2b3a89517->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_75c1cff68170903badef31f2b3a89517, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_12:;
CHECK_OBJECT(tmp_class_creation_11__bases_orig);
Py_DECREF(tmp_class_creation_11__bases_orig);
tmp_class_creation_11__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_11__bases);
Py_DECREF(tmp_class_creation_11__bases);
tmp_class_creation_11__bases = NULL;
CHECK_OBJECT(tmp_class_creation_11__class_decl_dict);
Py_DECREF(tmp_class_creation_11__class_decl_dict);
tmp_class_creation_11__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_11__metaclass);
Py_DECREF(tmp_class_creation_11__metaclass);
tmp_class_creation_11__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_11__prepared);
Py_DECREF(tmp_class_creation_11__prepared);
tmp_class_creation_11__prepared = NULL;
// Report to PGO about leaving the module without error.
PGO_onModuleExit("lazr.restfulclient.resource", false);
Py_INCREF(module_lazr$restfulclient$resource);
return module_lazr$restfulclient$resource;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$resource, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("lazr$restfulclient$resource", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}