Coroutine safe xpcall and pcall versions for Lua
Coxpcall encapsulates the protected calls with a coroutine based loop, so errors can be handled without the usual pcall/xpcall issues with coroutines for Lua 5.1. Using Coxpcall usually consists in simply loading the module and then replacing Lua pcall and xpcall by copcall and coxpcall. Coxpcall is free software and uses the same license as Lua 5.1. Lua 5.2 was extended with the Coxpcall functionality and hence it is no longer required. The 5.2+ compatibility by coxpcall means that it maintains backward compatibility while using the built-in Lua implementation.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 1.17.0-8.fc41 | - |
Fedora 41 | 1.17.0-8.fc41 | - |
Fedora 40 | 1.17.0-7.fc40 | - |
Fedora 39 | 1.17.0-5.fc39 | - |
You can contact the maintainers of this package via email at
lua-coxpcall dash maintainers at fedoraproject dot org
.