This document is deprecated; instead refer to the current list of unsupported features
Email philip@pgbovine.net if you have a question that isn't addressed here.
This was a design decision made to keep the display less cluttered; if we were truly faithful to Python's semantics, that would result in far too many arrows (pointers) being drawn. However, note that since primitives are immutable and thus behave identically regardless of aliasing, it doesn't matter whether they're rendered in the stack or heap.
Update on 2013-01-06: I've added a drop-down menu option with two choices: "inline primitives and nested objects" versus "render all objects on the heap". If you want to render all objects on the heap, select the latter option. To avoid too many arrows being drawn, also toggle the default "draw references using arrows" option to "use text labels for references". Here is a direct link to activate those two settings:
http://pythontutor.com/visualize.html#heapPrimitives=true&textReferences=true
Of course! Toggle options are customizable via the query string. Here are the default settings:
For example, if you want to default to Python 3, visit: http://pythontutor.com/visualize.html#&py=3
Or Java: http://pythontutor.com/visualize.html#&py=java
Or if you want to render all objects on the heap and use text label references, visit: http://pythontutor.com/visualize.html#heapPrimitives=true&textReferences=true
Yes, if you care about only Python. See the directions in Overview for Developers. Unfortunately, this is much harder to do for other languages, since they use backends that are in v4-cokapi/ that communicate with the visualizer in more complex ways.
Hard to say :/ But here are some possible reasons:
x**x
)The simplest way is to email them to me: philip@pgbovine.net
You can also file bugs in the issue tracker:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。