We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de2e5d0 commit f2fc5faCopy full SHA for f2fc5fa
v3/pg_logger.py
@@ -222,7 +222,8 @@ def get_user_stdout(frame):
222
return frame.f_globals['__user_stdout__'].getvalue()
223
224
'''
225
-Dec 2013
+2013-12-26
226
+
227
Okay, what's with this f_valuestack business?
228
229
If you compile your own CPython and patch Objects/frameobject.c to add a
@@ -232,6 +233,10 @@ def get_user_stdout(frame):
232
233
234
z = [x*y for x in range(5) for y in range(5)]
235
236
+Note that on pythontutor.com, I am currently running custom-compiled
237
+versions of Python-2.7.6 and Python-3.3.3 with this f_valuestack hack.
238
+Unless you run your own custom CPython, you won't get these benefits.
239
240
241
Patch:
242
0 commit comments