@node-ctypes/python 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -148,7 +148,9 @@ access and JavaScript work cannot be aborted.
148
148
  memory. `proxy.toTypedArray()` requires a C-contiguous Python buffer and copies
149
149
  read-only buffers. Do not detach, transfer or resize shared backing memory.
150
150
  - Release owned proxies with `[Symbol.dispose]()` when practical, including
151
- `PythonError.exception`. GC is nondeterministic. `PythonError` exposes `type`,
151
+ `PythonError.exception`. GC is nondeterministic. Disposal drops the reference
152
+ immediately; on free-threaded builds CPython may run the object's destructor
153
+ later, when the thread that created it next runs Python code. `PythonError` exposes `type`,
152
154
  `traceback`, `exception` and, when available, the original JavaScript `cause`.
153
155
 
154
156
  Only one JavaScript thread per process may host Python. A Node.js worker can
@@ -206,5 +208,7 @@ The runtime does not impose application backpressure.
206
208
  The [CI workflow](./.github/workflows/ci.yml) runs `npm test` with Python
207
209
  3.12, 3.13, 3.14, 3.14t and 3.15 on Windows, Linux and macOS. It is discovered only when
208
210
  this package is a repository root, not while nested in another repository.
211
+ Pushing a `v<version>` tag that matches `package.json` publishes to npm once the
212
+ whole matrix passes (npm Trusted Publishing; versions with a `-` go to `next`).
209
213
  For implementation diagrams and ownership invariants, see [FLOWS.md](./FLOWS.md)
210
214
  (Italian).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-ctypes/python",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Typed embedded CPython for Node.js, powered by node-ctypes",
5
5
  "author": "Damiano Mazzella",
6
6
  "license": "MIT",