<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: bytes</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/bytes.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2007-10-09T02:08:13+00:00</updated><author><name>Simon Willison</name></author><entry><title>String types in Python 3</title><link href="https://simonwillison.net/2007/Oct/9/strings/#atom-tag" rel="alternate"/><published>2007-10-09T02:08:13+00:00</published><updated>2007-10-09T02:08:13+00:00</updated><id>https://simonwillison.net/2007/Oct/9/strings/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://pyside.blogspot.com/2007/10/string-types-in-python-3.html"&gt;String types in Python 3&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
bytes are now immutable (just like the bytestrings they are replacing) and a new mutable buffer type has been introduced.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/buffers"&gt;buffers&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/bytes"&gt;bytes&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/bytestrings"&gt;bytestrings&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python3"&gt;python3&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/strings"&gt;strings&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/unicode"&gt;unicode&lt;/a&gt;&lt;/p&gt;



</summary><category term="buffers"/><category term="bytes"/><category term="bytestrings"/><category term="python"/><category term="python3"/><category term="strings"/><category term="unicode"/></entry></feed>