[issue23599] single and double quotes stripped upon paste into interpreter
New submission from Jeff Doak: On MacBook. Copy/paste the following line into 3.4.2 interpreter session: [“Test”][‘Test’] Results in: [Test][Test] Same paste into 2.7.6 is as expected: [“Test”][‘Test’] -- components: Macintosh messages: 237389 nosy: Jeff Doak, ned.deily, ronaldoussoren priority: normal severity: normal status: open title: single and double quotes stripped upon paste into interpreter type: behavior versions: Python 3.4 ___ Python tracker <http://bugs.python.org/issue23599> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23599] single and double quotes stripped upon paste into interpreter
Jeff Doak added the comment: I noticed they are smart quotes and came back to see David already mentioned it. As for Demian's question: 2.7.6: >>> print("{’Test’}") {’Test’} 3.4.2: >>> print("{Test}") {Test} It is upon paste that the quotes are lost. I'm on OSX 10.10.2 as well. -- ___ Python tracker <http://bugs.python.org/issue23599> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23599] single and double quotes stripped upon paste into interpreter
Jeff Doak added the comment: I am in a standard Terminal session. I have a symbolic link for python 3.4: /usr/bin/python -> /opt/local/bin/python3.4 so I can run python... or the following: $ /opt/local/bin/python3.4 -c 'import sys;print(sys.version)' 3.4.2 (default, Oct 22 2014, 01:08:11) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54)] $ /opt/local/bin/python3.4 -c 'import readline;print(readline.__doc__)' Importing this module enables command line editing using libedit readline. -- ___ Python tracker <http://bugs.python.org/issue23599> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23599] single and double quotes stripped upon paste into interpreter
Jeff Doak added the comment: Thanks Ned and everyone! It turns out that Ned was correct and it works fine now that I followed his instructions. -- ___ Python tracker <http://bugs.python.org/issue23599> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com