]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #19512: sys_displayhook() now uses an identifier for "builtins"
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 6 Nov 2013 17:27:13 +0000 (18:27 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 6 Nov 2013 17:27:13 +0000 (18:27 +0100)
commitd02fbb8f715a90079737e3048535b98c5a4e94e9
tree1618ae986abb9c2ddd559b47f17738b8c5c530fa
parent6853108ccd09d2be6d1af828053db35577b30200
Issue #19512: sys_displayhook() now uses an identifier for "builtins"
dictionary key and only decodes "\n" string once to write a newline.

So "builtins" and "\n" are only decoded once from UTF-8, at the first call.
Python/sysmodule.c