<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_generators.py, 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/Lib/test/test_generators.py?h=v2.2a3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_generators.py?h=v2.2a3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-09-03T05:47:38Z</updated>
<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>The change of type(None).__name__ from 'None' to 'NoneType' broke this</title>
<updated>2001-08-16T08:32:39Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-08-16T08:32:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=297abadc6b871c61388c3df2e5e7b3e531a9a813'/>
<id>urn:sha1:297abadc6b871c61388c3df2e5e7b3e531a9a813</id>
<content type='text'>
test in a trivial way.  Fixed.
</content>
</entry>
<entry>
<title>Move one of the tests into the "PEP 255" section, to reflect a change in</title>
<updated>2001-08-15T04:41:19Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-08-15T04:41:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e5614630fb1f73dd314945f6ccc871abb33e457e'/>
<id>urn:sha1:e5614630fb1f73dd314945f6ccc871abb33e457e</id>
<content type='text'>
the PEP.
</content>
</entry>
<entry>
<title>The message accompanying the TypeError exception on a readonly</title>
<updated>2001-08-10T21:25:24Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-08-10T21:25:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=61cf780b6dba2f1381391a9a7d406a12d7a415da'/>
<id>urn:sha1:61cf780b6dba2f1381391a9a7d406a12d7a415da</id>
<content type='text'>
attribute changed again.
</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>Part way to allowing "from __future__ import generators" to communicate</title>
<updated>2001-07-16T02:29:45Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-07-16T02:29:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5ba58662817b708a453020f0425fe4747ea6d5cb'/>
<id>urn:sha1:5ba58662817b708a453020f0425fe4747ea6d5cb</id>
<content type='text'>
that info to code dynamically compiled *by* code compiled with generators
enabled.  Doesn't yet work because there's still no way to tell the parser
that "yield" is OK (unlike nested_scopes, the parser has its fingers in
this too).
Replaced PyEval_GetNestedScopes by a more-general
PyEval_MergeCompilerFlags.  Perhaps I should not have?  I doubted it was
*intended* to be part of the public API, so just did.
</content>
</entry>
<entry>
<title>Having fun on my own time:  quicker flat_conjoin; Knights Tour solver</title>
<updated>2001-07-13T09:12:12Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-07-13T09:12:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9a8c8e270bd2293a21160872d792dcc6a3ddb46b'/>
<id>urn:sha1:9a8c8e270bd2293a21160872d792dcc6a3ddb46b</id>
<content type='text'>
simplified and generalized to rectangular boards.
</content>
</entry>
<entry>
<title>Remove the last remnants of the hacks to worm around leaks.</title>
<updated>2001-07-12T22:55:42Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-07-12T22:55:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a1d545523d5805f6e826164f229d0fedcb617574'/>
<id>urn:sha1:a1d545523d5805f6e826164f229d0fedcb617574</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Repair flawed example.</title>
<updated>2001-07-12T22:43:41Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-07-12T22:43:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3446365c37811571d1139fe07166e7bfcb6ba35c'/>
<id>urn:sha1:3446365c37811571d1139fe07166e7bfcb6ba35c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove now-unnecessary "from __future__  import nested_scopes" stmts.</title>
<updated>2001-07-12T22:36:02Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-07-12T22:36:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c4889c496ade6a1529a74054f8fcc2847d8cd0bb'/>
<id>urn:sha1:c4889c496ade6a1529a74054f8fcc2847d8cd0bb</id>
<content type='text'>
</content>
</entry>
</feed>
