Message5316

Author r_walter
Recipients r_walter
Date 2009-11-20.15:31:08
SpamBayes Score 4.9352525e-07
Marked as misclassified No
Message-id <1258731069.43.0.41592050677.issue1506@psf.upfronthosting.co.za>
In-reply-to
Content
Enter the command line interpreter and try to asign a string value that
contains the following: coding: 8bit. 

You get the error message that the encoding 8bit is unknown. This does
not happen in CPython.

This is it what you see on Jython:

Jython 2.5.1 (Release_2_5_1:6813, Sep 26 2009, 13:47:54)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_17
Type "help", "copyright", "credits" or license for more information.
>>> line = '"Content-Transfer-Encoding: 8bit"'
  File "<stdin>", line 1
SyntaxError: Unknown encoding: 8bit
History
Date User Action Args
2009-11-20 15:31:09r_waltersetrecipients: + r_walter
2009-11-20 15:31:09r_waltersetmessageid: <1258731069.43.0.41592050677.issue1506@psf.upfronthosting.co.za>
2009-11-20 15:31:09r_walterlinkissue1506 messages
2009-11-20 15:31:08r_waltercreate