homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author giampaolo.rodola
Recipients amaury.forgeotdarc, asksol, brian.curtin, elprans, eric.araujo, exarkun, flub, giampaolo.rodola, iElectric, lericson, loewis, marcelo_fernandez, piro, serverhorror, vstinner
Date 2010年12月29日.01:23:22
SpamBayes Score 1.0711489e-07
Marked as misclassified No
Message-id <1293585806.86.0.446616973651.issue5672@psf.upfronthosting.co.za>
In-reply-to
Content
> If somebody would provide a patch that adds prctl to the posix module,
> that would be fine with me - we have a long tradition of exposing all
> available system calls if somebody wants them.
Just for the record, I was about to try to do this, when I realized that exposing prctl requires expecting a variable number of arguments with variable types.
It turns out providing a Python wrapper for such a kind of C API is just a pain.
There's an implementation though, handling 2 args only (instead of 5):
https://github.com/seveas/python-prctl/blob/master/_prctlmodule.c#L9
Considering that this also Linux-only, I don't think it really worths the effort.
History
Date User Action Args
2010年12月29日 01:23:27giampaolo.rodolasetrecipients: + giampaolo.rodola, loewis, exarkun, amaury.forgeotdarc, vstinner, flub, piro, serverhorror, iElectric, eric.araujo, marcelo_fernandez, elprans, brian.curtin, asksol, lericson
2010年12月29日 01:23:26giampaolo.rodolasetmessageid: <1293585806.86.0.446616973651.issue5672@psf.upfronthosting.co.za>
2010年12月29日 01:23:22giampaolo.rodolalinkissue5672 messages
2010年12月29日 01:23:22giampaolo.rodolacreate

AltStyle によって変換されたページ (->オリジナル) /