<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Doc/c-api/code.rst, branch v2.7a4</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Doc/c-api/code.rst?h=v2.7a4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Doc/c-api/code.rst?h=v2.7a4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2009-05-08T21:51:06Z</updated>
<entry>
<title>PyCode_NewEmpty:</title>
<updated>2009-05-08T21:51:06Z</updated>
<author>
<name>Jeffrey Yasskin</name>
<email>jyasskin@gmail.com</email>
</author>
<published>2009-05-08T21:51:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1aa4700234aa0657ee8cb12cfd9b615fef9e0300'/>
<id>urn:sha1:1aa4700234aa0657ee8cb12cfd9b615fef9e0300</id>
<content type='text'>
Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New
are trying to build an empty code object, usually to put it in a dummy frame
object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify
just the filename, function name, and first line number, instead of also
requiring lots of code internals.
</content>
</entry>
</feed>
