Skip to content

Commit 590233a

Browse files
committed
update readme
1 parent adf2b89 commit 590233a

File tree

3 files changed

+21
-15
lines changed

3 files changed

+21
-15
lines changed

CHANGELOG.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
1919

2020
- Added support for Python 3.13.x
2121

22+
23+
## [0.2.6]
24+
2225
- 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.
2326

2427
- 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/)
4447

4548
- Fixed .github workflows which have become deprecated due to api changes at github
4649

47-
## [0.2.0]
48-
4950
- 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.
5051

5152
- Changed minimal macos version to '12.0'. This can be set in `py-js/source/scripts/common.cmake`

source/projects/py/CHANGELOG.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# CHANGELOG for `py` object
22

33

4-
## [0.2.x]
4+
## [0.3.x]
55

6-
- Add `make install-numpy` for automatically building and adding a shrunk version of numpy to the previously built external or package
76

7+
## [0.3.0]
8+
9+
- Added support for Python 3.13.x
10+
11+
- Added `make install-numpy` for automatically building and adding a shrunk version of numpy to the previously built external or package
812

913
## [0.2.6]
1014

source/projects/py/py.c

+12-11
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,10 @@ void py_init(t_py* x)
323323
wchar_t* python_home = NULL;
324324

325325
if (!Py_IsInitialized()) {
326-
// without the above test, add more than on instance of py will cause a crash
326+
// without the above test, addding more than one instance of `py` will
327+
// cause a crash.
327328
// https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/issues/18
328-
329+
329330
/* Add the cythonized 'api' built-in module, before Py_Initialize */
330331
if (PyImport_AppendInittab("api", PyInit_api) == -1) {
331332
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)
20952096
* @brief Scan object registry and populate object IDs.
20962097
*
20972098
* @param x object instance
2098-
*
2099-
* PI_WANTBOX means pass iterator function to box, rather than
2099+
*
2100+
* PI_WANTBOX flag means pass iterator function to box, rather than
21002101
* the object contained in the box.
2101-
*
2102-
* PI_DEEP flag means that the iteration will descend, depth
2102+
*
2103+
* PI_DEEP flag means that the iteration will descend, depth
21032104
* first, into subpatchers.
2104-
*
2105-
* The result parameter is returns the last value returned by the iterator.
2106-
*
2105+
*
2106+
* The result parameter is returns the last value returned by the iterator.
2107+
*
21072108
* For example, if the iterator terminates early by returning a non-zero
2108-
* value, it will contain that value.
2109-
*
2109+
* value, it will contain that value.
2110+
*
21102111
* If the iterator function does not terminate early, result will be 0.
21112112
*/
21122113
void py_scan(t_py* x)

0 commit comments

Comments
 (0)