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/2004-August/047735.html below:

[Python-Dev] adding a bytes sequence type to Python

[Python-Dev] adding a bytes sequence type to Python [Python-Dev] adding a bytes sequence type to PythonMichael Hudson mwh at python.net
Thu Aug 12 19:40:03 CEST 2004
Skip Montanaro <skip at pobox.com> writes:

> My intent in proposing b"..." literals was that they would be allowed in any
> source file.  Their contents would not be interpreted in any way.

I think this is a bad idea.  If a coding cookie says a file is in
utf-8, then the file really has to be valid utf-8 data, for
implementation sanity and not freaking out editors.  The use-case for
including arbitrary chunks of binary data in a source file seems
stretched in the extreme.

Cheers,
mwh

-- 
  My hat is lined with tinfoil for protection in the unlikely event
  that the droid gets his PowerPoint presentation working.
                               -- Alan W. Frame, alt.sysadmin.recovery
More information about the Python-Dev mailing list

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