Nuitka-winsvc 2.4.8__cp311-cp311-win_amd64.whl → 2.5.1__cp311-cp311-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of Nuitka-winsvc might be problematic. Click here for more details.
- {Nuitka_winsvc-2.4.8.dist-info → Nuitka_winsvc-2.5.1.dist-info}/METADATA +2 -1
- {Nuitka_winsvc-2.4.8.dist-info → Nuitka_winsvc-2.5.1.dist-info}/RECORD +294 -271
- {Nuitka_winsvc-2.4.8.dist-info → Nuitka_winsvc-2.5.1.dist-info}/WHEEL +1 -1
- nuitka/Builtins.py +31 -0
- nuitka/HardImportRegistry.py +8 -0
- nuitka/MainControl.py +9 -4
- nuitka/OptionParsing.py +105 -52
- nuitka/Options.py +73 -16
- nuitka/OutputDirectories.py +7 -2
- nuitka/PostProcessing.py +69 -38
- nuitka/Progress.py +16 -1
- nuitka/PythonVersions.py +2 -1
- nuitka/Serialization.py +4 -2
- nuitka/Tracing.py +69 -1
- nuitka/Version.py +2 -2
- nuitka/build/Backend.scons +45 -5
- nuitka/build/CCompilerVersion.scons +6 -0
- nuitka/build/Onefile.scons +6 -0
- nuitka/build/SconsCaching.py +12 -2
- nuitka/build/SconsCompilerSettings.py +17 -6
- nuitka/build/SconsInterface.py +1 -0
- nuitka/build/SconsUtils.py +5 -0
- nuitka/build/include/nuitka/allocator.h +124 -1
- nuitka/build/include/nuitka/calling.h +6 -6
- nuitka/build/include/nuitka/compiled_asyncgen.h +10 -7
- nuitka/build/include/nuitka/compiled_frame.h +2 -1
- nuitka/build/include/nuitka/constants.h +6 -0
- nuitka/build/include/nuitka/debug_settings.h +60 -0
- nuitka/build/include/nuitka/exceptions.h +264 -121
- nuitka/build/include/nuitka/helper/attributes.h +0 -4
- nuitka/build/include/nuitka/helper/calling_generated.h +52 -52
- nuitka/build/include/nuitka/helper/comparisons_dual_eq.h +47 -0
- nuitka/build/include/nuitka/helper/comparisons_dual_ge.h +39 -0
- nuitka/build/include/nuitka/helper/comparisons_dual_gt.h +39 -0
- nuitka/build/include/nuitka/helper/comparisons_dual_le.h +47 -0
- nuitka/build/include/nuitka/helper/comparisons_dual_lt.h +47 -0
- nuitka/build/include/nuitka/helper/comparisons_dual_ne.h +39 -0
- nuitka/build/include/nuitka/helper/dictionaries.h +65 -29
- nuitka/build/include/nuitka/helper/ints.h +86 -37
- nuitka/build/include/nuitka/helper/iterators.h +82 -34
- nuitka/build/include/nuitka/helper/operations.h +3 -0
- nuitka/build/include/nuitka/helper/operations_binary_add.h +6 -0
- nuitka/build/include/nuitka/helper/operations_binary_dual_add.h +34 -0
- nuitka/build/include/nuitka/helper/operations_binary_sub.h +6 -0
- nuitka/build/include/nuitka/helper/operations_inplace_add.h +3 -0
- nuitka/build/include/nuitka/helper/operations_inplace_sub.h +3 -0
- nuitka/build/include/nuitka/helper/raising.h +47 -28
- nuitka/build/include/nuitka/helper/richcomparisons.h +7 -0
- nuitka/build/include/nuitka/helpers.h +12 -2
- nuitka/build/include/nuitka/prelude.h +35 -25
- nuitka/build/include/nuitka/printing.h +9 -7
- nuitka/build/include/nuitka/threading.h +15 -1
- nuitka/build/include/nuitka/type_aliases.h +3 -0
- nuitka/build/inline_copy/stubgen/astunparse.py +938 -0
- nuitka/build/inline_copy/stubgen/six.py +998 -0
- nuitka/build/inline_copy/stubgen/stubgen.py +307 -0
- nuitka/build/static_src/CompiledAsyncgenType.c +45 -39
- nuitka/build/static_src/CompiledCellType.c +6 -4
- nuitka/build/static_src/CompiledCodeHelpers.c +104 -40
- nuitka/build/static_src/CompiledCoroutineType.c +40 -30
- nuitka/build/static_src/CompiledFrameType.c +110 -79
- nuitka/build/static_src/CompiledFunctionType.c +173 -151
- nuitka/build/static_src/CompiledGeneratorType.c +51 -49
- nuitka/build/static_src/CompiledGeneratorTypeUncompiledIntegration.c +424 -46
- nuitka/build/static_src/CompiledMethodType.c +10 -13
- nuitka/build/static_src/HelpersAllocator.c +270 -32
- nuitka/build/static_src/HelpersAttributes.c +0 -21
- nuitka/build/static_src/HelpersBuiltin.c +22 -13
- nuitka/build/static_src/HelpersCalling.c +7 -7
- nuitka/build/static_src/HelpersCallingGenerated.c +70 -70
- nuitka/build/static_src/HelpersComparisonDualEq.c +183 -0
- nuitka/build/static_src/HelpersComparisonDualGe.c +121 -0
- nuitka/build/static_src/HelpersComparisonDualGt.c +121 -0
- nuitka/build/static_src/HelpersComparisonDualLe.c +183 -0
- nuitka/build/static_src/HelpersComparisonDualLt.c +183 -0
- nuitka/build/static_src/HelpersComparisonDualNe.c +121 -0
- nuitka/build/static_src/HelpersComparisonEq.c +18 -4
- nuitka/build/static_src/HelpersComparisonEqUtils.c +1 -0
- nuitka/build/static_src/HelpersComparisonGe.c +18 -4
- nuitka/build/static_src/HelpersComparisonGt.c +18 -4
- nuitka/build/static_src/HelpersComparisonLe.c +18 -4
- nuitka/build/static_src/HelpersComparisonLt.c +18 -4
- nuitka/build/static_src/HelpersComparisonNe.c +18 -4
- nuitka/build/static_src/HelpersConsole.c +34 -8
- nuitka/build/static_src/HelpersConstantsBlob.c +10 -4
- nuitka/build/static_src/HelpersDictionaries.c +181 -34
- nuitka/build/static_src/HelpersDictionariesGenerated.c +0 -106
- nuitka/build/static_src/HelpersExceptions.c +24 -50
- nuitka/build/static_src/HelpersFiles.c +79 -5
- nuitka/build/static_src/HelpersImport.c +13 -9
- nuitka/build/static_src/HelpersImportHard.c +23 -46
- nuitka/build/static_src/HelpersLists.c +98 -9
- nuitka/build/static_src/HelpersMatching.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryAdd.c +224 -6
- nuitka/build/static_src/HelpersOperationBinaryAddUtils.c +3 -0
- nuitka/build/static_src/HelpersOperationBinaryBitand.c +5 -5
- nuitka/build/static_src/HelpersOperationBinaryBitor.c +5 -5
- nuitka/build/static_src/HelpersOperationBinaryBitxor.c +5 -5
- nuitka/build/static_src/HelpersOperationBinaryDivmod.c +8 -2
- nuitka/build/static_src/HelpersOperationBinaryDualAdd.c +172 -0
- nuitka/build/static_src/HelpersOperationBinaryFloordiv.c +14 -8
- nuitka/build/static_src/HelpersOperationBinaryLshift.c +36 -36
- nuitka/build/static_src/HelpersOperationBinaryMatmult.c +1 -0
- nuitka/build/static_src/HelpersOperationBinaryMod.c +22 -10
- nuitka/build/static_src/HelpersOperationBinaryMult.c +17 -7
- nuitka/build/static_src/HelpersOperationBinaryOlddiv.c +14 -8
- nuitka/build/static_src/HelpersOperationBinaryPow.c +24 -24
- nuitka/build/static_src/HelpersOperationBinaryRshift.c +4 -4
- nuitka/build/static_src/HelpersOperationBinarySub.c +229 -8
- nuitka/build/static_src/HelpersOperationBinaryTruediv.c +8 -2
- nuitka/build/static_src/HelpersOperationInplaceAdd.c +162 -10
- nuitka/build/static_src/HelpersOperationInplaceBitand.c +5 -5
- nuitka/build/static_src/HelpersOperationInplaceBitor.c +5 -5
- nuitka/build/static_src/HelpersOperationInplaceBitxor.c +5 -5
- nuitka/build/static_src/HelpersOperationInplaceFloordiv.c +11 -6
- nuitka/build/static_src/HelpersOperationInplaceLshift.c +20 -20
- nuitka/build/static_src/HelpersOperationInplaceMatmult.c +1 -0
- nuitka/build/static_src/HelpersOperationInplaceMod.c +11 -6
- nuitka/build/static_src/HelpersOperationInplaceMult.c +11 -6
- nuitka/build/static_src/HelpersOperationInplaceOlddiv.c +11 -6
- nuitka/build/static_src/HelpersOperationInplacePow.c +20 -20
- nuitka/build/static_src/HelpersOperationInplaceRshift.c +4 -4
- nuitka/build/static_src/HelpersOperationInplaceSub.c +163 -10
- nuitka/build/static_src/HelpersOperationInplaceTruediv.c +6 -1
- nuitka/build/static_src/HelpersProfiling.c +1 -1
- nuitka/build/static_src/HelpersRaising.c +255 -310
- nuitka/build/static_src/HelpersStrings.c +1 -1
- nuitka/build/static_src/HelpersTuples.c +1 -1
- nuitka/build/static_src/HelpersTypes.c +98 -2
- nuitka/build/static_src/MainProgram.c +117 -29
- nuitka/build/static_src/MetaPathBasedLoader.c +18 -19
- nuitka/build/static_src/MetaPathBasedLoaderResourceReaderFiles.c +134 -11
- nuitka/build/static_src/OnefileBootstrap.c +6 -1
- nuitka/code_generation/AsyncgenCodes.py +2 -6
- nuitka/code_generation/BinaryOperationHelperDefinitions.py +269 -167
- nuitka/code_generation/BuiltinCodes.py +9 -1
- nuitka/code_generation/CallCodes.py +16 -16
- nuitka/code_generation/CodeGeneration.py +14 -2
- nuitka/code_generation/CodeHelperSelection.py +1 -1
- nuitka/code_generation/CodeHelpers.py +4 -1
- nuitka/code_generation/CodeObjectCodes.py +2 -2
- nuitka/code_generation/ComparisonCodes.py +13 -2
- nuitka/code_generation/ComparisonHelperDefinitions.py +23 -8
- nuitka/code_generation/Contexts.py +28 -16
- nuitka/code_generation/CoroutineCodes.py +2 -6
- nuitka/code_generation/DictCodes.py +3 -3
- nuitka/code_generation/ErrorCodes.py +34 -50
- nuitka/code_generation/ExceptionCodes.py +165 -96
- nuitka/code_generation/ExpressionCTypeSelectionHelpers.py +25 -10
- nuitka/code_generation/FrameCodes.py +4 -11
- nuitka/code_generation/FunctionCodes.py +2 -6
- nuitka/code_generation/GeneratorCodes.py +2 -6
- nuitka/code_generation/GlobalConstants.py +8 -2
- nuitka/code_generation/GlobalsLocalsCodes.py +2 -2
- nuitka/code_generation/IteratorCodes.py +67 -54
- nuitka/code_generation/LineNumberCodes.py +1 -3
- nuitka/code_generation/ModuleCodes.py +28 -4
- nuitka/code_generation/OperationCodes.py +51 -20
- nuitka/code_generation/PackageResourceCodes.py +37 -0
- nuitka/code_generation/RaisingCodes.py +164 -90
- nuitka/code_generation/Reports.py +13 -5
- nuitka/code_generation/ReturnCodes.py +2 -16
- nuitka/code_generation/TryCodes.py +12 -24
- nuitka/code_generation/TypeAliasCodes.py +48 -0
- nuitka/code_generation/VariableCodes.py +99 -40
- nuitka/code_generation/VariableDeclarations.py +8 -8
- nuitka/code_generation/YieldCodes.py +1 -1
- nuitka/code_generation/c_types/CTypeBases.py +10 -2
- nuitka/code_generation/c_types/CTypeModuleDictVariables.py +3 -0
- nuitka/code_generation/c_types/CTypeNuitkaBooleans.py +3 -4
- nuitka/code_generation/c_types/CTypeNuitkaInts.py +70 -25
- nuitka/code_generation/c_types/CTypeNuitkaVoids.py +1 -1
- nuitka/code_generation/c_types/CTypePyObjectPointers.py +16 -6
- nuitka/code_generation/templates/CodeTemplatesAsyncgens.py +2 -2
- nuitka/code_generation/templates/CodeTemplatesConstants.py +11 -3
- nuitka/code_generation/templates/CodeTemplatesCoroutines.py +2 -2
- nuitka/code_generation/templates/CodeTemplatesExceptions.py +15 -16
- nuitka/code_generation/templates/CodeTemplatesFrames.py +18 -10
- nuitka/code_generation/templates/CodeTemplatesFunction.py +2 -2
- nuitka/code_generation/templates/CodeTemplatesGeneratorFunction.py +2 -2
- nuitka/code_generation/templates/CodeTemplatesIterators.py +1 -35
- nuitka/code_generation/templates/CodeTemplatesModules.py +34 -4
- nuitka/code_generation/templates/CodeTemplatesVariables.py +73 -0
- nuitka/code_generation/templates_c/CodeTemplateCallsMixed.c.j2 +3 -3
- nuitka/code_generation/templates_c/CodeTemplateCallsPositional.c.j2 +3 -3
- nuitka/code_generation/templates_c/HelperDictionaryCopy.c.j2 +0 -105
- nuitka/code_generation/templates_c/HelperImportHard.c.j2 +1 -2
- nuitka/code_generation/templates_c/HelperLongTools.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperOperationBinaryDual.c.j2 +115 -0
- nuitka/code_generation/templates_c/HelperOperationComparisonBytes.c.j2 +9 -9
- nuitka/code_generation/templates_c/HelperOperationComparisonDual.c.j2 +86 -0
- nuitka/code_generation/templates_c/HelperOperationComparisonFloat.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperOperationComparisonInt.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperOperationComparisonList.c.j2 +9 -9
- nuitka/code_generation/templates_c/HelperOperationComparisonLong.c.j2 +7 -7
- nuitka/code_generation/templates_c/HelperOperationComparisonStr.c.j2 +9 -9
- nuitka/code_generation/templates_c/HelperOperationComparisonTuple.c.j2 +7 -7
- nuitka/code_generation/templates_c/HelperOperationComparisonUnicode.c.j2 +4 -4
- nuitka/code_generation/templates_c/HelperSlotsBinary.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperSlotsInt.c.j2 +31 -31
- nuitka/code_generation/templates_c/HelperSlotsLong.c.j2 +1 -1
- nuitka/containers/Namedtuples.py +6 -0
- nuitka/containers/OrderedSets.py +105 -5
- nuitka/distutils/Build.py +14 -0
- nuitka/distutils/DistutilCommands.py +50 -10
- nuitka/finalizations/Finalization.py +3 -3
- nuitka/finalizations/FinalizeMarkups.py +10 -14
- nuitka/freezer/DependsExe.py +13 -3
- nuitka/freezer/DllDependenciesMacOS.py +18 -1
- nuitka/freezer/DllDependenciesWin32.py +26 -12
- nuitka/freezer/ImportDetection.py +3 -0
- nuitka/freezer/IncludedDataFiles.py +31 -8
- nuitka/freezer/IncludedEntryPoints.py +3 -2
- nuitka/freezer/Standalone.py +76 -18
- nuitka/importing/Importing.py +33 -6
- nuitka/importing/Recursion.py +12 -1
- nuitka/importing/StandardLibrary.py +57 -59
- nuitka/nodes/AsyncgenNodes.py +3 -6
- nuitka/nodes/BuiltinIteratorNodes.py +1 -1
- nuitka/nodes/BuiltinRefNodes.py +14 -30
- nuitka/nodes/ChildrenHavingMixins.py +439 -46
- nuitka/nodes/ConditionalNodes.py +3 -2
- nuitka/nodes/CoroutineNodes.py +3 -6
- nuitka/nodes/ExceptionNodes.py +102 -26
- nuitka/nodes/ExpressionBasesGenerated.py +288 -4
- nuitka/nodes/FrameNodes.py +22 -11
- nuitka/nodes/FunctionNodes.py +3 -3
- nuitka/nodes/GeneratorNodes.py +3 -6
- nuitka/nodes/HardImportNodesGenerated.py +182 -0
- nuitka/nodes/ImportNodes.py +2 -2
- nuitka/nodes/NodeBases.py +28 -1
- nuitka/nodes/NodeMakingHelpers.py +71 -50
- nuitka/nodes/OperatorNodesUnary.py +128 -3
- nuitka/nodes/OsSysNodes.py +37 -6
- nuitka/nodes/OutlineNodes.py +2 -2
- nuitka/nodes/StatementBasesGenerated.py +0 -2
- nuitka/nodes/StatementNodes.py +8 -7
- nuitka/nodes/SubscriptNodes.py +1 -1
- nuitka/nodes/TypeNodes.py +28 -1
- nuitka/nodes/shapes/BuiltinTypeShapes.py +24 -7
- nuitka/nodes/shapes/ShapeMixins.py +17 -0
- nuitka/nodes/shapes/StandardShapes.py +53 -1
- nuitka/optimizations/BytecodeDemotion.py +2 -1
- nuitka/plugins/PluginBase.py +64 -22
- nuitka/plugins/Plugins.py +6 -3
- nuitka/plugins/standard/AntiBloatPlugin.py +23 -12
- nuitka/plugins/standard/ImplicitImports.py +1 -13
- nuitka/plugins/standard/KivyPlugin.py +3 -12
- nuitka/plugins/standard/MatplotlibPlugin.py +12 -1
- nuitka/plugins/standard/MultiprocessingPlugin.py +11 -20
- nuitka/plugins/standard/PlaywrightPlugin.py +184 -0
- nuitka/plugins/standard/PySidePyQtPlugin.py +8 -0
- nuitka/plugins/standard/TkinterPlugin.py +0 -56
- nuitka/plugins/standard/TransformersPlugin.py +70 -275
- nuitka/plugins/standard/standard.nuitka-package.config.yml +510 -28
- nuitka/plugins/standard/stdlib3.nuitka-package.config.yml +35 -2
- nuitka/reports/CompilationReportReader.py +12 -0
- nuitka/reports/Reports.py +11 -0
- nuitka/specs/BuiltinParameterSpecs.py +5 -1
- nuitka/specs/HardImportSpecs.py +7 -0
- nuitka/specs/ParameterSpecs.py +4 -4
- nuitka/tools/general/dll_report/__main__.py +10 -1
- nuitka/tools/onefile_compressor/OnefileCompressor.py +1 -1
- nuitka/tools/specialize/CTypeDescriptions.py +158 -9
- nuitka/tools/specialize/SpecializeC.py +218 -56
- nuitka/tools/testing/Common.py +70 -63
- nuitka/tools/testing/compare_with_cpython/__main__.py +3 -1
- nuitka/tools/testing/measure_construct_performance/__main__.py +1 -8
- nuitka/tools/testing/run_nuitka_tests/__main__.py +77 -11
- nuitka/tools/watch/AutoStage.py +1 -0
- nuitka/tree/Building.py +10 -37
- nuitka/tree/ComplexCallHelperFunctions.py +4 -0
- nuitka/tree/ReformulationAssertStatements.py +31 -14
- nuitka/tree/ReformulationAssignmentStatements.py +5 -1
- nuitka/tree/ReformulationClasses3.py +94 -19
- nuitka/tree/ReformulationDictionaryCreation.py +1 -0
- nuitka/tree/ReformulationFunctionStatements.py +1 -1
- nuitka/tree/ReformulationMatchStatements.py +3 -1
- nuitka/tree/ReformulationYieldExpressions.py +23 -5
- nuitka/utils/CommandLineOptions.py +27 -3
- nuitka/utils/Download.py +2 -2
- nuitka/utils/Execution.py +36 -31
- nuitka/utils/FileOperations.py +39 -54
- nuitka/utils/Importing.py +2 -14
- nuitka/utils/InlineCopies.py +52 -0
- nuitka/utils/InstalledPythons.py +9 -4
- nuitka/utils/Json.py +2 -2
- nuitka/utils/PackageResources.py +44 -0
- nuitka/utils/Utils.py +17 -0
- {Nuitka_winsvc-2.4.8.data → Nuitka_winsvc-2.5.1.data}/scripts/nuitka-run.cmd +0 -0
- {Nuitka_winsvc-2.4.8.data → Nuitka_winsvc-2.5.1.data}/scripts/nuitka.cmd +0 -0
- {Nuitka_winsvc-2.4.8.dist-info → Nuitka_winsvc-2.5.1.dist-info}/LICENSE.txt +0 -0
- {Nuitka_winsvc-2.4.8.dist-info → Nuitka_winsvc-2.5.1.dist-info}/entry_points.txt +0 -0
- {Nuitka_winsvc-2.4.8.dist-info → Nuitka_winsvc-2.5.1.dist-info}/top_level.txt +0 -0
|
@@ -57,6 +57,7 @@ static PyObject *_BINARY_OPERATION_MOD_OBJECT_INT_INT(PyObject *operand1, PyObje
|
|
|
57
57
|
clong_result = r;
|
|
58
58
|
goto exit_result_ok_clong;
|
|
59
59
|
}
|
|
60
|
+
|
|
60
61
|
{
|
|
61
62
|
PyObject *operand1_object = operand1;
|
|
62
63
|
PyObject *operand2_object = operand2;
|
|
@@ -69,7 +70,7 @@ static PyObject *_BINARY_OPERATION_MOD_OBJECT_INT_INT(PyObject *operand1, PyObje
|
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
exit_result_ok_clong:
|
|
72
|
-
result =
|
|
73
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
73
74
|
goto exit_result_ok;
|
|
74
75
|
|
|
75
76
|
exit_result_object:
|
|
@@ -275,6 +276,7 @@ static PyObject *_BINARY_OPERATION_MOD_OBJECT_OBJECT_INT(PyObject *operand1, PyO
|
|
|
275
276
|
clong_result = r;
|
|
276
277
|
goto exit_result_ok_clong;
|
|
277
278
|
}
|
|
279
|
+
|
|
278
280
|
{
|
|
279
281
|
PyObject *operand1_object = operand1;
|
|
280
282
|
PyObject *operand2_object = operand2;
|
|
@@ -287,7 +289,7 @@ static PyObject *_BINARY_OPERATION_MOD_OBJECT_OBJECT_INT(PyObject *operand1, PyO
|
|
|
287
289
|
}
|
|
288
290
|
|
|
289
291
|
exit_result_ok_clong:
|
|
290
|
-
result =
|
|
292
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
291
293
|
goto exit_result_ok;
|
|
292
294
|
|
|
293
295
|
exit_result_object:
|
|
@@ -510,6 +512,7 @@ static PyObject *_BINARY_OPERATION_MOD_OBJECT_INT_OBJECT(PyObject *operand1, PyO
|
|
|
510
512
|
clong_result = r;
|
|
511
513
|
goto exit_result_ok_clong;
|
|
512
514
|
}
|
|
515
|
+
|
|
513
516
|
{
|
|
514
517
|
PyObject *operand1_object = operand1;
|
|
515
518
|
PyObject *operand2_object = operand2;
|
|
@@ -522,7 +525,7 @@ static PyObject *_BINARY_OPERATION_MOD_OBJECT_INT_OBJECT(PyObject *operand1, PyO
|
|
|
522
525
|
}
|
|
523
526
|
|
|
524
527
|
exit_result_ok_clong:
|
|
525
|
-
result =
|
|
528
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
526
529
|
goto exit_result_ok;
|
|
527
530
|
|
|
528
531
|
exit_result_object:
|
|
@@ -595,6 +598,7 @@ static nuitka_bool _BINARY_OPERATION_MOD_NBOOL_INT_INT(PyObject *operand1, PyObj
|
|
|
595
598
|
clong_result = r;
|
|
596
599
|
goto exit_result_ok_clong;
|
|
597
600
|
}
|
|
601
|
+
|
|
598
602
|
{
|
|
599
603
|
PyObject *operand1_object = operand1;
|
|
600
604
|
PyObject *operand2_object = operand2;
|
|
@@ -822,6 +826,7 @@ static nuitka_bool _BINARY_OPERATION_MOD_NBOOL_OBJECT_INT(PyObject *operand1, Py
|
|
|
822
826
|
clong_result = r;
|
|
823
827
|
goto exit_result_ok_clong;
|
|
824
828
|
}
|
|
829
|
+
|
|
825
830
|
{
|
|
826
831
|
PyObject *operand1_object = operand1;
|
|
827
832
|
PyObject *operand2_object = operand2;
|
|
@@ -1066,6 +1071,7 @@ static nuitka_bool _BINARY_OPERATION_MOD_NBOOL_INT_OBJECT(PyObject *operand1, Py
|
|
|
1066
1071
|
clong_result = r;
|
|
1067
1072
|
goto exit_result_ok_clong;
|
|
1068
1073
|
}
|
|
1074
|
+
|
|
1069
1075
|
{
|
|
1070
1076
|
PyObject *operand1_object = operand1;
|
|
1071
1077
|
PyObject *operand2_object = operand2;
|
|
@@ -3707,9 +3713,10 @@ static PyObject *_BINARY_OPERATION_MOD_OBJECT_INT_CLONG(PyObject *operand1, long
|
|
|
3707
3713
|
clong_result = r;
|
|
3708
3714
|
goto exit_result_ok_clong;
|
|
3709
3715
|
}
|
|
3716
|
+
|
|
3710
3717
|
{
|
|
3711
3718
|
PyObject *operand1_object = operand1;
|
|
3712
|
-
PyObject *operand2_object =
|
|
3719
|
+
PyObject *operand2_object = Nuitka_PyLong_FromLong(operand2);
|
|
3713
3720
|
|
|
3714
3721
|
PyObject *r = PyLong_Type.tp_as_number->nb_remainder(operand1_object, operand2_object);
|
|
3715
3722
|
assert(r != Py_NotImplemented);
|
|
@@ -3721,7 +3728,7 @@ static PyObject *_BINARY_OPERATION_MOD_OBJECT_INT_CLONG(PyObject *operand1, long
|
|
|
3721
3728
|
}
|
|
3722
3729
|
|
|
3723
3730
|
exit_result_ok_clong:
|
|
3724
|
-
result =
|
|
3731
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
3725
3732
|
goto exit_result_ok;
|
|
3726
3733
|
|
|
3727
3734
|
exit_result_object:
|
|
@@ -3788,8 +3795,9 @@ static PyObject *_BINARY_OPERATION_MOD_OBJECT_CLONG_INT(long operand1, PyObject
|
|
|
3788
3795
|
clong_result = r;
|
|
3789
3796
|
goto exit_result_ok_clong;
|
|
3790
3797
|
}
|
|
3798
|
+
|
|
3791
3799
|
{
|
|
3792
|
-
PyObject *operand1_object =
|
|
3800
|
+
PyObject *operand1_object = Nuitka_PyLong_FromLong(operand1);
|
|
3793
3801
|
PyObject *operand2_object = operand2;
|
|
3794
3802
|
|
|
3795
3803
|
PyObject *r = PyLong_Type.tp_as_number->nb_remainder(operand1_object, operand2_object);
|
|
@@ -3802,7 +3810,7 @@ static PyObject *_BINARY_OPERATION_MOD_OBJECT_CLONG_INT(long operand1, PyObject
|
|
|
3802
3810
|
}
|
|
3803
3811
|
|
|
3804
3812
|
exit_result_ok_clong:
|
|
3805
|
-
result =
|
|
3813
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
3806
3814
|
goto exit_result_ok;
|
|
3807
3815
|
|
|
3808
3816
|
exit_result_object:
|
|
@@ -3868,9 +3876,10 @@ static nuitka_bool _BINARY_OPERATION_MOD_NBOOL_INT_CLONG(PyObject *operand1, lon
|
|
|
3868
3876
|
clong_result = r;
|
|
3869
3877
|
goto exit_result_ok_clong;
|
|
3870
3878
|
}
|
|
3879
|
+
|
|
3871
3880
|
{
|
|
3872
3881
|
PyObject *operand1_object = operand1;
|
|
3873
|
-
PyObject *operand2_object =
|
|
3882
|
+
PyObject *operand2_object = Nuitka_PyLong_FromLong(operand2);
|
|
3874
3883
|
|
|
3875
3884
|
PyObject *r = PyLong_Type.tp_as_number->nb_remainder(operand1_object, operand2_object);
|
|
3876
3885
|
assert(r != Py_NotImplemented);
|
|
@@ -3950,8 +3959,9 @@ static nuitka_bool _BINARY_OPERATION_MOD_NBOOL_CLONG_INT(long operand1, PyObject
|
|
|
3950
3959
|
clong_result = r;
|
|
3951
3960
|
goto exit_result_ok_clong;
|
|
3952
3961
|
}
|
|
3962
|
+
|
|
3953
3963
|
{
|
|
3954
|
-
PyObject *operand1_object =
|
|
3964
|
+
PyObject *operand1_object = Nuitka_PyLong_FromLong(operand1);
|
|
3955
3965
|
PyObject *operand2_object = operand2;
|
|
3956
3966
|
|
|
3957
3967
|
PyObject *r = PyLong_Type.tp_as_number->nb_remainder(operand1_object, operand2_object);
|
|
@@ -6099,6 +6109,7 @@ static PyObject *_BINARY_OPERATION_MOD_OBJECT_OBJECT_OBJECT(PyObject *operand1,
|
|
|
6099
6109
|
clong_result = r;
|
|
6100
6110
|
goto exit_result_ok_clong;
|
|
6101
6111
|
}
|
|
6112
|
+
|
|
6102
6113
|
{
|
|
6103
6114
|
PyObject *operand1_object = operand1;
|
|
6104
6115
|
PyObject *operand2_object = operand2;
|
|
@@ -6111,7 +6122,7 @@ static PyObject *_BINARY_OPERATION_MOD_OBJECT_OBJECT_OBJECT(PyObject *operand1,
|
|
|
6111
6122
|
}
|
|
6112
6123
|
|
|
6113
6124
|
exit_result_ok_clong:
|
|
6114
|
-
result =
|
|
6125
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
6115
6126
|
goto exit_result_ok;
|
|
6116
6127
|
|
|
6117
6128
|
exit_result_object:
|
|
@@ -6329,6 +6340,7 @@ static nuitka_bool _BINARY_OPERATION_MOD_NBOOL_OBJECT_OBJECT(PyObject *operand1,
|
|
|
6329
6340
|
clong_result = r;
|
|
6330
6341
|
goto exit_result_ok_clong;
|
|
6331
6342
|
}
|
|
6343
|
+
|
|
6332
6344
|
{
|
|
6333
6345
|
PyObject *operand1_object = operand1;
|
|
6334
6346
|
PyObject *operand2_object = operand2;
|
|
@@ -58,6 +58,7 @@ static PyObject *_BINARY_OPERATION_MULT_OBJECT_INT_INT(PyObject *operand1, PyObj
|
|
|
58
58
|
goto exit_result_ok_clong;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
+
|
|
61
62
|
{
|
|
62
63
|
PyObject *operand1_object = operand1;
|
|
63
64
|
PyObject *operand2_object = operand2;
|
|
@@ -70,7 +71,7 @@ static PyObject *_BINARY_OPERATION_MULT_OBJECT_INT_INT(PyObject *operand1, PyObj
|
|
|
70
71
|
}
|
|
71
72
|
|
|
72
73
|
exit_result_ok_clong:
|
|
73
|
-
result =
|
|
74
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
74
75
|
goto exit_result_ok;
|
|
75
76
|
|
|
76
77
|
exit_result_object:
|
|
@@ -289,6 +290,7 @@ static PyObject *_BINARY_OPERATION_MULT_OBJECT_OBJECT_INT(PyObject *operand1, Py
|
|
|
289
290
|
goto exit_result_ok_clong;
|
|
290
291
|
}
|
|
291
292
|
}
|
|
293
|
+
|
|
292
294
|
{
|
|
293
295
|
PyObject *operand1_object = operand1;
|
|
294
296
|
PyObject *operand2_object = operand2;
|
|
@@ -301,7 +303,7 @@ static PyObject *_BINARY_OPERATION_MULT_OBJECT_OBJECT_INT(PyObject *operand1, Py
|
|
|
301
303
|
}
|
|
302
304
|
|
|
303
305
|
exit_result_ok_clong:
|
|
304
|
-
result =
|
|
306
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
305
307
|
goto exit_result_ok;
|
|
306
308
|
|
|
307
309
|
exit_result_object:
|
|
@@ -538,6 +540,7 @@ static PyObject *_BINARY_OPERATION_MULT_OBJECT_INT_OBJECT(PyObject *operand1, Py
|
|
|
538
540
|
goto exit_result_ok_clong;
|
|
539
541
|
}
|
|
540
542
|
}
|
|
543
|
+
|
|
541
544
|
{
|
|
542
545
|
PyObject *operand1_object = operand1;
|
|
543
546
|
PyObject *operand2_object = operand2;
|
|
@@ -550,7 +553,7 @@ static PyObject *_BINARY_OPERATION_MULT_OBJECT_INT_OBJECT(PyObject *operand1, Py
|
|
|
550
553
|
}
|
|
551
554
|
|
|
552
555
|
exit_result_ok_clong:
|
|
553
|
-
result =
|
|
556
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
554
557
|
goto exit_result_ok;
|
|
555
558
|
|
|
556
559
|
exit_result_object:
|
|
@@ -623,6 +626,7 @@ static nuitka_bool _BINARY_OPERATION_MULT_NBOOL_INT_INT(PyObject *operand1, PyOb
|
|
|
623
626
|
goto exit_result_ok_clong;
|
|
624
627
|
}
|
|
625
628
|
}
|
|
629
|
+
|
|
626
630
|
{
|
|
627
631
|
PyObject *operand1_object = operand1;
|
|
628
632
|
PyObject *operand2_object = operand2;
|
|
@@ -864,6 +868,7 @@ static nuitka_bool _BINARY_OPERATION_MULT_NBOOL_OBJECT_INT(PyObject *operand1, P
|
|
|
864
868
|
goto exit_result_ok_clong;
|
|
865
869
|
}
|
|
866
870
|
}
|
|
871
|
+
|
|
867
872
|
{
|
|
868
873
|
PyObject *operand1_object = operand1;
|
|
869
874
|
PyObject *operand2_object = operand2;
|
|
@@ -1123,6 +1128,7 @@ static nuitka_bool _BINARY_OPERATION_MULT_NBOOL_INT_OBJECT(PyObject *operand1, P
|
|
|
1123
1128
|
goto exit_result_ok_clong;
|
|
1124
1129
|
}
|
|
1125
1130
|
}
|
|
1131
|
+
|
|
1126
1132
|
{
|
|
1127
1133
|
PyObject *operand1_object = operand1;
|
|
1128
1134
|
PyObject *operand2_object = operand2;
|
|
@@ -3432,9 +3438,10 @@ static PyObject *_BINARY_OPERATION_MULT_OBJECT_INT_CLONG(PyObject *operand1, lon
|
|
|
3432
3438
|
goto exit_result_ok_clong;
|
|
3433
3439
|
}
|
|
3434
3440
|
}
|
|
3441
|
+
|
|
3435
3442
|
{
|
|
3436
3443
|
PyObject *operand1_object = operand1;
|
|
3437
|
-
PyObject *operand2_object =
|
|
3444
|
+
PyObject *operand2_object = Nuitka_PyLong_FromLong(operand2);
|
|
3438
3445
|
|
|
3439
3446
|
PyObject *r = PyLong_Type.tp_as_number->nb_multiply(operand1_object, operand2_object);
|
|
3440
3447
|
assert(r != Py_NotImplemented);
|
|
@@ -3446,7 +3453,7 @@ static PyObject *_BINARY_OPERATION_MULT_OBJECT_INT_CLONG(PyObject *operand1, lon
|
|
|
3446
3453
|
}
|
|
3447
3454
|
|
|
3448
3455
|
exit_result_ok_clong:
|
|
3449
|
-
result =
|
|
3456
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
3450
3457
|
goto exit_result_ok;
|
|
3451
3458
|
|
|
3452
3459
|
exit_result_object:
|
|
@@ -3512,9 +3519,10 @@ static nuitka_bool _BINARY_OPERATION_MULT_NBOOL_INT_CLONG(PyObject *operand1, lo
|
|
|
3512
3519
|
goto exit_result_ok_clong;
|
|
3513
3520
|
}
|
|
3514
3521
|
}
|
|
3522
|
+
|
|
3515
3523
|
{
|
|
3516
3524
|
PyObject *operand1_object = operand1;
|
|
3517
|
-
PyObject *operand2_object =
|
|
3525
|
+
PyObject *operand2_object = Nuitka_PyLong_FromLong(operand2);
|
|
3518
3526
|
|
|
3519
3527
|
PyObject *r = PyLong_Type.tp_as_number->nb_multiply(operand1_object, operand2_object);
|
|
3520
3528
|
assert(r != Py_NotImplemented);
|
|
@@ -5946,6 +5954,7 @@ static PyObject *_BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(PyObject *operand1,
|
|
|
5946
5954
|
goto exit_result_ok_clong;
|
|
5947
5955
|
}
|
|
5948
5956
|
}
|
|
5957
|
+
|
|
5949
5958
|
{
|
|
5950
5959
|
PyObject *operand1_object = operand1;
|
|
5951
5960
|
PyObject *operand2_object = operand2;
|
|
@@ -5958,7 +5967,7 @@ static PyObject *_BINARY_OPERATION_MULT_OBJECT_OBJECT_OBJECT(PyObject *operand1,
|
|
|
5958
5967
|
}
|
|
5959
5968
|
|
|
5960
5969
|
exit_result_ok_clong:
|
|
5961
|
-
result =
|
|
5970
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
5962
5971
|
goto exit_result_ok;
|
|
5963
5972
|
|
|
5964
5973
|
exit_result_object:
|
|
@@ -6198,6 +6207,7 @@ static nuitka_bool _BINARY_OPERATION_MULT_NBOOL_OBJECT_OBJECT(PyObject *operand1
|
|
|
6198
6207
|
goto exit_result_ok_clong;
|
|
6199
6208
|
}
|
|
6200
6209
|
}
|
|
6210
|
+
|
|
6201
6211
|
{
|
|
6202
6212
|
PyObject *operand1_object = operand1;
|
|
6203
6213
|
PyObject *operand2_object = operand2;
|
|
@@ -65,6 +65,7 @@ static PyObject *_BINARY_OPERATION_OLDDIV_OBJECT_INT_INT(PyObject *operand1, PyO
|
|
|
65
65
|
clong_result = a_div_b;
|
|
66
66
|
goto exit_result_ok_clong;
|
|
67
67
|
}
|
|
68
|
+
|
|
68
69
|
{
|
|
69
70
|
PyObject *operand1_object = operand1;
|
|
70
71
|
PyObject *operand2_object = operand2;
|
|
@@ -77,7 +78,7 @@ static PyObject *_BINARY_OPERATION_OLDDIV_OBJECT_INT_INT(PyObject *operand1, PyO
|
|
|
77
78
|
}
|
|
78
79
|
|
|
79
80
|
exit_result_ok_clong:
|
|
80
|
-
result =
|
|
81
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
81
82
|
goto exit_result_ok;
|
|
82
83
|
|
|
83
84
|
exit_result_object:
|
|
@@ -292,6 +293,7 @@ static PyObject *_BINARY_OPERATION_OLDDIV_OBJECT_OBJECT_INT(PyObject *operand1,
|
|
|
292
293
|
clong_result = a_div_b;
|
|
293
294
|
goto exit_result_ok_clong;
|
|
294
295
|
}
|
|
296
|
+
|
|
295
297
|
{
|
|
296
298
|
PyObject *operand1_object = operand1;
|
|
297
299
|
PyObject *operand2_object = operand2;
|
|
@@ -304,7 +306,7 @@ static PyObject *_BINARY_OPERATION_OLDDIV_OBJECT_OBJECT_INT(PyObject *operand1,
|
|
|
304
306
|
}
|
|
305
307
|
|
|
306
308
|
exit_result_ok_clong:
|
|
307
|
-
result =
|
|
309
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
308
310
|
goto exit_result_ok;
|
|
309
311
|
|
|
310
312
|
exit_result_object:
|
|
@@ -535,6 +537,7 @@ static PyObject *_BINARY_OPERATION_OLDDIV_OBJECT_INT_OBJECT(PyObject *operand1,
|
|
|
535
537
|
clong_result = a_div_b;
|
|
536
538
|
goto exit_result_ok_clong;
|
|
537
539
|
}
|
|
540
|
+
|
|
538
541
|
{
|
|
539
542
|
PyObject *operand1_object = operand1;
|
|
540
543
|
PyObject *operand2_object = operand2;
|
|
@@ -547,7 +550,7 @@ static PyObject *_BINARY_OPERATION_OLDDIV_OBJECT_INT_OBJECT(PyObject *operand1,
|
|
|
547
550
|
}
|
|
548
551
|
|
|
549
552
|
exit_result_ok_clong:
|
|
550
|
-
result =
|
|
553
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
551
554
|
goto exit_result_ok;
|
|
552
555
|
|
|
553
556
|
exit_result_object:
|
|
@@ -1856,9 +1859,10 @@ static PyObject *_BINARY_OPERATION_OLDDIV_OBJECT_INT_CLONG(PyObject *operand1, l
|
|
|
1856
1859
|
clong_result = a_div_b;
|
|
1857
1860
|
goto exit_result_ok_clong;
|
|
1858
1861
|
}
|
|
1862
|
+
|
|
1859
1863
|
{
|
|
1860
1864
|
PyObject *operand1_object = operand1;
|
|
1861
|
-
PyObject *operand2_object =
|
|
1865
|
+
PyObject *operand2_object = Nuitka_PyLong_FromLong(operand2);
|
|
1862
1866
|
|
|
1863
1867
|
PyObject *r = PyLong_Type.tp_as_number->nb_divide(operand1_object, operand2_object);
|
|
1864
1868
|
assert(r != Py_NotImplemented);
|
|
@@ -1870,7 +1874,7 @@ static PyObject *_BINARY_OPERATION_OLDDIV_OBJECT_INT_CLONG(PyObject *operand1, l
|
|
|
1870
1874
|
}
|
|
1871
1875
|
|
|
1872
1876
|
exit_result_ok_clong:
|
|
1873
|
-
result =
|
|
1877
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
1874
1878
|
goto exit_result_ok;
|
|
1875
1879
|
|
|
1876
1880
|
exit_result_object:
|
|
@@ -1945,8 +1949,9 @@ static PyObject *_BINARY_OPERATION_OLDDIV_OBJECT_CLONG_INT(long operand1, PyObje
|
|
|
1945
1949
|
clong_result = a_div_b;
|
|
1946
1950
|
goto exit_result_ok_clong;
|
|
1947
1951
|
}
|
|
1952
|
+
|
|
1948
1953
|
{
|
|
1949
|
-
PyObject *operand1_object =
|
|
1954
|
+
PyObject *operand1_object = Nuitka_PyLong_FromLong(operand1);
|
|
1950
1955
|
PyObject *operand2_object = operand2;
|
|
1951
1956
|
|
|
1952
1957
|
PyObject *r = PyLong_Type.tp_as_number->nb_divide(operand1_object, operand2_object);
|
|
@@ -1959,7 +1964,7 @@ static PyObject *_BINARY_OPERATION_OLDDIV_OBJECT_CLONG_INT(long operand1, PyObje
|
|
|
1959
1964
|
}
|
|
1960
1965
|
|
|
1961
1966
|
exit_result_ok_clong:
|
|
1962
|
-
result =
|
|
1967
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
1963
1968
|
goto exit_result_ok;
|
|
1964
1969
|
|
|
1965
1970
|
exit_result_object:
|
|
@@ -2150,6 +2155,7 @@ static PyObject *_BINARY_OPERATION_OLDDIV_OBJECT_OBJECT_OBJECT(PyObject *operand
|
|
|
2150
2155
|
clong_result = a_div_b;
|
|
2151
2156
|
goto exit_result_ok_clong;
|
|
2152
2157
|
}
|
|
2158
|
+
|
|
2153
2159
|
{
|
|
2154
2160
|
PyObject *operand1_object = operand1;
|
|
2155
2161
|
PyObject *operand2_object = operand2;
|
|
@@ -2162,7 +2168,7 @@ static PyObject *_BINARY_OPERATION_OLDDIV_OBJECT_OBJECT_OBJECT(PyObject *operand
|
|
|
2162
2168
|
}
|
|
2163
2169
|
|
|
2164
2170
|
exit_result_ok_clong:
|
|
2165
|
-
result =
|
|
2171
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
2166
2172
|
goto exit_result_ok;
|
|
2167
2173
|
|
|
2168
2174
|
exit_result_object:
|
|
@@ -1291,8 +1291,8 @@ static PyObject *_BINARY_OPERATION_POW_OBJECT_INT_INT(PyObject *operand1, PyObje
|
|
|
1291
1291
|
break;
|
|
1292
1292
|
}
|
|
1293
1293
|
if (ix / temp != prev) {
|
|
1294
|
-
PyObject *operand1_long =
|
|
1295
|
-
PyObject *operand2_long =
|
|
1294
|
+
PyObject *operand1_long = Nuitka_PyLong_FromLong(a);
|
|
1295
|
+
PyObject *operand2_long = Nuitka_PyLong_FromLong(b);
|
|
1296
1296
|
|
|
1297
1297
|
PyObject *r = _BINARY_OPERATION_POW_OBJECT_LONG_LONG(operand1_long, operand2_long);
|
|
1298
1298
|
|
|
@@ -1311,8 +1311,8 @@ static PyObject *_BINARY_OPERATION_POW_OBJECT_INT_INT(PyObject *operand1, PyObje
|
|
|
1311
1311
|
temp = (unsigned long)temp * temp;
|
|
1312
1312
|
|
|
1313
1313
|
if (prev != 0 && temp / prev != prev) {
|
|
1314
|
-
PyObject *operand1_long =
|
|
1315
|
-
PyObject *operand2_long =
|
|
1314
|
+
PyObject *operand1_long = Nuitka_PyLong_FromLong(a);
|
|
1315
|
+
PyObject *operand2_long = Nuitka_PyLong_FromLong(b);
|
|
1316
1316
|
|
|
1317
1317
|
PyObject *r = _BINARY_OPERATION_POW_OBJECT_LONG_LONG(operand1_long, operand2_long);
|
|
1318
1318
|
|
|
@@ -1329,7 +1329,7 @@ static PyObject *_BINARY_OPERATION_POW_OBJECT_INT_INT(PyObject *operand1, PyObje
|
|
|
1329
1329
|
}
|
|
1330
1330
|
|
|
1331
1331
|
exit_result_ok_clong:
|
|
1332
|
-
result =
|
|
1332
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
1333
1333
|
goto exit_result_ok;
|
|
1334
1334
|
|
|
1335
1335
|
exit_result_object:
|
|
@@ -1543,8 +1543,8 @@ static PyObject *_BINARY_OPERATION_POW_OBJECT_OBJECT_INT(PyObject *operand1, PyO
|
|
|
1543
1543
|
break;
|
|
1544
1544
|
}
|
|
1545
1545
|
if (ix / temp != prev) {
|
|
1546
|
-
PyObject *operand1_long =
|
|
1547
|
-
PyObject *operand2_long =
|
|
1546
|
+
PyObject *operand1_long = Nuitka_PyLong_FromLong(a);
|
|
1547
|
+
PyObject *operand2_long = Nuitka_PyLong_FromLong(b);
|
|
1548
1548
|
|
|
1549
1549
|
PyObject *r = _BINARY_OPERATION_POW_OBJECT_LONG_LONG(operand1_long, operand2_long);
|
|
1550
1550
|
|
|
@@ -1563,8 +1563,8 @@ static PyObject *_BINARY_OPERATION_POW_OBJECT_OBJECT_INT(PyObject *operand1, PyO
|
|
|
1563
1563
|
temp = (unsigned long)temp * temp;
|
|
1564
1564
|
|
|
1565
1565
|
if (prev != 0 && temp / prev != prev) {
|
|
1566
|
-
PyObject *operand1_long =
|
|
1567
|
-
PyObject *operand2_long =
|
|
1566
|
+
PyObject *operand1_long = Nuitka_PyLong_FromLong(a);
|
|
1567
|
+
PyObject *operand2_long = Nuitka_PyLong_FromLong(b);
|
|
1568
1568
|
|
|
1569
1569
|
PyObject *r = _BINARY_OPERATION_POW_OBJECT_LONG_LONG(operand1_long, operand2_long);
|
|
1570
1570
|
|
|
@@ -1581,7 +1581,7 @@ static PyObject *_BINARY_OPERATION_POW_OBJECT_OBJECT_INT(PyObject *operand1, PyO
|
|
|
1581
1581
|
}
|
|
1582
1582
|
|
|
1583
1583
|
exit_result_ok_clong:
|
|
1584
|
-
result =
|
|
1584
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
1585
1585
|
goto exit_result_ok;
|
|
1586
1586
|
|
|
1587
1587
|
exit_result_object:
|
|
@@ -1811,8 +1811,8 @@ static PyObject *_BINARY_OPERATION_POW_OBJECT_INT_OBJECT(PyObject *operand1, PyO
|
|
|
1811
1811
|
break;
|
|
1812
1812
|
}
|
|
1813
1813
|
if (ix / temp != prev) {
|
|
1814
|
-
PyObject *operand1_long =
|
|
1815
|
-
PyObject *operand2_long =
|
|
1814
|
+
PyObject *operand1_long = Nuitka_PyLong_FromLong(a);
|
|
1815
|
+
PyObject *operand2_long = Nuitka_PyLong_FromLong(b);
|
|
1816
1816
|
|
|
1817
1817
|
PyObject *r = _BINARY_OPERATION_POW_OBJECT_LONG_LONG(operand1_long, operand2_long);
|
|
1818
1818
|
|
|
@@ -1831,8 +1831,8 @@ static PyObject *_BINARY_OPERATION_POW_OBJECT_INT_OBJECT(PyObject *operand1, PyO
|
|
|
1831
1831
|
temp = (unsigned long)temp * temp;
|
|
1832
1832
|
|
|
1833
1833
|
if (prev != 0 && temp / prev != prev) {
|
|
1834
|
-
PyObject *operand1_long =
|
|
1835
|
-
PyObject *operand2_long =
|
|
1834
|
+
PyObject *operand1_long = Nuitka_PyLong_FromLong(a);
|
|
1835
|
+
PyObject *operand2_long = Nuitka_PyLong_FromLong(b);
|
|
1836
1836
|
|
|
1837
1837
|
PyObject *r = _BINARY_OPERATION_POW_OBJECT_LONG_LONG(operand1_long, operand2_long);
|
|
1838
1838
|
|
|
@@ -1849,7 +1849,7 @@ static PyObject *_BINARY_OPERATION_POW_OBJECT_INT_OBJECT(PyObject *operand1, PyO
|
|
|
1849
1849
|
}
|
|
1850
1850
|
|
|
1851
1851
|
exit_result_ok_clong:
|
|
1852
|
-
result =
|
|
1852
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
1853
1853
|
goto exit_result_ok;
|
|
1854
1854
|
|
|
1855
1855
|
exit_result_object:
|
|
@@ -2245,8 +2245,8 @@ static PyObject *_BINARY_OPERATION_POW_OBJECT_OBJECT_OBJECT(PyObject *operand1,
|
|
|
2245
2245
|
break;
|
|
2246
2246
|
}
|
|
2247
2247
|
if (ix / temp != prev) {
|
|
2248
|
-
PyObject *operand1_long =
|
|
2249
|
-
PyObject *operand2_long =
|
|
2248
|
+
PyObject *operand1_long = Nuitka_PyLong_FromLong(a);
|
|
2249
|
+
PyObject *operand2_long = Nuitka_PyLong_FromLong(b);
|
|
2250
2250
|
|
|
2251
2251
|
PyObject *r = _BINARY_OPERATION_POW_OBJECT_LONG_LONG(operand1_long, operand2_long);
|
|
2252
2252
|
|
|
@@ -2265,8 +2265,8 @@ static PyObject *_BINARY_OPERATION_POW_OBJECT_OBJECT_OBJECT(PyObject *operand1,
|
|
|
2265
2265
|
temp = (unsigned long)temp * temp;
|
|
2266
2266
|
|
|
2267
2267
|
if (prev != 0 && temp / prev != prev) {
|
|
2268
|
-
PyObject *operand1_long =
|
|
2269
|
-
PyObject *operand2_long =
|
|
2268
|
+
PyObject *operand1_long = Nuitka_PyLong_FromLong(a);
|
|
2269
|
+
PyObject *operand2_long = Nuitka_PyLong_FromLong(b);
|
|
2270
2270
|
|
|
2271
2271
|
PyObject *r = _BINARY_OPERATION_POW_OBJECT_LONG_LONG(operand1_long, operand2_long);
|
|
2272
2272
|
|
|
@@ -2283,7 +2283,7 @@ static PyObject *_BINARY_OPERATION_POW_OBJECT_OBJECT_OBJECT(PyObject *operand1,
|
|
|
2283
2283
|
}
|
|
2284
2284
|
|
|
2285
2285
|
exit_result_ok_clong:
|
|
2286
|
-
result =
|
|
2286
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
2287
2287
|
goto exit_result_ok;
|
|
2288
2288
|
|
|
2289
2289
|
exit_result_object:
|
|
@@ -2509,8 +2509,8 @@ static nuitka_bool _BINARY_OPERATION_POW_NBOOL_OBJECT_OBJECT(PyObject *operand1,
|
|
|
2509
2509
|
break;
|
|
2510
2510
|
}
|
|
2511
2511
|
if (ix / temp != prev) {
|
|
2512
|
-
PyObject *operand1_long =
|
|
2513
|
-
PyObject *operand2_long =
|
|
2512
|
+
PyObject *operand1_long = Nuitka_PyLong_FromLong(a);
|
|
2513
|
+
PyObject *operand2_long = Nuitka_PyLong_FromLong(b);
|
|
2514
2514
|
|
|
2515
2515
|
PyObject *r = _BINARY_OPERATION_POW_OBJECT_LONG_LONG(operand1_long, operand2_long);
|
|
2516
2516
|
|
|
@@ -2529,8 +2529,8 @@ static nuitka_bool _BINARY_OPERATION_POW_NBOOL_OBJECT_OBJECT(PyObject *operand1,
|
|
|
2529
2529
|
temp = (unsigned long)temp * temp;
|
|
2530
2530
|
|
|
2531
2531
|
if (prev != 0 && temp / prev != prev) {
|
|
2532
|
-
PyObject *operand1_long =
|
|
2533
|
-
PyObject *operand2_long =
|
|
2532
|
+
PyObject *operand1_long = Nuitka_PyLong_FromLong(a);
|
|
2533
|
+
PyObject *operand2_long = Nuitka_PyLong_FromLong(b);
|
|
2534
2534
|
|
|
2535
2535
|
PyObject *r = _BINARY_OPERATION_POW_OBJECT_LONG_LONG(operand1_long, operand2_long);
|
|
2536
2536
|
|
|
@@ -949,7 +949,7 @@ static PyObject *_BINARY_OPERATION_RSHIFT_OBJECT_INT_INT(PyObject *operand1, PyO
|
|
|
949
949
|
}
|
|
950
950
|
|
|
951
951
|
exit_result_ok_clong:
|
|
952
|
-
result =
|
|
952
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
953
953
|
goto exit_result_ok;
|
|
954
954
|
|
|
955
955
|
exit_result_ok_left:
|
|
@@ -1171,7 +1171,7 @@ static PyObject *_BINARY_OPERATION_RSHIFT_OBJECT_OBJECT_INT(PyObject *operand1,
|
|
|
1171
1171
|
}
|
|
1172
1172
|
|
|
1173
1173
|
exit_result_ok_clong:
|
|
1174
|
-
result =
|
|
1174
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
1175
1175
|
goto exit_result_ok;
|
|
1176
1176
|
|
|
1177
1177
|
exit_result_ok_left:
|
|
@@ -1409,7 +1409,7 @@ static PyObject *_BINARY_OPERATION_RSHIFT_OBJECT_INT_OBJECT(PyObject *operand1,
|
|
|
1409
1409
|
}
|
|
1410
1410
|
|
|
1411
1411
|
exit_result_ok_clong:
|
|
1412
|
-
result =
|
|
1412
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
1413
1413
|
goto exit_result_ok;
|
|
1414
1414
|
|
|
1415
1415
|
exit_result_ok_left:
|
|
@@ -2275,7 +2275,7 @@ static PyObject *_BINARY_OPERATION_RSHIFT_OBJECT_OBJECT_OBJECT(PyObject *operand
|
|
|
2275
2275
|
}
|
|
2276
2276
|
|
|
2277
2277
|
exit_result_ok_clong:
|
|
2278
|
-
result =
|
|
2278
|
+
result = Nuitka_PyInt_FromLong(clong_result);
|
|
2279
2279
|
goto exit_result_ok;
|
|
2280
2280
|
|
|
2281
2281
|
exit_result_ok_left:
|