Nuitka-winsvc 2.4.11__cp311-cp311-win_amd64.whl → 2.5.6__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.11.dist-info → Nuitka_winsvc-2.5.6.dist-info}/METADATA +56 -109
- {Nuitka_winsvc-2.4.11.dist-info → Nuitka_winsvc-2.5.6.dist-info}/RECORD +304 -280
- {Nuitka_winsvc-2.4.11.dist-info → Nuitka_winsvc-2.5.6.dist-info}/WHEEL +1 -1
- nuitka/Builtins.py +31 -0
- nuitka/HardImportRegistry.py +8 -0
- nuitka/MainControl.py +9 -4
- nuitka/OptionParsing.py +108 -54
- nuitka/Options.py +69 -13
- 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 +4 -0
- nuitka/build/SconsCompilerSettings.py +14 -3
- nuitka/build/SconsInterface.py +3 -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 +8 -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 +75 -31
- 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/helper/tuples.h +12 -0
- nuitka/build/include/nuitka/helpers.h +12 -2
- nuitka/build/include/nuitka/prelude.h +36 -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 +106 -40
- nuitka/build/static_src/CompiledCoroutineType.c +41 -31
- 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 +433 -46
- nuitka/build/static_src/CompiledMethodType.c +6 -12
- nuitka/build/static_src/HelpersAllocator.c +266 -28
- nuitka/build/static_src/HelpersAttributes.c +0 -21
- nuitka/build/static_src/HelpersBuiltin.c +23 -14
- 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/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 +4 -2
- nuitka/build/static_src/HelpersDeepcopy.c +1 -0
- nuitka/build/static_src/HelpersDictionaries.c +195 -36
- nuitka/build/static_src/HelpersDictionariesGenerated.c +12 -107
- 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/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 +2 -2
- nuitka/build/static_src/HelpersTypes.c +98 -2
- nuitka/build/static_src/MainProgram.c +132 -28
- 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 +76 -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 +4 -106
- 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 +5 -2
- nuitka/freezer/DllDependenciesMacOS.py +18 -1
- nuitka/freezer/DllDependenciesWin32.py +26 -12
- nuitka/freezer/ImportDetection.py +6 -0
- nuitka/freezer/IncludedDataFiles.py +37 -6
- nuitka/freezer/Onefile.py +1 -0
- nuitka/freezer/Standalone.py +72 -18
- nuitka/importing/Importing.py +33 -6
- nuitka/importing/Recursion.py +5 -2
- nuitka/importing/StandardLibrary.py +57 -59
- nuitka/nodes/AsyncgenNodes.py +3 -6
- nuitka/nodes/BuiltinIteratorNodes.py +2 -2
- 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/DictionaryNodes.py +1 -1
- 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/VariableAssignNodes.py +2 -1
- nuitka/nodes/shapes/BuiltinTypeShapes.py +24 -7
- nuitka/nodes/shapes/IteratorShapes.py +71 -0
- nuitka/nodes/shapes/ShapeMixins.py +18 -0
- nuitka/nodes/shapes/StandardShapes.py +47 -44
- nuitka/optimizations/BytecodeDemotion.py +2 -1
- nuitka/plugins/PluginBase.py +64 -22
- nuitka/plugins/Plugins.py +16 -3
- nuitka/plugins/standard/AntiBloatPlugin.py +23 -12
- nuitka/plugins/standard/DllFilesPlugin.py +78 -2
- nuitka/plugins/standard/ImplicitImports.py +5 -15
- nuitka/plugins/standard/KivyPlugin.py +3 -12
- nuitka/plugins/standard/MatplotlibPlugin.py +12 -1
- nuitka/plugins/standard/MultiprocessingPlugin.py +11 -20
- nuitka/plugins/standard/OptionsNannyPlugin.py +5 -4
- nuitka/plugins/standard/PlaywrightPlugin.py +184 -0
- nuitka/plugins/standard/PySidePyQtPlugin.py +8 -0
- nuitka/plugins/standard/TkinterPlugin.py +23 -3
- nuitka/plugins/standard/TransformersPlugin.py +70 -275
- nuitka/plugins/standard/standard.nuitka-package.config.yml +413 -30
- 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/environments/Virtualenv.py +13 -5
- nuitka/tools/general/dll_report/__main__.py +10 -1
- nuitka/tools/onefile_compressor/OnefileCompressor.py +1 -1
- nuitka/tools/podman/__main__.py +4 -2
- nuitka/tools/specialize/CTypeDescriptions.py +158 -9
- nuitka/tools/specialize/SpecializeC.py +218 -56
- nuitka/tools/testing/Common.py +69 -62
- 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 +18 -39
- nuitka/utils/Hashing.py +5 -1
- 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/SharedLibraries.py +24 -0
- nuitka/utils/Signing.py +9 -1
- nuitka/utils/Utils.py +1 -0
- {Nuitka_winsvc-2.4.11.data → Nuitka_winsvc-2.5.6.data}/scripts/nuitka-run.cmd +0 -0
- {Nuitka_winsvc-2.4.11.data → Nuitka_winsvc-2.5.6.data}/scripts/nuitka.cmd +0 -0
- {Nuitka_winsvc-2.4.11.dist-info → Nuitka_winsvc-2.5.6.dist-info}/LICENSE.txt +0 -0
- {Nuitka_winsvc-2.4.11.dist-info → Nuitka_winsvc-2.5.6.dist-info}/entry_points.txt +0 -0
- {Nuitka_winsvc-2.4.11.dist-info → Nuitka_winsvc-2.5.6.dist-info}/top_level.txt +0 -0
|
@@ -531,7 +531,7 @@ exit_result_ok_clong:
|
|
|
531
531
|
|
|
532
532
|
// That's our return value then. As we use a dedicated variable, it's
|
|
533
533
|
// OK that way.
|
|
534
|
-
*operand1 =
|
|
534
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
535
535
|
goto exit_result_ok;
|
|
536
536
|
|
|
537
537
|
exit_result_ok:
|
|
@@ -749,7 +749,7 @@ static inline bool _INPLACE_OPERATION_BITOR_OBJECT_INT(PyObject **operand1, PyOb
|
|
|
749
749
|
|
|
750
750
|
// That's our return value then. As we use a dedicated variable, it's
|
|
751
751
|
// OK that way.
|
|
752
|
-
*operand1 =
|
|
752
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
753
753
|
goto exit_result_ok;
|
|
754
754
|
|
|
755
755
|
exit_result_ok:
|
|
@@ -971,7 +971,7 @@ static inline bool _INPLACE_OPERATION_BITOR_INT_OBJECT(PyObject **operand1, PyOb
|
|
|
971
971
|
|
|
972
972
|
// That's our return value then. As we use a dedicated variable, it's
|
|
973
973
|
// OK that way.
|
|
974
|
-
*operand1 =
|
|
974
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
975
975
|
goto exit_result_ok;
|
|
976
976
|
|
|
977
977
|
exit_result_ok:
|
|
@@ -1025,7 +1025,7 @@ exit_result_ok_clong:
|
|
|
1025
1025
|
|
|
1026
1026
|
// That's our return value then. As we use a dedicated variable, it's
|
|
1027
1027
|
// OK that way.
|
|
1028
|
-
*operand1 =
|
|
1028
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
1029
1029
|
goto exit_result_ok;
|
|
1030
1030
|
|
|
1031
1031
|
exit_result_ok:
|
|
@@ -1614,7 +1614,7 @@ static inline bool _INPLACE_OPERATION_BITOR_OBJECT_OBJECT(PyObject **operand1, P
|
|
|
1614
1614
|
|
|
1615
1615
|
// That's our return value then. As we use a dedicated variable, it's
|
|
1616
1616
|
// OK that way.
|
|
1617
|
-
*operand1 =
|
|
1617
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
1618
1618
|
goto exit_result_ok;
|
|
1619
1619
|
|
|
1620
1620
|
exit_result_ok:
|
|
@@ -531,7 +531,7 @@ exit_result_ok_clong:
|
|
|
531
531
|
|
|
532
532
|
// That's our return value then. As we use a dedicated variable, it's
|
|
533
533
|
// OK that way.
|
|
534
|
-
*operand1 =
|
|
534
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
535
535
|
goto exit_result_ok;
|
|
536
536
|
|
|
537
537
|
exit_result_ok:
|
|
@@ -749,7 +749,7 @@ static inline bool _INPLACE_OPERATION_BITXOR_OBJECT_INT(PyObject **operand1, PyO
|
|
|
749
749
|
|
|
750
750
|
// That's our return value then. As we use a dedicated variable, it's
|
|
751
751
|
// OK that way.
|
|
752
|
-
*operand1 =
|
|
752
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
753
753
|
goto exit_result_ok;
|
|
754
754
|
|
|
755
755
|
exit_result_ok:
|
|
@@ -971,7 +971,7 @@ static inline bool _INPLACE_OPERATION_BITXOR_INT_OBJECT(PyObject **operand1, PyO
|
|
|
971
971
|
|
|
972
972
|
// That's our return value then. As we use a dedicated variable, it's
|
|
973
973
|
// OK that way.
|
|
974
|
-
*operand1 =
|
|
974
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
975
975
|
goto exit_result_ok;
|
|
976
976
|
|
|
977
977
|
exit_result_ok:
|
|
@@ -1025,7 +1025,7 @@ exit_result_ok_clong:
|
|
|
1025
1025
|
|
|
1026
1026
|
// That's our return value then. As we use a dedicated variable, it's
|
|
1027
1027
|
// OK that way.
|
|
1028
|
-
*operand1 =
|
|
1028
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
1029
1029
|
goto exit_result_ok;
|
|
1030
1030
|
|
|
1031
1031
|
exit_result_ok:
|
|
@@ -1614,7 +1614,7 @@ static inline bool _INPLACE_OPERATION_BITXOR_OBJECT_OBJECT(PyObject **operand1,
|
|
|
1614
1614
|
|
|
1615
1615
|
// That's our return value then. As we use a dedicated variable, it's
|
|
1616
1616
|
// OK that way.
|
|
1617
|
-
*operand1 =
|
|
1617
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
1618
1618
|
goto exit_result_ok;
|
|
1619
1619
|
|
|
1620
1620
|
exit_result_ok:
|
|
@@ -65,6 +65,7 @@ static inline bool _INPLACE_OPERATION_FLOORDIV_INT_INT(PyObject **operand1, PyOb
|
|
|
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;
|
|
@@ -83,7 +84,7 @@ exit_result_ok_clong:
|
|
|
83
84
|
|
|
84
85
|
// That's our return value then. As we use a dedicated variable, it's
|
|
85
86
|
// OK that way.
|
|
86
|
-
*operand1 =
|
|
87
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
87
88
|
goto exit_result_ok;
|
|
88
89
|
|
|
89
90
|
exit_result_object:
|
|
@@ -328,6 +329,7 @@ static inline bool _INPLACE_OPERATION_FLOORDIV_OBJECT_INT(PyObject **operand1, P
|
|
|
328
329
|
clong_result = a_div_b;
|
|
329
330
|
goto exit_result_ok_clong;
|
|
330
331
|
}
|
|
332
|
+
|
|
331
333
|
{
|
|
332
334
|
PyObject *operand1_object = *operand1;
|
|
333
335
|
PyObject *operand2_object = operand2;
|
|
@@ -346,7 +348,7 @@ static inline bool _INPLACE_OPERATION_FLOORDIV_OBJECT_INT(PyObject **operand1, P
|
|
|
346
348
|
|
|
347
349
|
// That's our return value then. As we use a dedicated variable, it's
|
|
348
350
|
// OK that way.
|
|
349
|
-
*operand1 =
|
|
351
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
350
352
|
goto exit_result_ok;
|
|
351
353
|
|
|
352
354
|
exit_result_object:
|
|
@@ -595,6 +597,7 @@ static inline bool _INPLACE_OPERATION_FLOORDIV_INT_OBJECT(PyObject **operand1, P
|
|
|
595
597
|
clong_result = a_div_b;
|
|
596
598
|
goto exit_result_ok_clong;
|
|
597
599
|
}
|
|
600
|
+
|
|
598
601
|
{
|
|
599
602
|
PyObject *operand1_object = *operand1;
|
|
600
603
|
PyObject *operand2_object = operand2;
|
|
@@ -613,7 +616,7 @@ static inline bool _INPLACE_OPERATION_FLOORDIV_INT_OBJECT(PyObject **operand1, P
|
|
|
613
616
|
|
|
614
617
|
// That's our return value then. As we use a dedicated variable, it's
|
|
615
618
|
// OK that way.
|
|
616
|
-
*operand1 =
|
|
619
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
617
620
|
goto exit_result_ok;
|
|
618
621
|
|
|
619
622
|
exit_result_object:
|
|
@@ -2173,9 +2176,10 @@ static inline bool _INPLACE_OPERATION_FLOORDIV_INT_CLONG(PyObject **operand1, lo
|
|
|
2173
2176
|
clong_result = a_div_b;
|
|
2174
2177
|
goto exit_result_ok_clong;
|
|
2175
2178
|
}
|
|
2179
|
+
|
|
2176
2180
|
{
|
|
2177
2181
|
PyObject *operand1_object = *operand1;
|
|
2178
|
-
PyObject *operand2_object =
|
|
2182
|
+
PyObject *operand2_object = Nuitka_PyLong_FromLong(operand2);
|
|
2179
2183
|
|
|
2180
2184
|
PyObject *r = PyLong_Type.tp_as_number->nb_floor_divide(operand1_object, operand2_object);
|
|
2181
2185
|
assert(r != Py_NotImplemented);
|
|
@@ -2193,7 +2197,7 @@ exit_result_ok_clong:
|
|
|
2193
2197
|
|
|
2194
2198
|
// That's our return value then. As we use a dedicated variable, it's
|
|
2195
2199
|
// OK that way.
|
|
2196
|
-
*operand1 =
|
|
2200
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
2197
2201
|
goto exit_result_ok;
|
|
2198
2202
|
|
|
2199
2203
|
exit_result_object:
|
|
@@ -2352,6 +2356,7 @@ static inline bool _INPLACE_OPERATION_FLOORDIV_OBJECT_OBJECT(PyObject **operand1
|
|
|
2352
2356
|
clong_result = a_div_b;
|
|
2353
2357
|
goto exit_result_ok_clong;
|
|
2354
2358
|
}
|
|
2359
|
+
|
|
2355
2360
|
{
|
|
2356
2361
|
PyObject *operand1_object = *operand1;
|
|
2357
2362
|
PyObject *operand2_object = operand2;
|
|
@@ -2370,7 +2375,7 @@ static inline bool _INPLACE_OPERATION_FLOORDIV_OBJECT_OBJECT(PyObject **operand1
|
|
|
2370
2375
|
|
|
2371
2376
|
// That's our return value then. As we use a dedicated variable, it's
|
|
2372
2377
|
// OK that way.
|
|
2373
|
-
*operand1 =
|
|
2378
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
2374
2379
|
goto exit_result_ok;
|
|
2375
2380
|
|
|
2376
2381
|
exit_result_object:
|
|
@@ -530,8 +530,8 @@ static inline bool _INPLACE_OPERATION_LSHIFT_INT_INT(PyObject **operand1, PyObje
|
|
|
530
530
|
if (a == 0 || b == 0) {
|
|
531
531
|
goto exit_result_ok_left;
|
|
532
532
|
} else if (b >= LONG_BIT) {
|
|
533
|
-
PyObject *operand1_long =
|
|
534
|
-
PyObject *operand2_long =
|
|
533
|
+
PyObject *operand1_long = Nuitka_PyLong_FromLong(a);
|
|
534
|
+
PyObject *operand2_long = Nuitka_PyLong_FromLong(b);
|
|
535
535
|
|
|
536
536
|
// TODO: Change this to using CLONG once we specialize that too.
|
|
537
537
|
PyObject *r = _BINARY_OPERATION_LSHIFT_OBJECT_LONG_LONG(operand1_long, operand2_long);
|
|
@@ -545,8 +545,8 @@ static inline bool _INPLACE_OPERATION_LSHIFT_INT_INT(PyObject **operand1, PyObje
|
|
|
545
545
|
long c = a << b;
|
|
546
546
|
|
|
547
547
|
if (a != Py_ARITHMETIC_RIGHT_SHIFT(long, c, b)) {
|
|
548
|
-
PyObject *operand1_long =
|
|
549
|
-
PyObject *operand2_long =
|
|
548
|
+
PyObject *operand1_long = Nuitka_PyLong_FromLong(a);
|
|
549
|
+
PyObject *operand2_long = Nuitka_PyLong_FromLong(b);
|
|
550
550
|
|
|
551
551
|
// TODO: Change this to using CLONG once we specialize that too.
|
|
552
552
|
PyObject *r = _BINARY_OPERATION_LSHIFT_OBJECT_LONG_LONG(operand1_long, operand2_long);
|
|
@@ -569,7 +569,7 @@ exit_result_ok_clong:
|
|
|
569
569
|
|
|
570
570
|
// That's our return value then. As we use a dedicated variable, it's
|
|
571
571
|
// OK that way.
|
|
572
|
-
*operand1 =
|
|
572
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
573
573
|
goto exit_result_ok;
|
|
574
574
|
|
|
575
575
|
exit_result_ok_left:
|
|
@@ -801,8 +801,8 @@ static inline bool _INPLACE_OPERATION_LSHIFT_OBJECT_INT(PyObject **operand1, PyO
|
|
|
801
801
|
if (a == 0 || b == 0) {
|
|
802
802
|
goto exit_result_ok_left;
|
|
803
803
|
} else if (b >= LONG_BIT) {
|
|
804
|
-
PyObject *operand1_long =
|
|
805
|
-
PyObject *operand2_long =
|
|
804
|
+
PyObject *operand1_long = Nuitka_PyLong_FromLong(a);
|
|
805
|
+
PyObject *operand2_long = Nuitka_PyLong_FromLong(b);
|
|
806
806
|
|
|
807
807
|
// TODO: Change this to using CLONG once we specialize that too.
|
|
808
808
|
PyObject *r = _BINARY_OPERATION_LSHIFT_OBJECT_LONG_LONG(operand1_long, operand2_long);
|
|
@@ -816,8 +816,8 @@ static inline bool _INPLACE_OPERATION_LSHIFT_OBJECT_INT(PyObject **operand1, PyO
|
|
|
816
816
|
long c = a << b;
|
|
817
817
|
|
|
818
818
|
if (a != Py_ARITHMETIC_RIGHT_SHIFT(long, c, b)) {
|
|
819
|
-
PyObject *operand1_long =
|
|
820
|
-
PyObject *operand2_long =
|
|
819
|
+
PyObject *operand1_long = Nuitka_PyLong_FromLong(a);
|
|
820
|
+
PyObject *operand2_long = Nuitka_PyLong_FromLong(b);
|
|
821
821
|
|
|
822
822
|
// TODO: Change this to using CLONG once we specialize that too.
|
|
823
823
|
PyObject *r = _BINARY_OPERATION_LSHIFT_OBJECT_LONG_LONG(operand1_long, operand2_long);
|
|
@@ -840,7 +840,7 @@ static inline bool _INPLACE_OPERATION_LSHIFT_OBJECT_INT(PyObject **operand1, PyO
|
|
|
840
840
|
|
|
841
841
|
// That's our return value then. As we use a dedicated variable, it's
|
|
842
842
|
// OK that way.
|
|
843
|
-
*operand1 =
|
|
843
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
844
844
|
goto exit_result_ok;
|
|
845
845
|
|
|
846
846
|
exit_result_ok_left:
|
|
@@ -1077,8 +1077,8 @@ static inline bool _INPLACE_OPERATION_LSHIFT_INT_OBJECT(PyObject **operand1, PyO
|
|
|
1077
1077
|
if (a == 0 || b == 0) {
|
|
1078
1078
|
goto exit_result_ok_left;
|
|
1079
1079
|
} else if (b >= LONG_BIT) {
|
|
1080
|
-
PyObject *operand1_long =
|
|
1081
|
-
PyObject *operand2_long =
|
|
1080
|
+
PyObject *operand1_long = Nuitka_PyLong_FromLong(a);
|
|
1081
|
+
PyObject *operand2_long = Nuitka_PyLong_FromLong(b);
|
|
1082
1082
|
|
|
1083
1083
|
// TODO: Change this to using CLONG once we specialize that too.
|
|
1084
1084
|
PyObject *r = _BINARY_OPERATION_LSHIFT_OBJECT_LONG_LONG(operand1_long, operand2_long);
|
|
@@ -1092,8 +1092,8 @@ static inline bool _INPLACE_OPERATION_LSHIFT_INT_OBJECT(PyObject **operand1, PyO
|
|
|
1092
1092
|
long c = a << b;
|
|
1093
1093
|
|
|
1094
1094
|
if (a != Py_ARITHMETIC_RIGHT_SHIFT(long, c, b)) {
|
|
1095
|
-
PyObject *operand1_long =
|
|
1096
|
-
PyObject *operand2_long =
|
|
1095
|
+
PyObject *operand1_long = Nuitka_PyLong_FromLong(a);
|
|
1096
|
+
PyObject *operand2_long = Nuitka_PyLong_FromLong(b);
|
|
1097
1097
|
|
|
1098
1098
|
// TODO: Change this to using CLONG once we specialize that too.
|
|
1099
1099
|
PyObject *r = _BINARY_OPERATION_LSHIFT_OBJECT_LONG_LONG(operand1_long, operand2_long);
|
|
@@ -1116,7 +1116,7 @@ static inline bool _INPLACE_OPERATION_LSHIFT_INT_OBJECT(PyObject **operand1, PyO
|
|
|
1116
1116
|
|
|
1117
1117
|
// That's our return value then. As we use a dedicated variable, it's
|
|
1118
1118
|
// OK that way.
|
|
1119
|
-
*operand1 =
|
|
1119
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
1120
1120
|
goto exit_result_ok;
|
|
1121
1121
|
|
|
1122
1122
|
exit_result_ok_left:
|
|
@@ -1326,8 +1326,8 @@ static inline bool _INPLACE_OPERATION_LSHIFT_OBJECT_OBJECT(PyObject **operand1,
|
|
|
1326
1326
|
if (a == 0 || b == 0) {
|
|
1327
1327
|
goto exit_result_ok_left;
|
|
1328
1328
|
} else if (b >= LONG_BIT) {
|
|
1329
|
-
PyObject *operand1_long =
|
|
1330
|
-
PyObject *operand2_long =
|
|
1329
|
+
PyObject *operand1_long = Nuitka_PyLong_FromLong(a);
|
|
1330
|
+
PyObject *operand2_long = Nuitka_PyLong_FromLong(b);
|
|
1331
1331
|
|
|
1332
1332
|
// TODO: Change this to using CLONG once we specialize that too.
|
|
1333
1333
|
PyObject *r = _BINARY_OPERATION_LSHIFT_OBJECT_LONG_LONG(operand1_long, operand2_long);
|
|
@@ -1341,8 +1341,8 @@ static inline bool _INPLACE_OPERATION_LSHIFT_OBJECT_OBJECT(PyObject **operand1,
|
|
|
1341
1341
|
long c = a << b;
|
|
1342
1342
|
|
|
1343
1343
|
if (a != Py_ARITHMETIC_RIGHT_SHIFT(long, c, b)) {
|
|
1344
|
-
PyObject *operand1_long =
|
|
1345
|
-
PyObject *operand2_long =
|
|
1344
|
+
PyObject *operand1_long = Nuitka_PyLong_FromLong(a);
|
|
1345
|
+
PyObject *operand2_long = Nuitka_PyLong_FromLong(b);
|
|
1346
1346
|
|
|
1347
1347
|
// TODO: Change this to using CLONG once we specialize that too.
|
|
1348
1348
|
PyObject *r = _BINARY_OPERATION_LSHIFT_OBJECT_LONG_LONG(operand1_long, operand2_long);
|
|
@@ -1365,7 +1365,7 @@ static inline bool _INPLACE_OPERATION_LSHIFT_OBJECT_OBJECT(PyObject **operand1,
|
|
|
1365
1365
|
|
|
1366
1366
|
// That's our return value then. As we use a dedicated variable, it's
|
|
1367
1367
|
// OK that way.
|
|
1368
|
-
*operand1 =
|
|
1368
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
1369
1369
|
goto exit_result_ok;
|
|
1370
1370
|
|
|
1371
1371
|
exit_result_ok_left:
|
|
@@ -442,6 +442,7 @@ static inline bool _INPLACE_OPERATION_MATMULT_OBJECT_OBJECT(PyObject **operand1,
|
|
|
442
442
|
const long b = PyInt_AS_LONG(operand2);
|
|
443
443
|
|
|
444
444
|
#error Operator @ not implemented
|
|
445
|
+
|
|
445
446
|
{
|
|
446
447
|
PyObject *operand1_object = *operand1;
|
|
447
448
|
PyObject *operand2_object = operand2;
|
|
@@ -57,6 +57,7 @@ static inline bool _INPLACE_OPERATION_MOD_INT_INT(PyObject **operand1, PyObject
|
|
|
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;
|
|
@@ -75,7 +76,7 @@ exit_result_ok_clong:
|
|
|
75
76
|
|
|
76
77
|
// That's our return value then. As we use a dedicated variable, it's
|
|
77
78
|
// OK that way.
|
|
78
|
-
*operand1 =
|
|
79
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
79
80
|
goto exit_result_ok;
|
|
80
81
|
|
|
81
82
|
exit_result_object:
|
|
@@ -312,6 +313,7 @@ static inline bool _INPLACE_OPERATION_MOD_OBJECT_INT(PyObject **operand1, PyObje
|
|
|
312
313
|
clong_result = r;
|
|
313
314
|
goto exit_result_ok_clong;
|
|
314
315
|
}
|
|
316
|
+
|
|
315
317
|
{
|
|
316
318
|
PyObject *operand1_object = *operand1;
|
|
317
319
|
PyObject *operand2_object = operand2;
|
|
@@ -330,7 +332,7 @@ static inline bool _INPLACE_OPERATION_MOD_OBJECT_INT(PyObject **operand1, PyObje
|
|
|
330
332
|
|
|
331
333
|
// That's our return value then. As we use a dedicated variable, it's
|
|
332
334
|
// OK that way.
|
|
333
|
-
*operand1 =
|
|
335
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
334
336
|
goto exit_result_ok;
|
|
335
337
|
|
|
336
338
|
exit_result_object:
|
|
@@ -571,6 +573,7 @@ static inline bool _INPLACE_OPERATION_MOD_INT_OBJECT(PyObject **operand1, PyObje
|
|
|
571
573
|
clong_result = r;
|
|
572
574
|
goto exit_result_ok_clong;
|
|
573
575
|
}
|
|
576
|
+
|
|
574
577
|
{
|
|
575
578
|
PyObject *operand1_object = *operand1;
|
|
576
579
|
PyObject *operand2_object = operand2;
|
|
@@ -589,7 +592,7 @@ static inline bool _INPLACE_OPERATION_MOD_INT_OBJECT(PyObject **operand1, PyObje
|
|
|
589
592
|
|
|
590
593
|
// That's our return value then. As we use a dedicated variable, it's
|
|
591
594
|
// OK that way.
|
|
592
|
-
*operand1 =
|
|
595
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
593
596
|
goto exit_result_ok;
|
|
594
597
|
|
|
595
598
|
exit_result_object:
|
|
@@ -2111,9 +2114,10 @@ static inline bool _INPLACE_OPERATION_MOD_INT_CLONG(PyObject **operand1, long op
|
|
|
2111
2114
|
clong_result = r;
|
|
2112
2115
|
goto exit_result_ok_clong;
|
|
2113
2116
|
}
|
|
2117
|
+
|
|
2114
2118
|
{
|
|
2115
2119
|
PyObject *operand1_object = *operand1;
|
|
2116
|
-
PyObject *operand2_object =
|
|
2120
|
+
PyObject *operand2_object = Nuitka_PyLong_FromLong(operand2);
|
|
2117
2121
|
|
|
2118
2122
|
PyObject *r = PyLong_Type.tp_as_number->nb_remainder(operand1_object, operand2_object);
|
|
2119
2123
|
assert(r != Py_NotImplemented);
|
|
@@ -2131,7 +2135,7 @@ exit_result_ok_clong:
|
|
|
2131
2135
|
|
|
2132
2136
|
// That's our return value then. As we use a dedicated variable, it's
|
|
2133
2137
|
// OK that way.
|
|
2134
|
-
*operand1 =
|
|
2138
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
2135
2139
|
goto exit_result_ok;
|
|
2136
2140
|
|
|
2137
2141
|
exit_result_object:
|
|
@@ -4509,6 +4513,7 @@ static inline bool _INPLACE_OPERATION_MOD_OBJECT_OBJECT(PyObject **operand1, PyO
|
|
|
4509
4513
|
clong_result = r;
|
|
4510
4514
|
goto exit_result_ok_clong;
|
|
4511
4515
|
}
|
|
4516
|
+
|
|
4512
4517
|
{
|
|
4513
4518
|
PyObject *operand1_object = *operand1;
|
|
4514
4519
|
PyObject *operand2_object = operand2;
|
|
@@ -4527,7 +4532,7 @@ static inline bool _INPLACE_OPERATION_MOD_OBJECT_OBJECT(PyObject **operand1, PyO
|
|
|
4527
4532
|
|
|
4528
4533
|
// That's our return value then. As we use a dedicated variable, it's
|
|
4529
4534
|
// OK that way.
|
|
4530
|
-
*operand1 =
|
|
4535
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
4531
4536
|
goto exit_result_ok;
|
|
4532
4537
|
|
|
4533
4538
|
exit_result_object:
|
|
@@ -57,6 +57,7 @@ static inline bool _INPLACE_OPERATION_MULT_INT_INT(PyObject **operand1, PyObject
|
|
|
57
57
|
goto exit_result_ok_clong;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
+
|
|
60
61
|
{
|
|
61
62
|
PyObject *operand1_object = *operand1;
|
|
62
63
|
PyObject *operand2_object = operand2;
|
|
@@ -75,7 +76,7 @@ exit_result_ok_clong:
|
|
|
75
76
|
|
|
76
77
|
// That's our return value then. As we use a dedicated variable, it's
|
|
77
78
|
// OK that way.
|
|
78
|
-
*operand1 =
|
|
79
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
79
80
|
goto exit_result_ok;
|
|
80
81
|
|
|
81
82
|
exit_result_object:
|
|
@@ -327,6 +328,7 @@ static inline bool _INPLACE_OPERATION_MULT_OBJECT_INT(PyObject **operand1, PyObj
|
|
|
327
328
|
goto exit_result_ok_clong;
|
|
328
329
|
}
|
|
329
330
|
}
|
|
331
|
+
|
|
330
332
|
{
|
|
331
333
|
PyObject *operand1_object = *operand1;
|
|
332
334
|
PyObject *operand2_object = operand2;
|
|
@@ -345,7 +347,7 @@ static inline bool _INPLACE_OPERATION_MULT_OBJECT_INT(PyObject **operand1, PyObj
|
|
|
345
347
|
|
|
346
348
|
// That's our return value then. As we use a dedicated variable, it's
|
|
347
349
|
// OK that way.
|
|
348
|
-
*operand1 =
|
|
350
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
349
351
|
goto exit_result_ok;
|
|
350
352
|
|
|
351
353
|
exit_result_object:
|
|
@@ -602,6 +604,7 @@ static inline bool _INPLACE_OPERATION_MULT_INT_OBJECT(PyObject **operand1, PyObj
|
|
|
602
604
|
goto exit_result_ok_clong;
|
|
603
605
|
}
|
|
604
606
|
}
|
|
607
|
+
|
|
605
608
|
{
|
|
606
609
|
PyObject *operand1_object = *operand1;
|
|
607
610
|
PyObject *operand2_object = operand2;
|
|
@@ -620,7 +623,7 @@ static inline bool _INPLACE_OPERATION_MULT_INT_OBJECT(PyObject **operand1, PyObj
|
|
|
620
623
|
|
|
621
624
|
// That's our return value then. As we use a dedicated variable, it's
|
|
622
625
|
// OK that way.
|
|
623
|
-
*operand1 =
|
|
626
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
624
627
|
goto exit_result_ok;
|
|
625
628
|
|
|
626
629
|
exit_result_object:
|
|
@@ -2183,9 +2186,10 @@ static inline bool _INPLACE_OPERATION_MULT_INT_CLONG(PyObject **operand1, long o
|
|
|
2183
2186
|
goto exit_result_ok_clong;
|
|
2184
2187
|
}
|
|
2185
2188
|
}
|
|
2189
|
+
|
|
2186
2190
|
{
|
|
2187
2191
|
PyObject *operand1_object = *operand1;
|
|
2188
|
-
PyObject *operand2_object =
|
|
2192
|
+
PyObject *operand2_object = Nuitka_PyLong_FromLong(operand2);
|
|
2189
2193
|
|
|
2190
2194
|
PyObject *r = PyLong_Type.tp_as_number->nb_multiply(operand1_object, operand2_object);
|
|
2191
2195
|
assert(r != Py_NotImplemented);
|
|
@@ -2203,7 +2207,7 @@ exit_result_ok_clong:
|
|
|
2203
2207
|
|
|
2204
2208
|
// That's our return value then. As we use a dedicated variable, it's
|
|
2205
2209
|
// OK that way.
|
|
2206
|
-
*operand1 =
|
|
2210
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
2207
2211
|
goto exit_result_ok;
|
|
2208
2212
|
|
|
2209
2213
|
exit_result_object:
|
|
@@ -4411,6 +4415,7 @@ static inline bool _INPLACE_OPERATION_MULT_OBJECT_OBJECT(PyObject **operand1, Py
|
|
|
4411
4415
|
goto exit_result_ok_clong;
|
|
4412
4416
|
}
|
|
4413
4417
|
}
|
|
4418
|
+
|
|
4414
4419
|
{
|
|
4415
4420
|
PyObject *operand1_object = *operand1;
|
|
4416
4421
|
PyObject *operand2_object = operand2;
|
|
@@ -4429,7 +4434,7 @@ static inline bool _INPLACE_OPERATION_MULT_OBJECT_OBJECT(PyObject **operand1, Py
|
|
|
4429
4434
|
|
|
4430
4435
|
// That's our return value then. As we use a dedicated variable, it's
|
|
4431
4436
|
// OK that way.
|
|
4432
|
-
*operand1 =
|
|
4437
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
4433
4438
|
goto exit_result_ok;
|
|
4434
4439
|
|
|
4435
4440
|
exit_result_object:
|
|
@@ -65,6 +65,7 @@ static inline bool _INPLACE_OPERATION_OLDDIV_INT_INT(PyObject **operand1, PyObje
|
|
|
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;
|
|
@@ -83,7 +84,7 @@ exit_result_ok_clong:
|
|
|
83
84
|
|
|
84
85
|
// That's our return value then. As we use a dedicated variable, it's
|
|
85
86
|
// OK that way.
|
|
86
|
-
*operand1 =
|
|
87
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
87
88
|
goto exit_result_ok;
|
|
88
89
|
|
|
89
90
|
exit_result_object:
|
|
@@ -327,6 +328,7 @@ static inline bool _INPLACE_OPERATION_OLDDIV_OBJECT_INT(PyObject **operand1, PyO
|
|
|
327
328
|
clong_result = a_div_b;
|
|
328
329
|
goto exit_result_ok_clong;
|
|
329
330
|
}
|
|
331
|
+
|
|
330
332
|
{
|
|
331
333
|
PyObject *operand1_object = *operand1;
|
|
332
334
|
PyObject *operand2_object = operand2;
|
|
@@ -345,7 +347,7 @@ static inline bool _INPLACE_OPERATION_OLDDIV_OBJECT_INT(PyObject **operand1, PyO
|
|
|
345
347
|
|
|
346
348
|
// That's our return value then. As we use a dedicated variable, it's
|
|
347
349
|
// OK that way.
|
|
348
|
-
*operand1 =
|
|
350
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
349
351
|
goto exit_result_ok;
|
|
350
352
|
|
|
351
353
|
exit_result_object:
|
|
@@ -594,6 +596,7 @@ static inline bool _INPLACE_OPERATION_OLDDIV_INT_OBJECT(PyObject **operand1, PyO
|
|
|
594
596
|
clong_result = a_div_b;
|
|
595
597
|
goto exit_result_ok_clong;
|
|
596
598
|
}
|
|
599
|
+
|
|
597
600
|
{
|
|
598
601
|
PyObject *operand1_object = *operand1;
|
|
599
602
|
PyObject *operand2_object = operand2;
|
|
@@ -612,7 +615,7 @@ static inline bool _INPLACE_OPERATION_OLDDIV_INT_OBJECT(PyObject **operand1, PyO
|
|
|
612
615
|
|
|
613
616
|
// That's our return value then. As we use a dedicated variable, it's
|
|
614
617
|
// OK that way.
|
|
615
|
-
*operand1 =
|
|
618
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
616
619
|
goto exit_result_ok;
|
|
617
620
|
|
|
618
621
|
exit_result_object:
|
|
@@ -2135,9 +2138,10 @@ static inline bool _INPLACE_OPERATION_OLDDIV_INT_CLONG(PyObject **operand1, long
|
|
|
2135
2138
|
clong_result = a_div_b;
|
|
2136
2139
|
goto exit_result_ok_clong;
|
|
2137
2140
|
}
|
|
2141
|
+
|
|
2138
2142
|
{
|
|
2139
2143
|
PyObject *operand1_object = *operand1;
|
|
2140
|
-
PyObject *operand2_object =
|
|
2144
|
+
PyObject *operand2_object = Nuitka_PyLong_FromLong(operand2);
|
|
2141
2145
|
|
|
2142
2146
|
PyObject *r = PyLong_Type.tp_as_number->nb_divide(operand1_object, operand2_object);
|
|
2143
2147
|
assert(r != Py_NotImplemented);
|
|
@@ -2155,7 +2159,7 @@ exit_result_ok_clong:
|
|
|
2155
2159
|
|
|
2156
2160
|
// That's our return value then. As we use a dedicated variable, it's
|
|
2157
2161
|
// OK that way.
|
|
2158
|
-
*operand1 =
|
|
2162
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
2159
2163
|
goto exit_result_ok;
|
|
2160
2164
|
|
|
2161
2165
|
exit_result_object:
|
|
@@ -2300,6 +2304,7 @@ static inline bool _INPLACE_OPERATION_OLDDIV_OBJECT_OBJECT(PyObject **operand1,
|
|
|
2300
2304
|
clong_result = a_div_b;
|
|
2301
2305
|
goto exit_result_ok_clong;
|
|
2302
2306
|
}
|
|
2307
|
+
|
|
2303
2308
|
{
|
|
2304
2309
|
PyObject *operand1_object = *operand1;
|
|
2305
2310
|
PyObject *operand2_object = operand2;
|
|
@@ -2318,7 +2323,7 @@ static inline bool _INPLACE_OPERATION_OLDDIV_OBJECT_OBJECT(PyObject **operand1,
|
|
|
2318
2323
|
|
|
2319
2324
|
// That's our return value then. As we use a dedicated variable, it's
|
|
2320
2325
|
// OK that way.
|
|
2321
|
-
*operand1 =
|
|
2326
|
+
*operand1 = Nuitka_PyInt_FromLong(clong_result);
|
|
2322
2327
|
goto exit_result_ok;
|
|
2323
2328
|
|
|
2324
2329
|
exit_result_object:
|