Good day, this is a major step ahead, improvements everywhere.
Migrated the Python parser from the deprecated and problematic
compilermodule to the
astmodule which fixes the
d[a,] = bparser problem. A pity it was not available at the time I started, but the migration was relatively painless now.
I found and fixed wrong encoding of binary data into C++ literals. Now Nuitka uses C++0x raw strings, and these problems are gone.
The decoding of constants was done with the
marshalmodule, but that appears to not deeply care enough about unicode encoding it seems. Using
cPicklenow, which seems less efficient, but is more correct.
Another difference is gone: The
breakinside loops do no longer prevent the execution of finally blocks inside the loop.
I now maintain the "README.txt" in org-mode, and intend to use it as the issue tracker, but I am still a beginner at that.
Turned out I never master it, and used ReStructured Text instead.
There is a public git repository for you to track Nuitka releases. Make your changes and then
git pull --rebase. If you encounter conflicts in things you consider useful, please submit the patches and a pull request. When you make your clones of Nuitka public, use
nuitka-unofficialor not the name
There is a now a mailing list (since closed).
Did you know you could write
lambda : (yield something)and it gives you a lambda that creates a generator that produces that one value? Well, now Nuitka has support for lambda generator functions.
from __future__ import divisionstatement works as expected now, leading to some newly passing CPython tests.
from __future__ import unicode_literalsstatement, these work as expected now, removing many differences in the CPython tests that use this already.
Pythonbinary provided and
Nuitka.pyare now capable of accepting parameters for the program executed, in order to make it even more of a drop-in replacement to
execstatements with constant expressions. These are now compiled at compile time, not at run time anymore. I observed that an increasing number of CPython tests use exec to do things in isolation or to avoid warnings, and many more these tests will now be more effective. I intend to do the same with eval expressions too, probably in a minor release.
So give it a whirl. I consider it to be substantially better than before, and the list of differences to CPython is getting small enough,