[issue17494] References to stack bottom are confusing

anatoly techtonik report at bugs.python.org
Thu Mar 21 17:11:44 CET 2013


anatoly techtonik added the comment:

stack = []
stack.append(item)
stack.append(item)
stack.append(item)

This is an appropriate explanation of the stack in Python, the first frame is the frame that was put in first.


root/terminal - if you know what a stack is, you won't confuse it with a tree, if you don't - then in my opinion your top/bottom terminology won't help to gain understanding. root/terminal removes the ambiguity.


right/left is also a good alternative. Nobody imagines a stack growing right to left.

----------
resolution: rejected -> remind
status: closed -> pending

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17494>
_______________________________________


More information about the Python-bugs-list mailing list