<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/bltinmodule.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/Python/bltinmodule.c?h=v2.2a3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/bltinmodule.c?h=v2.2a3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-09-06T21:56:42Z</updated>
<entry>
<title>Rename 'getset' to 'property'.</title>
<updated>2001-09-06T21:56:42Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-09-06T21:56:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8bce4acb17ee7146c5736ad020ea0e129bd7f67b'/>
<id>urn:sha1:8bce4acb17ee7146c5736ad020ea0e129bd7f67b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>builtin_execfile(): initialize another local that the GCC on leroy</title>
<updated>2001-09-05T13:37:47Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-09-05T13:37:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b3a639ed7d53ab49eae174c5605d0861c56489f3'/>
<id>urn:sha1:b3a639ed7d53ab49eae174c5605d0861c56489f3</id>
<content type='text'>
found it necessary to warn about.
</content>
</entry>
<entry>
<title>At Guido's suggestion, here's a new C API function, PyObject_Dir(), like</title>
<updated>2001-09-04T22:08:56Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-04T22:08:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7eea37e8317bda88d9f50b862f13642e837957ce'/>
<id>urn:sha1:7eea37e8317bda88d9f50b862f13642e837957ce</id>
<content type='text'>
__builtin__.dir().  Moved the guts from bltinmodule.c to object.c.
</content>
</entry>
<entry>
<title>builtin_dir():  Treat classic classes like types.  Use PyDict_Keys instead</title>
<updated>2001-09-04T01:20:04Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-04T01:20:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=37a309db7086381da6ae176cec8817cdd75de872'/>
<id>urn:sha1:37a309db7086381da6ae176cec8817cdd75de872</id>
<content type='text'>
of PyMapping_Keys because we know we have a real dict.  Tolerate that
objects may have an attr named "__dict__" that's not a dict (Py_None
popped up during testing).

test_descr.py, test_dir():  Test the new classic-class behavior; beef up
the new-style class test similarly.

test_pyclbr.py, checkModule():  dir(C) is no longer a synonym for
C.__dict__.keys() when C is a classic class (looks like the same thing
that burned distutils! -- should it be *made* a synoym again?  Then it
would be inconsistent with new-style class behavior.).
</content>
</entry>
<entry>
<title>Make dir() wordier (see the new docstring).  The new behavior is a mixed</title>
<updated>2001-09-03T05:47:38Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-03T05:47:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5d2b77cf31c5a3cbabc74936831480b9caea3a12'/>
<id>urn:sha1:5d2b77cf31c5a3cbabc74936831480b9caea3a12</id>
<content type='text'>
bag.  It's clearly wrong for classic classes, at heart because a classic
class doesn't have a __class__ attribute, and I'm unclear on whether
that's feature or bug.  I'll repair this once I find out (in the
meantime, dir() applied to classic classes won't find the base classes,
while dir() applied to a classic-class instance *will* find the base
classes but not *their* base classes).

Please give the new dir() a try and see whether you love it or hate it.
The new dir([]) behavior is something I could come to love.  Here's
something to hate:

&gt;&gt;&gt; class C:
...     pass
...
&gt;&gt;&gt; c = C()
&gt;&gt;&gt; dir(c)
['__doc__', '__module__']
&gt;&gt;&gt;

The idea that an instance has a __doc__ attribute is jarring (of course
it's really c.__class__.__doc__ == C.__doc__; likewise for __module__).

OTOH, the code already has too many special cases, and dir(x) doesn't
have a compelling or clear purpose when x isn't a module.
</content>
</entry>
<entry>
<title>Add 'super' builtin type.</title>
<updated>2001-08-24T16:52:18Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-08-24T16:52:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f5cb3574682b4e1bb740e99f200a4e5e585a166e'/>
<id>urn:sha1:f5cb3574682b4e1bb740e99f200a4e5e585a166e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add new built-in type 'getset' (PyGetSet_Type).</title>
<updated>2001-08-23T21:40:38Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-08-23T21:40:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=29a62dd6ebe48c4a5c7b4f7d6f0e8589d94a5a0d'/>
<id>urn:sha1:29a62dd6ebe48c4a5c7b4f7d6f0e8589d94a5a0d</id>
<content type='text'>
This implements the 'getset' class from test_binop.py.
</content>
</entry>
<entry>
<title>Fix for bug [#452230] future division isn't propagated.</title>
<updated>2001-08-17T23:04:59Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-08-17T23:04:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9fa96bed6fcad0faae778cf160f3415de560d08a'/>
<id>urn:sha1:9fa96bed6fcad0faae778cf160f3415de560d08a</id>
<content type='text'>
builtin_eval wasn't merging in the compiler flags from the current frame;
I suppose we never noticed this before because future division is the
first future-feature that can affect expressions (nested_scopes and
generators had only statement-level effects).
</content>
</entry>
<entry>
<title>A fiddled version of the rest of Michael Hudson's SF patch</title>
<updated>2001-08-17T22:11:27Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-08-17T22:11:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6cd6a82db93fa37a13d0b5312ce6510c4d6967de'/>
<id>urn:sha1:6cd6a82db93fa37a13d0b5312ce6510c4d6967de</id>
<content type='text'>
    #449043 supporting __future__ in simulated shells
which implements PEP 264.
</content>
</entry>
<entry>
<title>Patch #445762: Support --disable-unicode</title>
<updated>2001-08-17T18:39:25Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-08-17T18:39:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=339d0f720e86dc34837547c90d3003a4a68d7d46'/>
<id>urn:sha1:339d0f720e86dc34837547c90d3003a4a68d7d46</id>
<content type='text'>
- Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled
- check for Py_USING_UNICODE in all places that use Unicode functions
- disables unicode literals, and the builtin functions
- add the types.StringTypes list
- remove Unicode literals from most tests.
</content>
</entry>
</feed>
