]> granicus.if.org Git - python/commit
Issue #19512: Add PyRun_InteractiveOneObject() function
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 6 Nov 2013 17:41:07 +0000 (18:41 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 6 Nov 2013 17:41:07 +0000 (18:41 +0100)
commit95701bdf40a00b3eb38aa4270b512ebac12fd87b
treea622069e24076f26a71dccda0908e7b5f039adc3
parent4ee41c5839b29226f2fc4893555638953f44c71f
Issue #19512: Add PyRun_InteractiveOneObject() function

Only decode the filename once. PyRun_InteractiveOneObject() uses an identifier
for "<string>" string, so the byte string is only decoded once.
Include/pythonrun.h
Python/pythonrun.c