[ python-Bugs-1026038 ] "ASCII" in doc section "String literals"

SourceForge.net noreply at sourceforge.net
Fri Sep 10 20:52:44 CEST 2004


Bugs item #1026038, was opened at 2004-09-10 20:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1026038&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Felix Wiemann (felixwiemann)
Assigned to: Nobody/Anonymous (nobody)
Summary: "ASCII" in doc section "String literals"

Initial Comment:
Section '2.4.1 String literals' says that
shortstringchar and longstringchar are ASCII
characters.  This is wrong, however, because non-ASCII
characters are allowed as well.

The documentation of \xhh and \ooo (in the same
section) says that they represent ASCII characters.  It
seems to me that they actually represent ISO-8859-1
characters (which is important if these escape
sequences occur in a unicode string literal).  Is that
the intended behavior, by the way?  Shouldn't it rather
depend on the  -*- coding -*- of the source file?

Maybe also add a reference to PEP 263?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1026038&group_id=5470


More information about the Python-bugs-list mailing list