Message3341

Author pjenvey
Recipients cheeming, pjenvey
Date 2008-07-17.01:36:24
SpamBayes Score 0.11326174
Marked as misclassified No
Message-id <1216258587.46.0.887884642987.issue1074@psf.upfronthosting.co.za>
In-reply-to
Content
This is really two different bugs

Chris McClimans had started creating a signal module a few months ago 
while trying to port IPython to jython. Java doesn't expose any official 
API for dealing with signals, but there's actually some undocumented 
facilities for it in sun.misc. He pastebin'd what he had so far here:

http://pylonshq.com/pasties/646

and a test for it here:

http://pylonshq.com/pasties/647

fcntl could be implemented via JNA. It would also require Python files 
to return their real file descriptor via fileno() -- currently it 
returns a fake file descriptor, because Java doesn't allow access to the 
real one (which is in a private field in java.io.FileDescriptor). We 
could 'steal' it via reflection, though -- which is what JRuby does
History
Date User Action Args
2008-07-17 01:36:27pjenveysetspambayes_score: 0.113262 -> 0.11326174
messageid: <1216258587.46.0.887884642987.issue1074@psf.upfronthosting.co.za>
2008-07-17 01:36:27pjenveysetspambayes_score: 0.113262 -> 0.113262
recipients: + pjenvey, cheeming
2008-07-17 01:36:26pjenveylinkissue1074 messages
2008-07-17 01:36:24pjenveycreate