diff --git a/CHANGELOG.md b/CHANGELOG.md index 34054bef..24cc66ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Added support for Python 3.13.x + +## [0.2.6] + - Changed default configuration in order to speed up builds. Now optimizations options ["enable_optimizations", "with_lto"] are not enabled by default but can now be enabled by setting OPTIMIZE=1 environment variable. - Added `make strip` option (with script) to recursively strip externals in the externals folder (currently macOS only) @@ -44,8 +47,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Fixed .github workflows which have become deprecated due to api changes at github -## [0.2.0] - - Added the `webserv` external based on the [mongoose](https://github.com/cesanta/mongoose) embedded webserver platform for a proof-of-concept of a webserver in an external. - Changed minimal macos version to '12.0'. This can be set in `py-js/source/scripts/common.cmake` diff --git a/source/projects/py/CHANGELOG.md b/source/projects/py/CHANGELOG.md index 5249d5a6..09bc269a 100644 --- a/source/projects/py/CHANGELOG.md +++ b/source/projects/py/CHANGELOG.md @@ -1,10 +1,14 @@ # CHANGELOG for `py` object -## [0.2.x] +## [0.3.x] -- Add `make install-numpy` for automatically building and adding a shrunk version of numpy to the previously built external or package +## [0.3.0] + +- Added support for Python 3.13.x + +- Added `make install-numpy` for automatically building and adding a shrunk version of numpy to the previously built external or package ## [0.2.6] diff --git a/source/projects/py/py.c b/source/projects/py/py.c index 1ef2f721..f649516b 100644 --- a/source/projects/py/py.c +++ b/source/projects/py/py.c @@ -323,9 +323,10 @@ void py_init(t_py* x) wchar_t* python_home = NULL; if (!Py_IsInitialized()) { - // without the above test, add more than on instance of py will cause a crash + // without the above test, addding more than one instance of `py` will + // cause a crash. // https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/issues/18 - + /* Add the cythonized 'api' built-in module, before Py_Initialize */ if (PyImport_AppendInittab("api", PyInit_api) == -1) { py_error(x, "could not add api module to builtin modules table"); @@ -2095,18 +2096,18 @@ t_max_err py_call(t_py* x, t_symbol* s, long argc, t_atom* argv) * @brief Scan object registry and populate object IDs. * * @param x object instance - * - * PI_WANTBOX means pass iterator function to box, rather than + * + * PI_WANTBOX flag means pass iterator function to box, rather than * the object contained in the box. - * - * PI_DEEP flag means that the iteration will descend, depth + * + * PI_DEEP flag means that the iteration will descend, depth * first, into subpatchers. - * - * The result parameter is returns the last value returned by the iterator. - * + * + * The result parameter is returns the last value returned by the iterator. + * * For example, if the iterator terminates early by returning a non-zero - * value, it will contain that value. - * + * value, it will contain that value. + * * If the iterator function does not terminate early, result will be 0. */ void py_scan(t_py* x)