bnoordhuis / lua-uv

lua + libuv = sweet async goodness
10 stars 5 forks source link

Do not rely on debug.traceback existance #4

Closed agladysh closed 12 years ago

agladysh commented 12 years ago

Your code may be running inside a sandbox.

Instead do this:

https://github.com/lua-alchemy/lua-alchemy/blob/master/alchemy/wrapper/bridge_lua_c.c#L49-124

bnoordhuis commented 12 years ago

I'll take a PR if you want to send one. It will have to follow the lua-uv conventions though.

agladysh commented 12 years ago

After some poking around, I decided to keep using lua-ev (https://github.com/brimworks/lua-ev). So, sorry, but it is not likely that I will be able to submit a PR for this issue...

bnoordhuis commented 12 years ago

No problem. I'm going to close the issue though. :-)

agladysh commented 12 years ago

I believe that this is a honest bug (or, at least, a misfeature), but that's your library.