Nuitka-winsvc 2.3.11__cp311-cp311-win_amd64.whl → 2.4.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.3.11.data/scripts/nuitka-run.bat → Nuitka_winsvc-2.4.1.data/scripts/nuitka-run.cmd +1 -1
- {Nuitka_winsvc-2.3.11.dist-info → Nuitka_winsvc-2.4.1.dist-info}/METADATA +1 -1
- {Nuitka_winsvc-2.3.11.dist-info → Nuitka_winsvc-2.4.1.dist-info}/RECORD +210 -207
- {Nuitka_winsvc-2.3.11.dist-info → Nuitka_winsvc-2.4.1.dist-info}/WHEEL +1 -1
- nuitka/CacheCleanup.py +6 -1
- nuitka/HardImportRegistry.py +29 -2
- nuitka/MainControl.py +62 -35
- nuitka/ModuleRegistry.py +11 -3
- nuitka/OptionParsing.py +78 -39
- nuitka/Options.py +142 -35
- nuitka/OutputDirectories.py +5 -0
- nuitka/PostProcessing.py +23 -14
- nuitka/PythonFlavors.py +22 -4
- nuitka/PythonVersions.py +18 -0
- nuitka/TreeXML.py +6 -3
- nuitka/Version.py +1 -1
- nuitka/__main__.py +55 -10
- nuitka/build/Backend.scons +6 -1
- nuitka/build/CCompilerVersion.scons +1 -0
- nuitka/build/Onefile.scons +4 -0
- nuitka/build/SconsCaching.py +1 -0
- nuitka/build/SconsCompilerSettings.py +1 -0
- nuitka/build/SconsHacks.py +5 -1
- nuitka/build/SconsInterface.py +2 -0
- nuitka/build/SconsUtils.py +4 -1
- nuitka/build/include/nuitka/allocator.h +27 -5
- nuitka/build/include/nuitka/calling.h +1 -1
- nuitka/build/include/nuitka/compiled_frame.h +23 -23
- nuitka/build/include/nuitka/compiled_method.h +1 -1
- nuitka/build/include/nuitka/exception_groups.h +0 -2
- nuitka/build/include/nuitka/helper/attributes.h +7 -1
- nuitka/build/include/nuitka/helper/subscripts.h +1 -1
- nuitka/build/include/nuitka/helpers.h +7 -4
- nuitka/build/include/nuitka/prelude.h +6 -10
- nuitka/build/include/nuitka/printing.h +2 -0
- nuitka/build/include/nuitka/unfreezing.h +5 -5
- nuitka/build/inline_copy/tqdm/tqdm/_monitor.py +4 -1
- nuitka/build/static_src/CompiledAsyncgenType.c +2 -4
- nuitka/build/static_src/CompiledCellType.c +7 -7
- nuitka/build/static_src/CompiledCodeHelpers.c +49 -36
- nuitka/build/static_src/CompiledCoroutineType.c +2 -4
- nuitka/build/static_src/CompiledFrameType.c +109 -82
- nuitka/build/static_src/CompiledFunctionType.c +36 -9
- nuitka/build/static_src/CompiledGeneratorType.c +12 -10
- nuitka/build/static_src/CompiledGeneratorTypeUncompiledIntegration.c +2 -2
- nuitka/build/static_src/CompiledMethodType.c +14 -13
- nuitka/build/static_src/HelpersAttributes.c +13 -15
- nuitka/build/static_src/HelpersBuiltin.c +16 -7
- nuitka/build/static_src/HelpersCalling.c +13 -13
- nuitka/build/static_src/HelpersCallingGenerated.c +22 -22
- nuitka/build/static_src/HelpersComparisonEq.c +110 -110
- nuitka/build/static_src/HelpersComparisonEqUtils.c +1 -1
- nuitka/build/static_src/HelpersComparisonGe.c +110 -110
- nuitka/build/static_src/HelpersComparisonGt.c +110 -110
- nuitka/build/static_src/HelpersComparisonLe.c +110 -110
- nuitka/build/static_src/HelpersComparisonLt.c +110 -110
- nuitka/build/static_src/HelpersComparisonNe.c +110 -110
- nuitka/build/static_src/HelpersConstantsBlob.c +480 -481
- nuitka/build/static_src/HelpersDictionaries.c +9 -0
- nuitka/build/static_src/HelpersFiles.c +2 -2
- nuitka/build/static_src/HelpersFilesystemPaths.c +28 -13
- nuitka/build/static_src/HelpersImport.c +1 -1
- nuitka/build/static_src/HelpersLists.c +5 -1
- nuitka/build/static_src/HelpersMatching.c +95 -35
- nuitka/build/static_src/HelpersOperationInplaceAdd.c +23 -23
- nuitka/build/static_src/HelpersOperationInplaceAddUtils.c +1 -0
- nuitka/build/static_src/HelpersOperationInplaceBitand.c +11 -11
- nuitka/build/static_src/HelpersOperationInplaceBitor.c +11 -11
- nuitka/build/static_src/HelpersOperationInplaceBitxor.c +11 -11
- nuitka/build/static_src/HelpersOperationInplaceFloordiv.c +17 -17
- nuitka/build/static_src/HelpersOperationInplaceLshift.c +9 -9
- nuitka/build/static_src/HelpersOperationInplaceMatmult.c +10 -10
- nuitka/build/static_src/HelpersOperationInplaceMod.c +47 -47
- nuitka/build/static_src/HelpersOperationInplaceMult.c +28 -28
- nuitka/build/static_src/HelpersOperationInplaceOlddiv.c +17 -17
- nuitka/build/static_src/HelpersOperationInplacePow.c +17 -17
- nuitka/build/static_src/HelpersOperationInplaceRshift.c +9 -9
- nuitka/build/static_src/HelpersOperationInplaceSub.c +17 -17
- nuitka/build/static_src/HelpersOperationInplaceTruediv.c +17 -17
- nuitka/build/static_src/HelpersSequences.c +1 -1
- nuitka/build/static_src/HelpersTypes.c +8 -4
- nuitka/build/static_src/MainProgram.c +28 -9
- nuitka/build/static_src/MetaPathBasedLoader.c +124 -108
- nuitka/build/static_src/MetaPathBasedLoaderImportlibMetadataDistribution.c +13 -4
- nuitka/build/static_src/MetaPathBasedLoaderResourceReaderFiles.c +1 -1
- nuitka/build/static_src/OnefileBootstrap.c +34 -6
- nuitka/code_generation/AttributeCodes.py +12 -10
- nuitka/code_generation/CodeGeneration.py +6 -7
- nuitka/code_generation/ConstantCodes.py +53 -10
- nuitka/code_generation/GlobalConstants.py +6 -6
- nuitka/code_generation/Indentation.py +3 -4
- nuitka/code_generation/LoaderCodes.py +3 -0
- nuitka/code_generation/LocalsDictCodes.py +36 -14
- nuitka/code_generation/MatchCodes.py +23 -4
- nuitka/code_generation/ModuleCodes.py +0 -7
- nuitka/code_generation/Namify.py +2 -0
- nuitka/code_generation/PackageResourceCodes.py +5 -1
- nuitka/code_generation/templates/CodeTemplatesConstants.py +6 -4
- nuitka/code_generation/templates/CodeTemplatesLoader.py +1 -1
- nuitka/code_generation/templates/CodeTemplatesModules.py +3 -3
- nuitka/code_generation/templates/CodeTemplatesVariables.py +16 -2
- nuitka/code_generation/templates_c/CodeTemplateCallsMethodPositional.c.j2 +2 -2
- nuitka/code_generation/templates_c/HelperOperationBinary.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperOperationInplace.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperSlotsBinary.c.j2 +7 -7
- nuitka/freezer/DependsExe.py +3 -1
- nuitka/freezer/DllDependenciesMacOS.py +5 -12
- nuitka/freezer/IncludedDataFiles.py +12 -3
- nuitka/freezer/IncludedEntryPoints.py +8 -2
- nuitka/freezer/Onefile.py +6 -1
- nuitka/freezer/Standalone.py +9 -2
- nuitka/importing/Importing.py +14 -5
- nuitka/importing/Recursion.py +3 -0
- nuitka/nodes/AttributeNodesGenerated.py +21 -12
- nuitka/nodes/BuiltinOpenNodes.py +5 -0
- nuitka/nodes/BuiltinOperationNodeBasesGenerated.py +11 -11
- nuitka/nodes/BuiltinRefNodes.py +41 -1
- nuitka/nodes/ChildrenHavingMixins.py +143 -355
- nuitka/nodes/ClassNodes.py +30 -12
- nuitka/nodes/CodeObjectSpecs.py +9 -0
- nuitka/nodes/ExpressionBasesGenerated.py +11 -11
- nuitka/nodes/FunctionNodes.py +7 -11
- nuitka/nodes/FutureSpecs.py +16 -3
- nuitka/nodes/GeneratorNodes.py +2 -2
- nuitka/nodes/HardImportNodesGenerated.py +11 -134
- nuitka/nodes/LocalsScopes.py +19 -23
- nuitka/nodes/MatchNodes.py +18 -7
- nuitka/nodes/ModuleAttributeNodes.py +1 -20
- nuitka/nodes/ModuleNodes.py +23 -6
- nuitka/nodes/NodeBases.py +3 -2
- nuitka/nodes/NodeMetaClasses.py +26 -10
- nuitka/nodes/ReturnNodes.py +1 -1
- nuitka/nodes/StatementBasesGenerated.py +11 -11
- nuitka/nodes/SubscriptNodes.py +4 -4
- nuitka/nodes/VariableAssignNodes.py +1 -1
- nuitka/nodes/VariableRefNodes.py +28 -2
- nuitka/optimizations/FunctionInlining.py +3 -6
- nuitka/optimizations/Optimization.py +13 -12
- nuitka/optimizations/TraceCollections.py +19 -4
- nuitka/plugins/PluginBase.py +121 -133
- nuitka/plugins/Plugins.py +91 -3
- nuitka/plugins/YamlPluginBase.py +121 -0
- nuitka/plugins/standard/AntiBloatPlugin.py +87 -28
- nuitka/plugins/standard/DataFilesPlugin.py +15 -6
- nuitka/plugins/standard/DelvewheelPlugin.py +7 -3
- nuitka/plugins/standard/DllFilesPlugin.py +5 -3
- nuitka/plugins/standard/ImplicitImports.py +34 -20
- nuitka/plugins/standard/MatplotlibPlugin.py +3 -1
- nuitka/plugins/standard/MultiprocessingPlugin.py +2 -2
- nuitka/plugins/standard/OptionsNannyPlugin.py +1 -1
- nuitka/plugins/standard/PySidePyQtPlugin.py +11 -12
- nuitka/plugins/standard/SpacyPlugin.py +136 -0
- nuitka/plugins/standard/standard.nuitka-package.config.yml +462 -179
- nuitka/plugins/standard/stdlib3.nuitka-package.config.yml +6 -0
- nuitka/reports/Reports.py +53 -5
- nuitka/specs/BuiltinParameterSpecs.py +1 -1
- nuitka/specs/HardImportSpecs.py +0 -6
- nuitka/tools/data_composer/DataComposer.py +29 -27
- nuitka/tools/environments/CreateEnvironment.py +1 -0
- nuitka/tools/environments/Virtualenv.py +25 -11
- nuitka/tools/general/find_module/FindModuleCode.py +13 -3
- nuitka/tools/onefile_compressor/OnefileCompressor.py +21 -4
- nuitka/tools/scanning/DisplayPackageDLLs.py +17 -3
- nuitka/tools/specialize/CTypeDescriptions.py +13 -7
- nuitka/tools/specialize/SpecializePython.py +18 -1
- nuitka/tools/testing/Common.py +19 -6
- nuitka/tools/testing/check_reference_counts/__main__.py +1 -1
- nuitka/tools/testing/run_nuitka_tests/__main__.py +0 -20
- nuitka/tools/watch/AutoStage.py +144 -0
- nuitka/tools/watch/__main__.py +79 -32
- nuitka/tree/Building.py +105 -104
- nuitka/tree/ComplexCallHelperFunctions.py +16 -26
- nuitka/tree/InternalModule.py +8 -0
- nuitka/tree/ReformulationAssignmentStatements.py +29 -59
- nuitka/tree/ReformulationClasses.py +10 -17
- nuitka/tree/ReformulationClasses3.py +69 -43
- nuitka/tree/ReformulationComparisonExpressions.py +6 -16
- nuitka/tree/ReformulationContractionExpressions.py +14 -23
- nuitka/tree/ReformulationDictionaryCreation.py +6 -10
- nuitka/tree/ReformulationExecStatements.py +10 -10
- nuitka/tree/ReformulationForLoopStatements.py +6 -12
- nuitka/tree/ReformulationFunctionStatements.py +21 -28
- nuitka/tree/ReformulationImportStatements.py +8 -10
- nuitka/tree/ReformulationLambdaExpressions.py +3 -6
- nuitka/tree/ReformulationMatchStatements.py +166 -60
- nuitka/tree/ReformulationMultidist.py +3 -1
- nuitka/tree/ReformulationNamespacePackages.py +1 -1
- nuitka/tree/ReformulationPrintStatements.py +3 -6
- nuitka/tree/ReformulationSequenceCreation.py +13 -26
- nuitka/tree/ReformulationTryFinallyStatements.py +15 -0
- nuitka/tree/ReformulationWithStatements.py +12 -16
- nuitka/tree/SourceHandling.py +13 -8
- nuitka/tree/VariableClosure.py +5 -21
- nuitka/utils/Distributions.py +80 -11
- nuitka/utils/Download.py +38 -31
- nuitka/utils/Execution.py +13 -2
- nuitka/utils/FileOperations.py +55 -28
- nuitka/utils/Images.py +6 -1
- nuitka/utils/Importing.py +1 -1
- nuitka/utils/ModuleNames.py +11 -5
- nuitka/utils/ReExecute.py +17 -13
- nuitka/utils/SharedLibraries.py +32 -8
- nuitka/utils/Signing.py +3 -1
- nuitka/utils/StaticLibraries.py +51 -41
- nuitka/utils/Timing.py +1 -1
- nuitka/utils/Utils.py +29 -7
- /Nuitka_winsvc-2.3.11.data/scripts/nuitka.bat → /Nuitka_winsvc-2.4.1.data/scripts/nuitka.cmd +0 -0
- {Nuitka_winsvc-2.3.11.dist-info → Nuitka_winsvc-2.4.1.dist-info}/LICENSE.txt +0 -0
- {Nuitka_winsvc-2.3.11.dist-info → Nuitka_winsvc-2.4.1.dist-info}/entry_points.txt +0 -0
- {Nuitka_winsvc-2.3.11.dist-info → Nuitka_winsvc-2.4.1.dist-info}/top_level.txt +0 -0
|
@@ -241,7 +241,7 @@ static HEDLEY_NEVER_INLINE bool __INPLACE_OPERATION_MOD_OBJECT_INT(PyObject **op
|
|
|
241
241
|
}
|
|
242
242
|
#endif
|
|
243
243
|
|
|
244
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
244
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: '%s' and 'int'", type1->tp_name);
|
|
245
245
|
goto exit_inplace_exception;
|
|
246
246
|
}
|
|
247
247
|
|
|
@@ -500,7 +500,7 @@ static HEDLEY_NEVER_INLINE bool __INPLACE_OPERATION_MOD_INT_OBJECT(PyObject **op
|
|
|
500
500
|
}
|
|
501
501
|
#endif
|
|
502
502
|
|
|
503
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
503
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'int' and '%s'", type2->tp_name);
|
|
504
504
|
goto exit_inplace_exception;
|
|
505
505
|
}
|
|
506
506
|
|
|
@@ -804,9 +804,9 @@ static HEDLEY_NEVER_INLINE bool __INPLACE_OPERATION_MOD_OBJECT_LONG(PyObject **o
|
|
|
804
804
|
#endif
|
|
805
805
|
|
|
806
806
|
#if PYTHON_VERSION < 0x300
|
|
807
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
807
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: '%s' and 'long'", type1->tp_name);
|
|
808
808
|
#else
|
|
809
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
809
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: '%s' and 'int'", type1->tp_name);
|
|
810
810
|
#endif
|
|
811
811
|
goto exit_inplace_exception;
|
|
812
812
|
}
|
|
@@ -1022,9 +1022,9 @@ static HEDLEY_NEVER_INLINE bool __INPLACE_OPERATION_MOD_LONG_OBJECT(PyObject **o
|
|
|
1022
1022
|
#endif
|
|
1023
1023
|
|
|
1024
1024
|
#if PYTHON_VERSION < 0x300
|
|
1025
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1025
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'long' and '%s'", type2->tp_name);
|
|
1026
1026
|
#else
|
|
1027
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1027
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'int' and '%s'", type2->tp_name);
|
|
1028
1028
|
#endif
|
|
1029
1029
|
goto exit_inplace_exception;
|
|
1030
1030
|
}
|
|
@@ -1310,7 +1310,7 @@ static HEDLEY_NEVER_INLINE bool __INPLACE_OPERATION_MOD_OBJECT_FLOAT(PyObject **
|
|
|
1310
1310
|
}
|
|
1311
1311
|
#endif
|
|
1312
1312
|
|
|
1313
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1313
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: '%s' and 'float'", type1->tp_name);
|
|
1314
1314
|
goto exit_inplace_exception;
|
|
1315
1315
|
}
|
|
1316
1316
|
|
|
@@ -1550,7 +1550,7 @@ static HEDLEY_NEVER_INLINE bool __INPLACE_OPERATION_MOD_FLOAT_OBJECT(PyObject **
|
|
|
1550
1550
|
}
|
|
1551
1551
|
#endif
|
|
1552
1552
|
|
|
1553
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1553
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'float' and '%s'", type2->tp_name);
|
|
1554
1554
|
goto exit_inplace_exception;
|
|
1555
1555
|
}
|
|
1556
1556
|
|
|
@@ -1688,9 +1688,9 @@ static inline bool _INPLACE_OPERATION_MOD_FLOAT_LONG(PyObject **operand1, PyObje
|
|
|
1688
1688
|
// Statically recognized that coercion is not possible with these types
|
|
1689
1689
|
|
|
1690
1690
|
#if PYTHON_VERSION < 0x300
|
|
1691
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1691
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'float' and 'long'");
|
|
1692
1692
|
#else
|
|
1693
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1693
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'float' and 'int'");
|
|
1694
1694
|
#endif
|
|
1695
1695
|
goto exit_inplace_exception;
|
|
1696
1696
|
}
|
|
@@ -1762,9 +1762,9 @@ static inline bool _INPLACE_OPERATION_MOD_LONG_FLOAT(PyObject **operand1, PyObje
|
|
|
1762
1762
|
// Statically recognized that coercion is not possible with these types
|
|
1763
1763
|
|
|
1764
1764
|
#if PYTHON_VERSION < 0x300
|
|
1765
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1765
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'long' and 'float'");
|
|
1766
1766
|
#else
|
|
1767
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1767
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'int' and 'float'");
|
|
1768
1768
|
#endif
|
|
1769
1769
|
goto exit_inplace_exception;
|
|
1770
1770
|
}
|
|
@@ -1830,7 +1830,7 @@ static inline bool _INPLACE_OPERATION_MOD_FLOAT_INT(PyObject **operand1, PyObjec
|
|
|
1830
1830
|
|
|
1831
1831
|
// Statically recognized that coercion is not possible with these types
|
|
1832
1832
|
|
|
1833
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1833
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'float' and 'int'");
|
|
1834
1834
|
goto exit_inplace_exception;
|
|
1835
1835
|
}
|
|
1836
1836
|
|
|
@@ -1902,7 +1902,7 @@ static inline bool _INPLACE_OPERATION_MOD_INT_FLOAT(PyObject **operand1, PyObjec
|
|
|
1902
1902
|
|
|
1903
1903
|
// Statically recognized that coercion is not possible with these types
|
|
1904
1904
|
|
|
1905
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1905
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'int' and 'float'");
|
|
1906
1906
|
goto exit_inplace_exception;
|
|
1907
1907
|
}
|
|
1908
1908
|
|
|
@@ -1968,7 +1968,7 @@ static inline bool _INPLACE_OPERATION_MOD_LONG_INT(PyObject **operand1, PyObject
|
|
|
1968
1968
|
|
|
1969
1969
|
// Statically recognized that coercion is not possible with these types
|
|
1970
1970
|
|
|
1971
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1971
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'long' and 'int'");
|
|
1972
1972
|
goto exit_inplace_exception;
|
|
1973
1973
|
}
|
|
1974
1974
|
|
|
@@ -2040,7 +2040,7 @@ static inline bool _INPLACE_OPERATION_MOD_INT_LONG(PyObject **operand1, PyObject
|
|
|
2040
2040
|
|
|
2041
2041
|
// Statically recognized that coercion is not possible with these types
|
|
2042
2042
|
|
|
2043
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
2043
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'int' and 'long'");
|
|
2044
2044
|
goto exit_inplace_exception;
|
|
2045
2045
|
}
|
|
2046
2046
|
|
|
@@ -2280,7 +2280,7 @@ static inline bool _INPLACE_OPERATION_MOD_STR_INT(PyObject **operand1, PyObject
|
|
|
2280
2280
|
|
|
2281
2281
|
// Statically recognized that coercion is not possible with these types
|
|
2282
2282
|
|
|
2283
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
2283
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'str' and 'int'");
|
|
2284
2284
|
goto exit_inplace_exception;
|
|
2285
2285
|
}
|
|
2286
2286
|
|
|
@@ -2363,7 +2363,7 @@ static inline bool _INPLACE_OPERATION_MOD_STR_LONG(PyObject **operand1, PyObject
|
|
|
2363
2363
|
|
|
2364
2364
|
// Statically recognized that coercion is not possible with these types
|
|
2365
2365
|
|
|
2366
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
2366
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'str' and 'long'");
|
|
2367
2367
|
goto exit_inplace_exception;
|
|
2368
2368
|
}
|
|
2369
2369
|
|
|
@@ -2446,7 +2446,7 @@ static inline bool _INPLACE_OPERATION_MOD_STR_FLOAT(PyObject **operand1, PyObjec
|
|
|
2446
2446
|
|
|
2447
2447
|
// Statically recognized that coercion is not possible with these types
|
|
2448
2448
|
|
|
2449
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
2449
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'str' and 'float'");
|
|
2450
2450
|
goto exit_inplace_exception;
|
|
2451
2451
|
}
|
|
2452
2452
|
|
|
@@ -2569,7 +2569,7 @@ static inline bool _INPLACE_OPERATION_MOD_STR_UNICODE(PyObject **operand1, PyObj
|
|
|
2569
2569
|
|
|
2570
2570
|
// Statically recognized that coercion is not possible with these types
|
|
2571
2571
|
|
|
2572
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
2572
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'str' and 'unicode'");
|
|
2573
2573
|
goto exit_inplace_exception;
|
|
2574
2574
|
}
|
|
2575
2575
|
|
|
@@ -2634,7 +2634,7 @@ static inline bool _INPLACE_OPERATION_MOD_STR_TUPLE(PyObject **operand1, PyObjec
|
|
|
2634
2634
|
|
|
2635
2635
|
// Statically recognized that coercion is not possible with these types
|
|
2636
2636
|
|
|
2637
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
2637
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'str' and 'tuple'");
|
|
2638
2638
|
goto exit_inplace_exception;
|
|
2639
2639
|
}
|
|
2640
2640
|
|
|
@@ -2699,7 +2699,7 @@ static inline bool _INPLACE_OPERATION_MOD_STR_LIST(PyObject **operand1, PyObject
|
|
|
2699
2699
|
|
|
2700
2700
|
// Statically recognized that coercion is not possible with these types
|
|
2701
2701
|
|
|
2702
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
2702
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'str' and 'list'");
|
|
2703
2703
|
goto exit_inplace_exception;
|
|
2704
2704
|
}
|
|
2705
2705
|
|
|
@@ -2764,7 +2764,7 @@ static inline bool _INPLACE_OPERATION_MOD_STR_DICT(PyObject **operand1, PyObject
|
|
|
2764
2764
|
|
|
2765
2765
|
// Statically recognized that coercion is not possible with these types
|
|
2766
2766
|
|
|
2767
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
2767
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'str' and 'dict'");
|
|
2768
2768
|
goto exit_inplace_exception;
|
|
2769
2769
|
}
|
|
2770
2770
|
|
|
@@ -2899,7 +2899,7 @@ static HEDLEY_NEVER_INLINE bool __INPLACE_OPERATION_MOD_STR_OBJECT(PyObject **op
|
|
|
2899
2899
|
}
|
|
2900
2900
|
#endif
|
|
2901
2901
|
|
|
2902
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
2902
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'str' and '%s'", type2->tp_name);
|
|
2903
2903
|
goto exit_inplace_exception;
|
|
2904
2904
|
}
|
|
2905
2905
|
|
|
@@ -3021,7 +3021,7 @@ static inline bool _INPLACE_OPERATION_MOD_UNICODE_INT(PyObject **operand1, PyObj
|
|
|
3021
3021
|
|
|
3022
3022
|
// Statically recognized that coercion is not possible with these types
|
|
3023
3023
|
|
|
3024
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3024
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'unicode' and 'int'");
|
|
3025
3025
|
goto exit_inplace_exception;
|
|
3026
3026
|
}
|
|
3027
3027
|
|
|
@@ -3105,9 +3105,9 @@ static inline bool _INPLACE_OPERATION_MOD_UNICODE_LONG(PyObject **operand1, PyOb
|
|
|
3105
3105
|
// Statically recognized that coercion is not possible with these types
|
|
3106
3106
|
|
|
3107
3107
|
#if PYTHON_VERSION < 0x300
|
|
3108
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3108
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'unicode' and 'long'");
|
|
3109
3109
|
#else
|
|
3110
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3110
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'str' and 'int'");
|
|
3111
3111
|
#endif
|
|
3112
3112
|
goto exit_inplace_exception;
|
|
3113
3113
|
}
|
|
@@ -3190,9 +3190,9 @@ static inline bool _INPLACE_OPERATION_MOD_UNICODE_FLOAT(PyObject **operand1, PyO
|
|
|
3190
3190
|
// Statically recognized that coercion is not possible with these types
|
|
3191
3191
|
|
|
3192
3192
|
#if PYTHON_VERSION < 0x300
|
|
3193
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3193
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'unicode' and 'float'");
|
|
3194
3194
|
#else
|
|
3195
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3195
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'str' and 'float'");
|
|
3196
3196
|
#endif
|
|
3197
3197
|
goto exit_inplace_exception;
|
|
3198
3198
|
}
|
|
@@ -3275,7 +3275,7 @@ static inline bool _INPLACE_OPERATION_MOD_UNICODE_STR(PyObject **operand1, PyObj
|
|
|
3275
3275
|
|
|
3276
3276
|
// Statically recognized that coercion is not possible with these types
|
|
3277
3277
|
|
|
3278
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3278
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'unicode' and 'str'");
|
|
3279
3279
|
goto exit_inplace_exception;
|
|
3280
3280
|
}
|
|
3281
3281
|
|
|
@@ -3358,7 +3358,7 @@ static inline bool _INPLACE_OPERATION_MOD_UNICODE_BYTES(PyObject **operand1, PyO
|
|
|
3358
3358
|
|
|
3359
3359
|
// Statically recognized that coercion is not possible with these types
|
|
3360
3360
|
|
|
3361
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3361
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'str' and 'bytes'");
|
|
3362
3362
|
goto exit_inplace_exception;
|
|
3363
3363
|
}
|
|
3364
3364
|
|
|
@@ -3462,9 +3462,9 @@ static inline bool _INPLACE_OPERATION_MOD_UNICODE_TUPLE(PyObject **operand1, PyO
|
|
|
3462
3462
|
// Statically recognized that coercion is not possible with these types
|
|
3463
3463
|
|
|
3464
3464
|
#if PYTHON_VERSION < 0x300
|
|
3465
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3465
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'unicode' and 'tuple'");
|
|
3466
3466
|
#else
|
|
3467
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3467
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'str' and 'tuple'");
|
|
3468
3468
|
#endif
|
|
3469
3469
|
goto exit_inplace_exception;
|
|
3470
3470
|
}
|
|
@@ -3529,9 +3529,9 @@ static inline bool _INPLACE_OPERATION_MOD_UNICODE_LIST(PyObject **operand1, PyOb
|
|
|
3529
3529
|
// Statically recognized that coercion is not possible with these types
|
|
3530
3530
|
|
|
3531
3531
|
#if PYTHON_VERSION < 0x300
|
|
3532
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3532
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'unicode' and 'list'");
|
|
3533
3533
|
#else
|
|
3534
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3534
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'str' and 'list'");
|
|
3535
3535
|
#endif
|
|
3536
3536
|
goto exit_inplace_exception;
|
|
3537
3537
|
}
|
|
@@ -3596,9 +3596,9 @@ static inline bool _INPLACE_OPERATION_MOD_UNICODE_DICT(PyObject **operand1, PyOb
|
|
|
3596
3596
|
// Statically recognized that coercion is not possible with these types
|
|
3597
3597
|
|
|
3598
3598
|
#if PYTHON_VERSION < 0x300
|
|
3599
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3599
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'unicode' and 'dict'");
|
|
3600
3600
|
#else
|
|
3601
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3601
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'str' and 'dict'");
|
|
3602
3602
|
#endif
|
|
3603
3603
|
goto exit_inplace_exception;
|
|
3604
3604
|
}
|
|
@@ -3733,9 +3733,9 @@ static HEDLEY_NEVER_INLINE bool __INPLACE_OPERATION_MOD_UNICODE_OBJECT(PyObject
|
|
|
3733
3733
|
#endif
|
|
3734
3734
|
|
|
3735
3735
|
#if PYTHON_VERSION < 0x300
|
|
3736
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3736
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'unicode' and '%s'", type2->tp_name);
|
|
3737
3737
|
#else
|
|
3738
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3738
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'str' and '%s'", type2->tp_name);
|
|
3739
3739
|
#endif
|
|
3740
3740
|
goto exit_inplace_exception;
|
|
3741
3741
|
}
|
|
@@ -3857,7 +3857,7 @@ static inline bool _INPLACE_OPERATION_MOD_BYTES_LONG(PyObject **operand1, PyObje
|
|
|
3857
3857
|
|
|
3858
3858
|
// Statically recognized that coercion is not possible with these types
|
|
3859
3859
|
|
|
3860
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3860
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'bytes' and 'int'");
|
|
3861
3861
|
goto exit_inplace_exception;
|
|
3862
3862
|
}
|
|
3863
3863
|
|
|
@@ -3940,7 +3940,7 @@ static inline bool _INPLACE_OPERATION_MOD_BYTES_FLOAT(PyObject **operand1, PyObj
|
|
|
3940
3940
|
|
|
3941
3941
|
// Statically recognized that coercion is not possible with these types
|
|
3942
3942
|
|
|
3943
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3943
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'bytes' and 'float'");
|
|
3944
3944
|
goto exit_inplace_exception;
|
|
3945
3945
|
}
|
|
3946
3946
|
|
|
@@ -4064,7 +4064,7 @@ static inline bool _INPLACE_OPERATION_MOD_BYTES_UNICODE(PyObject **operand1, PyO
|
|
|
4064
4064
|
|
|
4065
4065
|
// Statically recognized that coercion is not possible with these types
|
|
4066
4066
|
|
|
4067
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
4067
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'bytes' and 'str'");
|
|
4068
4068
|
goto exit_inplace_exception;
|
|
4069
4069
|
}
|
|
4070
4070
|
|
|
@@ -4129,7 +4129,7 @@ static inline bool _INPLACE_OPERATION_MOD_BYTES_TUPLE(PyObject **operand1, PyObj
|
|
|
4129
4129
|
|
|
4130
4130
|
// Statically recognized that coercion is not possible with these types
|
|
4131
4131
|
|
|
4132
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
4132
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'bytes' and 'tuple'");
|
|
4133
4133
|
goto exit_inplace_exception;
|
|
4134
4134
|
}
|
|
4135
4135
|
|
|
@@ -4194,7 +4194,7 @@ static inline bool _INPLACE_OPERATION_MOD_BYTES_LIST(PyObject **operand1, PyObje
|
|
|
4194
4194
|
|
|
4195
4195
|
// Statically recognized that coercion is not possible with these types
|
|
4196
4196
|
|
|
4197
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
4197
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'bytes' and 'list'");
|
|
4198
4198
|
goto exit_inplace_exception;
|
|
4199
4199
|
}
|
|
4200
4200
|
|
|
@@ -4259,7 +4259,7 @@ static inline bool _INPLACE_OPERATION_MOD_BYTES_DICT(PyObject **operand1, PyObje
|
|
|
4259
4259
|
|
|
4260
4260
|
// Statically recognized that coercion is not possible with these types
|
|
4261
4261
|
|
|
4262
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
4262
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'bytes' and 'dict'");
|
|
4263
4263
|
goto exit_inplace_exception;
|
|
4264
4264
|
}
|
|
4265
4265
|
|
|
@@ -4394,7 +4394,7 @@ static HEDLEY_NEVER_INLINE bool __INPLACE_OPERATION_MOD_BYTES_OBJECT(PyObject **
|
|
|
4394
4394
|
}
|
|
4395
4395
|
#endif
|
|
4396
4396
|
|
|
4397
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
4397
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: 'bytes' and '%s'", type2->tp_name);
|
|
4398
4398
|
goto exit_inplace_exception;
|
|
4399
4399
|
}
|
|
4400
4400
|
|
|
@@ -4714,7 +4714,7 @@ static inline bool _INPLACE_OPERATION_MOD_OBJECT_OBJECT(PyObject **operand1, PyO
|
|
|
4714
4714
|
}
|
|
4715
4715
|
#endif
|
|
4716
4716
|
|
|
4717
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
4717
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for %%=: '%s' and '%s'", type1->tp_name,
|
|
4718
4718
|
type2->tp_name);
|
|
4719
4719
|
goto exit_inplace_exception;
|
|
4720
4720
|
}
|
|
@@ -256,7 +256,7 @@ static HEDLEY_NEVER_INLINE bool __INPLACE_OPERATION_MULT_OBJECT_INT(PyObject **o
|
|
|
256
256
|
}
|
|
257
257
|
// No sequence repeat slot sq_repeat available for this type.
|
|
258
258
|
|
|
259
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
259
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: '%s' and 'int'", type1->tp_name);
|
|
260
260
|
goto exit_inplace_exception;
|
|
261
261
|
}
|
|
262
262
|
|
|
@@ -531,7 +531,7 @@ static HEDLEY_NEVER_INLINE bool __INPLACE_OPERATION_MULT_INT_OBJECT(PyObject **o
|
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
|
|
534
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
534
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'int' and '%s'", type2->tp_name);
|
|
535
535
|
goto exit_inplace_exception;
|
|
536
536
|
}
|
|
537
537
|
|
|
@@ -850,9 +850,9 @@ static HEDLEY_NEVER_INLINE bool __INPLACE_OPERATION_MULT_OBJECT_LONG(PyObject **
|
|
|
850
850
|
// No sequence repeat slot sq_repeat available for this type.
|
|
851
851
|
|
|
852
852
|
#if PYTHON_VERSION < 0x300
|
|
853
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
853
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: '%s' and 'long'", type1->tp_name);
|
|
854
854
|
#else
|
|
855
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
855
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: '%s' and 'int'", type1->tp_name);
|
|
856
856
|
#endif
|
|
857
857
|
goto exit_inplace_exception;
|
|
858
858
|
}
|
|
@@ -1084,9 +1084,9 @@ static HEDLEY_NEVER_INLINE bool __INPLACE_OPERATION_MULT_LONG_OBJECT(PyObject **
|
|
|
1084
1084
|
}
|
|
1085
1085
|
|
|
1086
1086
|
#if PYTHON_VERSION < 0x300
|
|
1087
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1087
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'long' and '%s'", type2->tp_name);
|
|
1088
1088
|
#else
|
|
1089
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1089
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'int' and '%s'", type2->tp_name);
|
|
1090
1090
|
#endif
|
|
1091
1091
|
goto exit_inplace_exception;
|
|
1092
1092
|
}
|
|
@@ -1368,7 +1368,7 @@ static HEDLEY_NEVER_INLINE bool __INPLACE_OPERATION_MULT_OBJECT_FLOAT(PyObject *
|
|
|
1368
1368
|
}
|
|
1369
1369
|
// No sequence repeat slot sq_repeat available for this type.
|
|
1370
1370
|
|
|
1371
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1371
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: '%s' and 'float'", type1->tp_name);
|
|
1372
1372
|
goto exit_inplace_exception;
|
|
1373
1373
|
}
|
|
1374
1374
|
|
|
@@ -1605,7 +1605,7 @@ static HEDLEY_NEVER_INLINE bool __INPLACE_OPERATION_MULT_FLOAT_OBJECT(PyObject *
|
|
|
1605
1605
|
}
|
|
1606
1606
|
}
|
|
1607
1607
|
|
|
1608
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1608
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'float' and '%s'", type2->tp_name);
|
|
1609
1609
|
goto exit_inplace_exception;
|
|
1610
1610
|
}
|
|
1611
1611
|
|
|
@@ -1730,9 +1730,9 @@ static inline bool _INPLACE_OPERATION_MULT_FLOAT_LONG(PyObject **operand1, PyObj
|
|
|
1730
1730
|
// No sequence repeat slot sq_repeat available for this type.
|
|
1731
1731
|
|
|
1732
1732
|
#if PYTHON_VERSION < 0x300
|
|
1733
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1733
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'float' and 'long'");
|
|
1734
1734
|
#else
|
|
1735
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1735
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'float' and 'int'");
|
|
1736
1736
|
#endif
|
|
1737
1737
|
goto exit_inplace_exception;
|
|
1738
1738
|
}
|
|
@@ -1810,9 +1810,9 @@ static inline bool _INPLACE_OPERATION_MULT_LONG_FLOAT(PyObject **operand1, PyObj
|
|
|
1810
1810
|
// No sequence repeat slot sq_repeat available for this type.
|
|
1811
1811
|
|
|
1812
1812
|
#if PYTHON_VERSION < 0x300
|
|
1813
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1813
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'long' and 'float'");
|
|
1814
1814
|
#else
|
|
1815
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1815
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'int' and 'float'");
|
|
1816
1816
|
#endif
|
|
1817
1817
|
goto exit_inplace_exception;
|
|
1818
1818
|
}
|
|
@@ -1884,7 +1884,7 @@ static inline bool _INPLACE_OPERATION_MULT_FLOAT_INT(PyObject **operand1, PyObje
|
|
|
1884
1884
|
}
|
|
1885
1885
|
// No sequence repeat slot sq_repeat available for this type.
|
|
1886
1886
|
|
|
1887
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1887
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'float' and 'int'");
|
|
1888
1888
|
goto exit_inplace_exception;
|
|
1889
1889
|
}
|
|
1890
1890
|
|
|
@@ -1962,7 +1962,7 @@ static inline bool _INPLACE_OPERATION_MULT_INT_FLOAT(PyObject **operand1, PyObje
|
|
|
1962
1962
|
}
|
|
1963
1963
|
// No sequence repeat slot sq_repeat available for this type.
|
|
1964
1964
|
|
|
1965
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
1965
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'int' and 'float'");
|
|
1966
1966
|
goto exit_inplace_exception;
|
|
1967
1967
|
}
|
|
1968
1968
|
|
|
@@ -2034,7 +2034,7 @@ static inline bool _INPLACE_OPERATION_MULT_LONG_INT(PyObject **operand1, PyObjec
|
|
|
2034
2034
|
}
|
|
2035
2035
|
// No sequence repeat slot sq_repeat available for this type.
|
|
2036
2036
|
|
|
2037
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
2037
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'long' and 'int'");
|
|
2038
2038
|
goto exit_inplace_exception;
|
|
2039
2039
|
}
|
|
2040
2040
|
|
|
@@ -2112,7 +2112,7 @@ static inline bool _INPLACE_OPERATION_MULT_INT_LONG(PyObject **operand1, PyObjec
|
|
|
2112
2112
|
}
|
|
2113
2113
|
// No sequence repeat slot sq_repeat available for this type.
|
|
2114
2114
|
|
|
2115
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
2115
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'int' and 'long'");
|
|
2116
2116
|
goto exit_inplace_exception;
|
|
2117
2117
|
}
|
|
2118
2118
|
|
|
@@ -2411,7 +2411,7 @@ static inline bool _INPLACE_OPERATION_MULT_INT_STR(PyObject **operand1, PyObject
|
|
|
2411
2411
|
}
|
|
2412
2412
|
}
|
|
2413
2413
|
|
|
2414
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
2414
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'int' and 'str'");
|
|
2415
2415
|
goto exit_inplace_exception;
|
|
2416
2416
|
}
|
|
2417
2417
|
|
|
@@ -2572,7 +2572,7 @@ static inline bool _INPLACE_OPERATION_MULT_INT_UNICODE(PyObject **operand1, PyOb
|
|
|
2572
2572
|
}
|
|
2573
2573
|
}
|
|
2574
2574
|
|
|
2575
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
2575
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'int' and 'unicode'");
|
|
2576
2576
|
goto exit_inplace_exception;
|
|
2577
2577
|
}
|
|
2578
2578
|
|
|
@@ -2733,7 +2733,7 @@ static inline bool _INPLACE_OPERATION_MULT_INT_TUPLE(PyObject **operand1, PyObje
|
|
|
2733
2733
|
}
|
|
2734
2734
|
}
|
|
2735
2735
|
|
|
2736
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
2736
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'int' and 'tuple'");
|
|
2737
2737
|
goto exit_inplace_exception;
|
|
2738
2738
|
}
|
|
2739
2739
|
|
|
@@ -2894,7 +2894,7 @@ static inline bool _INPLACE_OPERATION_MULT_INT_LIST(PyObject **operand1, PyObjec
|
|
|
2894
2894
|
}
|
|
2895
2895
|
}
|
|
2896
2896
|
|
|
2897
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
2897
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'int' and 'list'");
|
|
2898
2898
|
goto exit_inplace_exception;
|
|
2899
2899
|
}
|
|
2900
2900
|
|
|
@@ -3075,9 +3075,9 @@ static inline bool _INPLACE_OPERATION_MULT_LONG_UNICODE(PyObject **operand1, PyO
|
|
|
3075
3075
|
}
|
|
3076
3076
|
|
|
3077
3077
|
#if PYTHON_VERSION < 0x300
|
|
3078
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3078
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'long' and 'unicode'");
|
|
3079
3079
|
#else
|
|
3080
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3080
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'int' and 'str'");
|
|
3081
3081
|
#endif
|
|
3082
3082
|
goto exit_inplace_exception;
|
|
3083
3083
|
}
|
|
@@ -3250,7 +3250,7 @@ static inline bool _INPLACE_OPERATION_MULT_LONG_BYTES(PyObject **operand1, PyObj
|
|
|
3250
3250
|
}
|
|
3251
3251
|
}
|
|
3252
3252
|
|
|
3253
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3253
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'int' and 'bytes'");
|
|
3254
3254
|
goto exit_inplace_exception;
|
|
3255
3255
|
}
|
|
3256
3256
|
|
|
@@ -3429,9 +3429,9 @@ static inline bool _INPLACE_OPERATION_MULT_LONG_TUPLE(PyObject **operand1, PyObj
|
|
|
3429
3429
|
}
|
|
3430
3430
|
|
|
3431
3431
|
#if PYTHON_VERSION < 0x300
|
|
3432
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3432
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'long' and 'tuple'");
|
|
3433
3433
|
#else
|
|
3434
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3434
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'int' and 'tuple'");
|
|
3435
3435
|
#endif
|
|
3436
3436
|
goto exit_inplace_exception;
|
|
3437
3437
|
}
|
|
@@ -3610,9 +3610,9 @@ static inline bool _INPLACE_OPERATION_MULT_LONG_LIST(PyObject **operand1, PyObje
|
|
|
3610
3610
|
}
|
|
3611
3611
|
|
|
3612
3612
|
#if PYTHON_VERSION < 0x300
|
|
3613
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3613
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'long' and 'list'");
|
|
3614
3614
|
#else
|
|
3615
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
3615
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: 'int' and 'list'");
|
|
3616
3616
|
#endif
|
|
3617
3617
|
goto exit_inplace_exception;
|
|
3618
3618
|
}
|
|
@@ -4641,7 +4641,7 @@ static inline bool _INPLACE_OPERATION_MULT_OBJECT_OBJECT(PyObject **operand1, Py
|
|
|
4641
4641
|
}
|
|
4642
4642
|
}
|
|
4643
4643
|
|
|
4644
|
-
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for
|
|
4644
|
+
PyErr_Format(PyExc_TypeError, "unsupported operand type(s) for *=: '%s' and '%s'", type1->tp_name,
|
|
4645
4645
|
type2->tp_name);
|
|
4646
4646
|
goto exit_inplace_exception;
|
|
4647
4647
|
}
|