<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Include/ceval.h, branch v2.4b2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/ceval.h?h=v2.4b2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/ceval.h?h=v2.4b2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-10-11T02:40:51Z</updated>
<entry>
<title>SF patch 1044089:  New C API function PyEval_ThreadsInitialized(), by Nick</title>
<updated>2004-10-11T02:40:51Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-11T02:40:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7f468f29f49786988e4f1a005174578fc83c7eb9'/>
<id>urn:sha1:7f468f29f49786988e4f1a005174578fc83c7eb9</id>
<content type='text'>
Coghlan, for determining whether PyEval_InitThreads() has been called.
Also purged the undocumented+unused _PyThread_Started int.
</content>
</entry>
<entry>
<title>Patch #966493: Cleanup generator/eval_frame exposure.</title>
<updated>2004-06-27T15:43:12Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2004-06-27T15:43:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8d97e33bb76c322cdb08dbf97c26d787cd3488a7'/>
<id>urn:sha1:8d97e33bb76c322cdb08dbf97c26d787cd3488a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #957398: Add public API for Generator Object/Type.</title>
<updated>2004-06-01T15:22:42Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2004-06-01T15:22:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e440e47e91a93ae57870da8753f9c141c4a37885'/>
<id>urn:sha1:e440e47e91a93ae57870da8753f9c141c4a37885</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Deleting cyclic object comparison.</title>
<updated>2003-10-28T12:05:48Z</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2003-10-28T12:05:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2b3eb4062c5e50abf854f7e68038243ca7c07217'/>
<id>urn:sha1:2b3eb4062c5e50abf854f7e68038243ca7c07217</id>
<content type='text'>
SF patch 825639
http://mail.python.org/pipermail/python-dev/2003-October/039445.html
</content>
</entry>
<entry>
<title>As far as I can tell PyEval_GetOwner was removed in 1997 (when it was</title>
<updated>2003-02-20T17:59:17Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2003-02-20T17:59:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2aec8b744e2ac74c702f067c499c9c043d926d1f'/>
<id>urn:sha1:2aec8b744e2ac74c702f067c499c9c043d926d1f</id>
<content type='text'>
called something else!).  I can't imagine removing the prototype is
going to hurt, but put it back if *you* can.
</content>
</entry>
<entry>
<title>- PyEval_GetFrame() is now declared to return a PyFrameObject *</title>
<updated>2003-02-19T15:53:17Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-02-19T15:53:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6297a7a9fbf7675bf23a9b5aa822ed5aaec19647'/>
<id>urn:sha1:6297a7a9fbf7675bf23a9b5aa822ed5aaec19647</id>
<content type='text'>
  instead of a plain PyObject *.  (SF patch #686601 by Ben Laurie.)
</content>
</entry>
<entry>
<title>Small function call optimization and special build option for call stats.</title>
<updated>2003-02-05T23:13:00Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2003-02-05T23:13:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=985eba53f5d1ac45037fbf19b6955c74823c1ded'/>
<id>urn:sha1:985eba53f5d1ac45037fbf19b6955c74823c1ded</id>
<content type='text'>
-DCALL_PROFILE: Count the number of function calls executed.

When this symbol is defined, the ceval mainloop and helper functions
count the number of function calls made.  It keeps detailed statistics
about what kind of object was called and whether the call hit any of
the special fast paths in the code.

Optimization:

When we take the fast_function() path, which seems to be taken for
most function calls, and there is minimal frame setup to do, avoid
call PyEval_EvalCodeEx().  The eval code ex function does a lot of
work to handle keywords args and star args, free variables,
generators, etc.  The inlined version simply allocates the frame and
copies the arguments values into the frame.

The optimization gets a little help from compile.c which adds a
CO_NOFREE flag to code objects that don't have free variables or cell
variables.  This change allows fast_function() to get into the fast
path with fewer tests.

I measure a couple of percent speedup in pystone with this change, but
there's surely more that can be done.
</content>
</entry>
<entry>
<title>replace thread state objects' ticker and checkinterval fields with two</title>
<updated>2002-09-03T20:10:45Z</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2002-09-03T20:10:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d581d7792bc31e6249ee6ed20bc2a71f53f0d3bb'/>
<id>urn:sha1:d581d7792bc31e6249ee6ed20bc2a71f53f0d3bb</id>
<content type='text'>
globals, _Py_Ticker and _Py_CheckInterval.  This also implements Jeremy's
shortcut in Py_AddPendingCall that zeroes out _Py_Ticker.  This allows the
test in the main loop to only test a single value.

The gory details are at

    http://python.org/sf/602191
</content>
</entry>
<entry>
<title>Excise DL_EXPORT from Include.</title>
<updated>2002-08-12T07:21:58Z</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2002-08-12T07:21:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=91a681debf9ffec155d0aff8a0bb5f965f592e16'/>
<id>urn:sha1:91a681debf9ffec155d0aff8a0bb5f965f592e16</id>
<content type='text'>
Thanks to Skip Montanaro and Kalle Svensson for the patches.
</content>
</entry>
<entry>
<title>Merge of descr-branch back into trunk.</title>
<updated>2001-08-02T04:15:00Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-08-02T04:15:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6d6c1a35e08b95a83dbe47dbd9e6474daff00354'/>
<id>urn:sha1:6d6c1a35e08b95a83dbe47dbd9e6474daff00354</id>
<content type='text'>
</content>
</entry>
</feed>
