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/2008-January/076314.html below:

[Python-Dev] What to do for bytes in 2.6?

[Python-Dev] What to do for bytes in 2.6? [Python-Dev] What to do for bytes in 2.6?Christian Heimes lists at cheimes.de
Sat Jan 19 19:51:57 CET 2008
Neil Schemenauer wrote:
> I like this solution because of its simplicity.

I've implemented and submitted the feature yesterday:

Python 2.6a0 (trunk:60048M, Jan 18 2008, 19:08:16)
[GCC 4.2.1 (Ubuntu 4.2.1-5ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> b'a'
'a'
>>> br'\a'
'\\a'
>>> bytes
<type 'str'>

Christian

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