Python alternative compiler Nuitka released stable version 0.5.16

Source: Internet
Author: User

Python alternative compiler Nuitka released stable version 0.5.16

In November 11, the Nuitka development team published the latest stable version through a blog.

According to reports, this is mainly to maintain the release of the version, mainly to improve the support for the new platform and make some corrections. This version improves the Running Speed in standalone mode and the compilation efficiency in some application scenarios.

Bug fixes

  • Python: Fix, the gi_running attribute of generators is no longer an int, but bool instead.

  • Python3: Fix, the int built-in with two arguments, value and base, raised UnicodeDecodeError instead of ValueError for illegal bytes given as value.

  • Python3: Using tokenize. open to read source code, instead of reading manually and decoding from tokenize. detect_encoding, this handles corner cases more compatible.

  • Fix, the PyLint warnings plug-in cocould crash in some cases, make sure it's more robust.

  • Windows: Fix, the combination of AnaConda Python, MinGW 64 bits and mere acceleration was not working. Issue #254.

  • Standalone: Preserve not only namespace packages created by. pth files, but also make the imports done by them. This makes it more compatible with uses of it in Fedora 22.

  • Standalone: The extension modules cocould be duplicated, turned this into an error and cache finding them during compile time and during early import resolution to avoid duplication.

  • Standalone: Handle "not found" from ldd output, on some systems not all the libraries wanted are accessible for every library.

  • Python3.5: Fixed support for namespace packages, these were not yet working for that version yet.

  • Python3.5: Fixes lack of support for unpacking in normal tuple, list, and set creations.

For more information about Bug fixes and other updates, see the official website.

What is Nuitka?

Nuitka is a substitute for Python. It supports the Code provided by CPython. It can translate Python code to C ++ and use libpython to execute the code, just like CPython. Compatible with Python 2.6, 2.7, 3.2, 3.3, 3.4, and 3.5. Some teams are using it to build a complete Python compilation tool and try to translate Python code into other high-speed programming languages.

According to the feedback, although the Python program compiled by Nuitka is less portable, it also reduces some overhead and improves the efficiency of the Python program.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.