scoder

Results 416 comments of scoder

> there needs to be a lua shared library Wouldn't the header files be enough? It shouldn't normally have to link against the lua library, because that is provided (and...

> lua has a config header which might be configured differently on different binary. How do you deal with this? Not sure. In any case, include all Lua header files,...

I'm not sure if there is a way to do this, currently. The security mechanisms are meant to protect the Python side, not the Lua side. Assuming that Lua doesn't...

It wastes both time and memory. Sending files is something that can be done very efficiently with `sendfile` (and in fact directly in the IO loop driven by "socket free...

Here is an example where sendfile() is used on a non-blocking socket: https://code.google.com/p/pyftpdlib/source/browse/tags/release-0.7.0/pyftpdlib/ftpserver.py#1035

Yes, it should. Pull request welcome.

As I wrote before: > Pull request welcome.

PRs welcome, as usual. I would expect that at least larger parts of the C implementation in CPython can be adopted – if that's what we want to use, as...

Ok, I was kinda expecting that this might be the case. Thanks for checking. Then I guess it's really just about generating Cython code (or syntax nodes directly) to implement...

This implementation makes me wonder if replacing the `BinopNode` or `PrimaryCmpNode` with a `PythonCapiCallNode` is the right approach here. If we could leave the implementation to the nodes themselves, rather...