[issue25393] 'resource' module documentation error
New submission from Χρήστος Γεωργίου (Christos Georgiou): https://docs.python.org/3.5/library/resource.html https://docs.python.org/3.5/library/resource.html#resource.RLIMIT_FSIZE ends with the sentence "This only affects the stack of the main thread in a multi-threaded process." I believe this sentence should be appended to https://docs.python.org/3.5/library/resource.html#resource.RLIMIT_STACK This error also exists in previous versions of python documentation. ---------- assignee: docs@python components: Documentation messages: 252935 nosy: docs@python, tzot priority: normal severity: normal status: open title: 'resource' module documentation error type: enhancement versions: Python 3.5 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue25393> _______________________________________
Changes by Berker Peksag <berker.peksag@gmail.com>: ---------- keywords: +easy nosy: +berker.peksag stage: -> needs patch type: enhancement -> behavior versions: +Python 3.6 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue25393> _______________________________________
Alakshendra Yadav added the comment: It does seem that the mentioned line belongs under RLIMIT_STACK instead of RLIMIT_FSIZE. I am submitting a patch. ---------- keywords: +patch nosy: +Alakshendra Yadav Added file: http://bugs.python.org/file43724/resource.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue25393> _______________________________________
Evelyn Mitchell added the comment: I've looked at the patch, and the fix looks correct to me. Thanks Alakshendra! I'll verify it builds correctly. ---------- nosy: +Evelyn Mitchell _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue25393> _______________________________________
Roundup Robot added the comment: New changeset 434fc614c506 by Zachary Ware in branch '2.7': Issue #25393: Fix probable copy/paste error in resource docs https://hg.python.org/cpython/rev/434fc614c506 New changeset 0fe2b7509707 by Zachary Ware in branch '3.5': Issue #25393: Fix probable copy/paste error in resource docs https://hg.python.org/cpython/rev/0fe2b7509707 New changeset 829117ae2e55 by Zachary Ware in branch 'default': Closes #25393: Merge with 3.5 https://hg.python.org/cpython/rev/829117ae2e55 ---------- nosy: +python-dev resolution: -> fixed stage: needs patch -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue25393> _______________________________________
Zachary Ware added the comment: Thanks to Christos for the report and Alakshendra for the patch! ---------- nosy: +zach.ware _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue25393> _______________________________________
participants (6)
-
Alakshendra Yadav -
Berker Peksag -
Evelyn Mitchell -
Roundup Robot -
Zachary Ware -
Χρήστος Γεωργίου (Christos Geo rgiou)