<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Include/stringobject.h, branch v3.0a2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/stringobject.h?h=v3.0a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/stringobject.h?h=v3.0a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2007-11-29T22:35:39Z</updated>
<entry>
<title>Added all PyTypeObjects to the appropriate header files.</title>
<updated>2007-11-29T22:35:39Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2007-11-29T22:35:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a22e8bdfd92cd4f1bc3d60e91df6410c4efde6a0'/>
<id>urn:sha1:a22e8bdfd92cd4f1bc3d60e91df6410c4efde6a0</id>
<content type='text'>
Before the patch a lot of internal types weren't available in the header files. The patch exposes the new iterators, views and some other types to all C modules. I've also renamed some of the types and tp_names.
</content>
</entry>
<entry>
<title>Merging the py3k-pep3137 branch back into the py3k branch.</title>
<updated>2007-11-06T21:34:58Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2007-11-06T21:34:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=98297ee7815939b124156e438b22bd652d67b5db'/>
<id>urn:sha1:98297ee7815939b124156e438b22bd652d67b5db</id>
<content type='text'>
No detailed change log; just check out the change log for the py3k-pep3137
branch.  The most obvious changes:

  - str8 renamed to bytes (PyString at the C level);
  - bytes renamed to buffer (PyBytes at the C level);
  - PyString and PyUnicode are no longer compatible.

I.e. we now have an immutable bytes type and a mutable bytes type.

The behavior of PyString was modified quite a bit, to make it more
bytes-like.  Some changes are still on the to-do list.
</content>
</entry>
<entry>
<title>Kill PyString_Encode(), which isn't used anywhere.</title>
<updated>2007-10-26T19:34:40Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2007-10-26T19:34:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a2074f0bd75b5e08a6f9094dc30c26e2252e3747'/>
<id>urn:sha1:a2074f0bd75b5e08a6f9094dc30c26e2252e3747</id>
<content type='text'>
(We should also kill the other PyString_ encode/decode APIs, but they
still have some users.)
</content>
</entry>
<entry>
<title>Patch# 1258 by Christian Heimes: kill basestring.</title>
<updated>2007-10-16T18:12:55Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2007-10-16T18:12:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3172c5d263eeffff1e89d03d79be3ccc1d60fbde'/>
<id>urn:sha1:3172c5d263eeffff1e89d03d79be3ccc1d60fbde</id>
<content type='text'>
I like this because it makes the code shorter! :-)
</content>
</entry>
<entry>
<title>Fix merge breakage.</title>
<updated>2007-07-21T18:47:48Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2007-07-21T18:47:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5d7428b8ce0ffc79b24b05df2b3d2865db037902'/>
<id>urn:sha1:5d7428b8ce0ffc79b24b05df2b3d2865db037902</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merged revisions 56467-56482 via svnmerge from</title>
<updated>2007-07-21T17:22:18Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2007-07-21T17:22:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9f2e346911988cda95fec7c901e8d10d34fa9563'/>
<id>urn:sha1:9f2e346911988cda95fec7c901e8d10d34fa9563</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/branches/p3yk

................
  r56477 | martin.v.loewis | 2007-07-21 09:04:38 +0200 (Sa, 21 Jul 2007) | 11 lines

  Merged revisions 56466-56476 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r56476 | martin.v.loewis | 2007-07-21 08:55:02 +0200 (Sa, 21 Jul 2007) | 4 lines

    PEP 3123: Provide forward compatibility with Python 3.0, while keeping
    backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
    PyVarObject_HEAD_INIT.
  ........
................
  r56478 | martin.v.loewis | 2007-07-21 09:47:23 +0200 (Sa, 21 Jul 2007) | 2 lines

  PEP 3123: Use proper C inheritance for PyObject.
................
  r56479 | martin.v.loewis | 2007-07-21 10:06:55 +0200 (Sa, 21 Jul 2007) | 3 lines

  Add longintrepr.h to Python.h, so that the compiler can
  see that PyFalse is really some kind of PyObject*.
................
  r56480 | martin.v.loewis | 2007-07-21 10:47:18 +0200 (Sa, 21 Jul 2007) | 2 lines

  Qualify SHIFT, MASK, BASE.
................
  r56482 | martin.v.loewis | 2007-07-21 19:10:57 +0200 (Sa, 21 Jul 2007) | 2 lines

  Correctly refer to _ob_next.
................
</content>
</entry>
<entry>
<title>Make identifiers str (not str8) objects throughout.</title>
<updated>2007-06-10T09:51:05Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2007-06-10T09:51:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5b222135f8d2492713994f2cb003980e87ce6a72'/>
<id>urn:sha1:5b222135f8d2492713994f2cb003980e87ce6a72</id>
<content type='text'>
This affects the parser, various object implementations,
and all places that put identifiers into C string literals.

In testing, a number of crashes occurred as code would
fail when the recursion limit was reached (such as the
Unicode interning dictionary having key/value pairs where
key is not value). To solve these, I added an overflowed
flag, which allows for 50 more recursions after the
limit was reached and the exception was raised, and
a recursion_critical flag, which indicates that recursion
absolutely must be allowed, i.e. that a certain call
must not cause a stack overflow exception.

There are still some places where both str and str8 are
accepted as identifiers; these should eventually be
removed.
</content>
</entry>
<entry>
<title>Add interning of unicode strings by copying the functionality from</title>
<updated>2007-05-25T13:52:07Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2007-05-25T13:52:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1680713e524016d93a94114c4a874ad71a090b95'/>
<id>urn:sha1:1680713e524016d93a94114c4a874ad71a090b95</id>
<content type='text'>
stringobject.c.

Intern "True" and "False" in bool_repr() again as it was in the
8bit string era.
</content>
</entry>
<entry>
<title>Merged revisions 53875-53911 via svnmerge from</title>
<updated>2007-02-25T20:39:11Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2007-02-25T20:39:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=27d517b21b67b54637acd19785f7adfc38fbd8c2'/>
<id>urn:sha1:27d517b21b67b54637acd19785f7adfc38fbd8c2</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r53899 | neal.norwitz | 2007-02-25 16:52:27 +0100 (Sun, 25 Feb 2007) | 1 line

  Add more details when releasing interned strings
........
  r53900 | neal.norwitz | 2007-02-25 16:53:36 +0100 (Sun, 25 Feb 2007) | 1 line

  Whitespace only changes
........
  r53901 | jeremy.hylton | 2007-02-25 16:57:45 +0100 (Sun, 25 Feb 2007) | 8 lines

  Fix crash in exec when unicode filename can't be decoded.

  I can't think of an easy way to test this behavior.  It only occurs
  when the file system default encoding and the interpreter default
  encoding are different, such that you can open the file but not decode
  its name.
........
  r53902 | jeremy.hylton | 2007-02-25 17:01:58 +0100 (Sun, 25 Feb 2007) | 2 lines

  Put declarations before code.
........
  r53910 | fred.drake | 2007-02-25 18:56:27 +0100 (Sun, 25 Feb 2007) | 3 lines

  - SF patch #1657613: add documentation for the Element interface
  - clean up bogus use of the {datadescni} environment everywhere
........
  r53911 | neal.norwitz | 2007-02-25 20:44:48 +0100 (Sun, 25 Feb 2007) | 17 lines

  Variation of patch # 1624059 to speed up checking if an object is a subclass
  of some of the common builtin types.

  Use a bit in tp_flags for each common builtin type.  Check the bit
  to determine if any instance is a subclass of these common types.
  The check avoids a function call and O(n) search of the base classes.
  The check is done in the various Py*_Check macros rather than calling
  PyType_IsSubtype().

  All the bits are set in tp_flags when the type is declared
  in the Objects/*object.c files because PyType_Ready() is not called
  for all the types.  Should PyType_Ready() be called for all types?
  If so and the change is made, the changes to the Objects/*object.c files
  can be reverted (remove setting the tp_flags).  Objects/typeobject.c
  would also have to be modified to add conditions
  for Py*_CheckExact() in addition to each the PyType_IsSubtype check.
........
</content>
</entry>
<entry>
<title>Patch #1601678: move intern() to sys.intern().</title>
<updated>2006-12-19T20:50:34Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-12-19T20:50:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=66a796e5ab8dd7bfc1fe05a830feb05acdab6f53'/>
<id>urn:sha1:66a796e5ab8dd7bfc1fe05a830feb05acdab6f53</id>
<content type='text'>
</content>
</entry>
</feed>
