<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/codeobject.c, branch v3.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/codeobject.c?h=v3.1</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/codeobject.c?h=v3.1'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2009-02-02T20:36:42Z</updated>
<entry>
<title>Issue #1717: rename tp_compare to tp_reserved.  I'll change the</title>
<updated>2009-02-02T20:36:42Z</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2009-02-02T20:36:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e94c679df0b632bc929936ca54f0de006e1a6dc2'/>
<id>urn:sha1:e94c679df0b632bc929936ca54f0de006e1a6dc2</id>
<content type='text'>
type of tp_compare in a separate commit, for ease of reversion
should things go wrong.
</content>
</entry>
<entry>
<title>Rename PyUnicode_AsString -&gt; _PyUnicode_AsString and</title>
<updated>2008-08-07T18:54:33Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2008-08-07T18:54:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4cc0f24857c345ba99691b2ae6829c6ce3c0edcd'/>
<id>urn:sha1:4cc0f24857c345ba99691b2ae6829c6ce3c0edcd</id>
<content type='text'>
PyUnicode_AsStringAndSize -&gt; _PyUnicode_AsStringAndSize to mark
them for interpreter internal use only.

We'll have to rework these APIs or create new ones for the
purpose of accessing the UTF-8 representation of Unicode objects
for 3.1.
</content>
</entry>
<entry>
<title>Renamed PyString to PyBytes</title>
<updated>2008-05-26T13:28:38Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2008-05-26T13:28:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=72b710a59617ebe6dd1c41613d2c7eb81702efd9'/>
<id>urn:sha1:72b710a59617ebe6dd1c41613d2c7eb81702efd9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#1939: update code object docstring.</title>
<updated>2008-01-26T09:39:23Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2008-01-26T09:39:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a1e7e139666eb5325ca142a30ed03bee2c7d55b0'/>
<id>urn:sha1:a1e7e139666eb5325ca142a30ed03bee2c7d55b0</id>
<content type='text'>
</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>Fix a refleak for `filename', introduced in rev. 58466.</title>
<updated>2007-10-24T21:14:07Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2007-10-24T21:14:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d2093f7793ef73215cc2c60ce09aa97b12f837a9'/>
<id>urn:sha1:d2093f7793ef73215cc2c60ce09aa97b12f837a9</id>
<content type='text'>
Also remove an unnecessary incref/decref for `name'.
</content>
</entry>
<entry>
<title>Patch #1272, by Christian Heimes and Alexandre Vassalotti.</title>
<updated>2007-10-15T02:52:41Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2007-10-15T02:52:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=00bc0e0a2d0b6c403a3c6ab96fa7d3398b5c751e'/>
<id>urn:sha1:00bc0e0a2d0b6c403a3c6ab96fa7d3398b5c751e</id>
<content type='text'>
Changes to make __file__ a proper Unicode object, using the default
filesystem encoding.
This is a bit tricky because the default filesystem encoding isn't
set by the time we import the first modules; at that point we fudge
things a bit.  This is okay since __file__ isn't really used much
except for error reporting.
Tested on OSX and Linux only so far.
</content>
</entry>
<entry>
<title>Ensure that code object names (co_name) are unicode.</title>
<updated>2007-08-24T23:12:06Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2007-08-24T23:12:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=41103bf6f2f5787ddf7106fb3e5a0a98bb6b1c7d'/>
<id>urn:sha1:41103bf6f2f5787ddf7106fb3e5a0a98bb6b1c7d</id>
<content type='text'>
Verify that they print properly too.
</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>
</feed>
