[issue24172] Errors in resource.getpagesize module documentation

2015-11-17 Thread Martin Panter
Martin Panter added the comment: The documentation already says to consult the getrusage(2) man page. Regarding the getpagesize() API, Python’s implementation actually falls back to Posix’s sysconf(). Perhaps it should prefer sysconf() over getpagesize(), but that would be a separate issue. A

[issue24172] Errors in resource.getpagesize module documentation

2015-11-17 Thread John Runyon
John Runyon added the comment: This is a duplicate of 20468, which has a patch submitted (over a year ago). -- nosy: +jrunyon ___ Python tracker ___ _

[issue24172] Errors in resource.getpagesize module documentation

2015-05-13 Thread R. David Murray
Changes by R. David Murray : -- stage: -> needs patch versions: -Python 3.2, Python 3.3, Python 3.6 ___ Python tracker ___ ___ Pytho

[issue24172] Errors in resource.getpagesize module documentation

2015-05-13 Thread R. David Murray
R. David Murray added the comment: Indeed, we should probably be referring people to their system's man pages for the authoritative definition of most of these fields. According to the man pages project getpagesize is no longer a POSIX API, and that should probably be noted as well (ie: it isn

[issue24172] Errors in resource.getpagesize module documentation

2015-05-12 Thread Mahmoud Hashemi
New submission from Mahmoud Hashemi: The resource module's description of resource.getpagesize is woefully misguiding. Reproduced in full for convenience: resource.getpagesize() Returns the number of bytes in a system page. (This need not be the same as the hardware page size.) This funct