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/2011-June/111939.html below:

[Python-Dev] Python 3.x and bytes

[Python-Dev] Python 3.x and bytes [Python-Dev] Python 3.x and bytesexarkun at twistedmatrix.com exarkun at twistedmatrix.com
Tue Jun 14 03:56:06 CEST 2011
On 12:35 am, ncoghlan at gmail.com wrote:
>On Tue, Jun 14, 2011 at 9:40 AM, P.J. Eby <pje at telecommunity.com> 
>wrote:
>>You can still do it one at a time:
>>
>>CHAR, = b'C'
>>INT,  = b'I'
>>...
>>
>>etc.  I just tried it with Python 3.1 and it works there.
>
>I almost mentioned that, although it does violate one of the
>"unwritten rules of the Zen" (in this case, "syntax shall not look
>like grit on Tim's monitor")

    [CHAR] = b'C'
    [INT]  = b'I'
    ...

Jean-Paul
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