Author willingc
Recipients Al.Sweigart, willingc
Date 2015-01-11.02:31:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420943470.53.0.620654540749.issue23220@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW: On Mac OS X 10.9.5 using Python 3.4.2, IDLE's interactive shell (started from the IDLE.app icon):

>>>print('hello\b\b\b\b\bHELLO')
helloHELLO

From the command line using python3 interactive shell:
>>>print('hello\b\b\b\b\bHELLO')
HELLO

Both return a <class 'str'> for type('hello\b\b\b\b\bHELLO') 
Interestingly, both behave the same when executing:
>>>'hello\b\b\b\b\bHELLO'
'hello\x08\x08\x08\x08\x08HELLO'


I'm not sure that IDLE is used much on OS X since the Terminal is easily available. Since K12 education may use it, it would be nice to have consistency across the OSes.
History
Date User Action Args
2015-01-11 02:31:10willingcsetrecipients: + willingc, Al.Sweigart
2015-01-11 02:31:10willingcsetmessageid: <1420943470.53.0.620654540749.issue23220@psf.upfronthosting.co.za>
2015-01-11 02:31:10willingclinkissue23220 messages
2015-01-11 02:31:09willingccreate