Skip to content

Releases: oracle/graalpython

Graal Python - GraalVM Community Edition 19.0.0

09 May 18:44
Compare
Choose a tag to compare

This is a Python 3 implementation on top of GraalVM. Currently, it is in the early stages of development and as such, it is not ready for any serious applications beyond simple use cases and scripting. The main focus of development right now is to get NumPy, SciPy, and related libraries working.

The Python language components can be installed in GraalVM using the gu utility.

More information is available on the GraalVM website: http://www.graalvm.org/docs/reference-manual/languages/python/

Changes in 19.0.0:

  • Fix an issue preventing use of encodings in the installable binary
  • Fix return value of process when os.exit is called with a boolean, enabling running unittests with the correct return result
  • Fix interpretation of foreign objects to prefer interpreting them as integer over double
  • Fix performance regression when repeatedly creating a new function in a loop

Graal Python - GraalVM Community Edition 1.0 RC16

23 Apr 20:05
Compare
Choose a tag to compare

This is a Python 3 implementation on top of GraalVM. Currently, it is in the early stages of development and as such, it is not ready for any serious applications beyond simple use cases and scripting. The main focus of development right now is to get NumPy, SciPy, and related libraries working.

The Python language components can be installed in GraalVM using the gu utility.

More information is available on the GraalVM website: http://www.graalvm.org/docs/reference-manual/languages/python/

RC16 was focused on cleanup and adding tests, so there are no user facing changes.

Graal Python - GraalVM Community Edition 1.0 RC15

05 Apr 16:14
Compare
Choose a tag to compare

This is a Python 3 implementation on top of GraalVM. Currently, it is in the early stages of development and as such, it is not ready for any serious applications beyond simple use cases and scripting. The main focus of development right now is to get NumPy, SciPy, and related libraries working.

The Python language components can be installed in GraalVM using the gu utility.

More information is available on the GraalVM website: http://www.graalvm.org/docs/reference-manual/languages/python/

Changes in RC15:

  • Implement PEP 487 __init_subclass__
  • Implement PEP 560 __class_getitem__ and __mro_entries__
  • Migrate to Truffle libraries for interop
  • Support the buffer protocol for mmap
  • Support importing java classes using normal Python import syntax
  • Improve performance of literal dictionary creation when the first but not all keys are strings
  • Improve performance of getting the length of a string
  • Improve performance of accessing defaults, keyword-defaults, and code of a function
  • Fix getting file separator from the Truffle filesystem rather than the operating system
  • Fix constructing and calling methods with non-function callables
  • Fix execution of subprocesses with non-default python homes on JVM

Graal Python - GraalVM Community Edition 1.0 RC14

18 Mar 18:04
Compare
Choose a tag to compare

This is a Python 3 implementation on top of GraalVM. Currently, it is in the early stages of development and as such, it is not ready for any serious applications beyond simple use cases and scripting. The main focus of development right now is to get NumPy, SciPy, and related libraries working.

The Python language components can be installed in GraalVM using the gu utility.

More information is available on the GraalVM website: http://www.graalvm.org/docs/reference-manual/languages/python/

Changes in RC14:

  • Mark a subset of the Graal Python launcher options as "stable". All other options are subject to change and need to be unlocked explicitly on the commandline.
  • Automatically install pip when creating a venv. The socket and ssl libraries are still not functional, so pip can only install from local sources or wheels.
  • Update the standard library to Python 3.7.0 from 3.6.5.
  • Support the -I flag to ignore the user environment and not add the working directory to sys.path
  • Fix an error preventing usage of the memtracer tool. If an object raised an exception in it's __repr__ method, it would abort the execution.
  • Fix issues around not being able to modify function defaults, keyword defaults, or re-defining a function with a different closure.
  • Fix continuation prompt in the interactive Python shell when an incomplete statement was typed. Before it raised and ignored a SyntaxError.
  • Fix frame restarting of Python functions in the Chrome debugger. Before, functions with closures would have their cells accidentally cleared.

Graal Python - GraalVM Community Edition 1.0 RC13

05 Mar 15:32
Compare
Choose a tag to compare

This is a Python 3 implementation on top of GraalVM. Currently, it is in the early stages of development and as such, it is not ready for any serious applications beyond simple use cases and scripting. The main focus of development right now is to get NumPy, SciPy, and related libraries working.

The Python language components can be installed in GraalVM using the gu utility.

More information is available on the GraalVM website: http://www.graalvm.org/docs/reference-manual/languages/python/

Changes in RC13:

  • Support marshal.dumps and marshal.loads for code objects and some other built-in objects
  • Fix installation of NumPy in a venv
  • Initial support for module mmap
  • Support debugging with workspace files in the Chrome debugger
  • Support the PEP 553 breakpoint() message
  • Support running weak reference callbacks and signals on the main thread

Graal Python - GraalVM Community Edition 1.0 RC12

04 Feb 13:43
Compare
Choose a tag to compare

This is a Python 3 implementation on top of GraalVM. Currently, it is in the early stages of development and as such, it is not ready for any serious applications beyond simple use cases and scripting. The main focus of development right now is to get NumPy, SciPy, and related libraries working.

The Python language components can be installed in GraalVM using the gu utility.

More information is available on the GraalVM website: http://www.graalvm.org/docs/reference-manual/languages/python/

Changes in RC12:

  • Support the __class__ variable in the class scope
  • Support module-level docstrings
  • Initial support for the venv standard-library tool
  • Initial support for the built-in _bz2 module
  • Initial support for the pandas package
  • Initial support for OSError subclasses based on the errno of the exception
  • Fix bytearray inplace add to return the same object
  • Fix access to standard Python methods (__repr__, __str__, __len__ and the like) for foreign objects

Graal Python - GraalVM Community Edition 1.0 RC11

15 Jan 09:43
Compare
Choose a tag to compare

Graal.Python is a Python 3 implementation for GraalVM. Currently, it is in the early stages of development and as such, it is not ready for any serious applications beyond simple use cases and scripting. The main focus of development right now is to get NumPy, SciPy, and related libraries working.

The Python language components can be installed in GraalVM using the gu utility.

More information is available on the GraalVM website: http://www.graalvm.org/docs/reference-manual/languages/python/

Changes in RC11:

  • Add the ginstall custom module to install known packages such as NumPy and setuptools using graalpython -m ginstall
  • Add support for the yield from syntax
  • Add more built-in methods to the time module
  • Add support for the standard zipfile module
  • Add the built-in _cvs module
  • Improve performance of various C API operations
  • Improve performance of os.scandir and functions that build on it (such as glob)
  • Fix various performance regressions introduced in RC10
  • Fix [] access with non-integer keys for array-like polyglot objects
  • Fix the implementation of standard streams so they are cooked, buffered streams
  • Fix reporting that we have a TTY console in a conservative way if we are run through the Python launcher
  • Remove exposure of internal languages through polyglot.eval

Graal Python - GraalVM Community Edition 1.0 RC10

05 Dec 18:13
Compare
Choose a tag to compare

Graal.Python is a Python 3 implementation for GraalVM. Currently, it is in the early stages of development and as such, it is not ready for any serious applications beyond simple use cases and scripting.

The Python language components can be installed in GraalVM using the gu utility.

More information is available on the GraalVM website: http://www.graalvm.org/docs/reference-manual/languages/python/

Changes in RC10:

  • Improve performance of C API upcalls
  • Improve performance of classmethods, staticmethods, globals(), and locals()
  • Improve performance of various string and bytes operations
  • Initial support for the _thread builtin module (actual multi-threading is still disabled, the API defaults to a dummy implementation)
  • Implement the zipimporter module
  • Support assignment to object.__class__
  • Use the new Truffle filesystem API to get/set the current working directory
  • Attempt our best to report side-effects in KEY_INFO
  • The KEYS message now responds with attributes and methods, never dict keys
  • Support the input builtin
  • Add DEBUG launcher options for performance debugging
  • Ensure context isolation for file descriptors and child PIDs
  • Fix passing custom locals and globals through exec and eval
  • Fixes to builtin help

Graal Python - GraalVM Community Edition 1.0 RC9

05 Nov 13:51
Compare
Choose a tag to compare

Graal.Python is a Python 3 implementation for GraalVM. Currently, it is in the early stages of development and as such, it is not ready for any serious applications beyond simple use cases and scripting.

The Python language components can be installed in GraalVM using the gu utility.

More information is available on the GraalVM website: http://www.graalvm.org/docs/reference-manual/languages/python/

Changes:

  • Support help in the builtin Python shell
  • Add readline to enable history and autocompletion in the Python shell
  • Add support for the -q, -E, -s, and -S Python launcher flags
  • Improve display of foreign array-like objects
  • Improve support for string and bytes regular expressions using our TRegex engine
  • Support loading site-packages installed with easy_install
  • Initial support for the binascii module

Graal Python - GraalVM Community Edition 1.0 RC8

19 Oct 19:14
Compare
Choose a tag to compare

Graal.Python is a Python 3 implementation for GraalVM. Currently, it is in the early stages of development and as such, it is not ready for any serious applications beyond simple use cases and scripting.

The Python language components can be installed in GraalVM using the gu utility.

More information is available on the GraalVM website: http://www.graalvm.org/docs/reference-manual/languages/python/

New features in RC8:

  • Support help in the builtin Python shell
  • Add readline to enable history and autocompletion in the Python shell
  • Improve display of foreign array-like objects