A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-February/020494.html below:

[Python-Dev] PEP 263 -- Python Source Code Encoding

[Python-Dev] PEP 263 -- Python Source Code Encoding [Python-Dev] PEP 263 -- Python Source Code EncodingM.-A. Lemburg mal@lemburg.com
Wed, 27 Feb 2002 22:59:34 +0100
Skip Montanaro wrote:
> 
>     Martin> If the default encoding is ASCII, and you have a 8-bit
>     Martin> character, the compiler will emit a warning if it is enhanced to
>     Martin> follow PEP 263. So what were you getting at?
> 
> I was thinking about strings used as byte containers for non-character data.

In string literals ? I think it is common to encode this sort of
data as hex or using octal escapes. Since these encodings are
plain 7-bit ASCII I don't see a problem.

Your hint about the manual is correct though: we'll have to adapt
that to the new reading as well.

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting:                           http://www.egenix.com/
Python Software:                   http://www.egenix.com/files/python/



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4