Nuitka-winsvc 2.3.9__cp311-cp311-win_amd64.whl → 2.3.11__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.9.dist-info → Nuitka_winsvc-2.3.11.dist-info}/METADATA +1 -1
- {Nuitka_winsvc-2.3.9.dist-info → Nuitka_winsvc-2.3.11.dist-info}/RECORD +26 -26
- {Nuitka_winsvc-2.3.9.dist-info → Nuitka_winsvc-2.3.11.dist-info}/WHEEL +1 -1
- nuitka/Tracing.py +26 -23
- nuitka/Version.py +1 -1
- nuitka/build/SconsUtils.py +1 -1
- nuitka/build/static_src/CompiledCodeHelpers.c +2 -0
- nuitka/build/static_src/HelpersBuiltin.c +2 -2
- nuitka/build/static_src/HelpersHeapStorage.c +4 -0
- nuitka/build/static_src/MetaPathBasedLoader.c +2 -2
- nuitka/build/static_src/MetaPathBasedLoaderResourceReaderFiles.c +29 -0
- nuitka/freezer/DllDependenciesMacOS.py +23 -2
- nuitka/nodes/FunctionNodes.py +4 -1
- nuitka/nodes/NodeBases.py +10 -9
- nuitka/nodes/shapes/BuiltinTypeShapes.py +21 -1
- nuitka/plugins/standard/standard.nuitka-package.config.yml +32 -10
- nuitka/plugins/standard/stdlib3.nuitka-package.config.yml +11 -0
- nuitka/tree/InternalModule.py +1 -1
- nuitka/tree/ReformulationFunctionStatements.py +1 -0
- nuitka/utils/Execution.py +8 -7
- nuitka/utils/SharedLibraries.py +37 -33
- {Nuitka_winsvc-2.3.9.data → Nuitka_winsvc-2.3.11.data}/scripts/nuitka-run.bat +0 -0
- {Nuitka_winsvc-2.3.9.data → Nuitka_winsvc-2.3.11.data}/scripts/nuitka.bat +0 -0
- {Nuitka_winsvc-2.3.9.dist-info → Nuitka_winsvc-2.3.11.dist-info}/LICENSE.txt +0 -0
- {Nuitka_winsvc-2.3.9.dist-info → Nuitka_winsvc-2.3.11.dist-info}/entry_points.txt +0 -0
- {Nuitka_winsvc-2.3.9.dist-info → Nuitka_winsvc-2.3.11.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
Nuitka_winsvc-2.3.
|
|
2
|
-
Nuitka_winsvc-2.3.
|
|
1
|
+
Nuitka_winsvc-2.3.11.data/scripts/nuitka-run.bat,sha256=zzCZ6CymZcBcI_BMB1RwNIegL0JcACGwKTMeIW-aaOU,924
|
|
2
|
+
Nuitka_winsvc-2.3.11.data/scripts/nuitka.bat,sha256=G-3yCOmURvmaYtciOLW4cMRGEcutzcsea4qDJqfezg0,1061
|
|
3
3
|
nuitka/Builtins.py,sha256=IPBD00YlX9eNfKyKxyGRukVmwtoiaeJ4YLNdm1LoLOo,7560
|
|
4
4
|
nuitka/BytecodeCaching.py,sha256=KFVx1wDKEG8bydgerI6k2YK6VXIZLmTfMxgZmUhkBWo,5787
|
|
5
5
|
nuitka/Bytecodes.py,sha256=BFKfgzCHUb8-qs1VZcjaKpCwBMt7UKgkT8POEsYljLQ,3891
|
|
@@ -19,10 +19,10 @@ nuitka/PythonOperators.py,sha256=YsVvyhiSk7QgbPIIwzln2qmHRopAgS7LvdyXb6x7dAE,409
|
|
|
19
19
|
nuitka/PythonVersions.py,sha256=dx3YLDkcHzRdwWyj63c3417vQCE7X7yJZGc2VUtRLJk,14573
|
|
20
20
|
nuitka/Serialization.py,sha256=s_ChVkRqMmzZNj5EwWUKnRM7_bKnXPH49KHBJEVelRk,9525
|
|
21
21
|
nuitka/SourceCodeReferences.py,sha256=quGcd9Kg3FjYwsSDDv49MWi_Yec2AurRp-cVspo5qqk,4703
|
|
22
|
-
nuitka/Tracing.py,sha256=
|
|
22
|
+
nuitka/Tracing.py,sha256=VWyCuu12WnPLhfNthJ_ypE0KOYhRcMgkViSu0X4vJSA,13477
|
|
23
23
|
nuitka/TreeXML.py,sha256=x3InjVm0LL5V6aWUrRNCnpCRhjOleEO-HQF6xDEHEyQ,3512
|
|
24
24
|
nuitka/Variables.py,sha256=53u-p0l58lrBg8nNSYd5DjR3AOGezMayUM7C05vANVM,15470
|
|
25
|
-
nuitka/Version.py,sha256=
|
|
25
|
+
nuitka/Version.py,sha256=rLhm4Shit_AnJ7gJMQ_GWuLnczr8AxmSVgxbt7vKKCI,2467
|
|
26
26
|
nuitka/__init__.py,sha256=TkW50aBd9haxBi-DXHM71oVA31d5oPeL06ZwuBSkPqo,865
|
|
27
27
|
nuitka/__main__.py,sha256=HZFjEt3fdlQLqcreBI6dlUvA53IqQMnZE4Aj5FPwu1s,6373
|
|
28
28
|
nuitka/__past__.py,sha256=x9W6PDKU2SOY2Qbeu5kgiwgJ5edjG4BUPhdA-6qQ7mY,5604
|
|
@@ -36,7 +36,7 @@ nuitka/build/SconsHacks.py,sha256=k8wYIKOx-IeuZ2sGvbuXeZ0R3Yci-pXwmCtH_1rGZLQ,55
|
|
|
36
36
|
nuitka/build/SconsInterface.py,sha256=U815kloz0sag68aBA4SS-xp5LNlFl_oBVhlOaz3ZsI0,18576
|
|
37
37
|
nuitka/build/SconsProgress.py,sha256=Zc0Gp2meURGXDK9RMcTb3MBH0wRW51625__y7u8fFa8,2703
|
|
38
38
|
nuitka/build/SconsSpawn.py,sha256=g2BzLuCeIMpt5OHYK7jelyRgm8QlHQxoCKA33mg3y4g,13210
|
|
39
|
-
nuitka/build/SconsUtils.py,sha256=
|
|
39
|
+
nuitka/build/SconsUtils.py,sha256=WkZV2XDM5JYe65IYBfZ8E-9cPzHmS2Rh_QL02E_poHE,27382
|
|
40
40
|
nuitka/build/__init__.py,sha256=TkW50aBd9haxBi-DXHM71oVA31d5oPeL06ZwuBSkPqo,865
|
|
41
41
|
nuitka/build/include/nuitka/allocator.h,sha256=v9rRfTmZiD7yGtpxUP9El8wVVpvqvIdz3973XMaCyKc,10280
|
|
42
42
|
nuitka/build/include/nuitka/builtins.h,sha256=QhRpXRaFLANnurU3yqbgj_pmdgmze5ThItnV4RpR8Xs,3499
|
|
@@ -417,7 +417,7 @@ nuitka/build/inline_copy/zstd/decompress/zstd_decompress_block.h,sha256=Tsd32XLg
|
|
|
417
417
|
nuitka/build/inline_copy/zstd/decompress/zstd_decompress_internal.h,sha256=2Dw1AaKzodgE564IrcIIn4C8w_CE59iKLA4fUSuslBg,7906
|
|
418
418
|
nuitka/build/static_src/CompiledAsyncgenType.c,sha256=5QGMCi0J83i87C7o-jHzULYj4lhdIC5li2aoT-rSMTs,83930
|
|
419
419
|
nuitka/build/static_src/CompiledCellType.c,sha256=PnCv5qveCrr1V8w8EKlkrKlUDfE4hLeOBnNfysnOoJk,9151
|
|
420
|
-
nuitka/build/static_src/CompiledCodeHelpers.c,sha256=
|
|
420
|
+
nuitka/build/static_src/CompiledCodeHelpers.c,sha256=vGOm_6D4q113UcuVHtIVJH7C3mmup9riZv4BbyqAM7Q,59119
|
|
421
421
|
nuitka/build/static_src/CompiledCoroutineType.c,sha256=TPwZBbURO5DfjU9IzLmSs93tJK4eNSKG8ERBr2ehD_A,72338
|
|
422
422
|
nuitka/build/static_src/CompiledFrameType.c,sha256=WDTJ_ubztcPwbfRWB-2ER0eelqM_Pyg28GarZgimx6Y,41337
|
|
423
423
|
nuitka/build/static_src/CompiledFunctionType.c,sha256=PWEm6yqdeDZceh5HM7gqcJiE8lt7vYYR-ZN1YI_eyX8,112838
|
|
@@ -426,7 +426,7 @@ nuitka/build/static_src/CompiledGeneratorTypeUncompiledIntegration.c,sha256=bmcl
|
|
|
426
426
|
nuitka/build/static_src/CompiledMethodType.c,sha256=FPwlVjQ9X-443RJu4VONlAxr1Y-ClC_ZamL1WLsiiy4,22410
|
|
427
427
|
nuitka/build/static_src/HelpersAllocator.c,sha256=-wtp21Q7cZAYQbwg2-_LddaKV-wmunOHZ2fgBYmlojA,20728
|
|
428
428
|
nuitka/build/static_src/HelpersAttributes.c,sha256=-tNlhdUyXHXrXoY7WwiNBtNxoll9fNR0ov_ycWWuCuI,37589
|
|
429
|
-
nuitka/build/static_src/HelpersBuiltin.c,sha256=
|
|
429
|
+
nuitka/build/static_src/HelpersBuiltin.c,sha256=NbgE2Ind5rNku_FJBQEGzFSEQK6BsoEE2JB_0hp5V6M,23739
|
|
430
430
|
nuitka/build/static_src/HelpersBuiltinTypeMethods.c,sha256=8KT1Naoot64WipECnnE9iGxFsy4QdEKlLRidJYcxrdI,114017
|
|
431
431
|
nuitka/build/static_src/HelpersBytes.c,sha256=dH8NhgJMch4qb09uKkm6KBhyVgPv72oXbGse7A-e9O4,3066
|
|
432
432
|
nuitka/build/static_src/HelpersCalling.c,sha256=j-DMreSl7yqmO4EfdbCuVJ39laOa2ZEqFu2litFCooQ,13482
|
|
@@ -452,7 +452,7 @@ nuitka/build/static_src/HelpersExceptions.c,sha256=ZLlSOG1c3s-TVM-U7COaNL1dDij-1
|
|
|
452
452
|
nuitka/build/static_src/HelpersFiles.c,sha256=KG3_OkqlkupVTs0meN43NhAlOAh30OJE2a4yJW_v5gU,8349
|
|
453
453
|
nuitka/build/static_src/HelpersFilesystemPaths.c,sha256=3gh96mtesJBeEQJI7E-VkDzPZfUyyRqVoVpweKCtjcM,30086
|
|
454
454
|
nuitka/build/static_src/HelpersFloats.c,sha256=0Gq3_hD25Jsg7WClqsq1o0f0JSDg--ROBON9oKoUIoU,2719
|
|
455
|
-
nuitka/build/static_src/HelpersHeapStorage.c,sha256=
|
|
455
|
+
nuitka/build/static_src/HelpersHeapStorage.c,sha256=UKucPIeZlW6sbzKnm2A9QKYTkKcv-jIJs2GDgsopsCc,1837
|
|
456
456
|
nuitka/build/static_src/HelpersImport.c,sha256=2ZWoMmEPJJASQjMPt5jWXojzdlVADxRjU4ibZlgZ4Hw,16088
|
|
457
457
|
nuitka/build/static_src/HelpersImportHard.c,sha256=Few7EmmFRLOVfwzjzzQ0izFCFD4Ju7tZELYg4JLn7XY,16843
|
|
458
458
|
nuitka/build/static_src/HelpersJitSources.c,sha256=0vNnbQYGnmSqE7Uj3SkLNbqKFDxY5vP-4piavQYlF1Y,1821
|
|
@@ -506,10 +506,10 @@ nuitka/build/static_src/HelpersTuples.c,sha256=9yVThC0PIcHYadFLyPdf16Bs204TmE2gz
|
|
|
506
506
|
nuitka/build/static_src/HelpersTypes.c,sha256=tjZ06sfYrsSr6bjrnMvC7d6h0rU5zaXWG_NRaIWiRFU,6786
|
|
507
507
|
nuitka/build/static_src/InspectPatcher.c,sha256=NJCesU-b9Sut_Qrz7wMTJf4g3HT-Mw8XkkyNjc6vE1s,14331
|
|
508
508
|
nuitka/build/static_src/MainProgram.c,sha256=wpz1Z3k1J8PIOboQgWsf32Fc0pERn5hGUN0bKY0gXdM,56700
|
|
509
|
-
nuitka/build/static_src/MetaPathBasedLoader.c,sha256=
|
|
509
|
+
nuitka/build/static_src/MetaPathBasedLoader.c,sha256=OIAZwSQTlTBIZkPRjhzl7hLh1Vw-lUwyWWA2g1-Qi24,66098
|
|
510
510
|
nuitka/build/static_src/MetaPathBasedLoaderImportlibMetadataDistribution.c,sha256=Xk4bHcLl7HBEko1BzZqCLDywhBZtkP4NeXsSOIAR5Rc,4827
|
|
511
511
|
nuitka/build/static_src/MetaPathBasedLoaderResourceReader.c,sha256=K5zaC-z7r47DZiQbn4-aYvmm0AEYd3hCAeXw8Xtw9ew,6651
|
|
512
|
-
nuitka/build/static_src/MetaPathBasedLoaderResourceReaderFiles.c,sha256
|
|
512
|
+
nuitka/build/static_src/MetaPathBasedLoaderResourceReaderFiles.c,sha256=-Jd5ixaJcRbywWlkeLiGjBYwcXXq2KMiTzWngeuaF6Y,22875
|
|
513
513
|
nuitka/build/static_src/OnefileBootstrap.c,sha256=ETLPoBbueAEVprcpEBZk689iiFicp_vnVBx383apwik,37344
|
|
514
514
|
nuitka/build/static_src/OnefileSplashScreen.cpp,sha256=SkDvJ9AqdiZvqHHuNxRFMvdMpnynGwaB0oDG4JaG4bs,8050
|
|
515
515
|
nuitka/code_generation/AsyncgenCodes.py,sha256=WoPhZ374EZ_VY4ioTTDGqoASL4Y--7WC8u9LDVxoruo,6491
|
|
@@ -649,7 +649,7 @@ nuitka/finalizations/FinalizeMarkups.py,sha256=vjhI4fVEAglPb_z-e6YtTzgVSBpt5R2NQ
|
|
|
649
649
|
nuitka/finalizations/__init__.py,sha256=TkW50aBd9haxBi-DXHM71oVA31d5oPeL06ZwuBSkPqo,865
|
|
650
650
|
nuitka/freezer/DependsExe.py,sha256=iwVz0-PQaizqfxiDTJ74kKNAmc_r9hTF-9nlfWakjbA,7953
|
|
651
651
|
nuitka/freezer/DllDependenciesCommon.py,sha256=uZkJ4tpvzZ_vHDud0sOuI-GiqWu0R-Y0w64uqKrmgxE,3268
|
|
652
|
-
nuitka/freezer/DllDependenciesMacOS.py,sha256=
|
|
652
|
+
nuitka/freezer/DllDependenciesMacOS.py,sha256=fwuBXI3PmHNgJw3ohSzwB-nU_ixmuHc48siTpoAZjlY,15190
|
|
653
653
|
nuitka/freezer/DllDependenciesPosix.py,sha256=FKzKDuVAViqI00CfADzqgYAJZqB416VaSS-MtApjjJs,7468
|
|
654
654
|
nuitka/freezer/DllDependenciesWin32.py,sha256=K5_NGi_tl8_Oky9T198YlkbFjrPylzFPe7W-3kVfbZU,6837
|
|
655
655
|
nuitka/freezer/ImportDetection.py,sha256=zJtJk-8rmHW-BngN5W6WPhQu6vHLsX9nbDSysytp_0k,11999
|
|
@@ -711,7 +711,7 @@ nuitka/nodes/ExpressionBasesGenerated.py,sha256=onqucua8klKyVLRMXjCUgCZR1frrJwtG
|
|
|
711
711
|
nuitka/nodes/ExpressionShapeMixins.py,sha256=sgOiMvUCGrjvApWJnl0IsncfGOcILV7udcUigVQGAWM,21311
|
|
712
712
|
nuitka/nodes/FrameNodes.py,sha256=jwoOUOLpt2OtQoD8DxRY18Ojhcy66BqQ5tcfVrpxBO4,12024
|
|
713
713
|
nuitka/nodes/FunctionAttributeNodes.py,sha256=Q5BROMSb1ocqf3c858NEo7CsgyAL3N6n7wbaaqZUC0I,3577
|
|
714
|
-
nuitka/nodes/FunctionNodes.py,sha256=
|
|
714
|
+
nuitka/nodes/FunctionNodes.py,sha256=E4dHkQuTVz9CVe3C7H9C9EOtUsMMN9q1enZQrhtWxGE,41247
|
|
715
715
|
nuitka/nodes/FutureSpecs.py,sha256=8rsck2a_LnIPcCIA4d0rkf2RAqohyKtrIdsaeUtPHXc,5409
|
|
716
716
|
nuitka/nodes/GeneratorNodes.py,sha256=wRwqfq1BrDzFTqpfw_2DOyoFYAYsmqrxEHY2QkP_n_U,6288
|
|
717
717
|
nuitka/nodes/GlobalsLocalsNodes.py,sha256=ttjStbCFlPVEJ9GGybvSTVt9ghZqQFWANgE6jJlF8T8,6961
|
|
@@ -730,7 +730,7 @@ nuitka/nodes/MatchNodes.py,sha256=veeVVceVILWtCze1lsHAS46M4IVDxkHloqKl-6vlt98,17
|
|
|
730
730
|
nuitka/nodes/ModuleAttributeNodes.py,sha256=wU-2MbDVOYblJkANZn1WxRDYmy37rb4vSoW_aafKNoY,6567
|
|
731
731
|
nuitka/nodes/ModuleNodes.py,sha256=7sodqqKTmT8cAqrFMNrD5xubJ6Y_osnZWP_-4C1KxUo,33083
|
|
732
732
|
nuitka/nodes/NetworkxNodes.py,sha256=prS8Hr3n0CEca2KqZ-T55GNcn2JGjye1p31iekPvurU,1759
|
|
733
|
-
nuitka/nodes/NodeBases.py,sha256=
|
|
733
|
+
nuitka/nodes/NodeBases.py,sha256=9xILWJ0RWANSVvZvSCHUhhPCiWRhWBohDw_eo2Ga1og,24542
|
|
734
734
|
nuitka/nodes/NodeMakingHelpers.py,sha256=lfjHq9-TCh04kOG4YFqRGvds6Fv2VpgzJkp5cXQZ_wk,15147
|
|
735
735
|
nuitka/nodes/NodeMetaClasses.py,sha256=2yKR95w8-NgcelX985pN2dB6dKnXaaq7h802aMoFNE4,5580
|
|
736
736
|
nuitka/nodes/OperatorNodes.py,sha256=gTlSJT-badBDVMPR3xUFZ1ADf6Q9WcEHaMqMFA6bsMo,31948
|
|
@@ -759,7 +759,7 @@ nuitka/nodes/VariableRefNodes.py,sha256=pmuYtJULpQeiaygpbSY6KIowe75cEcZdflNK-Gh3
|
|
|
759
759
|
nuitka/nodes/VariableReleaseNodes.py,sha256=lFO13L9bmucaAsnlsn7h5kIrehVOBdZPPssBWSPPCLQ,4781
|
|
760
760
|
nuitka/nodes/YieldNodes.py,sha256=5IKeM-RjIx-EDUzXJfhJpb7aQ9qFX4tw9O1Rho1JRpI,3937
|
|
761
761
|
nuitka/nodes/__init__.py,sha256=TkW50aBd9haxBi-DXHM71oVA31d5oPeL06ZwuBSkPqo,865
|
|
762
|
-
nuitka/nodes/shapes/BuiltinTypeShapes.py,sha256=
|
|
762
|
+
nuitka/nodes/shapes/BuiltinTypeShapes.py,sha256=eexEMyZWyE9YWsIno9Z7S8OxClj-yZtTLUmGmIcaOoU,157862
|
|
763
763
|
nuitka/nodes/shapes/ControlFlowDescriptions.py,sha256=N_xKi3qvgY5TGXi96Ou7FmLbnMVxc_YAdBDomADow20,4420
|
|
764
764
|
nuitka/nodes/shapes/ShapeMixins.py,sha256=JU0YUupA5xBlxcOHr5LQ4gGYta93ajRb9-zPGzFkb4Q,5076
|
|
765
765
|
nuitka/nodes/shapes/StandardShapes.py,sha256=L-zT84F1sU4kopwHH39ZurRx7p4PKdYeMxYXQocErdo,42509
|
|
@@ -807,9 +807,9 @@ nuitka/plugins/standard/TransformersPlugin.py,sha256=6Ex9lNg5OupnXhFPKq5ozDOikIb
|
|
|
807
807
|
nuitka/plugins/standard/TrioPlugin.py,sha256=fIz_UTQfwBnl6MY4-XI4eKHPPsMeksPWYjnJU10mOb8,1107
|
|
808
808
|
nuitka/plugins/standard/UpxPlugin.py,sha256=1I3WouiEmKQAvTkzhgmJ2FRjDKHC0oH9onENntmFphg,5668
|
|
809
809
|
nuitka/plugins/standard/__init__.py,sha256=TkW50aBd9haxBi-DXHM71oVA31d5oPeL06ZwuBSkPqo,865
|
|
810
|
-
nuitka/plugins/standard/standard.nuitka-package.config.yml,sha256=
|
|
810
|
+
nuitka/plugins/standard/standard.nuitka-package.config.yml,sha256=dAbJMqr2yvPHrh18VVU9yqWT4GPotO9hCmPDg6BxqOM,243783
|
|
811
811
|
nuitka/plugins/standard/stdlib2.nuitka-package.config.yml,sha256=DRazC20zLXbc71ZMRu9kEA8N4Xe8Iry2sHNsUlbx4FE,2357
|
|
812
|
-
nuitka/plugins/standard/stdlib3.nuitka-package.config.yml,sha256=
|
|
812
|
+
nuitka/plugins/standard/stdlib3.nuitka-package.config.yml,sha256=WXJDz50f2bbgjkZVE0LcPqtz0JPysXaC7CunwJDqQCE,13380
|
|
813
813
|
nuitka/plugins/standard/DillPlugin/DillPlugin.c,sha256=RbyX_UPvVZ00nN2bnIBVFoZ8xSZZ5YFJqVB6Qwg9GSo,1688
|
|
814
814
|
nuitka/plugins/standard/DillPlugin/dill-postLoad.py,sha256=WICFdsvx5ZZKqgfX-GuYWqsuL7avFDqxlFk6UA3qihk,9826
|
|
815
815
|
nuitka/reports/CompilationReportReader.py,sha256=9MRNyEpfu7gf5jDlhz53ZBBERGXTvps1sV2P_hutWf8,2286
|
|
@@ -880,7 +880,7 @@ nuitka/tools/watch/__main__.py,sha256=LXcOziXAy9420chDSdaVtfwyOf-UEsdfzAwbaDKC6O
|
|
|
880
880
|
nuitka/tree/Building.py,sha256=rIkNeNKznS_xkXODX-JDAJIkixUKM5bSP_unQSypRgg,50596
|
|
881
881
|
nuitka/tree/ComplexCallHelperFunctions.py,sha256=52yqRiqd99oHs7Z6im5miEiAJW1Zaz1eZGq0wJwGmwc,75150
|
|
882
882
|
nuitka/tree/Extractions.py,sha256=2PYl4fX-OxIoVZ78F1fc4b6gviLjJ_naGeP86jYNFZs,1733
|
|
883
|
-
nuitka/tree/InternalModule.py,sha256=
|
|
883
|
+
nuitka/tree/InternalModule.py,sha256=QPCP5TDBETkqUnwzupgUOhIi_8ELjbwLh1n-pJqDJZ0,2626
|
|
884
884
|
nuitka/tree/Operations.py,sha256=5_fbWucqHvrBRmgQc8moNGU90vaEgQ6bEMKreYQLD9A,1544
|
|
885
885
|
nuitka/tree/ReformulationAssertStatements.py,sha256=FpyW2HrAyFt77kjRiXthMHSkJc6xXHyHwDOX1aqv_-Y,2841
|
|
886
886
|
nuitka/tree/ReformulationAssignmentStatements.py,sha256=DhdWb4GiusM1vakAhvEZXAAMV1XX3JZjyzy--DYDaak,43887
|
|
@@ -893,7 +893,7 @@ nuitka/tree/ReformulationContractionExpressions.py,sha256=XVdqKEbmOasLuPqV706yzq
|
|
|
893
893
|
nuitka/tree/ReformulationDictionaryCreation.py,sha256=c0KR0dG_3kzi8srG1f_Ka3ZjkrqGwl2-F3y9yk1nD_Q,11266
|
|
894
894
|
nuitka/tree/ReformulationExecStatements.py,sha256=eddoBgJHURgxUdQGVW49lSSchI9CCZxOt4n1YzG5Hyc,14805
|
|
895
895
|
nuitka/tree/ReformulationForLoopStatements.py,sha256=krTj7wRiWATItXOFvm1U141vOcVXBav2Kez577E0l-w,7858
|
|
896
|
-
nuitka/tree/ReformulationFunctionStatements.py,sha256=
|
|
896
|
+
nuitka/tree/ReformulationFunctionStatements.py,sha256=QX9XAtWWdFlcaFfQU14HfYwGrwhvHRSVMpjZtHFK9iI,30917
|
|
897
897
|
nuitka/tree/ReformulationImportStatements.py,sha256=I9Dq_672VD3z67JkOKhg7-K2KR3DG1xld9_NwH3v0b0,14095
|
|
898
898
|
nuitka/tree/ReformulationLambdaExpressions.py,sha256=naZOna60lo_mSpB4f8_7YQ9zlKyXuWoVUJXI76ptXUQ,6630
|
|
899
899
|
nuitka/tree/ReformulationMatchStatements.py,sha256=g_s9VSNUul-M-qH6QWqEK9w5t-cOxbWYPI8130j5SJs,22580
|
|
@@ -917,7 +917,7 @@ nuitka/utils/CStrings.py,sha256=Gv3cmgagoyX780cfferP1GK7gPH8sok5k0wRbbN04JE,4314
|
|
|
917
917
|
nuitka/utils/CommandLineOptions.py,sha256=eUc6cRetHxL07xppAn9MlWcSEUuEDyp6tJ3ihgBRtO8,6394
|
|
918
918
|
nuitka/utils/Distributions.py,sha256=jsxVLx2KnX8gfYsTodZDj4yvsixhDlVDxxbl0krRhO8,14983
|
|
919
919
|
nuitka/utils/Download.py,sha256=oX32tAw6ozvCTE661xaZmw4hGDrOfVaw1VUuMTHMhR8,6477
|
|
920
|
-
nuitka/utils/Execution.py,sha256=
|
|
920
|
+
nuitka/utils/Execution.py,sha256=d0fqUs-3aZbavHvI2sb73Y5rCFpxDxfmjWrE5JAFk3I,13601
|
|
921
921
|
nuitka/utils/FileOperations.py,sha256=OCkwHfSL-dN12s2hu2SqEQkAbNs2-zWRvRRmdf1YRJA,43399
|
|
922
922
|
nuitka/utils/Hashing.py,sha256=vOFVzPNqAJw7NNZ1Hxe0rllnKO-HGwd6n5N3R_2WgQM,3753
|
|
923
923
|
nuitka/utils/Images.py,sha256=UZEABy6K48Zb1Nw22jZ6P41aTfBvYsuklrzKQAxLWyE,2391
|
|
@@ -931,7 +931,7 @@ nuitka/utils/MemoryUsage.py,sha256=QeanxAep9aOvtYvhL4viCHrlRqN3i9OcgfmcV0dhq1c,5
|
|
|
931
931
|
nuitka/utils/ModuleNames.py,sha256=bLtm5e3ojZ_F0GuPbXFbFG4q2vTQXdO-OvMuiSoUO5I,9951
|
|
932
932
|
nuitka/utils/ReExecute.py,sha256=PL4bHKxF6PqqMZeyHo1MLz6flWLngOvERasrcIbC_HA,4831
|
|
933
933
|
nuitka/utils/Rest.py,sha256=zP9jjG6pOSuLKVuZbbj_Wwq1CLZ6hk16wdhHkR_m2oE,1889
|
|
934
|
-
nuitka/utils/SharedLibraries.py,sha256=
|
|
934
|
+
nuitka/utils/SharedLibraries.py,sha256=D6sF-ccgLmtJEh6o_IvoKL2Hw4arj-qVt9plB3ypvRM,24684
|
|
935
935
|
nuitka/utils/Shebang.py,sha256=6NXzMiY9gF16Pvw4FrboM3pmQPgOH5fcEdbt_5mt2Og,3698
|
|
936
936
|
nuitka/utils/Signing.py,sha256=mORmwzVJFLdeZeiDXkQgZz9guL34lhcfOXPSdy0tQnI,3687
|
|
937
937
|
nuitka/utils/SlotMetaClasses.py,sha256=lVJokq-0XqDaNHTt9rfE_khZCQSi_BWMfDDwdwudwt8,2084
|
|
@@ -943,9 +943,9 @@ nuitka/utils/WindowsFileUsage.py,sha256=S6zm_4JQzaSyVmOoLdZDEq--SObR-CHofH4cvs__
|
|
|
943
943
|
nuitka/utils/WindowsResources.py,sha256=npt3jbcTgh1M5G6jyEv6uFqiZIf84XEea3wXQ_sXGdM,19837
|
|
944
944
|
nuitka/utils/Yaml.py,sha256=osd2K6G4XxSpzzTA-KzYoN8n2OF11zgB-4QxgJOig8M,7206
|
|
945
945
|
nuitka/utils/__init__.py,sha256=TkW50aBd9haxBi-DXHM71oVA31d5oPeL06ZwuBSkPqo,865
|
|
946
|
-
Nuitka_winsvc-2.3.
|
|
947
|
-
Nuitka_winsvc-2.3.
|
|
948
|
-
Nuitka_winsvc-2.3.
|
|
949
|
-
Nuitka_winsvc-2.3.
|
|
950
|
-
Nuitka_winsvc-2.3.
|
|
951
|
-
Nuitka_winsvc-2.3.
|
|
946
|
+
Nuitka_winsvc-2.3.11.dist-info/LICENSE.txt,sha256=ZWq74m8T3pVbRFjCBu74q_4GyW11rCqtYB_1vZ4rQ88,11348
|
|
947
|
+
Nuitka_winsvc-2.3.11.dist-info/METADATA,sha256=fxlZGGAhCIeY5f29yEH984VjTb2glRSZmKvNEv7_9T4,4962
|
|
948
|
+
Nuitka_winsvc-2.3.11.dist-info/WHEEL,sha256=i_JcFDy58QgFZFsP7wt-cRI9Av1_Ys9uL_GQXWyaVhs,101
|
|
949
|
+
Nuitka_winsvc-2.3.11.dist-info/entry_points.txt,sha256=jeBnijqxZ4U0WpNEdtaogpNMNlv5jw8H7yMOsf2isFc,308
|
|
950
|
+
Nuitka_winsvc-2.3.11.dist-info/top_level.txt,sha256=TRrfKxSYukbo1yzTGfwyH7wVzhDpKlwQsLjhIr15yqY,7
|
|
951
|
+
Nuitka_winsvc-2.3.11.dist-info/RECORD,,
|
nuitka/Tracing.py
CHANGED
|
@@ -197,37 +197,40 @@ def _aliasStyle(style):
|
|
|
197
197
|
|
|
198
198
|
|
|
199
199
|
def _my_print(file_output, is_atty, args, kwargs):
|
|
200
|
-
|
|
201
|
-
style
|
|
202
|
-
|
|
200
|
+
try:
|
|
201
|
+
if "style" in kwargs:
|
|
202
|
+
style = kwargs["style"]
|
|
203
|
+
del kwargs["style"]
|
|
203
204
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
205
|
+
if "end" in kwargs:
|
|
206
|
+
end = kwargs["end"]
|
|
207
|
+
del kwargs["end"]
|
|
208
|
+
else:
|
|
209
|
+
end = "\n"
|
|
209
210
|
|
|
210
|
-
|
|
211
|
-
|
|
211
|
+
if style is not None and is_atty:
|
|
212
|
+
enable_style = _getEnableStyleCode(style)
|
|
212
213
|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
214
|
+
if enable_style is None:
|
|
215
|
+
raise ValueError(
|
|
216
|
+
"%r is an invalid value for keyword argument style" % style
|
|
217
|
+
)
|
|
217
218
|
|
|
218
|
-
|
|
219
|
+
_enableAnsi()
|
|
219
220
|
|
|
220
|
-
|
|
221
|
+
print(enable_style, end="", **kwargs)
|
|
221
222
|
|
|
222
|
-
|
|
223
|
+
print(*args, end=end, **kwargs)
|
|
223
224
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
225
|
+
if style is not None and is_atty:
|
|
226
|
+
print(_getDisableStyleCode(), end="", **kwargs)
|
|
227
|
+
else:
|
|
228
|
+
print(*args, **kwargs)
|
|
228
229
|
|
|
229
|
-
|
|
230
|
-
|
|
230
|
+
# Flush the output.
|
|
231
|
+
file_output.flush()
|
|
232
|
+
except BrokenPipeError:
|
|
233
|
+
pass
|
|
231
234
|
|
|
232
235
|
|
|
233
236
|
def my_print(*args, **kwargs):
|
nuitka/Version.py
CHANGED
nuitka/build/SconsUtils.py
CHANGED
|
@@ -33,7 +33,7 @@ from nuitka.utils.Utils import isLinux, isMacOS, isPosixWindows, isWin32Windows
|
|
|
33
33
|
|
|
34
34
|
def initScons():
|
|
35
35
|
# Avoid localized outputs.
|
|
36
|
-
os.environ["
|
|
36
|
+
os.environ["LC_ALL"] = "C"
|
|
37
37
|
|
|
38
38
|
def no_sync(self):
|
|
39
39
|
# That's a noop, pylint: disable=unused-argument
|
|
@@ -619,9 +619,9 @@ PyObject *BUILTIN_TYPE3(PyThreadState *tstate, PyObject *module_name, PyObject *
|
|
|
619
619
|
Py_DECREF(pos_args);
|
|
620
620
|
|
|
621
621
|
if (HAS_ATTR_BOOL(tstate, result, const_str_plain___module__) == false) {
|
|
622
|
-
|
|
622
|
+
bool b_res = SET_ATTRIBUTE(tstate, result, const_str_plain___module__, module_name);
|
|
623
623
|
|
|
624
|
-
if (
|
|
624
|
+
if (b_res == false) {
|
|
625
625
|
Py_DECREF(result);
|
|
626
626
|
return NULL;
|
|
627
627
|
}
|
|
@@ -28,6 +28,8 @@ void Nuitka_PreserveHeap(void *dest, ...) {
|
|
|
28
28
|
memcpy(w, source, size);
|
|
29
29
|
w += size;
|
|
30
30
|
}
|
|
31
|
+
|
|
32
|
+
va_end(ap);
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
void Nuitka_RestoreHeap(void *source, ...) {
|
|
@@ -46,6 +48,8 @@ void Nuitka_RestoreHeap(void *source, ...) {
|
|
|
46
48
|
memcpy(dest, w, size);
|
|
47
49
|
w += size;
|
|
48
50
|
}
|
|
51
|
+
|
|
52
|
+
va_end(ap);
|
|
49
53
|
}
|
|
50
54
|
|
|
51
55
|
// Part of "Nuitka", an optimizing Python compiler that is compatible and
|
|
@@ -1669,9 +1669,9 @@ static PyObject *_nuitka_loader_exec_module(PyObject *self, PyObject *args, PyOb
|
|
|
1669
1669
|
|
|
1670
1670
|
if (extension_module_filename != NULL) {
|
|
1671
1671
|
// Set filename attribute
|
|
1672
|
-
|
|
1672
|
+
bool b_res = SET_ATTRIBUTE(tstate, module, const_str_plain___file__, extension_module_filename);
|
|
1673
1673
|
|
|
1674
|
-
if (unlikely(
|
|
1674
|
+
if (unlikely(b_res == false)) {
|
|
1675
1675
|
// Might be refuted, which wouldn't be harmful.
|
|
1676
1676
|
CLEAR_ERROR_OCCURRED(tstate);
|
|
1677
1677
|
}
|
|
@@ -442,6 +442,33 @@ static PyObject *Nuitka_ResourceReaderFiles_absolute(struct Nuitka_ResourceReade
|
|
|
442
442
|
return Nuitka_ResourceReaderFiles_New(tstate, files->m_loader_entry, abspath);
|
|
443
443
|
}
|
|
444
444
|
|
|
445
|
+
static PyObject *Nuitka_ResourceReaderFiles_get_parent(struct Nuitka_ResourceReaderFilesObject *files) {
|
|
446
|
+
PyThreadState *tstate = PyThreadState_GET();
|
|
447
|
+
|
|
448
|
+
PyObject *path = _Nuitka_ResourceReaderFiles_GetPath(tstate, files);
|
|
449
|
+
|
|
450
|
+
PyObject *abspath = OS_PATH_ABSPATH(tstate, path);
|
|
451
|
+
|
|
452
|
+
if (unlikely(abspath == NULL)) {
|
|
453
|
+
return NULL;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
PyObject *dirname = OS_PATH_DIRNAME(tstate, abspath);
|
|
457
|
+
|
|
458
|
+
if (unlikely(dirname == NULL)) {
|
|
459
|
+
return NULL;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
return Nuitka_ResourceReaderFiles_New(tstate, files->m_loader_entry, dirname);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
static int Nuitka_ResourceReaderFiles_set_parent(struct Nuitka_ResourceReaderFilesObject *files, PyObject *value) {
|
|
466
|
+
PyThreadState *tstate = PyThreadState_GET();
|
|
467
|
+
|
|
468
|
+
SET_CURRENT_EXCEPTION_TYPE0_STR(tstate, PyExc_AttributeError, "readonly attribute");
|
|
469
|
+
return -1;
|
|
470
|
+
}
|
|
471
|
+
|
|
445
472
|
static PyMethodDef Nuitka_ResourceReaderFiles_methods[] = {
|
|
446
473
|
{"iterdir", (PyCFunction)Nuitka_ResourceReaderFiles_iterdir, METH_NOARGS, NULL},
|
|
447
474
|
{"read_bytes", (PyCFunction)Nuitka_ResourceReaderFiles_read_bytes, METH_NOARGS, NULL},
|
|
@@ -505,6 +532,8 @@ static PyObject *Nuitka_ResourceReaderFiles_tp_richcompare(struct Nuitka_Resourc
|
|
|
505
532
|
|
|
506
533
|
static PyGetSetDef Nuitka_ResourceReaderFiles_getset[] = {
|
|
507
534
|
{(char *)"name", (getter)Nuitka_ResourceReaderFiles_get_name, (setter)Nuitka_ResourceReaderFiles_set_name, NULL},
|
|
535
|
+
{(char *)"parent", (getter)Nuitka_ResourceReaderFiles_get_parent, (setter)Nuitka_ResourceReaderFiles_set_parent,
|
|
536
|
+
NULL},
|
|
508
537
|
{NULL}};
|
|
509
538
|
|
|
510
539
|
// Initialized during readying the type for nb_truediv
|
|
@@ -134,7 +134,7 @@ def _parseOtoolListingOutput(output):
|
|
|
134
134
|
return paths
|
|
135
135
|
|
|
136
136
|
|
|
137
|
-
def
|
|
137
|
+
def _getNonVersionedDllFilenames2(filename):
|
|
138
138
|
yield filename
|
|
139
139
|
|
|
140
140
|
if getArchitecture() == "arm64" and filename.endswith(".dylib"):
|
|
@@ -152,6 +152,25 @@ def _getNonVersionedDllFilenames(filename):
|
|
|
152
152
|
yield match.group(1) + "_arm64.dylib"
|
|
153
153
|
|
|
154
154
|
|
|
155
|
+
def _getNonVersionedDllFilenames(dll_filename, package_name):
|
|
156
|
+
for filename in _getNonVersionedDllFilenames2(dll_filename):
|
|
157
|
+
yield filename
|
|
158
|
+
|
|
159
|
+
# Some build systems, internally prefix DLLs with package names, attempt
|
|
160
|
+
# those removed as well.
|
|
161
|
+
if package_name is not None:
|
|
162
|
+
package_prefix = package_name.asString() + "."
|
|
163
|
+
|
|
164
|
+
if os.path.basename(dll_filename).startswith(package_prefix):
|
|
165
|
+
dll_filename = os.path.join(
|
|
166
|
+
os.path.dirname(dll_filename),
|
|
167
|
+
os.path.basename(dll_filename)[len(package_prefix) :],
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
for filename in _getNonVersionedDllFilenames2(dll_filename):
|
|
171
|
+
yield filename
|
|
172
|
+
|
|
173
|
+
|
|
155
174
|
def _resolveBinaryPathDLLsMacOS(
|
|
156
175
|
original_dir, binary_filename, paths, package_specific_dirs, package_name
|
|
157
176
|
):
|
|
@@ -222,7 +241,9 @@ def _resolveBinaryPathDLLsMacOS(
|
|
|
222
241
|
specific_suffix = so_suffixes[0]
|
|
223
242
|
abi_suffix = so_suffixes[1]
|
|
224
243
|
|
|
225
|
-
for resolved_path_candidate in _getNonVersionedDllFilenames(
|
|
244
|
+
for resolved_path_candidate in _getNonVersionedDllFilenames(
|
|
245
|
+
dll_filename=resolved_path, package_name=package_name
|
|
246
|
+
):
|
|
226
247
|
if os.path.exists(resolved_path_candidate):
|
|
227
248
|
resolved_path = resolved_path_candidate
|
|
228
249
|
break
|
nuitka/nodes/FunctionNodes.py
CHANGED
|
@@ -583,6 +583,7 @@ class ExpressionFunctionBody(
|
|
|
583
583
|
parameters,
|
|
584
584
|
flags,
|
|
585
585
|
auto_release,
|
|
586
|
+
code_prefix,
|
|
586
587
|
source_ref,
|
|
587
588
|
):
|
|
588
589
|
ExpressionFunctionEntryPointBase.__init__(
|
|
@@ -590,7 +591,7 @@ class ExpressionFunctionBody(
|
|
|
590
591
|
provider=provider,
|
|
591
592
|
name=name,
|
|
592
593
|
code_object=code_object,
|
|
593
|
-
code_prefix=
|
|
594
|
+
code_prefix=code_prefix,
|
|
594
595
|
flags=flags,
|
|
595
596
|
auto_release=auto_release,
|
|
596
597
|
source_ref=source_ref,
|
|
@@ -779,6 +780,7 @@ class ExpressionFunctionPureBody(ExpressionFunctionBody):
|
|
|
779
780
|
parameters,
|
|
780
781
|
flags,
|
|
781
782
|
auto_release,
|
|
783
|
+
code_prefix,
|
|
782
784
|
source_ref,
|
|
783
785
|
):
|
|
784
786
|
ExpressionFunctionBody.__init__(
|
|
@@ -790,6 +792,7 @@ class ExpressionFunctionPureBody(ExpressionFunctionBody):
|
|
|
790
792
|
parameters=parameters,
|
|
791
793
|
flags=flags,
|
|
792
794
|
auto_release=auto_release,
|
|
795
|
+
code_prefix=code_prefix,
|
|
793
796
|
source_ref=source_ref,
|
|
794
797
|
)
|
|
795
798
|
|
nuitka/nodes/NodeBases.py
CHANGED
|
@@ -495,17 +495,18 @@ class CodeNodeMixin(object):
|
|
|
495
495
|
provider = self.getParentVariableProvider().getEntryPoint()
|
|
496
496
|
parent_name = provider.getCodeName()
|
|
497
497
|
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
assert isinstance(self, CodeNodeMixin)
|
|
501
|
-
|
|
502
|
-
if self.name:
|
|
503
|
-
name = uid + "_" + self.name.strip("<>")
|
|
498
|
+
if self.code_prefix == "helper_function":
|
|
499
|
+
name = self.name
|
|
504
500
|
else:
|
|
505
|
-
|
|
501
|
+
uid = "_%d" % provider.getChildUID(self)
|
|
502
|
+
|
|
503
|
+
if self.name:
|
|
504
|
+
name = uid + "_" + self.name.strip("<>")
|
|
505
|
+
else:
|
|
506
|
+
name = uid
|
|
506
507
|
|
|
507
|
-
|
|
508
|
-
|
|
508
|
+
if str is not bytes:
|
|
509
|
+
name = name.encode("ascii", "c_identifier").decode()
|
|
509
510
|
|
|
510
511
|
self.code_name = "%s$$$%s_%s" % (parent_name, self.code_prefix, name)
|
|
511
512
|
|
|
@@ -26,6 +26,7 @@ from .ControlFlowDescriptions import (
|
|
|
26
26
|
ControlFlowDescriptionElementBasedEscape,
|
|
27
27
|
ControlFlowDescriptionFloorDivUnsupported,
|
|
28
28
|
ControlFlowDescriptionFormatError,
|
|
29
|
+
ControlFlowDescriptionFullEscape,
|
|
29
30
|
ControlFlowDescriptionLshiftUnsupported,
|
|
30
31
|
ControlFlowDescriptionMatmultUnsupported,
|
|
31
32
|
ControlFlowDescriptionModUnsupported,
|
|
@@ -1729,7 +1730,9 @@ class ShapeTypeXrangeIterator(ShapeIteratorMixin, ShapeNotNumberMixin, ShapeBase
|
|
|
1729
1730
|
tshape_xrange_iterator = ShapeTypeXrangeIterator()
|
|
1730
1731
|
|
|
1731
1732
|
|
|
1732
|
-
class
|
|
1733
|
+
class ShapeTypeTypeBase(ShapeNotNumberMixin, ShapeBase):
|
|
1734
|
+
# Base classes can be abstract, pylint: disable=abstract-method
|
|
1735
|
+
|
|
1733
1736
|
__slots__ = ()
|
|
1734
1737
|
|
|
1735
1738
|
typical_value = int
|
|
@@ -1756,6 +1759,23 @@ class ShapeTypeType(ShapeNotContainerMixin, ShapeNotNumberMixin, ShapeBase):
|
|
|
1756
1759
|
return hasattr(int, attribute_name)
|
|
1757
1760
|
|
|
1758
1761
|
|
|
1762
|
+
if python_version < 0x390:
|
|
1763
|
+
|
|
1764
|
+
class ShapeTypeType(ShapeNotContainerMixin, ShapeTypeTypeBase):
|
|
1765
|
+
__slots__ = ()
|
|
1766
|
+
|
|
1767
|
+
else:
|
|
1768
|
+
|
|
1769
|
+
class ShapeTypeType(ShapeTypeTypeBase):
|
|
1770
|
+
__slots__ = ()
|
|
1771
|
+
|
|
1772
|
+
@staticmethod
|
|
1773
|
+
def getOperationUnaryReprEscape():
|
|
1774
|
+
# We can't really say it's element based, since it may not be iterable
|
|
1775
|
+
# still.
|
|
1776
|
+
return ControlFlowDescriptionFullEscape
|
|
1777
|
+
|
|
1778
|
+
|
|
1759
1779
|
tshape_type = ShapeTypeType()
|
|
1760
1780
|
|
|
1761
1781
|
|
|
@@ -2488,6 +2488,13 @@
|
|
|
2488
2488
|
- 'numpy.ma'
|
|
2489
2489
|
- 'numpy.matrixlib'
|
|
2490
2490
|
|
|
2491
|
+
- module-name: 'numpy._core.overrides' # checksum: cda0efc0
|
|
2492
|
+
anti-bloat:
|
|
2493
|
+
- description: 'workaround numpy issues with compiled code'
|
|
2494
|
+
replacements_plain:
|
|
2495
|
+
'add_docstring(implementation, dispatcher.__doc__)': "add_docstring(implementation, dispatcher.__doc__ or '')"
|
|
2496
|
+
'public_api.__code__ = ': ''
|
|
2497
|
+
|
|
2491
2498
|
- module-name: 'numpy._pytesttester' # checksum: 5e3b539b
|
|
2492
2499
|
anti-bloat:
|
|
2493
2500
|
- description: 'remove numpy testing framework'
|
|
@@ -4510,7 +4517,7 @@
|
|
|
4510
4517
|
- depends:
|
|
4511
4518
|
- 'scapy.layers.*'
|
|
4512
4519
|
|
|
4513
|
-
- module-name: 'scipy' # checksum:
|
|
4520
|
+
- module-name: 'scipy' # checksum: 80d3c475
|
|
4514
4521
|
data-files:
|
|
4515
4522
|
patterns:
|
|
4516
4523
|
- 'stats/_sobol_direction_numbers.npz' # for scipy.stats._sobol._initialize_direction_numbers
|
|
@@ -4531,8 +4538,10 @@
|
|
|
4531
4538
|
no-auto-follow:
|
|
4532
4539
|
'cupy': 'ignore'
|
|
4533
4540
|
'torch': 'ignore'
|
|
4541
|
+
bloat-mode-overrides:
|
|
4542
|
+
'pydoc': 'allow'
|
|
4534
4543
|
|
|
4535
|
-
- module-name: 'scipy._distributor_init' # checksum:
|
|
4544
|
+
- module-name: 'scipy._distributor_init' # checksum: 47635231
|
|
4536
4545
|
anti-bloat:
|
|
4537
4546
|
- description: 'workaround for scipy DLL loading'
|
|
4538
4547
|
append_plain: |
|
|
@@ -4542,7 +4551,7 @@
|
|
|
4542
4551
|
libs_dir = os.path.join(os.path.dirname(__file__), '..', 'scipy.libs')
|
|
4543
4552
|
for filename in glob.glob(os.path.join(libs_dir, '*openblas*dll')):
|
|
4544
4553
|
WinDLL(filename)
|
|
4545
|
-
when: 'win32 and version("scipy") >= (1,
|
|
4554
|
+
when: 'win32 and (1,14) > version("scipy") >= (1,9,2)'
|
|
4546
4555
|
|
|
4547
4556
|
- module-name: 'scipy._lib' # checksum: 4063ed73
|
|
4548
4557
|
implicit-imports:
|
|
@@ -4573,6 +4582,11 @@
|
|
|
4573
4582
|
def __init__(self, name):
|
|
4574
4583
|
pass
|
|
4575
4584
|
|
|
4585
|
+
- module-name: 'scipy._lib.array_api_compat.numpy' # checksum: 4d6580fa
|
|
4586
|
+
implicit-imports:
|
|
4587
|
+
- depends:
|
|
4588
|
+
- 'scipy._lib.array_api_compat.numpy.fft'
|
|
4589
|
+
|
|
4576
4590
|
- module-name: 'scipy.integrate._quadrature' # checksum: 97a85907
|
|
4577
4591
|
anti-bloat:
|
|
4578
4592
|
- description: 'remove useless function copying'
|
|
@@ -4619,11 +4633,6 @@
|
|
|
4619
4633
|
- no-auto-follow:
|
|
4620
4634
|
'matplotlib': 'plotting will lack matplotlib'
|
|
4621
4635
|
|
|
4622
|
-
- module-name: 'scipy.signal' # checksum: 4ded0e67
|
|
4623
|
-
implicit-imports:
|
|
4624
|
-
- depends:
|
|
4625
|
-
- 'scipy.special._cdflib'
|
|
4626
|
-
|
|
4627
4636
|
- module-name: 'scipy.sparse.csgraph' # checksum: 8997608e
|
|
4628
4637
|
implicit-imports:
|
|
4629
4638
|
- depends:
|
|
@@ -4670,10 +4679,11 @@
|
|
|
4670
4679
|
- depends:
|
|
4671
4680
|
- 'scipy.special._ufuncs_cxx'
|
|
4672
4681
|
|
|
4673
|
-
- module-name: 'scipy.special._ufuncs' # checksum:
|
|
4682
|
+
- module-name: 'scipy.special._ufuncs' # checksum: 79044be3
|
|
4674
4683
|
implicit-imports:
|
|
4675
4684
|
- depends:
|
|
4676
4685
|
- 'scipy.special._cdflib'
|
|
4686
|
+
- 'scipy.special._special_ufuncs'
|
|
4677
4687
|
|
|
4678
4688
|
- module-name: 'scipy.stats._fit' # checksum: 7547ad25
|
|
4679
4689
|
anti-bloat:
|
|
@@ -6412,9 +6422,11 @@
|
|
|
6412
6422
|
change_function:
|
|
6413
6423
|
'_copy_fn': "'(lambda fn: fn)'"
|
|
6414
6424
|
|
|
6415
|
-
- module-name: 'tensorflow.python.util.lazy_loader' # checksum:
|
|
6425
|
+
- module-name: 'tensorflow.python.util.lazy_loader' # checksum: f4d18284
|
|
6416
6426
|
anti-bloat:
|
|
6417
6427
|
- description: 'reduce keras usage'
|
|
6428
|
+
replacements_re:
|
|
6429
|
+
'(package_name = "(.*?)")': '\1; import \2'
|
|
6418
6430
|
replacements:
|
|
6419
6431
|
'os.environ.get("TF_USE_LEGACY_KERAS", None)': 'repr(os.environ.get("TF_USE_LEGACY_KERAS", None))'
|
|
6420
6432
|
'keras.__version__': 'repr(version_str("keras"))'
|
|
@@ -7250,6 +7262,11 @@
|
|
|
7250
7262
|
replacements_plain:
|
|
7251
7263
|
'coro.cr_frame.f_locals.setdefault(LOCALS_KEY_KI_PROTECTION_ENABLED, system_task)': ''
|
|
7252
7264
|
|
|
7265
|
+
- module-name: 'tsdownsample._rust' # checksum: d072aa03
|
|
7266
|
+
implicit-imports:
|
|
7267
|
+
- depends:
|
|
7268
|
+
- 'numpy.core.multiarray'
|
|
7269
|
+
|
|
7253
7270
|
- module-name: 'tsfresh.feature_extraction.data' # checksum: 59682295
|
|
7254
7271
|
anti-bloat:
|
|
7255
7272
|
- description: 'remove dask reference via distributed module'
|
|
@@ -7539,6 +7556,11 @@
|
|
|
7539
7556
|
'ExtractIconW(handle, sys.executable, 0)': 'ExtractIconW(handle, sys.argv[0], 0)'
|
|
7540
7557
|
when: 'standalone and win32'
|
|
7541
7558
|
|
|
7559
|
+
- module-name: 'werkzeug.debug.repr' # checksum: f8cccd39
|
|
7560
|
+
anti-bloat:
|
|
7561
|
+
- no-auto-follow:
|
|
7562
|
+
'pydoc': 'ignore'
|
|
7563
|
+
|
|
7542
7564
|
- module-name: 'werkzeug.serving' # checksum: fcfdb30e
|
|
7543
7565
|
anti-bloat:
|
|
7544
7566
|
- description: 'remove ability to run with reloader'
|
|
@@ -25,6 +25,11 @@
|
|
|
25
25
|
- no-auto-follow:
|
|
26
26
|
'distutils': 'ignore'
|
|
27
27
|
|
|
28
|
+
- module-name: '_sitebuiltins' # checksum: f8cccd39
|
|
29
|
+
anti-bloat:
|
|
30
|
+
- no-auto-follow:
|
|
31
|
+
'pydoc': 'ignore'
|
|
32
|
+
|
|
28
33
|
- module-name: '_ssl' # checksum: 84c2a8c5
|
|
29
34
|
implicit-imports:
|
|
30
35
|
- depends:
|
|
@@ -399,6 +404,12 @@
|
|
|
399
404
|
- depends:
|
|
400
405
|
- 'xml.sax.expatreader'
|
|
401
406
|
|
|
407
|
+
- module-name: 'xmlrpc.server' # checksum: 105ff40e
|
|
408
|
+
anti-bloat:
|
|
409
|
+
- replacements_plain:
|
|
410
|
+
'import pydoc': ''
|
|
411
|
+
when: 'not use_pydoc'
|
|
412
|
+
|
|
402
413
|
- module-name: 'zipapp' # checksum: 6a44b57d
|
|
403
414
|
anti-bloat:
|
|
404
415
|
- description: 'remove module ability to run as a binary'
|
nuitka/tree/InternalModule.py
CHANGED
|
@@ -42,7 +42,6 @@ def once_decorator(func):
|
|
|
42
42
|
return replacement
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
@once_decorator
|
|
46
45
|
def getInternalModule():
|
|
47
46
|
"""Get the singleton internal module."""
|
|
48
47
|
|
|
@@ -63,6 +62,7 @@ def makeInternalHelperFunctionBody(name, parameters, inline_const_args=False):
|
|
|
63
62
|
parameters=parameters,
|
|
64
63
|
flags=None,
|
|
65
64
|
auto_release=None,
|
|
65
|
+
code_prefix="helper_function",
|
|
66
66
|
source_ref=internal_source_ref,
|
|
67
67
|
)
|
|
68
68
|
|
nuitka/utils/Execution.py
CHANGED
|
@@ -352,13 +352,14 @@ def executeToolChecked(
|
|
|
352
352
|
# Allow to avoid repeated scans in PATH for the tool.
|
|
353
353
|
command[0] = getExecutablePath(tool)
|
|
354
354
|
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
355
|
+
with withEnvironmentVarOverridden("LC_ALL", "C"):
|
|
356
|
+
process = subprocess.Popen(
|
|
357
|
+
command,
|
|
358
|
+
stdin=getNullInput(),
|
|
359
|
+
stdout=subprocess.PIPE,
|
|
360
|
+
stderr=subprocess.PIPE,
|
|
361
|
+
shell=False,
|
|
362
|
+
)
|
|
362
363
|
|
|
363
364
|
stdout, stderr = process.communicate()
|
|
364
365
|
result = process.poll()
|
nuitka/utils/SharedLibraries.py
CHANGED
|
@@ -17,11 +17,7 @@ from nuitka.Options import getMacOSTargetArch, isShowInclusion, isUnstripped
|
|
|
17
17
|
from nuitka.PythonVersions import python_version
|
|
18
18
|
from nuitka.Tracing import inclusion_logger, postprocessing_logger
|
|
19
19
|
|
|
20
|
-
from .Execution import
|
|
21
|
-
executeToolChecked,
|
|
22
|
-
withEnvironmentPathAdded,
|
|
23
|
-
withEnvironmentVarOverridden,
|
|
24
|
-
)
|
|
20
|
+
from .Execution import executeToolChecked, withEnvironmentPathAdded
|
|
25
21
|
from .FileOperations import (
|
|
26
22
|
addFileExecutablePermission,
|
|
27
23
|
changeFilenameExtension,
|
|
@@ -87,13 +83,12 @@ def locateDLL(dll_name):
|
|
|
87
83
|
name=dll_name, paths=["/lib", "/usr/lib", "/usr/local/lib"]
|
|
88
84
|
)
|
|
89
85
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
)
|
|
86
|
+
# TODO: Could and probably should cache "ldconfig -p" output to avoid forks
|
|
87
|
+
output = executeToolChecked(
|
|
88
|
+
logger=postprocessing_logger,
|
|
89
|
+
command=("/sbin/ldconfig", "-p"),
|
|
90
|
+
absence_message=_ldconfig_usage,
|
|
91
|
+
)
|
|
97
92
|
|
|
98
93
|
dll_map = {}
|
|
99
94
|
|
|
@@ -349,14 +344,25 @@ def getSharedLibraryRPATH(filename):
|
|
|
349
344
|
|
|
350
345
|
|
|
351
346
|
def _filterPatchelfErrorOutput(stderr):
|
|
347
|
+
non_errors = []
|
|
348
|
+
|
|
349
|
+
def isNonErrorExit(line):
|
|
350
|
+
if b"cannot find section '.dynamic'" in line:
|
|
351
|
+
non_errors.append(line)
|
|
352
|
+
|
|
353
|
+
return True
|
|
354
|
+
|
|
355
|
+
return False
|
|
356
|
+
|
|
352
357
|
stderr = b"\n".join(
|
|
353
358
|
line
|
|
354
359
|
for line in stderr.splitlines()
|
|
355
360
|
if line
|
|
356
361
|
if b"warning: working around" not in line
|
|
362
|
+
if not isNonErrorExit(line)
|
|
357
363
|
)
|
|
358
364
|
|
|
359
|
-
return None, stderr
|
|
365
|
+
return (0 if non_errors else None), stderr
|
|
360
366
|
|
|
361
367
|
|
|
362
368
|
_patchelf_usage = """\
|
|
@@ -383,13 +389,12 @@ installed. Use 'apt/dnf/yum install patchelf' first.""",
|
|
|
383
389
|
|
|
384
390
|
def _setSharedLibraryRPATHElf(filename, rpath):
|
|
385
391
|
# patchelf --set-rpath "$ORIGIN/path/to/library" <executable>
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
)
|
|
392
|
+
executeToolChecked(
|
|
393
|
+
logger=postprocessing_logger,
|
|
394
|
+
command=("patchelf", "--set-rpath", rpath, filename),
|
|
395
|
+
stderr_filter=_filterPatchelfErrorOutput,
|
|
396
|
+
absence_message=_patchelf_usage,
|
|
397
|
+
)
|
|
393
398
|
|
|
394
399
|
|
|
395
400
|
def _filterInstallNameToolErrorOutput(stderr):
|
|
@@ -788,20 +793,19 @@ def cleanupHeaderForAndroid(filename):
|
|
|
788
793
|
created by default.
|
|
789
794
|
"""
|
|
790
795
|
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
)
|
|
796
|
+
executeToolChecked(
|
|
797
|
+
logger=postprocessing_logger,
|
|
798
|
+
command=("patchelf", "--shrink-rpath", filename),
|
|
799
|
+
stderr_filter=_filterPatchelfErrorOutput,
|
|
800
|
+
absence_message=_patchelf_usage,
|
|
801
|
+
)
|
|
798
802
|
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
803
|
+
executeToolChecked(
|
|
804
|
+
logger=postprocessing_logger,
|
|
805
|
+
command=("termux-elf-cleaner", "--quiet", filename),
|
|
806
|
+
absence_message=_termux_elf_cleaner_usage,
|
|
807
|
+
optional=True,
|
|
808
|
+
)
|
|
805
809
|
|
|
806
810
|
|
|
807
811
|
_nm_usage = """\
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|