Git log: commit 682cc29beaa67ea5c4a87b5512344a5dc105f456
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Thu Apr 25 19:51:20 2024 +0200
New pre-release.
commit 15a7847dc40fb04ca89d28942f983f28c033dfaf
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Thu Apr 25 10:24:21 2024 +0200
Debugging: Output what module is causing that issue
commit 5fca4ff9d36c8880b20de9807a52545c75fa49ec
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Thu Apr 25 10:21:07 2024 +0200
Minor spelling cleanups
commit 8c42755b5344e36fd9e4c206ad417585c134c16a
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Thu Apr 25 10:19:39 2024 +0200
Fix, accelerate mode cannot move included data data files
* Also they don't have to be inside at all, since accelerated
mode is globally distributed.
commit e4c2eeeb0682b6fd63833494dc7154434a79e9c3
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Wed Apr 24 21:23:34 2024 +0200
Quality: Make sure to skip venv test folders
commit 1519b4d86937e580fcdbe7d0952c645868dfac27
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Wed Apr 24 21:23:19 2024 +0200
Minor cleanups
commit 98dcf9ca99266dab4a5dae1b8d8637391e9338f8
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Wed Apr 24 13:11:25 2024 +0200
macOS: Make sure "libomp" is found for "numba"
commit 4baa8b4c68c82ac84d9271b33e0297fccb398cd1
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Wed Apr 24 09:28:54 2024 +0200
Quality: Become pylint clean for Python3.12 module removals
commit 7df025fdffe60c58475d6378c5a0bef7827f221d
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Wed Apr 24 08:40:36 2024 +0200
Anti-Bloat: Remove testing module usage when "dask" is used
commit d6c9d5de5f9aad577453462f68600345d8761ec1
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Wed Apr 24 08:39:54 2024 +0200
Plugins: Make "find-dlls-near-module" configuration recursive
* Previously each module needing that would have to be listed, but that's just too much work
commit 14b77816064e3a2b210eb707d990b820a0fff28a
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Wed Apr 24 08:38:12 2024 +0200
Python3.11: Was not recognizing coroutines in list comprehension to making them coroutine as well
* This is newly allowed in 3.11 and wasn't working yet
commit 949159a4fa853df6de518689aa5d3788d178338f
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Wed Apr 24 08:35:38 2024 +0200
fixup! Optimization: Handle "no_docstrings" issue for "torio" package
commit 98a31a809a240dabf1ede8c66b3e5cb4dcf6890a
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Wed Apr 24 08:35:12 2024 +0200
Anti-Bloat: Avoid "IPython" from "imgui_bundle" package
commit c1ccda36d198198173bc65f25cede359e55cbb3f
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Wed Apr 24 08:34:21 2024 +0200
macOS: Fix, on newer macOS the "libc++" and "libz" DLLs cannot be found anymore
* It apparently has become virtual in some sense and needs to be
actively ignored.
commit 08068bd7757c0fb9ae81f863c1ec92a1bf5bd35c
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Mon Apr 22 18:33:02 2024 +0200
Fix, cannot trust dynamic hard modules as much
* Without this, "huggingface_hub.utils.tqdm" ended up being wrong
commit 0e5274fa5b1165e41ed1dfcf2843a8e906a06e19
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Mon Apr 22 18:32:45 2024 +0200
Standalone: Added support for newer toga to also include "toga_gtk" metadata
commit e4314baacc15fe833a984371490a8271eae969c1
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Mon Apr 22 17:37:13 2024 +0200
Watch: Added log outputs for skipped cases
commit 4ce2d37fa7c5365f178b725d49c8f2df805b455f
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Mon Apr 22 09:56:33 2024 +0200
fixup! Optimization: Have dedicated node for networkx argmap decorator
commit 11c9ba90ef919cb47b2527e436292d58039790b4
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sun Apr 21 12:54:01 2024 +0200
Anaconda: Fix, need to not consider "lib" directory system DLLs
commit e3dd55ea0f4e35ce3d53740ff361b92e68763313
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sun Apr 21 12:53:22 2024 +0200
Minor cleanup
* Align the call arguments to be the same
commit 192462f44de52dc13a8aff85b6a6b5b633216d3a
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sun Apr 21 12:52:57 2024 +0200
Optimization: Avoid duplicate values in rpath detection
* This happened at least with macOS Anaconda, and probably others too, causes more file system checks than necessary
commit 1de3f5f9b7faa4254ba109b77640838acd654d70
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sun Apr 21 12:00:59 2024 +0200
Python3.11: Fix, code objects "co_qualname" was not actually qualname, but name.
commit dc3296ccea6c16dc44108568e5cf919a280ada33
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sun Apr 21 12:00:33 2024 +0200
fixup! Visual Code: Modes for more files
commit f8628c1b8772c8455931bd12a97f2a9ac31805bb
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sun Apr 21 12:00:06 2024 +0200
fixup! Added ability to force environment variable values
commit bd55b3ca5fe24ab8e96d26446dfeed8ed56629f7
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sun Apr 21 11:01:46 2024 +0200
Standalone: Added missing dependency of "sspilib"
* On Windows, this is used by "requests-ntlm" package
commit 6e640cae7a22b009d33febc493ac229a26841972
Author: KRRT7 <106575910+KRRT7@users.noreply.github.com>
Date: Thu Apr 25 06:00:23 2024 +0000
Standalone: Add support for newer "zaber_motion" package
commit cb2d751da82bd2036cfe00fe30a0e2f7fdd9e3ed
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sat Apr 20 11:34:59 2024 +0200
New pre-release.
commit 2f395c5bd66eeea0ecc312adcb2ec1f5177aa041
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Fri Apr 19 11:25:23 2024 +0200
Tests: Need to check if "gi" is available for this test as well
commit 6ba331f7c658f751d4efd4ec79a10bae2b980d8d
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Fri Apr 19 11:24:23 2024 +0200
fixup! Python3.12: Fix, was deleting exception while still being active
commit 9f99aa244df265d95d620a28ac997e6207dd1227
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Mon Apr 15 11:08:39 2024 +0200
Optimization: Added an assertion against this branch
* Should not be possible to happen, we can see if that is
truly the case and later remove it for real.
commit becbf4fc2dc9ed018e832c7626963e0c5482e30f
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Mon Apr 15 11:03:23 2024 +0200
Python3.12: Avoid warnings given for double digit on some arches
* We only do single digit operations here, but for Python3.12 we
should be doing double digit operation and work off the
medium_result_t for that.
* For now we know that the overflow doesn't happen, and we can just
cast it away.
* On Windows AMD64 otherwise in debug mode, this errors us out.
commit 14ae00df77af6f3f01efd997eb5cfd8c9c59318f
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Mon Apr 15 10:01:41 2024 +0200
Python3.5+: Add support for using dictionary unpackings in class declarations
* This rarely used feature is relevant to the CPython3.11 test suite passing.
* Previously this was ignored for lack of general relevance, but turns out it's actually an important form of incompatibility
commit 4ceb8985ed7de757b2524c3291f40245d311b764
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Mon Apr 15 09:59:06 2024 +0200
Tests: For Python3.12, we need to explicitly install setuptools
commit 18bc558ce3c968a4a0e522c35cb098097c68c973
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Mon Apr 15 09:58:36 2024 +0200
Optimization: Have dedicated node for networkx argmap decorator
* This is work in progress, and not going to be actually used, until we cover more decorators that wrap it as well.
* Keyword only arguments were not properly handled by code generation and are currently not handled well by calls via spec.
commit 2121a9e11a6882d82a81b8e5c7c0647c8580cfe4
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Mon Apr 15 09:55:55 2024 +0200
Cleanup, move JIT codes to dedicated module
* That will make re-use easier once we get to that.
commit eb2b0b75a7f5a2c4342c80ab23ecee9d3f361723
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Mon Apr 15 09:55:07 2024 +0200
Minor cleanup
commit ddd29e2f770ecb945b60ca50dce21203cfb10ac8
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Mon Apr 15 09:54:55 2024 +0200
Python3.12: Switch to method for StopIteration that works
* Unclear why the other functions do not work, but we need to change them later.
commit 7ca8848582083275dba104005b04dcf7fcdfe73c
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Thu Apr 11 09:41:47 2024 +0200
fixup! Changelog: Update changelog link to current one
commit 850db98202bd1f22db4c663fe90226acaee3bc78
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Thu Apr 11 09:40:04 2024 +0200
Tests: Avoid random output from set order for this test
commit 8b04f3afc453ca74053230f1b14bf5e05ac8d9f6
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Thu Apr 11 09:39:39 2024 +0200
Tests: Do not test setuptools with Python3.12
commit a3a66668b86dbeed91621f0dec2225e2c63ede73
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Thu Apr 11 09:39:17 2024 +0200
Tests: Ignore "did you mean" suggestions from tracebacks
commit 9f16d79c263365556e39bd29f6dc108efe93ba41
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Thu Apr 11 09:38:57 2024 +0200
Python3.12: Added support for type aliases
* Asserting against type params, so we notice when they are provided.
commit e282bc43b4762e9f22829a894b18e3f206aa8ddd
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Thu Apr 11 09:36:48 2024 +0200
Python3.12: Fix, was deleting exception while still being active
* With 3.12 this seems to actually happen now
commit 98209ce4b35fcb9707c3284b4cd933d3b9d32fe7
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Tue Apr 9 15:45:44 2024 +0200
Python3.12: Need to update requirements for pyyaml
commit 7eb5c9abf1629b69736ca6dba4f4fc2c15832b04
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Tue Apr 9 14:34:46 2024 +0200
Python3.12: Disable test that fails with 3.12.2 and Python already
commit fcd7d7cfb1e5488edf9c0d49dd7d93b1fe93e7b6
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Tue Apr 9 13:53:41 2024 +0200
fixup! Visual Code: Modes for more files
commit df7d6fb5f98c9a101000a30624579b11fa8aaaa6
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Tue Apr 9 13:53:25 2024 +0200
Python3.12: Mark this version as experimentally supported
* Also mark "3.13" as unsupported
commit f7c7a59c50e5401c6c1f89dd5fdce7f691648afa
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Tue Apr 9 13:52:44 2024 +0200
Python3.12: More exception work, should be mostly correct now
* All reference count tests work with it now.
commit 30e894ea8975390703e8d5e0c943b5190a5722c3
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Tue Apr 9 13:51:04 2024 +0200
Tests: Have "explain" argument for reference count tests provided
* Make it more obvious this is available
commit e9c929cd7ba2432d423fcfa253bc429d35fa401b
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Tue Apr 9 13:50:30 2024 +0200
Tests: This was supposed to use "object" base class
* Some tool must have removed that
commit 02431aa1a225b332c709e2e11b0afc69b8dea8bc
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Tue Apr 9 13:49:55 2024 +0200
Optimization: Handle "no_docstrings" issue for "torio" package
commit 70b94b1f87e4c85bab0f01a394e540ab94c23728
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Tue Apr 9 13:49:17 2024 +0200
Python3.12: Empty dict keys are immortal
* Must not take references for them anymore
commit 107ea12fcc1194687a467ff6f664a3d2876c46ca
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Tue Apr 9 13:48:51 2024 +0200
Debugging: Disable empty dict creation if all freelists are disabled
commit bd9d64b0fb1157bff9e535367f407cad08567c22
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Tue Apr 9 13:48:11 2024 +0200
Debugging: Disable tuple freelist usage if all freelists are disabled
commit 24e48b0f9e92185575057be831d0670ea8bb7214
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Tue Apr 9 13:47:41 2024 +0200
Python3.12: Follow allocator changes
* We can no longer have our own INCREF/DECREF codes with 3.12 and no-GIL
commit a7d002a582e86b7bf3a1292427714c7fad94c428
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Tue Apr 9 13:46:54 2024 +0200
Python3.12: No issue with using it for scons
commit 10bfa7b520fe3d390c5baf1e62f544c447296c1e
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sun Apr 7 18:41:22 2024 +0200
Python3.12: Completed exception handling changes
* Also handle "throw" method wrong arguments sooner, so we do not have illegal values, for 3.12 they are expected to be normalized immediately.
commit 86798538b6c33c16a61a5f7b690cb759bc5c1372
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sun Apr 7 18:40:14 2024 +0200
Python3.12: These assertions are probably harmless
commit e726518dfde943bf013d1fe17b6545c6af38b625
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sun Apr 7 18:39:29 2024 +0200
fixup! Python3.12: Cleanup generator/coroutine/asyncgen exception interactions
commit 753c69d42f801c687b568dcddb6e18fc033625ec
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sun Apr 7 18:38:31 2024 +0200
Python3.12: More "long" representation related changes
* Updates to sizes of new longs were not yet fully portable
* Added new type for medium value results, to address warnings on Python 3.12 for overflows, they now do two digits
commit bb5e0371292dec118c90ac5726ba256be7ee27b9
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sun Apr 7 18:35:53 2024 +0200
Python3.12: Need to have our own setter function for compiled cells
* The Python one now asserts its own type, so we cannot use it anymore.
commit b437fbb576a54eceb2a8c44211d347bdc293a9a2
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sun Apr 7 17:44:40 2024 +0200
Python3.12: Adapted inline copy of "pkg_resources" for stdlib changes
commit 3aed0a4bcbe33e5e43dd2ecd622fc5a11982c597
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sun Apr 7 17:41:34 2024 +0200
Python3.12: Added handling of "type_params" field in ast
commit bf3bb5b1a2473d0524b62480195d3c6171d6ca68
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sun Apr 7 17:40:39 2024 +0200
Visual Code: Added config for 3.12 on Linux
commit 7146580f15ee30abd722661909cdbafe8f466487
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sat Apr 6 15:41:36 2024 +0200
Python3.12: Fix, the Python memory is not yet available
commit a3259f70bbf4c9ed665e64373bd4208304fc0a54
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sat Apr 6 15:41:19 2024 +0200
Python3.12: Fix, was still generating long operations wrongly with Py_SIZE usage
commit 7b08248694665664cae77dd33f1d2c32f308c4fc
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sat Apr 6 15:40:45 2024 +0200
Python3.12: Make inplace string operations follow API changes
commit 7eec7a62de94b4efcee3b297671da811771cdb69
Merge: 3136f77a dda67bbd
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Fri Apr 19 15:32:29 2024 +0200
Merge tag '2.1.6' into develop
commit 3136f77ae018f6b24a6885708053063959ac1db8
Author: Artem Kamyshansky <48558418+kamartem@users.noreply.github.com>
Date: Wed Apr 10 10:13:30 2024 +0300
Changelog: Update changelog link to current one
commit 0cbef09a4e1066881e9c1388a10f0d262c2cd5fc
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sat Apr 6 15:37:20 2024 +0200
New upstream pre-release.
commit 17cd3d6dfb263340fd2a7be9dd7c2a43943b75fa
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sat Apr 6 12:56:16 2024 +0200
Minor cleanup
commit 123208c499f6ac3a104cec7fa9c5c61147141c57
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sat Apr 6 11:22:56 2024 +0200
UI: Don't force "{VERSION}" to be four digits in specs
* That just makes it hard to use for users, who will be surprised to see "1.0" become "1.0.0.0" when that is only needed
for Windows version information really.
* Now we have two functions, one of which works on the string and one gives the tuple needed in other places.
commit c800427324ad10a74b33c886520f9a16aca27d60
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sat Apr 6 11:21:01 2024 +0200
UI: Fix, output filename for onefile could lead to double ".bin" suffixes for dist folder binary
* Now when appending suffix, just use a function that checks if it's not already there.
commit 2f88be8545b5369e0287c5f2dbb024210c81b7b6
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sat Apr 6 11:19:20 2024 +0200
Watch: Fail if directory provided doesn't exist
* Was previously falling back to current directory silently
commit 0eb371115ab268378cf2d56629f5f2ecb3f066c2
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sat Apr 6 11:18:26 2024 +0200
Added ability to force environment variable values
commit f5e9133ae59dbae02f7576ce7f7c240e58ac79b5
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sat Apr 6 11:15:14 2024 +0200
Python3.12: Added raising expectations for new stdlib modules
commit 962b4fe9aeb702578a4a107028f081a9434a74ab
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sat Apr 6 11:14:43 2024 +0200
Python3.12: More adaptions for C source compatibility
commit 89c8c8d3ece3722504e44180d616a84d8d59dc0f
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Thu Apr 4 15:33:23 2024 +0200
Standalone: Select DLL for "tls-client" from code
* This way, the arch is also always correct, and we include less DLLs
* There was also a suspect, the previous code wasn't working, but
that's maybe not true, it was however encoding platform defaults
that were unnecessary.
* With this, ARM support should be there too.
commit 47725621d13a8e241b444148c9ff1b63a9186aba
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Thu Apr 4 15:32:02 2024 +0200
Python3.12: Abstract more exception state operations
* Added workaround for code generation not using exception state yet, instead we copy back and forth
commit b54a3c289291b95c24a578132367b5ebdd1f3270
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Thu Apr 4 08:41:36 2024 +0200
Python3.12: Cleanup more current exception interactions
* Managing the traceback of the current exception state
needed abtraction too.
* Check if a saved exception state indicates an exception
needed abstraction too.
* With this more C code compiles without error, yet there
is still more work to complete.
commit d51a830afdc6e589956c28a7645a4ccf734eb0b1
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Thu Apr 4 08:39:19 2024 +0200
fixup! Quality: Fix, isort and black can corrupt outputs, catch that
commit 53c79f17f604d808e1d28df747b306a6cab42489
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Wed Apr 3 18:27:55 2024 +0200
Quality: Do not auto-format syntax error tests
* These cause failures in tools for obvious reasons.
commit 5daadbb25103f01d104041cbfb4901de45e6714e
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Tue Apr 2 11:11:47 2024 +0200
Scons: Make sure the download path is an external use path
* Otherwise on Windows, the home directory could be
an unusable path for MinGW64.
commit 53b051aefd4ce9e045936472b524fbba36649acc
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sat Mar 30 03:46:15 2024 +0100
Optimization: Cache module code name as well
* The overload was not using the cache added by the
mixin that its replacing.
commit c32670c74ef703e8efe41dd5d9ea1f17cacc1d8d
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sat Mar 30 00:29:21 2024 +0100
Python3.12: Cleanup generator/coroutine/asyncgen exception interactions
* Pass internally exception preservation state objects, rather than the triple type, value, tb around
* With that a bunch of code got adapted to 3.12 through this
* More changes will be needed though, because now checks are done on types and there is normalization still done.
* Calls to throw methods got a general call, as does the "RuntimeError" from "StopIteration" so code is actually simplified.
commit a805c2a29ff3dc759e350eb329d6b7478ea783df
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sat Mar 30 00:25:10 2024 +0100
Minor comment added
commit 60b4db2bc36a86e6b812714b487986065abe7ced
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sat Mar 30 00:23:38 2024 +0100
Visual Code: Modes for more files
commit f1bd06e16f0be57983627773991160411b853de0
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Thu Mar 28 00:40:57 2024 +0100
Standalone: Added support for "tensorflow.function" JIT
* This adds support to preserve the source code of
decorated functions and provide it at runtime to
tensorflow so it can do its tracing.
* The code generation now has a way of providing
module level init codes.
* This mechanism should be possible to generalize
to other JIT making modules as well.
* Without this, some codes using tensorflow.function
could totally miss out on the specialization it does,
that compilation with Nuitka does not currently
replace.
commit 617b9323ca79fb5304b91ccab38d5057282076af
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Thu Mar 28 00:33:15 2024 +0100
Optimization: For hard imports do not insist on compile imports
* For modules that have side effects on imports, we cannot
insist on them, but we might still define some attritutes
to have node factories, like upcoming "tensorflow.function"
for which we do not want compile big 3rd packages into the
Nuitka itself.
commit 2e1d6fac09831686cf9b4a61053c48c782920dec
Merge: 73a67289 3bb7d815
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sat Apr 6 15:32:15 2024 +0200
Merge tag '2.1.5' into develop
commit 73a672897b05a33d22cd01d889b59c348d8faea9
Author: Afik <2283165+aphexcx@users.noreply.github.com>
Date: Thu Apr 4 23:01:40 2024 -0700
Optimization: Speed up "indentedCode()"
* Speed up indentedCode() by 36%
I updated the original function to calculate the indent space (`" " * count`) before the loop,
storing it in the variable `indent` and then used it inside the generator expression. The
indentation used to be calculated for each line of the code. This change makes the
program more efficient because the string multiplication operation is done only once
before the loop and not for each line in `codes`. Now, the time needed to process larger
files is reduced, particularly when adding a larger number of spaces. The generator expression
"lazily" constructs the string for each line, using less memory when working with larger inputs.
---------
Co-authored-by: codeflash-ai[bot] <148906541+codeflash-ai[bot]@users.noreply.github.com>
commit 992a20f34c9aa08cfc2ac9cf474107dbfab8c517
Author: Afik <2283165+aphexcx@users.noreply.github.com>
Date: Thu Apr 4 22:58:52 2024 -0700
Optimization: Speed up "encodePythonIdentifierToC()"
* Speed up "encodePythonIdentifierToC" by 104%
Here the basic idea is that we reduce the number of function calls since each call has its own overhead. Instead of loop
through each character and repeatedly call the regular expression function, we should perform the re.sub operation on the
entire string. Here is a faster version.
In this revised version, re.sub will only be called once on the entire string, instead of once per character in the original
string. This significantly reduces the number of function calls, yielding a performance improvement.
---------
Co-authored-by: codeflash-ai[bot] <148906541+codeflash-ai[bot]@users.noreply.github.com>
commit 2fc576d59bb9de4914674747b017ce824768e3a8
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Thu Mar 28 00:27:58 2024 +0100
Tests: Make sure file names of optimization tests clearly indicate they are tests
commit 6dc9d3b5a4700bc1cf084928e0f45db1499f4bb9
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Thu Mar 28 00:27:34 2024 +0100
Fix, writing XML tree output could fail with encoding errors
commit 35845bfed2ba1f7e71298d0529e2eb277af2b009
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Tue Mar 26 17:30:32 2024 +0100
Anti-Bloat: Recognize "keras" testing modules as unittest bloat
commit 7601c48273eccb93742963c31d14032f773a5b7e
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Tue Mar 26 17:29:27 2024 +0100
Quality: Fix, isort and black can corrupt outputs, catch that
commit 6514ed2f67e42f8305b2155f5c16ad62aa64a365
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Mon Mar 25 08:51:39 2024 +0100
Minor cleanups
* A bit of spelling, and the template expansion can of course do the ".cache" suffix already.
commit ff2a3d0e0e91a808e469a15ea652367c69c33e05
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Mon Mar 25 08:49:24 2024 +0100
Minor cleanup
commit 94b11209df7182fdbb8e100562da071ff5139add
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sun Mar 24 10:43:36 2024 +0100
Python3.12: This function also needs to be fully migrated
commit 38a5d88b2adf018fe2c9e13675b6e57e66a49a91
Author: Kay Hayen <kay.hayen@gmail.com>
Date: Sun Mar 24 10:42:01 2024 +0100
Optimization: Have dedicated helper for "list.remove"
* Avoids making an API call that is slow on Windows
* Avoids in-place list assignment overhead of Python and allows for simpler code generation.