<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/parsermodule.c, branch v2.5a2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/parsermodule.c?h=v2.5a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/parsermodule.c?h=v2.5a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-04-12T05:24:39Z</updated>
<entry>
<title>Update for new grammar</title>
<updated>2006-04-12T05:24:39Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-04-12T05:24:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4b194fabdf837b2646bd2ad3a742451882fb0638'/>
<id>urn:sha1:4b194fabdf837b2646bd2ad3a742451882fb0638</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Years in the making.</title>
<updated>2006-03-26T23:27:58Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-03-26T23:27:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c9d78aa4709f5a0134bfbf280f637d96e7a6cabd'/>
<id>urn:sha1:c9d78aa4709f5a0134bfbf280f637d96e7a6cabd</id>
<content type='text'>
objimpl.h, pymem.h:  Stop mapping PyMem_{Del, DEL} and PyMem_{Free, FREE}
to PyObject_{Free, FREE} in a release build.  They're aliases for the
system free() now.

_subprocess.c/sp_handle_dealloc():  Since the memory was originally
obtained via PyObject_NEW, it must be released via PyObject_FREE (or
_DEL).

pythonrun.c, tokenizer.c, parsermodule.c:  I lost count of the number of
PyObject vs PyMem mismatches in these -- it's like the specific
function called at each site was picked at random, sometimes even with
memory obtained via PyMem getting released via PyObject.  Changed most
to use PyObject uniformly, since the blobs allocated are predictably
small in most cases, and obmalloc is generally faster than system
mallocs then.

If extension modules in real life prove as sloppy as Python's front
end, we'll have to revert the objimpl.h + pymem.h part of this patch.
Note that no problems will show up in a debug build (all calls still go
thru obmalloc then). Problems will show up only in a release build, most
likely segfaults.
</content>
</entry>
<entry>
<title>SF #1445431, fix some leaks in error conditions.</title>
<updated>2006-03-20T04:08:12Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-03-20T04:08:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d1e0ef68fb3b92b4c54cbb614d521e28078f4788'/>
<id>urn:sha1:d1e0ef68fb3b92b4c54cbb614d521e28078f4788</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #1440601: Add col_offset attribute to AST nodes.</title>
<updated>2006-03-01T22:49:05Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-03-01T22:49:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=49c5da1d88f605248167f4d95b1dfe08c1f703c7'/>
<id>urn:sha1:49c5da1d88f605248167f4d95b1dfe08c1f703c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF patch #1438387, PEP 328: relative and absolute imports.</title>
<updated>2006-02-28T16:09:29Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-02-28T16:09:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f7f438ba3b05eb4356e7511401686b07d9dfb6d8'/>
<id>urn:sha1:f7f438ba3b05eb4356e7511401686b07d9dfb6d8</id>
<content type='text'>
 - IMPORT_NAME takes an extra argument from the stack: the relativeness of
   the import. Only passed to __import__ when it's not -1.

 - __import__() takes an optional 5th argument for the same thing; it
   __defaults to -1 (old semantics: try relative, then absolute)

 - 'from . import name' imports name (be it module or regular attribute)
   from the current module's *package*. Likewise, 'from .module import name'
   will import name from a sibling to the current module.

 - Importing from outside a package is not allowed; 'from . import sys' in a
   toplevel module will not work, nor will 'from .. import sys' in a
   (single-level) package.

 - 'from __future__ import absolute_import' will turn on the new semantics
   for import and from-import: imports will be absolute, except for
   from-import with dots.

Includes tests for regular imports and importhooks, parser changes and a
NEWS item, but no compiler-package changes or documentation changes.
</content>
</entry>
<entry>
<title>unconst.</title>
<updated>2006-02-27T17:01:22Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-02-27T17:01:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b79afb6e3aaa789ac971c59ac35cc5ad34cd75ff'/>
<id>urn:sha1:b79afb6e3aaa789ac971c59ac35cc5ad34cd75ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update for PEP 308 patch.</title>
<updated>2006-02-27T16:25:11Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-02-27T16:25:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e2dd78c76095175f15f44f48b15763853244b683'/>
<id>urn:sha1:e2dd78c76095175f15f44f48b15763853244b683</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use Py_ssize_t for counts and sizes.</title>
<updated>2006-02-16T14:30:23Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-02-16T14:30:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ad0a4629beac0600c4c4c3167b0d68be57ca674e'/>
<id>urn:sha1:ad0a4629beac0600c4c4c3167b0d68be57ca674e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge ssize_t branch.</title>
<updated>2006-02-15T17:27:45Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-02-15T17:27:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=18e165558b24d29e7e0ca501842b9236589b012a'/>
<id>urn:sha1:18e165558b24d29e7e0ca501842b9236589b012a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Check return result from Py_InitModule*().  This API can fail.</title>
<updated>2006-01-19T06:09:39Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-01-19T06:09:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1ac754fa10f5d199d19911e21185d0970cb3073f'/>
<id>urn:sha1:1ac754fa10f5d199d19911e21185d0970cb3073f</id>
<content type='text'>
Probably should be backported.
</content>
</entry>
</feed>
