Source

mino-pypy / pypy / module / fcntl / interp_fcntl.py

Author Commit Message Labels Comments Date
Brian Kearns
cleanup fcntl.flock and fix fcntl.lockf ignoring return value
g2p
Don't forget the return value, so that ioctl works on int args.
Maciej Fijalkowski
fix fix fix
Branches
kill-someobject
Alex Gaynor
Recursively remove dead code.
Alex Gaynor
Remove helper function from fcntl which at some point became a space method.
Amaury Forgeot d'Arc
Simpler unwrap_spec in exception, fcntl
Branches
improve-unwrap_spec
Amaury Forgeot d'Arc
Fix translation
Branches
fast-forward
Amaury Forgeot d'Arc
os.fdopen(1234) did not set errno in the raised exception
Branches
fast-forward
Maciej Fijalkowski
how-this-could-have-ever-worked kind of checkin (and a test)
Armin Rigo
Merge the 'buffer' branch. The buffer interface should now be well-supported, and the array module has a not-too-terrible performance. The internal buffer interface is still missing support for direct raw pointers; that would be the next step, with the goal of reducing the number of copies of the data done for each I/O operation.
Armin Rigo
Fix fcntl.ioctl() in the same way. The appropriate test-that-failed-before-this-fix is in test_termios.
Armin Rigo
Fix fcntl. Add a helper rffi.charpsize2str().
Maciej Fijalkowski
Add rffi.setintfield everywhere
Armin Rigo
(fijal, xoraxax, arigo) Merge of the branch: rewriting the C compiling logic, by packaging all information and basic logic in a new class, pypy.translator.tool.cbuild.ExternalCompilationInfo. This solves a number of issues, e.g. ll2ctypes can now call C functions defined in snippets of C code. The capi calls are a bit saner in genc, but not completely yet - there is still a wrapper inserted by genc for that case. Ther…
Maciej Fijalkowski
(fijal, antocuni) * Untangle a bit cexternvariable * Move rffi.get/set_errno to rlib/rposix
Maciej Fijalkowski
Kill dependency on old-style classes (very obscure though)
Maciej Fijalkowski
move fcntl from rctypes to rffi
Lawrence Oluyede
code is not tested. commented
Lawrence Oluyede
an attempt to add support for array.array() instances in ioctl(). doesn't work by now. needs more investigation in space.call_method I guess
Lawrence Oluyede
add support for fcntl.ioctl(). compilation is broken due to function declaration issues.
Lawrence Oluyede
add fcntl.lockf(). it compiles fine in osx. some problems with function declaration in linux
Lawrence Oluyede
fix in case flock() syscall is not available.
Lawrence Oluyede
header for flock() in linux
Lawrence Oluyede
implemented fcntl.flock(). still compiles...
Lawrence Oluyede
more tests for fcntl, added some constants missing in linux
Lawrence Oluyede
implemented fcntl.fcntl() and exposed all the constants.
Lawrence Oluyede
add fcntl module. initial stuff