Tohil a feathered serpent, aims to provide a delightful integration between Python, the serpent, and TCL, the feather."tohil.call" and "tohil.eval" to return Python tclobj objects by default (which can be overridden). Now TclProcs work that way too.
Tohil is simultaneously a Python extension and a TCL extension that makes it possible to effortlessly call bidirectionally between Tcl and Python.
Tohil is open source software, available for free including for profit and/or for redistribution, under the permissive 3-clause BSD license.
Tohil 4.3.0 is mostly a maintenance release. One nice improvement, TclProcs now return the tclobj datatype by default. If you haven’t seen them, TclProcs are the slickest way to invoke Tcl procs from Python using tohil. A few releases back we changed
Since Tohil's tclobj objects behave like strings when used as strings in Python, very little if any code, even code that makes extensive use of TclProcs, should require changes.likely to have a conflict.
Additional Improvements
* Much faster Python-to-Tcl floating point and integer conversions.
* Tohil previously stored a Python capsule containing a pointer to its corresponding Tcl interpreter in __main__.interp and you could make Python crash by doing like interp = ‘’” before importing tohil. This renames interp to something way less
* Many new tests
Bug Fixes
* Thread state handling improvements aka bug and crash fixes when using Tohil/Python from multiple Tcl interpreters.
* Tohil tclobj integer math is now always performed at 64-bits, even on 32-bit machines.
* Fixed infinite recursion when Tohil’s exception handler caused an exception.
Improved Build Support
* configure script improvements to permit building Tohil with nix (https://github.com/flightaware/tohil/pull/65).
* tests can now be run via nix.
For release notes on github, visit the Tohil github repo at https://github.com/flightaware/tohil
For the full changelog,since 4.2.0, visit https://github.com/flightaware/tohil/compare/v4.2.0...v4.3.0
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 285 |
Nodes: | 16 (2 / 14) |
Uptime: | 30:24:41 |
Calls: | 6,448 |
Files: | 12,052 |
Messages: | 5,254,626 |