Skip to content

Commit 9497899

Browse files
committed
Add changelog entry
1 parent 486b54d commit 9497899

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ language runtime. The main focus is on user-observable behavior of the engine.
1919
* Added `GRAALPY_VERSION` and `GRAALPY_VERSION_NUM` C macros.
2020
* Remove `ginstall` module. It hasn't been necessary for several releases. Please, use `pip install`.
2121
* Remove experimental `SetupLLVMLibraryPaths` option. It was used to pre-set library path for LLVM toolchain's libc++. The path can still be set manually.
22+
* Added `GRAALPY_VERSION` and `GRAALPY_VERSION_NUM` C macros
23+
* Added experimental `python.IsolateNativeModules` option to allow loading native extensions multiple times in different contexts. See [the documentation](https://github.com/oracle/graalpython/blob/master/docs/user/Native-Extensions.md) for more information.
2224

2325
## Version 24.1.0
2426
* GraalPy is now considered stable for pure Python workloads. While many workloads involving native extension modules work, we continue to consider them experimental. You can use the command-line option `--python.WarnExperimentalFeatures` to enable warnings for such modules at runtime. In Java embeddings the warnings are enabled by default and you can suppress them by setting the context option 'python.WarnExperimentalFeatures' to 'false'.

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/PythonOptions.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,8 @@ private PythonOptions() {
348348
@Option(category = OptionCategory.EXPERT, usageSyntax = "true|false", help = "Whether C extension modules should be loaded as native code (as opposed to LLVM bitcode execution).") //
349349
public static final OptionKey<Boolean> NativeModules = new OptionKey<>(true);
350350

351-
@Option(category = OptionCategory.USER, usageSyntax = "true|false", help = "Whether the context should isolate its loading of C extension modules. " +
351+
@Option(category = OptionCategory.USER, stability = OptionStability.EXPERIMENTAL, usageSyntax = "true|false",
352+
help = "Whether the context should isolate its loading of C extension modules. " +
352353
"This allows more than one context to access C extensions. " +
353354
"Note that all contexts in the operating system process must set this option to true to cooperatively allow this feature to work.") //
354355
public static final OptionKey<Boolean> IsolateNativeModules = new OptionKey<>(false);

0 commit comments

Comments
 (0)