Author akira
Recipients akira, gregory.p.smith, larry, sstewartgallus
Date 2014-06-01.02:28:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401589689.16.0.875043846921.issue21618@psf.upfronthosting.co.za>
In-reply-to
Content
> getrlimit and setrlimit are not exposed in the os module; you must use ctypes or an extension module to call them from Python:

There is `resource` module:

  >>> import resource
  >>> resource.getrlimit(resource.RLIMIT_NOFILE) 
  (1024, 4096)
History
Date User Action Args
2014-06-01 02:28:09akirasetrecipients: + akira, gregory.p.smith, larry, sstewartgallus
2014-06-01 02:28:09akirasetmessageid: <1401589689.16.0.875043846921.issue21618@psf.upfronthosting.co.za>
2014-06-01 02:28:09akiralinkissue21618 messages
2014-06-01 02:28:08akiracreate