Releases: utkinn/PyGmod
Releases · utkinn/PyGmod
Alpha 0.12.2
- Fixed the broken unhandled exception icon
Alpha 0.12.1
- Fix a crash when using
retry
command on a multiplayer game. - Fix
hook.Add()
callbacks not being registered.
Alpha 0.12
Alpha 0.11
- Lua interaction code was rewritten.
Python functions are now exposed to Lua as userdata. Less hacky, more efficient. - Now PyGmod uses
logging
module instead ofprint()
. - Several modules, functions and constants were renamed.
- A basement for unit tests has been made. (Thanks to @texruska)
Renamed stuff
Modules
Old name | New name |
---|---|
luastack |
_luastack |
gmod.lua |
pygmod.lua |
gmod.luanamespace |
pygmod.gmodapi |
loader |
pygmod._loader |
gmod.streams |
pygmod._streams |
Functions
Old name | New name |
---|---|
gmod.lua.exec |
pygmod.lua.exec_lua |
gmod.lua.eval |
pygmod.lua.eval_lua |
gmod.lua.table (was a function) |
pygmod.lua.Table (now a class) |
gmod.lua.pairs |
pygmod.lua.Table.items |
Removed
Classes
gmod.lua.LuaObjectWrapper
Functions
gmod.lua.luafunction
- now Python functions can be converted to Lua right away
Alpha 0.10
Improved Lua interaction tools: now you can write code that looks very similar to Lua.
Alpha 0.9
First public release