[issue29554] profile/pstat doc clariification

New submission from Matthias Bussonnier:
profile .rst say:
Each restriction is either an integer (to select a count of lines), or a decimal fraction between 0.0 and 1.0 inclusive (to select a percentage of lines), **or a regular expression**
Actually it accept a string that will be compiled to a regex.
Profile.py also mention:
(i.e., in addition to the old -1, 0, 1, or 2)
Which is not really helpful, to newcomers to Python who do not know what these are meant to be. Either explaining (or removing if considered old behavior that should be stopped) seem to be better alternative.
See https://github.com/python/cpython/pull/88
---------- assignee: docs@python components: Documentation messages: 287778 nosy: docs@python, mbussonn priority: normal severity: normal status: open title: profile/pstat doc clariification versions: Python 3.7
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue29554 _______________________________________

Changes by Matthias Bussonnier bussonniermatthias@gmail.com:
---------- pull_requests: +148, 149, 150
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue29554 _______________________________________

Changes by Matthias Bussonnier bussonniermatthias@gmail.com:
---------- pull_requests: +148, 149
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue29554 _______________________________________

Changes by Matthias Bussonnier bussonniermatthias@gmail.com:
---------- pull_requests: +148
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue29554 _______________________________________

Changes by Berker Peksag berker.peksag@gmail.com:
---------- nosy: +berker.peksag stage: -> patch review type: -> behavior versions: +Python 3.5, Python 3.6
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue29554 _______________________________________

Berker Peksag added the comment:
New changeset 8fb1f6e039cbdeb333d83b7a62f0f37af4ce6e02 by Berker Peksag in branch 'master': bpo-29554: Improve docs for pstat module and profile. (#88) https://github.com/python/cpython/commit/8fb1f6e039cbdeb333d83b7a62f0f37af4c...
----------
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue29554 _______________________________________

Changes by Berker Peksag berker.peksag@gmail.com:
---------- pull_requests: +190
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue29554 _______________________________________

Changes by Berker Peksag berker.peksag@gmail.com:
---------- pull_requests: +191
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue29554 _______________________________________

Berker Peksag added the comment:
New changeset 6336f0d156feec0f109a8d01da108cf96e3d9c60 by GitHub in branch '3.5': bpo-29554: Improve docs for pstat module and profile. (#88) (#228) https://github.com/python/cpython/commit/6336f0d156feec0f109a8d01da108cf96e3...
----------
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue29554 _______________________________________

Berker Peksag added the comment:
New changeset b067a5eef7fdf69264d3578654996fc3755df4ea by GitHub in branch '3.6': bpo-29554: Improve docs for pstat module and profile. (#88) (#227) https://github.com/python/cpython/commit/b067a5eef7fdf69264d3578654996fc3755...
----------
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue29554 _______________________________________

Changes by Berker Peksag berker.peksag@gmail.com:
---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue29554 _______________________________________
participants (2)
-
Berker Peksag
-
Matthias Bussonnier