<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/ceval.c, branch 2.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/Python/ceval.c?h=2.1</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/ceval.c?h=2.1'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-04-20T18:21:29Z</updated>
<entry>
<title>Backport fixes for two nested scopes bugs.</title>
<updated>2002-04-20T18:21:29Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2002-04-20T18:21:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f599b7424db923cde691f733b79dd24ebe814419'/>
<id>urn:sha1:f599b7424db923cde691f733b79dd24ebe814419</id>
<content type='text'>
frameobject.c: make sure free and cell vars make it into locals, which
    makes eval work.

bltinmodule.c &amp; ceval.c: make sure a code object with free variables
    that is passed to exec or eval raises an exception.

Also duplicate the current trunk test suite in the 2.1 branch, except
for certain necessary changes: different warnings raised by 2.1, need
for __future__.
</content>
</entry>
<entry>
<title>Backport for 2.1.3 (if we ever release it; we may have to because</title>
<updated>2002-03-28T20:21:21Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-03-28T20:21:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ded18d634f2e1615b746dca2698d6a98ff63045d'/>
<id>urn:sha1:ded18d634f2e1615b746dca2698d6a98ff63045d</id>
<content type='text'>
this is what Zope 2 will be using in the foreseeable future).

Fix an issue that was reported in but unrelated to the main problem of
SF bug 535905 (Evil Trashcan and GC interaction).

The SETLOCAL() macro should not DECREF the local variable in-place and
then store the new value; it should copy the old value to a temporary
value, then store the new value, and then DECREF the temporary value.
This is because it is possible that during the DECREF the frame is
accessed by other code (e.g. a __del__ method or gc.collect()) and the
variable would be pointing to already-freed memory.

BUGFIX CANDIDATE!
</content>
</entry>
<entry>
<title>Backport rev 2.301 to the 2.1 maintenance branch.</title>
<updated>2001-12-20T02:07:36Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-12-20T02:07:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f7adf24280c05069432d0f2272a786e293c0e99c'/>
<id>urn:sha1:f7adf24280c05069432d0f2272a786e293c0e99c</id>
<content type='text'>
Add checks for stack underflow and overflow.
</content>
</entry>
<entry>
<title>backport of 2.242:</title>
<updated>2001-11-21T04:49:19Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2001-11-21T04:49:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b78e593e491a41dc9c45ad46d3be2c977f52fd1c'/>
<id>urn:sha1:b78e593e491a41dc9c45ad46d3be2c977f52fd1c</id>
<content type='text'>
improved error message-- names the type of the unexpected object
</content>
</entry>
<entry>
<title>Backport fix from 2.277 - incorrectly swapped arguments to PyFrame_BlockSetup.</title>
<updated>2001-10-21T05:57:28Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2001-10-21T05:57:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dc009f3237daa485d292268db8bd6a97290faaf1'/>
<id>urn:sha1:dc009f3237daa485d292268db8bd6a97290faaf1</id>
<content type='text'>
Fixes very obscure and nasty bug.
</content>
</entry>
<entry>
<title>Backport Tim's checkin 2.247:</title>
<updated>2001-06-27T14:13:32Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2001-06-27T14:13:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=44c3679296a13aec7b46c0939c183c4d86e7c7ab'/>
<id>urn:sha1:44c3679296a13aec7b46c0939c183c4d86e7c7ab</id>
<content type='text'>
SF bug 433228:  repr(list) woes when len(list) big
call_object:  If the object isn't callable, display its type in the error
msg rather than its repr.
</content>
</entry>
<entry>
<title>Backport Jeremy's checkin 2.244:</title>
<updated>2001-06-27T13:09:44Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2001-06-27T13:09:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7a5b674721161bdc60d375cde69b9372539f9191'/>
<id>urn:sha1:7a5b674721161bdc60d375cde69b9372539f9191</id>
<content type='text'>
Add a second special case to the inline function call code in eval_code2().

If we have a PyCFunction (builtin) and it is METH_VARARGS only, load
the args and dispatch to call_cfunction() directly.  This provides a
small speedup for perhaps the most common function calls -- builtins.
</content>
</entry>
<entry>
<title>Change error message raised when free variable is not yet bound.  It</title>
<updated>2001-04-13T16:51:46Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-04-13T16:51:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c76770c68c40021322c221dd6bcd62bf98356a33'/>
<id>urn:sha1:c76770c68c40021322c221dd6bcd62bf98356a33</id>
<content type='text'>
now raises NameError instead of UnboundLocalError, because the var in
question is definitely not local.  (This affects test_scope.py)

Also update the recent fix by Ping using get_func_name().  Replace
tests of get_func_name() return value with call to get_func_desc() to
match all the other uses.
</content>
</entry>
<entry>
<title>Patch by Ping (SF bug 415879, Exception.__init__() causes segfault):</title>
<updated>2001-04-13T15:42:40Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-04-13T15:42:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d9994e0115e1acfd6d3d97a048af9616778af95c'/>
<id>urn:sha1:d9994e0115e1acfd6d3d97a048af9616778af95c</id>
<content type='text'>
   Calling an unbound method on a C extension class without providing
   an instance can yield a segfault.  Try "Exception.__init__()" or
   "ValueError.__init__()".

   This is a simple fix. The error-reporting bits in call_method
   mistakenly treat the misleadingly-named variable "func" as a
   function, when in fact it is a method.

   If we let get_func_name take care of the work, all is fine.
</content>
</entry>
<entry>
<title>Fix exception handling for non-PyFunction objects, SF bug 414743.</title>
<updated>2001-04-11T13:52:29Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-04-11T13:52:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=512a237725c728faf495608c650f405522c3c5d4'/>
<id>urn:sha1:512a237725c728faf495608c650f405522c3c5d4</id>
<content type='text'>
Fix based on patch #414750 by Michael Hudson.

New functions get_func_name() and get_func_desc() return reasonable
names and descriptions for all objects.  XXX Even objects that aren't
actually callable.
</content>
</entry>
</feed>
