<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/sliceobject.c, branch v2.2</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/sliceobject.c?h=v2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/sliceobject.c?h=v2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-10-30T02:40:52Z</updated>
<entry>
<title>Add values to tp_getattro and tp_flags so that dir(Ellipsis) will</title>
<updated>2001-10-30T02:40:52Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-10-30T02:40:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d82fb78b5c0a8d9bd319da360881de1f754842c1'/>
<id>urn:sha1:d82fb78b5c0a8d9bd319da360881de1f754842c1</id>
<content type='text'>
return the same as dir(None).
</content>
</entry>
<entry>
<title>Add optional docstrings to member descriptors.  For backwards</title>
<updated>2001-09-20T20:46:19Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-09-20T20:46:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6f7993765ac0989b5d13084240797913627a31d8'/>
<id>urn:sha1:6f7993765ac0989b5d13084240797913627a31d8</id>
<content type='text'>
compatibility, this required all places where an array of "struct
memberlist" structures was declared that is referenced from a type's
tp_members slot to change the type of the structure to PyMemberDef;
"struct memberlist" is now only used by old code that still calls
PyMember_Get/Set.  The code in PyObject_GenericGetAttr/SetAttr now
calls the new APIs PyMember_GetOne/SetOne, which take a PyMemberDef
argument.

As examples, I added actual docstrings to the attributes of a few
types: file, complex, instance method, super, and xxsubtype.spamlist.

Also converted the symtable to new style getattr.
</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>
<entry>
<title>SF patch #408326 by Robin Thomas: slice objects comparable, not</title>
<updated>2001-03-20T12:41:34Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-03-20T12:41:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a1351fbd884189329bbcb6c688ca992fc1afc3f6'/>
<id>urn:sha1:a1351fbd884189329bbcb6c688ca992fc1afc3f6</id>
<content type='text'>
hashable

This patch changes the behavior of slice objects in the following
manner:

- Slice objects are now comparable with other slice objects as though
they were logically tuples of (start,stop,step). The tuple is not
created in the comparison function, but the comparison behavior is
logically equivalent.

- Slice objects are not hashable. With the above change to being
comparable, slice objects now cannot be used as keys in dictionaries.

[I've edited the patch for style.  Note that this fixes the problem
that dict[i:j] seemed to work but was meaningless.  --GvR]
</content>
</entry>
<entry>
<title>Test for NULL returned from PyObject_NEW().</title>
<updated>2000-12-14T15:09:46Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-12-14T15:09:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=adf5410dc4df5701dd91bd71740419df61f227c7'/>
<id>urn:sha1:adf5410dc4df5701dd91bd71740419df61f227c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ANSI-fication of the sources.</title>
<updated>2000-07-09T06:21:27Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2000-07-09T06:21:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=45cfbcccc287ae52656737466ca071ca18f603c7'/>
<id>urn:sha1:45cfbcccc287ae52656737466ca071ca18f603c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Vladimir Marangozov's long-awaited malloc restructuring.</title>
<updated>2000-05-03T23:44:39Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-05-03T23:44:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b18618dab7b6b85bb05b084693706e59211fa180'/>
<id>urn:sha1:b18618dab7b6b85bb05b084693706e59211fa180</id>
<content type='text'>
For more comments, read the patches@python.org archives.
For documentation read the comments in mymalloc.h and objimpl.h.

(This is not exactly what Vladimir posted to the patches list; I've
made a few changes, and Vladimir sent me a fix in private email for a
problem that only occurs in debug mode.  I'm also holding back on his
change to main.c, which seems unnecessary to me.)
</content>
</entry>
<entry>
<title>Ellipses -&gt; Ellipsis rename (the dictionary really says that it should</title>
<updated>1996-10-11T16:25:41Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1996-10-11T16:25:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e449af7da940d353a54036fb72e7405d2da362e3'/>
<id>urn:sha1:e449af7da940d353a54036fb72e7405d2da362e3</id>
<content type='text'>
be Ellipsis!).
Bumped the API version because a linker-visible symbol is affected.
Old C code will still compile -- there's a b/w compat macro.
Similarly, old Python code will still run, builtin exports both
Ellipses and Ellipsis.
</content>
</entry>
<entry>
<title>repr("...") -&gt; "Ellipses"</title>
<updated>1996-07-30T18:37:14Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1996-07-30T18:37:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fd4904c63040f6e279e744d0a4db911d298e3a55'/>
<id>urn:sha1:fd4904c63040f6e279e744d0a4db911d298e3a55</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added sliceobject.c</title>
<updated>1996-07-30T16:45:48Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1996-07-30T16:45:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f2d125bdada897e8ae1e6dd73f44d833bc0c7c15'/>
<id>urn:sha1:f2d125bdada897e8ae1e6dd73f44d833bc0c7c15</id>
<content type='text'>
</content>
</entry>
</feed>
