Nuitka-winsvc 2.5.1__cp311-cp311-win_amd64.whl → 2.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.5.1.data → Nuitka_winsvc-2.6.data}/scripts/nuitka-run.cmd +1 -1
- {Nuitka_winsvc-2.5.1.data → Nuitka_winsvc-2.6.data}/scripts/nuitka.cmd +1 -1
- {Nuitka_winsvc-2.5.1.dist-info → Nuitka_winsvc-2.6.dist-info}/METADATA +80 -122
- Nuitka_winsvc-2.6.dist-info/RECORD +988 -0
- {Nuitka_winsvc-2.5.1.dist-info → Nuitka_winsvc-2.6.dist-info}/WHEEL +1 -1
- nuitka/Builtins.py +1 -1
- nuitka/BytecodeCaching.py +1 -1
- nuitka/Bytecodes.py +1 -1
- nuitka/CacheCleanup.py +1 -1
- nuitka/Constants.py +1 -1
- nuitka/Errors.py +1 -1
- nuitka/HardImportRegistry.py +1 -1
- nuitka/MainControl.py +93 -94
- nuitka/ModuleRegistry.py +1 -1
- nuitka/OptionParsing.py +90 -20
- nuitka/Options.py +160 -53
- nuitka/OutputDirectories.py +5 -3
- nuitka/PostProcessing.py +76 -27
- nuitka/Progress.py +1 -1
- nuitka/PythonFlavors.py +9 -3
- nuitka/PythonOperators.py +1 -1
- nuitka/PythonVersions.py +8 -4
- nuitka/Serialization.py +1 -1
- nuitka/SourceCodeReferences.py +1 -1
- nuitka/Tracing.py +2 -1
- nuitka/TreeXML.py +1 -1
- nuitka/Variables.py +1 -1
- nuitka/Version.py +2 -2
- nuitka/__init__.py +1 -1
- nuitka/__main__.py +4 -1
- nuitka/__past__.py +1 -1
- nuitka/build/Backend.scons +44 -66
- nuitka/build/CCompilerVersion.scons +2 -1
- nuitka/build/DataComposerInterface.py +2 -1
- nuitka/build/Offsets.scons +644 -0
- nuitka/build/Onefile.scons +5 -13
- nuitka/build/SconsCaching.py +9 -7
- nuitka/build/SconsCompilerSettings.py +54 -31
- nuitka/build/SconsHacks.py +3 -3
- nuitka/build/SconsInterface.py +86 -56
- nuitka/build/SconsProgress.py +12 -5
- nuitka/build/SconsSpawn.py +3 -3
- nuitka/build/SconsUtils.py +20 -1
- nuitka/build/__init__.py +1 -1
- nuitka/build/include/nuitka/allocator.h +3 -1
- nuitka/build/include/nuitka/builtins.h +1 -1
- nuitka/build/include/nuitka/calling.h +1 -1
- nuitka/build/include/nuitka/checkers.h +1 -1
- nuitka/build/include/nuitka/checksum_tools.h +1 -1
- nuitka/build/include/nuitka/compiled_asyncgen.h +4 -2
- nuitka/build/include/nuitka/compiled_cell.h +1 -1
- nuitka/build/include/nuitka/compiled_coroutine.h +3 -2
- nuitka/build/include/nuitka/compiled_frame.h +5 -12
- nuitka/build/include/nuitka/compiled_function.h +2 -3
- nuitka/build/include/nuitka/compiled_generator.h +3 -2
- nuitka/build/include/nuitka/compiled_method.h +1 -1
- nuitka/build/include/nuitka/constants.h +7 -1
- nuitka/build/include/nuitka/constants_blob.h +1 -1
- nuitka/build/include/nuitka/debug_settings.h +1 -1
- nuitka/build/include/nuitka/environment_variables.h +1 -1
- nuitka/build/include/nuitka/environment_variables_system.h +1 -1
- nuitka/build/include/nuitka/exception_groups.h +1 -1
- nuitka/build/include/nuitka/exceptions.h +1 -1
- nuitka/build/include/nuitka/filesystem_paths.h +4 -1
- nuitka/build/include/nuitka/freelists.h +2 -2
- nuitka/build/include/nuitka/helper/attributes.h +1 -1
- nuitka/build/include/nuitka/helper/boolean.h +1 -1
- nuitka/build/include/nuitka/helper/bytearrays.h +1 -1
- nuitka/build/include/nuitka/helper/bytes.h +1 -1
- nuitka/build/include/nuitka/helper/calling_generated.h +1 -1
- nuitka/build/include/nuitka/helper/comparisons_dual_eq.h +1 -1
- nuitka/build/include/nuitka/helper/comparisons_dual_ge.h +1 -1
- nuitka/build/include/nuitka/helper/comparisons_dual_gt.h +1 -1
- nuitka/build/include/nuitka/helper/comparisons_dual_le.h +1 -1
- nuitka/build/include/nuitka/helper/comparisons_dual_lt.h +1 -1
- nuitka/build/include/nuitka/helper/comparisons_dual_ne.h +1 -1
- nuitka/build/include/nuitka/helper/comparisons_eq.h +1 -1
- nuitka/build/include/nuitka/helper/comparisons_ge.h +1 -1
- nuitka/build/include/nuitka/helper/comparisons_gt.h +1 -1
- nuitka/build/include/nuitka/helper/comparisons_le.h +1 -1
- nuitka/build/include/nuitka/helper/comparisons_lt.h +1 -1
- nuitka/build/include/nuitka/helper/comparisons_ne.h +1 -1
- nuitka/build/include/nuitka/helper/complex.h +1 -1
- nuitka/build/include/nuitka/helper/dictionaries.h +11 -3
- nuitka/build/include/nuitka/helper/floats.h +1 -1
- nuitka/build/include/nuitka/helper/import_hard.h +1 -1
- nuitka/build/include/nuitka/helper/indexes.h +1 -1
- nuitka/build/include/nuitka/helper/ints.h +1 -1
- nuitka/build/include/nuitka/helper/iterators.h +1 -1
- nuitka/build/include/nuitka/helper/lists.h +1 -1
- nuitka/build/include/nuitka/helper/lists_generated.h +1 -1
- nuitka/build/include/nuitka/helper/mappings.h +1 -1
- nuitka/build/include/nuitka/helper/operations.h +1 -1
- nuitka/build/include/nuitka/helper/operations_binary_add.h +1 -1
- nuitka/build/include/nuitka/helper/operations_binary_bitand.h +1 -1
- nuitka/build/include/nuitka/helper/operations_binary_bitor.h +1 -1
- nuitka/build/include/nuitka/helper/operations_binary_bitxor.h +1 -1
- nuitka/build/include/nuitka/helper/operations_binary_divmod.h +1 -1
- nuitka/build/include/nuitka/helper/operations_binary_dual_add.h +1 -1
- nuitka/build/include/nuitka/helper/operations_binary_floordiv.h +1 -1
- nuitka/build/include/nuitka/helper/operations_binary_lshift.h +1 -1
- nuitka/build/include/nuitka/helper/operations_binary_matmult.h +1 -1
- nuitka/build/include/nuitka/helper/operations_binary_mod.h +1 -1
- nuitka/build/include/nuitka/helper/operations_binary_mult.h +1 -1
- nuitka/build/include/nuitka/helper/operations_binary_olddiv.h +1 -1
- nuitka/build/include/nuitka/helper/operations_binary_pow.h +1 -1
- nuitka/build/include/nuitka/helper/operations_binary_rshift.h +1 -1
- nuitka/build/include/nuitka/helper/operations_binary_sub.h +1 -1
- nuitka/build/include/nuitka/helper/operations_binary_truediv.h +1 -1
- nuitka/build/include/nuitka/helper/operations_builtin_types.h +1 -1
- nuitka/build/include/nuitka/helper/operations_inplace_add.h +1 -1
- nuitka/build/include/nuitka/helper/operations_inplace_bitand.h +1 -1
- nuitka/build/include/nuitka/helper/operations_inplace_bitor.h +1 -1
- nuitka/build/include/nuitka/helper/operations_inplace_bitxor.h +1 -1
- nuitka/build/include/nuitka/helper/operations_inplace_floordiv.h +1 -1
- nuitka/build/include/nuitka/helper/operations_inplace_lshift.h +1 -1
- nuitka/build/include/nuitka/helper/operations_inplace_matmult.h +1 -1
- nuitka/build/include/nuitka/helper/operations_inplace_mod.h +1 -1
- nuitka/build/include/nuitka/helper/operations_inplace_mult.h +1 -1
- nuitka/build/include/nuitka/helper/operations_inplace_olddiv.h +1 -1
- nuitka/build/include/nuitka/helper/operations_inplace_pow.h +1 -1
- nuitka/build/include/nuitka/helper/operations_inplace_rshift.h +1 -1
- nuitka/build/include/nuitka/helper/operations_inplace_sub.h +1 -1
- nuitka/build/include/nuitka/helper/operations_inplace_truediv.h +1 -1
- nuitka/build/include/nuitka/helper/raising.h +1 -1
- nuitka/build/include/nuitka/helper/rangeobjects.h +1 -1
- nuitka/build/include/nuitka/helper/richcomparisons.h +1 -1
- nuitka/build/include/nuitka/helper/sequences.h +1 -1
- nuitka/build/include/nuitka/helper/sets.h +1 -1
- nuitka/build/include/nuitka/helper/slices.h +1 -1
- nuitka/build/include/nuitka/helper/strings.h +1 -1
- nuitka/build/include/nuitka/helper/subscripts.h +1 -1
- nuitka/build/include/nuitka/helper/tuples.h +13 -1
- nuitka/build/include/nuitka/helpers.h +1 -43
- nuitka/build/include/nuitka/importing.h +1 -1
- nuitka/build/include/nuitka/jit_sources.h +1 -1
- nuitka/build/include/nuitka/prelude.h +11 -10
- nuitka/build/include/nuitka/printing.h +1 -1
- nuitka/build/include/nuitka/python_pgo.h +1 -1
- nuitka/build/include/nuitka/safe_string_ops.h +1 -1
- nuitka/build/include/nuitka/threading.h +1 -1
- nuitka/build/include/nuitka/tracing.h +1 -1
- nuitka/build/include/nuitka/type_aliases.h +1 -1
- nuitka/build/include/nuitka/unfreezing.h +1 -1
- nuitka/build/inline_copy/pefile/LICENSE.txt +21 -0
- nuitka/build/inline_copy/pefile/pefile.py +8034 -0
- nuitka/build/static_src/CompiledAsyncgenType.c +85 -71
- nuitka/build/static_src/CompiledCellType.c +2 -1
- nuitka/build/static_src/CompiledCodeHelpers.c +8 -26
- nuitka/build/static_src/CompiledCoroutineType.c +33 -35
- nuitka/build/static_src/CompiledFrameType.c +63 -5
- nuitka/build/static_src/CompiledFunctionType.c +11 -13
- nuitka/build/static_src/CompiledGeneratorType.c +64 -11
- nuitka/build/static_src/CompiledGeneratorTypeUncompiledIntegration.c +33 -24
- nuitka/build/static_src/CompiledMethodType.c +2 -1
- nuitka/build/static_src/GenerateHeadersMain.c +30 -0
- nuitka/build/static_src/HelpersAllocator.c +1 -1
- nuitka/build/static_src/HelpersAttributes.c +5 -2
- nuitka/build/static_src/HelpersBuiltin.c +2 -2
- nuitka/build/static_src/HelpersBuiltinTypeMethods.c +1 -1
- nuitka/build/static_src/HelpersBytes.c +1 -1
- nuitka/build/static_src/HelpersCalling.c +1 -1
- nuitka/build/static_src/HelpersCallingGenerated.c +6 -16
- nuitka/build/static_src/HelpersChecksumTools.c +1 -1
- nuitka/build/static_src/HelpersClasses.c +1 -1
- nuitka/build/static_src/HelpersComparisonDualEq.c +1 -1
- nuitka/build/static_src/HelpersComparisonDualGe.c +1 -1
- nuitka/build/static_src/HelpersComparisonDualGt.c +1 -1
- nuitka/build/static_src/HelpersComparisonDualLe.c +1 -1
- nuitka/build/static_src/HelpersComparisonDualLt.c +1 -1
- nuitka/build/static_src/HelpersComparisonDualNe.c +1 -1
- nuitka/build/static_src/HelpersComparisonEq.c +1 -1
- nuitka/build/static_src/HelpersComparisonEqUtils.c +1 -1
- nuitka/build/static_src/HelpersComparisonGe.c +1 -1
- nuitka/build/static_src/HelpersComparisonGt.c +1 -1
- nuitka/build/static_src/HelpersComparisonLe.c +1 -1
- nuitka/build/static_src/HelpersComparisonLt.c +1 -1
- nuitka/build/static_src/HelpersComparisonNe.c +1 -1
- nuitka/build/static_src/HelpersConsole.c +1 -1
- nuitka/build/static_src/HelpersConstantsBlob.c +199 -50
- nuitka/build/static_src/HelpersDeepcopy.c +4 -1
- nuitka/build/static_src/HelpersDictionaries.c +15 -3
- nuitka/build/static_src/HelpersDictionariesGenerated.c +13 -2
- nuitka/build/static_src/HelpersDumpBacktraces.c +1 -1
- nuitka/build/static_src/HelpersEnvironmentVariables.c +1 -1
- nuitka/build/static_src/HelpersEnvironmentVariablesSystem.c +1 -1
- nuitka/build/static_src/HelpersExceptions.c +1 -1
- nuitka/build/static_src/HelpersFiles.c +18 -10
- nuitka/build/static_src/HelpersFilesystemPaths.c +36 -16
- nuitka/build/static_src/HelpersFloats.c +1 -1
- nuitka/build/static_src/HelpersHeapStorage.c +1 -1
- nuitka/build/static_src/HelpersImport.c +1 -1
- nuitka/build/static_src/HelpersImportHard.c +1 -1
- nuitka/build/static_src/HelpersJitSources.c +1 -1
- nuitka/build/static_src/HelpersLists.c +2 -1
- nuitka/build/static_src/HelpersListsGenerated.c +1 -1
- nuitka/build/static_src/HelpersMappings.c +1 -1
- nuitka/build/static_src/HelpersMatching.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryAdd.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryAddUtils.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryBitand.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryBitor.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryBitxor.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryDivmod.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryDivmodUtils.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryDualAdd.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryFloordiv.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryInplaceAdd.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryLshift.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryMatmult.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryMod.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryMult.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryMultUtils.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryOlddiv.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryPow.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryPowUtils.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryRshift.c +1 -1
- nuitka/build/static_src/HelpersOperationBinarySub.c +1 -1
- nuitka/build/static_src/HelpersOperationBinaryTruediv.c +1 -1
- nuitka/build/static_src/HelpersOperationInplaceAdd.c +1 -1
- nuitka/build/static_src/HelpersOperationInplaceAddUtils.c +1 -1
- nuitka/build/static_src/HelpersOperationInplaceBitand.c +1 -1
- nuitka/build/static_src/HelpersOperationInplaceBitor.c +1 -1
- nuitka/build/static_src/HelpersOperationInplaceBitxor.c +1 -1
- nuitka/build/static_src/HelpersOperationInplaceFloordiv.c +1 -1
- nuitka/build/static_src/HelpersOperationInplaceLshift.c +1 -1
- nuitka/build/static_src/HelpersOperationInplaceMatmult.c +1 -1
- nuitka/build/static_src/HelpersOperationInplaceMod.c +1 -1
- nuitka/build/static_src/HelpersOperationInplaceMult.c +1 -1
- nuitka/build/static_src/HelpersOperationInplaceOlddiv.c +1 -1
- nuitka/build/static_src/HelpersOperationInplacePow.c +1 -1
- nuitka/build/static_src/HelpersOperationInplaceRshift.c +1 -1
- nuitka/build/static_src/HelpersOperationInplaceSub.c +1 -1
- nuitka/build/static_src/HelpersOperationInplaceTruediv.c +1 -1
- nuitka/build/static_src/HelpersProfiling.c +1 -1
- nuitka/build/static_src/HelpersPythonPgo.c +5 -2
- nuitka/build/static_src/HelpersRaising.c +1 -1
- nuitka/build/static_src/HelpersSafeStrings.c +1 -1
- nuitka/build/static_src/HelpersSequences.c +1 -1
- nuitka/build/static_src/HelpersSlices.c +1 -1
- nuitka/build/static_src/HelpersStrings.c +1 -1
- nuitka/build/static_src/HelpersTuples.c +2 -2
- nuitka/build/static_src/HelpersTypes.c +1 -1
- nuitka/build/static_src/InspectPatcher.c +2 -1
- nuitka/build/static_src/MainProgram.c +30 -9
- nuitka/build/static_src/MetaPathBasedLoader.c +2 -1
- nuitka/build/static_src/MetaPathBasedLoaderImportlibMetadataDistribution.c +1 -1
- nuitka/build/static_src/MetaPathBasedLoaderResourceReader.c +1 -1
- nuitka/build/static_src/MetaPathBasedLoaderResourceReaderFiles.c +17 -4
- nuitka/build/static_src/OnefileBootstrap.c +3 -3
- nuitka/build/static_src/OnefileSplashScreen.cpp +1 -1
- nuitka/code_generation/AsyncgenCodes.py +5 -6
- nuitka/code_generation/AttributeCodes.py +1 -1
- nuitka/code_generation/BinaryOperationHelperDefinitions.py +1 -1
- nuitka/code_generation/BranchCodes.py +1 -1
- nuitka/code_generation/BuiltinCodes.py +15 -5
- nuitka/code_generation/CallCodes.py +1 -1
- nuitka/code_generation/ClassCodes.py +1 -1
- nuitka/code_generation/CodeGeneration.py +23 -17
- nuitka/code_generation/CodeHelperSelection.py +1 -1
- nuitka/code_generation/CodeHelpers.py +1 -1
- nuitka/code_generation/CodeObjectCodes.py +19 -2
- nuitka/code_generation/ComparisonCodes.py +1 -1
- nuitka/code_generation/ComparisonHelperDefinitions.py +1 -1
- nuitka/code_generation/ConditionalCodes.py +1 -1
- nuitka/code_generation/ConstantCodes.py +1 -1
- nuitka/code_generation/Contexts.py +52 -39
- nuitka/code_generation/CoroutineCodes.py +4 -5
- nuitka/code_generation/CtypesCodes.py +1 -1
- nuitka/code_generation/DictCodes.py +1 -1
- nuitka/code_generation/Emission.py +1 -1
- nuitka/code_generation/ErrorCodes.py +1 -1
- nuitka/code_generation/EvalCodes.py +1 -1
- nuitka/code_generation/ExceptionCodes.py +1 -1
- nuitka/code_generation/ExpressionCTypeSelectionHelpers.py +1 -1
- nuitka/code_generation/ExpressionCodes.py +1 -1
- nuitka/code_generation/FrameCodes.py +26 -17
- nuitka/code_generation/FunctionCodes.py +9 -15
- nuitka/code_generation/GeneratorCodes.py +9 -10
- nuitka/code_generation/GlobalConstants.py +6 -4
- nuitka/code_generation/GlobalsLocalsCodes.py +1 -1
- nuitka/code_generation/IdCodes.py +1 -1
- nuitka/code_generation/ImportCodes.py +1 -1
- nuitka/code_generation/Indentation.py +1 -1
- nuitka/code_generation/IndexCodes.py +1 -1
- nuitka/code_generation/InjectCCodes.py +1 -1
- nuitka/code_generation/IntegerCodes.py +1 -1
- nuitka/code_generation/IteratorCodes.py +1 -1
- nuitka/code_generation/JitCodes.py +1 -1
- nuitka/code_generation/LabelCodes.py +1 -1
- nuitka/code_generation/LineNumberCodes.py +1 -1
- nuitka/code_generation/ListCodes.py +1 -1
- nuitka/code_generation/LoaderCodes.py +1 -1
- nuitka/code_generation/LocalsDictCodes.py +1 -1
- nuitka/code_generation/LoopCodes.py +1 -1
- nuitka/code_generation/MatchCodes.py +1 -1
- nuitka/code_generation/ModuleCodes.py +31 -4
- nuitka/code_generation/Namify.py +4 -1
- nuitka/code_generation/NetworkxCodes.py +1 -1
- nuitka/code_generation/OperationCodes.py +1 -1
- nuitka/code_generation/PackageResourceCodes.py +4 -10
- nuitka/code_generation/PrintCodes.py +1 -1
- nuitka/code_generation/PythonAPICodes.py +1 -1
- nuitka/code_generation/RaisingCodes.py +1 -1
- nuitka/code_generation/Reports.py +1 -1
- nuitka/code_generation/ReturnCodes.py +1 -1
- nuitka/code_generation/SetCodes.py +1 -1
- nuitka/code_generation/SliceCodes.py +1 -1
- nuitka/code_generation/StringCodes.py +1 -1
- nuitka/code_generation/SubscriptCodes.py +1 -1
- nuitka/code_generation/TensorflowCodes.py +1 -1
- nuitka/code_generation/TryCodes.py +1 -1
- nuitka/code_generation/TupleCodes.py +1 -1
- nuitka/code_generation/TypeAliasCodes.py +1 -1
- nuitka/code_generation/VariableCodes.py +1 -1
- nuitka/code_generation/VariableDeclarations.py +1 -1
- nuitka/code_generation/YieldCodes.py +1 -1
- nuitka/code_generation/__init__.py +1 -1
- nuitka/code_generation/c_types/CTypeBases.py +1 -1
- nuitka/code_generation/c_types/CTypeBooleans.py +1 -1
- nuitka/code_generation/c_types/CTypeCFloats.py +1 -1
- nuitka/code_generation/c_types/CTypeCLongs.py +1 -1
- nuitka/code_generation/c_types/CTypeModuleDictVariables.py +1 -1
- nuitka/code_generation/c_types/CTypeNuitkaBooleans.py +1 -1
- nuitka/code_generation/c_types/CTypeNuitkaInts.py +1 -1
- nuitka/code_generation/c_types/CTypeNuitkaVoids.py +1 -1
- nuitka/code_generation/c_types/CTypePyObjectPointers.py +1 -1
- nuitka/code_generation/c_types/CTypeVoids.py +1 -1
- nuitka/code_generation/c_types/__init__.py +1 -1
- nuitka/code_generation/templates/CodeTemplatesAsyncgens.py +1 -1
- nuitka/code_generation/templates/CodeTemplatesConstants.py +2 -2
- nuitka/code_generation/templates/CodeTemplatesCoroutines.py +1 -1
- nuitka/code_generation/templates/CodeTemplatesExceptions.py +1 -1
- nuitka/code_generation/templates/CodeTemplatesFrames.py +21 -25
- nuitka/code_generation/templates/CodeTemplatesFunction.py +1 -1
- nuitka/code_generation/templates/CodeTemplatesGeneratorFunction.py +3 -3
- nuitka/code_generation/templates/CodeTemplatesIterators.py +1 -1
- nuitka/code_generation/templates/CodeTemplatesLoader.py +26 -3
- nuitka/code_generation/templates/CodeTemplatesModules.py +21 -8
- nuitka/code_generation/templates/CodeTemplatesVariables.py +24 -21
- nuitka/code_generation/templates/TemplateDebugWrapper.py +1 -1
- nuitka/code_generation/templates/__init__.py +1 -1
- nuitka/code_generation/templates_c/CodeTemplateCallsMethodPositional.c.j2 +1 -1
- nuitka/code_generation/templates_c/CodeTemplateCallsMixed.c.j2 +1 -1
- nuitka/code_generation/templates_c/CodeTemplateCallsPositional.c.j2 +1 -1
- nuitka/code_generation/templates_c/CodeTemplateCallsPositionalMethodDescr.c.j2 +21 -1
- nuitka/code_generation/templates_c/CodeTemplateMakeListHinted.c.j2 +1 -1
- nuitka/code_generation/templates_c/CodeTemplateMakeListSmall.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperBuiltinMethodOperation.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperDictionaryCopy.c.j2 +5 -2
- nuitka/code_generation/templates_c/HelperImportHard.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperLongTools.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperObjectTools.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperOperationBinary.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperOperationBinaryDual.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperOperationComparison.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperOperationComparisonBytes.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperOperationComparisonDual.c.j2 +1 -1
- 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 +1 -1
- nuitka/code_generation/templates_c/HelperOperationComparisonLong.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperOperationComparisonStr.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperOperationComparisonTuple.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperOperationComparisonUnicode.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperOperationInplace.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperSlotsBinary.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperSlotsBytes.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperSlotsCommon.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperSlotsFloat.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperSlotsInt.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperSlotsList.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperSlotsLong.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperSlotsSet.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperSlotsStr.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperSlotsTuple.c.j2 +1 -1
- nuitka/code_generation/templates_c/HelperSlotsUnicode.c.j2 +1 -1
- nuitka/containers/Namedtuples.py +1 -1
- nuitka/containers/OrderedSetsFallback.py +1 -1
- nuitka/containers/__init__.py +1 -1
- nuitka/distutils/Build.py +1 -1
- nuitka/distutils/DistutilCommands.py +2 -2
- nuitka/distutils/__init__.py +1 -1
- nuitka/finalizations/Finalization.py +1 -1
- nuitka/finalizations/FinalizeMarkups.py +1 -1
- nuitka/finalizations/__init__.py +1 -1
- nuitka/freezer/DependsExe.py +2 -1
- nuitka/freezer/DllDependenciesCommon.py +1 -1
- nuitka/freezer/DllDependenciesMacOS.py +1 -1
- nuitka/freezer/DllDependenciesPosix.py +1 -1
- nuitka/freezer/DllDependenciesWin32.py +111 -25
- nuitka/freezer/ImportDetection.py +5 -2
- nuitka/freezer/IncludedDataFiles.py +11 -2
- nuitka/freezer/IncludedEntryPoints.py +1 -1
- nuitka/freezer/Onefile.py +14 -15
- nuitka/freezer/Standalone.py +6 -3
- nuitka/freezer/__init__.py +1 -1
- nuitka/importing/IgnoreListing.py +1 -1
- nuitka/importing/ImportCache.py +1 -1
- nuitka/importing/ImportResolving.py +1 -1
- nuitka/importing/Importing.py +4 -3
- nuitka/importing/PreloadedPackages.py +1 -1
- nuitka/importing/Recursion.py +37 -12
- nuitka/importing/StandardLibrary.py +1 -1
- nuitka/importing/__init__.py +1 -1
- nuitka/nodes/AsyncgenNodes.py +1 -1
- nuitka/nodes/AttributeLookupNodes.py +1 -1
- nuitka/nodes/AttributeNodes.py +1 -1
- nuitka/nodes/AttributeNodesGenerated.py +1 -1
- nuitka/nodes/BuiltinAllNodes.py +1 -1
- nuitka/nodes/BuiltinAnyNodes.py +1 -1
- nuitka/nodes/BuiltinComplexNodes.py +1 -1
- nuitka/nodes/BuiltinDecodingNodes.py +1 -1
- nuitka/nodes/BuiltinDecoratorNodes.py +1 -1
- nuitka/nodes/BuiltinDictNodes.py +1 -1
- nuitka/nodes/BuiltinFormatNodes.py +1 -1
- nuitka/nodes/BuiltinHashNodes.py +1 -1
- nuitka/nodes/BuiltinInputNodes.py +1 -1
- nuitka/nodes/BuiltinIntegerNodes.py +1 -1
- nuitka/nodes/BuiltinIteratorNodes.py +2 -2
- nuitka/nodes/BuiltinLenNodes.py +1 -1
- nuitka/nodes/BuiltinNextNodes.py +1 -1
- nuitka/nodes/BuiltinOpenNodes.py +1 -1
- nuitka/nodes/BuiltinOperationNodeBasesGenerated.py +1 -1
- nuitka/nodes/BuiltinRangeNodes.py +1 -1
- nuitka/nodes/BuiltinRefNodes.py +1 -1
- nuitka/nodes/BuiltinSumNodes.py +1 -1
- nuitka/nodes/BuiltinTypeNodes.py +1 -1
- nuitka/nodes/BuiltinVarsNodes.py +1 -1
- nuitka/nodes/BytesNodes.py +1 -1
- nuitka/nodes/CallNodes.py +1 -1
- nuitka/nodes/Checkers.py +1 -1
- nuitka/nodes/ChildrenHavingMixins.py +227 -3
- nuitka/nodes/ClassNodes.py +1 -1
- nuitka/nodes/CodeObjectSpecs.py +4 -4
- nuitka/nodes/ComparisonNodes.py +1 -1
- nuitka/nodes/ConditionalNodes.py +1 -1
- nuitka/nodes/ConstantRefNodes.py +1 -1
- nuitka/nodes/ContainerMakingNodes.py +1 -1
- nuitka/nodes/ContainerOperationNodes.py +1 -1
- nuitka/nodes/CoroutineNodes.py +1 -1
- nuitka/nodes/CtypesNodes.py +1 -1
- nuitka/nodes/DictionaryNodes.py +2 -2
- nuitka/nodes/ExceptionNodes.py +1 -1
- nuitka/nodes/ExecEvalNodes.py +1 -1
- nuitka/nodes/ExpressionBases.py +1 -1
- nuitka/nodes/ExpressionBasesGenerated.py +1 -1
- nuitka/nodes/ExpressionShapeMixins.py +1 -1
- nuitka/nodes/FrameNodes.py +19 -7
- nuitka/nodes/FunctionAttributeNodes.py +1 -1
- nuitka/nodes/FunctionNodes.py +1 -1
- nuitka/nodes/FutureSpecs.py +34 -2
- nuitka/nodes/GeneratorNodes.py +1 -1
- nuitka/nodes/GlobalsLocalsNodes.py +1 -1
- nuitka/nodes/HardImportNodesGenerated.py +140 -56
- nuitka/nodes/ImportHardNodes.py +1 -1
- nuitka/nodes/ImportNodes.py +1 -1
- nuitka/nodes/IndicatorMixins.py +1 -1
- nuitka/nodes/InjectCNodes.py +1 -1
- nuitka/nodes/IterationHandles.py +1 -1
- nuitka/nodes/KeyValuePairNodes.py +1 -1
- nuitka/nodes/ListOperationNodes.py +1 -1
- nuitka/nodes/LocalsDictNodes.py +1 -1
- nuitka/nodes/LocalsScopes.py +1 -1
- nuitka/nodes/LoopNodes.py +1 -1
- nuitka/nodes/MatchNodes.py +1 -1
- nuitka/nodes/ModuleAttributeNodes.py +1 -1
- nuitka/nodes/ModuleNodes.py +2 -2
- nuitka/nodes/NetworkxNodes.py +1 -1
- nuitka/nodes/NodeBases.py +1 -1
- nuitka/nodes/NodeMakingHelpers.py +1 -1
- nuitka/nodes/NodeMetaClasses.py +1 -1
- nuitka/nodes/OperatorNodes.py +1 -1
- nuitka/nodes/OperatorNodesUnary.py +1 -1
- nuitka/nodes/OsSysNodes.py +1 -1
- nuitka/nodes/OutlineNodes.py +1 -1
- nuitka/nodes/PackageMetadataNodes.py +1 -1
- nuitka/nodes/PackageResourceNodes.py +42 -7
- nuitka/nodes/PrintNodes.py +1 -1
- nuitka/nodes/ReturnNodes.py +1 -1
- nuitka/nodes/SideEffectNodes.py +1 -1
- nuitka/nodes/SliceNodes.py +1 -1
- nuitka/nodes/StatementBasesGenerated.py +1 -1
- nuitka/nodes/StatementNodes.py +1 -1
- nuitka/nodes/StrNodes.py +1 -1
- nuitka/nodes/StringConcatenationNodes.py +1 -1
- nuitka/nodes/SubscriptNodes.py +1 -1
- nuitka/nodes/TensorflowNodes.py +1 -1
- nuitka/nodes/TryNodes.py +1 -1
- nuitka/nodes/TypeMatchNodes.py +1 -1
- nuitka/nodes/TypeNodes.py +1 -1
- nuitka/nodes/VariableAssignNodes.py +3 -2
- nuitka/nodes/VariableDelNodes.py +1 -1
- nuitka/nodes/VariableNameNodes.py +1 -1
- nuitka/nodes/VariableRefNodes.py +1 -1
- nuitka/nodes/VariableReleaseNodes.py +1 -1
- nuitka/nodes/YieldNodes.py +1 -1
- nuitka/nodes/__init__.py +1 -1
- nuitka/nodes/shapes/BuiltinTypeShapes.py +1 -1
- nuitka/nodes/shapes/ControlFlowDescriptions.py +1 -1
- nuitka/nodes/shapes/IteratorShapes.py +71 -0
- nuitka/nodes/shapes/ShapeMixins.py +4 -3
- nuitka/nodes/shapes/StandardShapes.py +2 -51
- nuitka/nodes/shapes/__init__.py +1 -1
- nuitka/optimizations/BytecodeDemotion.py +1 -1
- nuitka/optimizations/FunctionInlining.py +1 -1
- nuitka/optimizations/Graphs.py +1 -1
- nuitka/optimizations/Optimization.py +1 -1
- nuitka/optimizations/OptimizeBuiltinCalls.py +1 -1
- nuitka/optimizations/Tags.py +1 -1
- nuitka/optimizations/TraceCollections.py +1 -1
- nuitka/optimizations/ValueTraces.py +1 -1
- nuitka/optimizations/__init__.py +1 -1
- nuitka/pgo/PGO.py +1 -1
- nuitka/pgo/__init__.py +1 -1
- nuitka/plugins/PluginBase.py +24 -3
- nuitka/plugins/Plugins.py +67 -14
- nuitka/plugins/YamlPluginBase.py +1 -1
- nuitka/plugins/__init__.py +1 -1
- nuitka/plugins/standard/AntiBloatPlugin.py +2 -1
- nuitka/plugins/standard/ConsiderPyLintAnnotationsPlugin.py +2 -1
- nuitka/plugins/standard/DataFilesPlugin.py +2 -2
- nuitka/plugins/standard/DelvewheelPlugin.py +2 -1
- nuitka/plugins/standard/DillPlugin/DillPlugin.c +1 -1
- nuitka/plugins/standard/DillPlugin/dill-postLoad.py +1 -1
- nuitka/plugins/standard/DillPlugin.py +2 -2
- nuitka/plugins/standard/DllFilesPlugin.py +80 -14
- nuitka/plugins/standard/EnumPlugin.py +2 -2
- nuitka/plugins/standard/EventletPlugin.py +2 -1
- nuitka/plugins/standard/GeventPlugin.py +2 -1
- nuitka/plugins/standard/GiPlugin.py +2 -1
- nuitka/plugins/standard/GlfwPlugin.py +2 -1
- nuitka/plugins/standard/ImplicitImports.py +8 -6
- nuitka/plugins/standard/KivyPlugin.py +2 -1
- nuitka/plugins/standard/MatplotlibPlugin.py +3 -2
- nuitka/plugins/standard/MultiprocessingPlugin.py +2 -1
- nuitka/plugins/standard/NumpyPlugin.py +2 -1
- nuitka/plugins/standard/OptionsNannyPlugin.py +7 -6
- nuitka/plugins/standard/PbrPlugin.py +2 -2
- nuitka/plugins/standard/PkgResourcesPlugin.py +2 -1
- nuitka/plugins/standard/PlaywrightPlugin.py +10 -15
- nuitka/plugins/standard/PmwPlugin.py +2 -1
- nuitka/plugins/standard/PySidePyQtPlugin.py +12 -15
- nuitka/plugins/standard/PywebViewPlugin.py +2 -1
- nuitka/plugins/standard/SpacyPlugin.py +2 -1
- nuitka/plugins/standard/TensorflowPlugin.py +2 -1
- nuitka/plugins/standard/TkinterPlugin.py +38 -5
- nuitka/plugins/standard/TorchPlugin.py +2 -1
- nuitka/plugins/standard/TransformersPlugin.py +2 -2
- nuitka/plugins/standard/TrioPlugin.py +2 -1
- nuitka/plugins/standard/UpxPlugin.py +2 -1
- nuitka/plugins/standard/__init__.py +1 -1
- nuitka/plugins/standard/standard.nuitka-package.config.yml +173 -49
- nuitka/reports/CompilationReportReader.py +5 -1
- nuitka/reports/LicenseReport.rst.j2 +1 -1
- nuitka/reports/Reports.py +5 -1
- nuitka/reports/__init__.py +1 -1
- nuitka/specs/BuiltinBytesOperationSpecs.py +1 -1
- nuitka/specs/BuiltinDictOperationSpecs.py +1 -1
- nuitka/specs/BuiltinListOperationSpecs.py +1 -1
- nuitka/specs/BuiltinParameterSpecs.py +1 -1
- nuitka/specs/BuiltinStrOperationSpecs.py +1 -1
- nuitka/specs/BuiltinTypeOperationSpecs.py +1 -1
- nuitka/specs/BuiltinUnicodeOperationSpecs.py +1 -1
- nuitka/specs/HardImportSpecs.py +10 -2
- nuitka/specs/ParameterSpecs.py +17 -2
- nuitka/specs/__init__.py +1 -1
- nuitka/tools/Basics.py +1 -1
- nuitka/tools/__init__.py +1 -1
- nuitka/tools/commercial/__init__.py +1 -1
- nuitka/tools/data_composer/DataComposer.py +125 -1
- nuitka/tools/data_composer/__init__.py +1 -1
- nuitka/tools/data_composer/__main__.py +1 -1
- nuitka/tools/environments/CreateEnvironment.py +1 -1
- nuitka/tools/environments/Virtualenv.py +14 -6
- nuitka/tools/environments/__init__.py +1 -1
- nuitka/tools/general/__init__.py +1 -1
- nuitka/tools/general/dll_report/__init__.py +1 -1
- nuitka/tools/general/dll_report/__main__.py +1 -1
- nuitka/tools/general/find_module/FindModuleCode.py +2 -2
- nuitka/tools/general/find_module/__init__.py +1 -1
- nuitka/tools/general/generate_header/GenerateHeader.py +73 -0
- nuitka/tools/general/generate_header/__init__.py +19 -0
- nuitka/tools/onefile_compressor/OnefileCompressor.py +1 -1
- nuitka/tools/onefile_compressor/__init__.py +1 -1
- nuitka/tools/onefile_compressor/__main__.py +1 -1
- nuitka/tools/podman/Podman.py +1 -1
- nuitka/tools/podman/__init__.py +1 -1
- nuitka/tools/podman/__main__.py +8 -4
- nuitka/tools/profiler/__init__.py +1 -1
- nuitka/tools/profiler/__main__.py +1 -1
- nuitka/tools/scanning/DisplayPackageDLLs.py +43 -20
- nuitka/tools/scanning/DisplayPackageData.py +1 -1
- nuitka/tools/scanning/__init__.py +1 -1
- nuitka/tools/specialize/CTypeDescriptions.py +1 -1
- nuitka/tools/specialize/Common.py +1 -1
- nuitka/tools/specialize/SpecializeC.py +1 -1
- nuitka/tools/specialize/SpecializePython.py +7 -3
- nuitka/tools/specialize/__init__.py +1 -1
- nuitka/tools/testing/Common.py +140 -19
- nuitka/tools/testing/Constructs.py +1 -1
- nuitka/tools/testing/OutputComparison.py +5 -4
- nuitka/tools/testing/Pythons.py +1 -1
- nuitka/tools/testing/RuntimeTracing.py +1 -1
- nuitka/tools/testing/SearchModes.py +1 -1
- nuitka/tools/testing/Valgrind.py +1 -1
- nuitka/tools/testing/__init__.py +1 -1
- nuitka/tools/testing/check_reference_counts/__init__.py +1 -1
- nuitka/tools/testing/check_reference_counts/__main__.py +6 -2
- nuitka/tools/testing/compare_with_cpython/__init__.py +1 -1
- nuitka/tools/testing/compare_with_cpython/__main__.py +51 -14
- nuitka/tools/testing/find_sxs_modules/__init__.py +1 -1
- nuitka/tools/testing/find_sxs_modules/__main__.py +1 -1
- nuitka/tools/testing/measure_construct_performance/__init__.py +1 -1
- nuitka/tools/testing/measure_construct_performance/__main__.py +1 -1
- nuitka/tools/testing/run_nuitka_tests/__init__.py +1 -1
- nuitka/tools/testing/run_nuitka_tests/__main__.py +1 -1
- nuitka/tools/watch/AutoStage.py +1 -1
- nuitka/tools/watch/Common.py +55 -0
- nuitka/tools/watch/Conda.py +125 -0
- nuitka/tools/watch/GitHub.py +1 -1
- nuitka/tools/watch/Pacman.py +73 -0
- nuitka/tools/watch/Pipenv.py +143 -0
- nuitka/tools/watch/__init__.py +1 -1
- nuitka/tools/watch/__main__.py +117 -264
- nuitka/tree/Building.py +1 -1
- nuitka/tree/ComplexCallHelperFunctions.py +1 -1
- nuitka/tree/Extractions.py +1 -1
- nuitka/tree/InternalModule.py +1 -1
- nuitka/tree/Operations.py +1 -1
- nuitka/tree/ReformulationAssertStatements.py +1 -1
- nuitka/tree/ReformulationAssignmentStatements.py +1 -1
- nuitka/tree/ReformulationBooleanExpressions.py +1 -1
- nuitka/tree/ReformulationCallExpressions.py +1 -1
- nuitka/tree/ReformulationClasses.py +1 -1
- nuitka/tree/ReformulationClasses3.py +1 -1
- nuitka/tree/ReformulationComparisonExpressions.py +1 -1
- nuitka/tree/ReformulationContractionExpressions.py +3 -1
- nuitka/tree/ReformulationDictionaryCreation.py +1 -1
- nuitka/tree/ReformulationExecStatements.py +1 -1
- nuitka/tree/ReformulationForLoopStatements.py +1 -1
- nuitka/tree/ReformulationFunctionStatements.py +1 -1
- nuitka/tree/ReformulationImportStatements.py +1 -1
- nuitka/tree/ReformulationLambdaExpressions.py +2 -1
- nuitka/tree/ReformulationMatchStatements.py +1 -1
- nuitka/tree/ReformulationMultidist.py +1 -1
- nuitka/tree/ReformulationNamespacePackages.py +1 -1
- nuitka/tree/ReformulationPrintStatements.py +1 -1
- nuitka/tree/ReformulationSequenceCreation.py +1 -1
- nuitka/tree/ReformulationSubscriptExpressions.py +1 -1
- nuitka/tree/ReformulationTryExceptStatements.py +1 -1
- nuitka/tree/ReformulationTryFinallyStatements.py +1 -1
- nuitka/tree/ReformulationWhileLoopStatements.py +1 -1
- nuitka/tree/ReformulationWithStatements.py +1 -1
- nuitka/tree/ReformulationYieldExpressions.py +1 -1
- nuitka/tree/SourceHandling.py +1 -1
- nuitka/tree/SyntaxErrors.py +1 -1
- nuitka/tree/TreeHelpers.py +24 -10
- nuitka/tree/VariableClosure.py +1 -1
- nuitka/tree/__init__.py +1 -1
- nuitka/utils/AppDirs.py +5 -2
- nuitka/utils/CStrings.py +1 -1
- nuitka/utils/CommandLineOptions.py +2 -2
- nuitka/utils/Distributions.py +177 -15
- nuitka/utils/Download.py +14 -6
- nuitka/utils/Execution.py +43 -14
- nuitka/utils/FileOperations.py +29 -5
- nuitka/utils/Hashing.py +6 -2
- nuitka/utils/Images.py +8 -2
- nuitka/utils/Importing.py +1 -1
- nuitka/utils/InlineCopies.py +1 -1
- nuitka/utils/InstalledPythons.py +1 -1
- nuitka/utils/InstanceCounters.py +1 -1
- nuitka/utils/Jinja2.py +1 -1
- nuitka/utils/Json.py +2 -2
- nuitka/utils/MacOSApp.py +4 -3
- nuitka/utils/MemoryUsage.py +1 -1
- nuitka/utils/ModuleNames.py +1 -1
- nuitka/utils/PackageResources.py +1 -1
- nuitka/utils/ReExecute.py +1 -1
- nuitka/utils/Rest.py +1 -1
- nuitka/utils/SharedLibraries.py +76 -7
- nuitka/utils/Shebang.py +1 -1
- nuitka/utils/Signing.py +11 -5
- nuitka/utils/SlotMetaClasses.py +1 -1
- nuitka/utils/StaticLibraries.py +25 -1
- nuitka/utils/ThreadedExecutor.py +1 -1
- nuitka/utils/Timing.py +1 -1
- nuitka/utils/Utils.py +1 -1
- nuitka/utils/WindowsFileUsage.py +1 -1
- nuitka/utils/WindowsResources.py +3 -1
- nuitka/utils/Yaml.py +1 -1
- nuitka/utils/__init__.py +1 -1
- Nuitka_winsvc-2.5.1.dist-info/RECORD +0 -977
- {Nuitka_winsvc-2.5.1.dist-info → Nuitka_winsvc-2.6.dist-info}/LICENSE.txt +0 -0
- {Nuitka_winsvc-2.5.1.dist-info → Nuitka_winsvc-2.6.dist-info}/entry_points.txt +0 -0
- {Nuitka_winsvc-2.5.1.dist-info → Nuitka_winsvc-2.6.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright 2025, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of file
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
# We are not avoiding these in generated code at all
|
|
@@ -53,7 +53,8 @@ from nuitka.specs.HardImportSpecs import (
|
|
|
53
53
|
importlib_resources_backport_read_text_spec,
|
|
54
54
|
importlib_resources_files_spec,
|
|
55
55
|
importlib_resources_read_binary_spec,
|
|
56
|
-
|
|
56
|
+
importlib_resources_read_text_before_313_spec,
|
|
57
|
+
importlib_resources_read_text_since_313_spec,
|
|
57
58
|
os_listdir_spec,
|
|
58
59
|
os_lstat_spec,
|
|
59
60
|
os_path_abspath_spec,
|
|
@@ -91,6 +92,7 @@ from .ChildrenHavingMixins import (
|
|
|
91
92
|
ChildrenHavingGroupNameOptionalMixin,
|
|
92
93
|
ChildrenHavingNameModeOptionalHandleOptionalUseErrnoOptionalUseLastErrorOptionalMixin,
|
|
93
94
|
ChildrenHavingNameModeOptionalHandleOptionalUseErrnoOptionalUseLastErrorOptionalWinmodeOptionalMixin,
|
|
95
|
+
ChildrenHavingPackageOptionalResourcesTupleEncodingOptionalErrorsOptionalMixin,
|
|
94
96
|
ChildrenHavingPackageOrRequirementResourceNameMixin,
|
|
95
97
|
ChildrenHavingPackageResourceEncodingOptionalErrorsOptionalMixin,
|
|
96
98
|
ChildrenHavingPackageResourceMixin,
|
|
@@ -168,7 +170,7 @@ class ExpressionCtypesCdllSince38CallBase(
|
|
|
168
170
|
):
|
|
169
171
|
"""Base class for CtypesCdllCall
|
|
170
172
|
|
|
171
|
-
Generated boiler plate code.
|
|
173
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
172
174
|
"""
|
|
173
175
|
|
|
174
176
|
python_version_spec = ">= 0x380"
|
|
@@ -239,7 +241,7 @@ class ExpressionCtypesCdllBefore38CallBase(
|
|
|
239
241
|
):
|
|
240
242
|
"""Base class for CtypesCdllCall
|
|
241
243
|
|
|
242
|
-
Generated boiler plate code.
|
|
244
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
243
245
|
"""
|
|
244
246
|
|
|
245
247
|
python_version_spec = "< 0x380"
|
|
@@ -347,7 +349,7 @@ class ExpressionImportlibMetadataBackportDistributionCallBase(
|
|
|
347
349
|
):
|
|
348
350
|
"""Base class for ImportlibMetadataBackportDistributionCall
|
|
349
351
|
|
|
350
|
-
Generated boiler plate code.
|
|
352
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
351
353
|
"""
|
|
352
354
|
|
|
353
355
|
named_children = ("distribution_name",)
|
|
@@ -441,7 +443,7 @@ class ExpressionImportlibMetadataBackportEntryPointsCallBase(
|
|
|
441
443
|
):
|
|
442
444
|
"""Base class for ImportlibMetadataBackportEntryPointsCall
|
|
443
445
|
|
|
444
|
-
Generated boiler plate code.
|
|
446
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
445
447
|
"""
|
|
446
448
|
|
|
447
449
|
named_children = ("params|tuple",)
|
|
@@ -535,7 +537,7 @@ class ExpressionImportlibMetadataBackportMetadataCallBase(
|
|
|
535
537
|
):
|
|
536
538
|
"""Base class for ImportlibMetadataBackportMetadataCall
|
|
537
539
|
|
|
538
|
-
Generated boiler plate code.
|
|
540
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
539
541
|
"""
|
|
540
542
|
|
|
541
543
|
named_children = ("distribution_name",)
|
|
@@ -629,7 +631,7 @@ class ExpressionImportlibMetadataBackportVersionCallBase(
|
|
|
629
631
|
):
|
|
630
632
|
"""Base class for ImportlibMetadataBackportVersionCall
|
|
631
633
|
|
|
632
|
-
Generated boiler plate code.
|
|
634
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
633
635
|
"""
|
|
634
636
|
|
|
635
637
|
named_children = ("distribution_name",)
|
|
@@ -723,7 +725,7 @@ class ExpressionImportlibMetadataDistributionCallBase(
|
|
|
723
725
|
):
|
|
724
726
|
"""Base class for ImportlibMetadataDistributionCall
|
|
725
727
|
|
|
726
|
-
Generated boiler plate code.
|
|
728
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
727
729
|
"""
|
|
728
730
|
|
|
729
731
|
named_children = ("distribution_name",)
|
|
@@ -834,7 +836,7 @@ class ExpressionImportlibMetadataEntryPointsSince310CallBase(
|
|
|
834
836
|
):
|
|
835
837
|
"""Base class for ImportlibMetadataEntryPointsCall
|
|
836
838
|
|
|
837
|
-
Generated boiler plate code.
|
|
839
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
838
840
|
"""
|
|
839
841
|
|
|
840
842
|
python_version_spec = ">= 0x3a0"
|
|
@@ -886,7 +888,7 @@ class ExpressionImportlibMetadataEntryPointsBefore310CallBase(
|
|
|
886
888
|
):
|
|
887
889
|
"""Base class for ImportlibMetadataEntryPointsCall
|
|
888
890
|
|
|
889
|
-
Generated boiler plate code.
|
|
891
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
890
892
|
"""
|
|
891
893
|
|
|
892
894
|
python_version_spec = "< 0x3a0"
|
|
@@ -972,7 +974,7 @@ class ExpressionImportlibMetadataMetadataCallBase(
|
|
|
972
974
|
):
|
|
973
975
|
"""Base class for ImportlibMetadataMetadataCall
|
|
974
976
|
|
|
975
|
-
Generated boiler plate code.
|
|
977
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
976
978
|
"""
|
|
977
979
|
|
|
978
980
|
named_children = ("distribution_name",)
|
|
@@ -1065,7 +1067,7 @@ class ExpressionImportlibMetadataVersionCallBase(
|
|
|
1065
1067
|
):
|
|
1066
1068
|
"""Base class for ImportlibMetadataVersionCall
|
|
1067
1069
|
|
|
1068
|
-
Generated boiler plate code.
|
|
1070
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
1069
1071
|
"""
|
|
1070
1072
|
|
|
1071
1073
|
named_children = ("distribution_name",)
|
|
@@ -1158,7 +1160,7 @@ class ExpressionImportlibResourcesBackportFilesCallBase(
|
|
|
1158
1160
|
):
|
|
1159
1161
|
"""Base class for ImportlibResourcesBackportFilesCall
|
|
1160
1162
|
|
|
1161
|
-
Generated boiler plate code.
|
|
1163
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
1162
1164
|
"""
|
|
1163
1165
|
|
|
1164
1166
|
named_children = ("package",)
|
|
@@ -1252,7 +1254,7 @@ class ExpressionImportlibResourcesBackportReadBinaryCallBase(
|
|
|
1252
1254
|
):
|
|
1253
1255
|
"""Base class for ImportlibResourcesBackportReadBinaryCall
|
|
1254
1256
|
|
|
1255
|
-
Generated boiler plate code.
|
|
1257
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
1256
1258
|
"""
|
|
1257
1259
|
|
|
1258
1260
|
named_children = (
|
|
@@ -1355,7 +1357,7 @@ class ExpressionImportlibResourcesBackportReadTextCallBase(
|
|
|
1355
1357
|
):
|
|
1356
1358
|
"""Base class for ImportlibResourcesBackportReadTextCall
|
|
1357
1359
|
|
|
1358
|
-
Generated boiler plate code.
|
|
1360
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
1359
1361
|
"""
|
|
1360
1362
|
|
|
1361
1363
|
named_children = (
|
|
@@ -1460,7 +1462,7 @@ class ExpressionImportlibResourcesFilesCallBase(
|
|
|
1460
1462
|
):
|
|
1461
1463
|
"""Base class for ImportlibResourcesFilesCall
|
|
1462
1464
|
|
|
1463
|
-
Generated boiler plate code.
|
|
1465
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
1464
1466
|
"""
|
|
1465
1467
|
|
|
1466
1468
|
named_children = ("package",)
|
|
@@ -1553,7 +1555,7 @@ class ExpressionImportlibResourcesReadBinaryCallBase(
|
|
|
1553
1555
|
):
|
|
1554
1556
|
"""Base class for ImportlibResourcesReadBinaryCall
|
|
1555
1557
|
|
|
1556
|
-
Generated boiler plate code.
|
|
1558
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
1557
1559
|
"""
|
|
1558
1560
|
|
|
1559
1561
|
named_children = (
|
|
@@ -1626,38 +1628,120 @@ class ExpressionImportlibResourcesReadTextRef(
|
|
|
1626
1628
|
# replaced, we might be better but not now.
|
|
1627
1629
|
trace_collection.onExceptionRaiseExit(BaseException)
|
|
1628
1630
|
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1631
|
+
if python_version >= 0x3D0:
|
|
1632
|
+
from .PackageResourceNodes import (
|
|
1633
|
+
makeExpressionImportlibResourcesReadTextSince313Call,
|
|
1634
|
+
)
|
|
1632
1635
|
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1636
|
+
result = extractBuiltinArgs(
|
|
1637
|
+
node=call_node,
|
|
1638
|
+
builtin_class=makeExpressionImportlibResourcesReadTextSince313Call,
|
|
1639
|
+
builtin_spec=importlib_resources_read_text_since_313_spec,
|
|
1640
|
+
)
|
|
1638
1641
|
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1642
|
+
return (
|
|
1643
|
+
result,
|
|
1644
|
+
"new_expression",
|
|
1645
|
+
"Call to 'importlib.resources.read_text' recognized.",
|
|
1646
|
+
)
|
|
1647
|
+
|
|
1648
|
+
if python_version < 0x3D0:
|
|
1649
|
+
from .PackageResourceNodes import (
|
|
1650
|
+
makeExpressionImportlibResourcesReadTextBefore313Call,
|
|
1651
|
+
)
|
|
1652
|
+
|
|
1653
|
+
result = extractBuiltinArgs(
|
|
1654
|
+
node=call_node,
|
|
1655
|
+
builtin_class=makeExpressionImportlibResourcesReadTextBefore313Call,
|
|
1656
|
+
builtin_spec=importlib_resources_read_text_before_313_spec,
|
|
1657
|
+
)
|
|
1658
|
+
|
|
1659
|
+
return (
|
|
1660
|
+
result,
|
|
1661
|
+
"new_expression",
|
|
1662
|
+
"Call to 'importlib.resources.read_text' recognized.",
|
|
1663
|
+
)
|
|
1644
1664
|
|
|
1645
1665
|
|
|
1646
1666
|
hard_import_node_classes[ExpressionImportlibResourcesReadTextRef] = (
|
|
1647
|
-
|
|
1667
|
+
importlib_resources_read_text_since_313_spec
|
|
1648
1668
|
)
|
|
1649
1669
|
|
|
1650
1670
|
|
|
1651
|
-
class
|
|
1671
|
+
class ExpressionImportlibResourcesReadTextSince313CallBase(
|
|
1672
|
+
ExpressionStrShapeExactMixin,
|
|
1673
|
+
ChildrenHavingPackageOptionalResourcesTupleEncodingOptionalErrorsOptionalMixin,
|
|
1674
|
+
ExpressionBase,
|
|
1675
|
+
):
|
|
1676
|
+
"""Base class for ImportlibResourcesReadTextCall
|
|
1677
|
+
|
|
1678
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
1679
|
+
"""
|
|
1680
|
+
|
|
1681
|
+
python_version_spec = ">= 0x3d0"
|
|
1682
|
+
|
|
1683
|
+
named_children = (
|
|
1684
|
+
"package|optional",
|
|
1685
|
+
"resources|tuple",
|
|
1686
|
+
"encoding|optional",
|
|
1687
|
+
"errors|optional",
|
|
1688
|
+
)
|
|
1689
|
+
|
|
1690
|
+
__slots__ = ("attempted",)
|
|
1691
|
+
|
|
1692
|
+
spec = importlib_resources_read_text_since_313_spec
|
|
1693
|
+
|
|
1694
|
+
def __init__(self, package, resources, encoding, errors, source_ref):
|
|
1695
|
+
|
|
1696
|
+
ChildrenHavingPackageOptionalResourcesTupleEncodingOptionalErrorsOptionalMixin.__init__(
|
|
1697
|
+
self,
|
|
1698
|
+
package=package,
|
|
1699
|
+
resources=resources,
|
|
1700
|
+
encoding=encoding,
|
|
1701
|
+
errors=errors,
|
|
1702
|
+
)
|
|
1703
|
+
|
|
1704
|
+
ExpressionBase.__init__(self, source_ref)
|
|
1705
|
+
|
|
1706
|
+
self.attempted = False
|
|
1707
|
+
|
|
1708
|
+
def computeExpression(self, trace_collection):
|
|
1709
|
+
if (
|
|
1710
|
+
self.attempted
|
|
1711
|
+
or not importlib_resources_read_text_since_313_spec.isCompileTimeComputable(
|
|
1712
|
+
(self.subnode_package,) + self.subnode_resources
|
|
1713
|
+
)
|
|
1714
|
+
):
|
|
1715
|
+
trace_collection.onExceptionRaiseExit(BaseException)
|
|
1716
|
+
|
|
1717
|
+
return self, None, None
|
|
1718
|
+
|
|
1719
|
+
try:
|
|
1720
|
+
return self.replaceWithCompileTimeValue(trace_collection)
|
|
1721
|
+
finally:
|
|
1722
|
+
self.attempted = True
|
|
1723
|
+
|
|
1724
|
+
@abstractmethod
|
|
1725
|
+
def replaceWithCompileTimeValue(self, trace_collection):
|
|
1726
|
+
pass
|
|
1727
|
+
|
|
1728
|
+
@staticmethod
|
|
1729
|
+
def mayRaiseExceptionOperation():
|
|
1730
|
+
return True
|
|
1731
|
+
|
|
1732
|
+
|
|
1733
|
+
class ExpressionImportlibResourcesReadTextBefore313CallBase(
|
|
1652
1734
|
ExpressionStrShapeExactMixin,
|
|
1653
1735
|
ChildrenHavingPackageResourceEncodingOptionalErrorsOptionalMixin,
|
|
1654
1736
|
ExpressionBase,
|
|
1655
1737
|
):
|
|
1656
1738
|
"""Base class for ImportlibResourcesReadTextCall
|
|
1657
1739
|
|
|
1658
|
-
Generated boiler plate code.
|
|
1740
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
1659
1741
|
"""
|
|
1660
1742
|
|
|
1743
|
+
python_version_spec = "< 0x3d0"
|
|
1744
|
+
|
|
1661
1745
|
named_children = (
|
|
1662
1746
|
"package",
|
|
1663
1747
|
"resource",
|
|
@@ -1667,7 +1751,7 @@ class ExpressionImportlibResourcesReadTextCallBase(
|
|
|
1667
1751
|
|
|
1668
1752
|
__slots__ = ("attempted",)
|
|
1669
1753
|
|
|
1670
|
-
spec =
|
|
1754
|
+
spec = importlib_resources_read_text_before_313_spec
|
|
1671
1755
|
|
|
1672
1756
|
def __init__(self, package, resource, encoding, errors, source_ref):
|
|
1673
1757
|
|
|
@@ -1686,7 +1770,7 @@ class ExpressionImportlibResourcesReadTextCallBase(
|
|
|
1686
1770
|
def computeExpression(self, trace_collection):
|
|
1687
1771
|
if (
|
|
1688
1772
|
self.attempted
|
|
1689
|
-
or not
|
|
1773
|
+
or not importlib_resources_read_text_before_313_spec.isCompileTimeComputable(
|
|
1690
1774
|
(
|
|
1691
1775
|
self.subnode_package,
|
|
1692
1776
|
self.subnode_resource,
|
|
@@ -1753,7 +1837,7 @@ hard_import_node_classes[ExpressionOsListdirRef] = os_listdir_spec
|
|
|
1753
1837
|
class ExpressionOsListdirCallBase(ChildHavingPathOptionalMixin, ExpressionBase):
|
|
1754
1838
|
"""Base class for OsListdirCall
|
|
1755
1839
|
|
|
1756
|
-
Generated boiler plate code.
|
|
1840
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
1757
1841
|
"""
|
|
1758
1842
|
|
|
1759
1843
|
named_children = ("path|optional",)
|
|
@@ -1837,7 +1921,7 @@ class ExpressionOsLstatCallBase(
|
|
|
1837
1921
|
):
|
|
1838
1922
|
"""Base class for OsLstatCall
|
|
1839
1923
|
|
|
1840
|
-
Generated boiler plate code.
|
|
1924
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
1841
1925
|
"""
|
|
1842
1926
|
|
|
1843
1927
|
named_children = (
|
|
@@ -1923,7 +2007,7 @@ hard_import_node_classes[ExpressionOsPathAbspathRef] = os_path_abspath_spec
|
|
|
1923
2007
|
class ExpressionOsPathAbspathCallBase(ChildHavingPathMixin, ExpressionBase):
|
|
1924
2008
|
"""Base class for OsPathAbspathCall
|
|
1925
2009
|
|
|
1926
|
-
Generated boiler plate code.
|
|
2010
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
1927
2011
|
"""
|
|
1928
2012
|
|
|
1929
2013
|
named_children = ("path",)
|
|
@@ -2005,7 +2089,7 @@ hard_import_node_classes[ExpressionOsPathBasenameRef] = os_path_basename_spec
|
|
|
2005
2089
|
class ExpressionOsPathBasenameCallBase(ChildHavingPMixin, ExpressionBase):
|
|
2006
2090
|
"""Base class for OsPathBasenameCall
|
|
2007
2091
|
|
|
2008
|
-
Generated boiler plate code.
|
|
2092
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
2009
2093
|
"""
|
|
2010
2094
|
|
|
2011
2095
|
named_children = ("p",)
|
|
@@ -2087,7 +2171,7 @@ hard_import_node_classes[ExpressionOsPathDirnameRef] = os_path_dirname_spec
|
|
|
2087
2171
|
class ExpressionOsPathDirnameCallBase(ChildHavingPMixin, ExpressionBase):
|
|
2088
2172
|
"""Base class for OsPathDirnameCall
|
|
2089
2173
|
|
|
2090
|
-
Generated boiler plate code.
|
|
2174
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
2091
2175
|
"""
|
|
2092
2176
|
|
|
2093
2177
|
named_children = ("p",)
|
|
@@ -2169,7 +2253,7 @@ hard_import_node_classes[ExpressionOsPathExistsRef] = os_path_exists_spec
|
|
|
2169
2253
|
class ExpressionOsPathExistsCallBase(ChildHavingPathMixin, ExpressionBase):
|
|
2170
2254
|
"""Base class for OsPathExistsCall
|
|
2171
2255
|
|
|
2172
|
-
Generated boiler plate code.
|
|
2256
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
2173
2257
|
"""
|
|
2174
2258
|
|
|
2175
2259
|
named_children = ("path",)
|
|
@@ -2253,7 +2337,7 @@ class ExpressionOsPathIsabsCallBase(
|
|
|
2253
2337
|
):
|
|
2254
2338
|
"""Base class for OsPathIsabsCall
|
|
2255
2339
|
|
|
2256
|
-
Generated boiler plate code.
|
|
2340
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
2257
2341
|
"""
|
|
2258
2342
|
|
|
2259
2343
|
named_children = ("s",)
|
|
@@ -2335,7 +2419,7 @@ hard_import_node_classes[ExpressionOsPathIsdirRef] = os_path_isdir_spec
|
|
|
2335
2419
|
class ExpressionOsPathIsdirCallBase(ChildHavingPathMixin, ExpressionBase):
|
|
2336
2420
|
"""Base class for OsPathIsdirCall
|
|
2337
2421
|
|
|
2338
|
-
Generated boiler plate code.
|
|
2422
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
2339
2423
|
"""
|
|
2340
2424
|
|
|
2341
2425
|
named_children = ("path",)
|
|
@@ -2417,7 +2501,7 @@ hard_import_node_classes[ExpressionOsPathIsfileRef] = os_path_isfile_spec
|
|
|
2417
2501
|
class ExpressionOsPathIsfileCallBase(ChildHavingPathMixin, ExpressionBase):
|
|
2418
2502
|
"""Base class for OsPathIsfileCall
|
|
2419
2503
|
|
|
2420
|
-
Generated boiler plate code.
|
|
2504
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
2421
2505
|
"""
|
|
2422
2506
|
|
|
2423
2507
|
named_children = ("path",)
|
|
@@ -2499,7 +2583,7 @@ hard_import_node_classes[ExpressionOsPathNormpathRef] = os_path_normpath_spec
|
|
|
2499
2583
|
class ExpressionOsPathNormpathCallBase(ChildHavingPathMixin, ExpressionBase):
|
|
2500
2584
|
"""Base class for OsPathNormpathCall
|
|
2501
2585
|
|
|
2502
|
-
Generated boiler plate code.
|
|
2586
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
2503
2587
|
"""
|
|
2504
2588
|
|
|
2505
2589
|
named_children = ("path",)
|
|
@@ -2583,7 +2667,7 @@ class ExpressionOsStatCallBase(
|
|
|
2583
2667
|
):
|
|
2584
2668
|
"""Base class for OsStatCall
|
|
2585
2669
|
|
|
2586
|
-
Generated boiler plate code.
|
|
2670
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
2587
2671
|
"""
|
|
2588
2672
|
|
|
2589
2673
|
named_children = (
|
|
@@ -2671,7 +2755,7 @@ hard_import_node_classes[ExpressionOsUnameRef] = os_uname_spec
|
|
|
2671
2755
|
class ExpressionOsUnameCallBase(ExpressionBase):
|
|
2672
2756
|
"""Base class for OsUnameCall
|
|
2673
2757
|
|
|
2674
|
-
Generated boiler plate code.
|
|
2758
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
2675
2759
|
"""
|
|
2676
2760
|
|
|
2677
2761
|
__slots__ = ("attempted",)
|
|
@@ -2755,7 +2839,7 @@ class ExpressionPkgResourcesGetDistributionCallBase(
|
|
|
2755
2839
|
):
|
|
2756
2840
|
"""Base class for PkgResourcesGetDistributionCall
|
|
2757
2841
|
|
|
2758
|
-
Generated boiler plate code.
|
|
2842
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
2759
2843
|
"""
|
|
2760
2844
|
|
|
2761
2845
|
named_children = ("dist",)
|
|
@@ -2849,7 +2933,7 @@ class ExpressionPkgResourcesIterEntryPointsCallBase(
|
|
|
2849
2933
|
):
|
|
2850
2934
|
"""Base class for PkgResourcesIterEntryPointsCall
|
|
2851
2935
|
|
|
2852
|
-
Generated boiler plate code.
|
|
2936
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
2853
2937
|
"""
|
|
2854
2938
|
|
|
2855
2939
|
named_children = (
|
|
@@ -2946,7 +3030,7 @@ class ExpressionPkgResourcesRequireCallBase(
|
|
|
2946
3030
|
):
|
|
2947
3031
|
"""Base class for PkgResourcesRequireCall
|
|
2948
3032
|
|
|
2949
|
-
Generated boiler plate code.
|
|
3033
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
2950
3034
|
"""
|
|
2951
3035
|
|
|
2952
3036
|
named_children = ("requirements|tuple",)
|
|
@@ -3037,7 +3121,7 @@ class ExpressionPkgResourcesResourceStreamCallBase(
|
|
|
3037
3121
|
):
|
|
3038
3122
|
"""Base class for PkgResourcesResourceStreamCall
|
|
3039
3123
|
|
|
3040
|
-
Generated boiler plate code.
|
|
3124
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
3041
3125
|
"""
|
|
3042
3126
|
|
|
3043
3127
|
named_children = (
|
|
@@ -3138,7 +3222,7 @@ class ExpressionPkgResourcesResourceStringCallBase(
|
|
|
3138
3222
|
):
|
|
3139
3223
|
"""Base class for PkgResourcesResourceStringCall
|
|
3140
3224
|
|
|
3141
|
-
Generated boiler plate code.
|
|
3225
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
3142
3226
|
"""
|
|
3143
3227
|
|
|
3144
3228
|
named_children = (
|
|
@@ -3233,7 +3317,7 @@ class ExpressionPkgutilGetDataCallBase(
|
|
|
3233
3317
|
):
|
|
3234
3318
|
"""Base class for PkgutilGetDataCall
|
|
3235
3319
|
|
|
3236
|
-
Generated boiler plate code.
|
|
3320
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
3237
3321
|
"""
|
|
3238
3322
|
|
|
3239
3323
|
named_children = (
|
|
@@ -3322,7 +3406,7 @@ hard_import_node_classes[ExpressionSysExitRef] = sys_exit_spec
|
|
|
3322
3406
|
class ExpressionSysExitCallBase(ChildHavingExitCodeOptionalMixin, ExpressionBase):
|
|
3323
3407
|
"""Base class for SysExitCall
|
|
3324
3408
|
|
|
3325
|
-
Generated boiler plate code.
|
|
3409
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
3326
3410
|
"""
|
|
3327
3411
|
|
|
3328
3412
|
named_children = ("exit_code|optional",)
|
|
@@ -3408,7 +3492,7 @@ class ExpressionTensorflowFunctionCallBase(
|
|
|
3408
3492
|
):
|
|
3409
3493
|
"""Base class for TensorflowFunctionCall
|
|
3410
3494
|
|
|
3411
|
-
Generated boiler plate code.
|
|
3495
|
+
Generated boiler plate code from 'HardImportCallNode.py.j2' template.
|
|
3412
3496
|
"""
|
|
3413
3497
|
|
|
3414
3498
|
named_children = (
|
nuitka/nodes/ImportHardNodes.py
CHANGED
nuitka/nodes/ImportNodes.py
CHANGED
nuitka/nodes/IndicatorMixins.py
CHANGED
nuitka/nodes/InjectCNodes.py
CHANGED
nuitka/nodes/IterationHandles.py
CHANGED
nuitka/nodes/LocalsDictNodes.py
CHANGED
nuitka/nodes/LocalsScopes.py
CHANGED
nuitka/nodes/LoopNodes.py
CHANGED
nuitka/nodes/MatchNodes.py
CHANGED
nuitka/nodes/ModuleNodes.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright 2025, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of file
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
""" Module/Package nodes
|
|
@@ -87,7 +87,7 @@ class PythonModuleBase(NodeBase):
|
|
|
87
87
|
level=0,
|
|
88
88
|
)
|
|
89
89
|
|
|
90
|
-
# If we can't find the package for Python3
|
|
90
|
+
# If we can't find the package for Python3 that is semi-OK, it might be in a
|
|
91
91
|
# namespace package, these have no init code.
|
|
92
92
|
if python_version >= 0x300 and not package_filename:
|
|
93
93
|
return ()
|
nuitka/nodes/NetworkxNodes.py
CHANGED
nuitka/nodes/NodeBases.py
CHANGED
nuitka/nodes/NodeMetaClasses.py
CHANGED
nuitka/nodes/OperatorNodes.py
CHANGED
nuitka/nodes/OsSysNodes.py
CHANGED
nuitka/nodes/OutlineNodes.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright 2025, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of file
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
""" Nodes the represent ways to access metadata pkg_resources, importlib.resources etc.
|