[issue19199] Remove PyThreadState.tick_counter field

2013-10-09 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19199] Remove PyThreadState.tick_counter field

2013-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ce0102e4c1f by Victor Stinner in branch 'default': Close #19199: Remove ``PyThreadState.tick_counter`` field http://hg.python.org/cpython/rev/3ce0102e4c1f -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: open

[issue19199] Remove PyThreadState.tick_counter field

2013-10-09 Thread Armin Rigo
Armin Rigo added the comment: Better remove this field if its value is now useless anyway. If someone needs it again for a similar reason, he can contribute a patch like I did in 2002 :-) -- ___ Python tracker __

[issue19199] Remove PyThreadState.tick_counter field

2013-10-08 Thread Tim Peters
Changes by Tim Peters : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue19199] Remove PyThreadState.tick_counter field

2013-10-08 Thread Tim Peters
Changes by Tim Peters : -- nosy: +arigo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue19199] Remove PyThreadState.tick_counter field

2013-10-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Should we add a new counter to count the number of executed Python > instructions per thread? Or fix tick_counter? Let's just drop it. It's useless and nobody complained. -- ___ Python tracker

[issue19199] Remove PyThreadState.tick_counter field

2013-10-08 Thread STINNER Victor
STINNER Victor added the comment: PyThreadState.tick_counter field was added in 2002 by Armin Rigo: see issue #617311. "A very very small statistic-collecting patch. (...) The purpose is to give a useful measure of the number of interpreted bytecode instructions in a given thread." My patch w

[issue19199] Remove PyThreadState.tick_counter field

2013-10-08 Thread R. David Murray
R. David Murray added the comment: Should there be a mention in whats new in case any external tools are (still) looking at it and thinking it is meaningful? -- nosy: +nedbat, r.david.murray ___ Python tracker ___

[issue19199] Remove PyThreadState.tick_counter field

2013-10-08 Thread STINNER Victor
STINNER Victor added the comment: Here is a patch. I'm going to commit it in one week if nobody complains. -- keywords: +patch Added file: http://bugs.python.org/file32007/remove_tick_counter.patch ___ Python tracker

[issue19199] Remove PyThreadState.tick_counter field

2013-10-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Yes, we can :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue19199] Remove PyThreadState.tick_counter field

2013-10-08 Thread STINNER Victor
New submission from STINNER Victor: The C structure "PyThreadState" has a counter which is incremented in the bytecode evaluation loop (ceval.c), but never used. /* XXX doesn't mean anything anymore (the comment below is obsolete) => deprecate or remove? */ /* tick_counter is inc