<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/classobject.c, branch v2.2a3</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/classobject.c?h=v2.2a3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/classobject.c?h=v2.2a3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-09-08T04:00:12Z</updated>
<entry>
<title>Generalize operator.indexOf (PySequence_Index) to work with any</title>
<updated>2001-09-08T04:00:12Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-08T04:00:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=16a77adfbd745c202878fabb0b921514fec7ca16'/>
<id>urn:sha1:16a77adfbd745c202878fabb0b921514fec7ca16</id>
<content type='text'>
iterable object.  I'm not sure how that got overlooked before!

Got rid of the internal _PySequence_IterContains, introduced a new
internal _PySequence_IterSearch, and rewrote all the iteration-based
"count of", "index of", and "is the object in it or not?" routines to
just call the new function.  I suppose it's slower this way, but the
code duplication was getting depressing.
</content>
</entry>
<entry>
<title>PyClass_New(): put the extended Don Beaudry hook back in.  When one of</title>
<updated>2001-09-07T21:08:32Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-09-07T21:08:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=28d80b1058c73b296f41861ac9f39534c7a3ee4b'/>
<id>urn:sha1:28d80b1058c73b296f41861ac9f39534c7a3ee4b</id>
<content type='text'>
the base classes is not a classic class, and its class (the metaclass)
is callable, call the metaclass to do the deed.

One effect of this is that, when mixing classic and new-style classes
amongst the bases of a class, it doesn't matter whether the first base
class is a classic class or not: you will always get the error
"TypeError: metatype conflict among bases".  (Formerly, with a classic
class first, you'd get "TypeError: PyClass_New: base must be a class".)

Another effect is that multiple inheritance from ExtensionClass.Base,
with a classic class as the first class, transfers control to the
ExtensionClass.Base class.  This is what we need for SF #443239 (and
also for running Zope under 2.2a4, before ExtensionClass is replaced).
</content>
</entry>
<entry>
<title>Add PyMethod_Function(), PyMethod_Self(), PyMethod_Class() back.</title>
<updated>2001-09-05T22:52:50Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-09-05T22:52:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b479dc561c1e778c892f04d1e9673400e95d7e78'/>
<id>urn:sha1:b479dc561c1e778c892f04d1e9673400e95d7e78</id>
<content type='text'>
While not even documented, they were clearly part of the C API,
there's no great difficulty to support them, and it has the cool
effect of not requiring any changes to ExtensionClass.c.
</content>
</entry>
<entry>
<title>Use new GC API.</title>
<updated>2001-08-29T23:54:21Z</updated>
<author>
<name>Neil Schemenauer</name>
<email>nascheme@enme.ucalgary.ca</email>
</author>
<published>2001-08-29T23:54:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e83c00efd06dc8380d481f6c5f92d8c274ce6bd2'/>
<id>urn:sha1:e83c00efd06dc8380d481f6c5f92d8c274ce6bd2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve the error message issued when an unbound method is called with</title>
<updated>2001-08-24T18:48:27Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-08-24T18:48:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a15dece51975ddc94b488a64c1326d3e39566c59'/>
<id>urn:sha1:a15dece51975ddc94b488a64c1326d3e39566c59</id>
<content type='text'>
an inappropriate first argument.  Now that there are more ways for
this to fail, make sure to report the name of the class of the
expected instance and of the actual instance.
</content>
</entry>
<entry>
<title>repr's converted to using PyString_FromFormat() instead of sprintf'ing</title>
<updated>2001-08-24T18:34:26Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2001-08-24T18:34:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7ce3694a527afe425a2b9df65c049b0ef4e75960'/>
<id>urn:sha1:7ce3694a527afe425a2b9df65c049b0ef4e75960</id>
<content type='text'>
into a hardcoded char* buffer.

Closes patch #454743.
</content>
</entry>
<entry>
<title>Fix core dump in repr() of instancemethod whose class==NULL.</title>
<updated>2001-08-17T13:59:27Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-08-17T13:59:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4066769b91797f2442df67a097231e3ca6e2139b'/>
<id>urn:sha1:4066769b91797f2442df67a097231e3ca6e2139b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>instance_getattr2(): rewritten to remove unnecessary stuff and</title>
<updated>2001-08-17T13:43:27Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-08-17T13:43:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f23c41d56a6ae0565619258895a321998328326e'/>
<id>urn:sha1:f23c41d56a6ae0565619258895a321998328326e</id>
<content type='text'>
streamlined a bit.

instancemethod_descr_get(): don't bind an unbound method of a class
that's not a base class of the argument class.
</content>
</entry>
<entry>
<title>Instance methods: allow a NULL value for im_class.</title>
<updated>2001-08-17T12:07:34Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-08-17T12:07:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cdf0d75897ddde0b27bad24aac4845824578f5ee'/>
<id>urn:sha1:cdf0d75897ddde0b27bad24aac4845824578f5ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>classobject.c:instancemethod_descr_get(): when a bound method is</title>
<updated>2001-08-16T20:41:56Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-08-16T20:41:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=501c7c7d0eb8c8fb1a9384092efed0141052f324'/>
<id>urn:sha1:501c7c7d0eb8c8fb1a9384092efed0141052f324</id>
<content type='text'>
assigned to a class variable and then accessed via an instance, it
should not be rebound.

test_descr.py:methods(): test for the condition above.
</content>
</entry>
</feed>
