<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_module.py, branch v2.7a2</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_module.py?h=v2.7a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_module.py?h=v2.7a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2009-10-15T15:44:46Z</updated>
<entry>
<title>only clear a module's __dict__ if the module is the only one with a reference to it #7140</title>
<updated>2009-10-15T15:44:46Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2009-10-15T15:44:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=196b0925ca55bf22ffbb97733cff3e63d4fb6e18'/>
<id>urn:sha1:196b0925ca55bf22ffbb97733cff3e63d4fb6e18</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#6707 fix a crash with dir() on an uninitialized module</title>
<updated>2009-08-15T13:16:38Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2009-08-15T13:16:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4c6e8088f52c4a1d33ff529685512fd6ebe0d21a'/>
<id>urn:sha1:4c6e8088f52c4a1d33ff529685512fd6ebe0d21a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>convert usage of fail* to assert*</title>
<updated>2009-06-30T22:57:08Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2009-06-30T22:57:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e'/>
<id>urn:sha1:5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #2167 from calvin: Remove unused imports</title>
<updated>2008-02-23T17:40:11Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2008-02-23T17:40:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c5f05e45cffa16f45f1332cec531c045893f928f'/>
<id>urn:sha1:c5f05e45cffa16f45f1332cec531c045893f928f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whitespace normalization.  Ugh, we really need to do this more often.</title>
<updated>2007-04-25T06:30:05Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2007-04-25T06:30:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0d4c06e06e5ee1f3bb1fa8068114bd700d74864a'/>
<id>urn:sha1:0d4c06e06e5ee1f3bb1fa8068114bd700d74864a</id>
<content type='text'>
You might want to review this change as it's my first time.  Be gentle. :-)
</content>
</entry>
<entry>
<title>Convert test_module to use unittest.</title>
<updated>2007-04-06T20:03:11Z</updated>
<author>
<name>Collin Winter</name>
<email>collinw@gmail.com</email>
</author>
<published>2007-04-06T20:03:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=69c955f05db769439b4bdcb387cb0ffa58eedc1f'/>
<id>urn:sha1:69c955f05db769439b4bdcb387cb0ffa58eedc1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Get rid of relative imports in all unittests.  Now anything that</title>
<updated>2002-07-23T19:04:11Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2002-07-23T19:04:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=04f357cffef6d764f2f0ff2671dabde75ec250d1'/>
<id>urn:sha1:04f357cffef6d764f2f0ff2671dabde75ec250d1</id>
<content type='text'>
imports e.g. test_support must do so using an absolute package name
such as "import test.test_support" or "from test import test_support".

This also updates the README in Lib/test, and gets rid of the
duplicate data dirctory in Lib/test/data (replaced by
Lib/email/test/data).

Now Tim and Jack can have at it. :)
</content>
</entry>
<entry>
<title>Repair the test (adding a docstring to the module type changed the</title>
<updated>2002-06-04T06:06:54Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-06-04T06:06:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bdabeccfb87ad5d5e24155dd06b1ff596474ca96'/>
<id>urn:sha1:bdabeccfb87ad5d5e24155dd06b1ff596474ca96</id>
<content type='text'>
docstring for an uninitialized module object).
</content>
</entry>
<entry>
<title>Surprising fix for SF bug 563060: module can be used as base class.</title>
<updated>2002-06-04T05:52:47Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-06-04T05:52:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c3a787e090dce76149ae86d70d4fecea3c285a40'/>
<id>urn:sha1:c3a787e090dce76149ae86d70d4fecea3c285a40</id>
<content type='text'>
Change the module constructor (module_init) to have the signature
__init__(name:str, doc=None); this prevents the call from type_new()
to succeed.  While we're at it, prevent repeated calling of
module_init for the same module from leaking the dict, changing the
semantics so that __dict__ is only initialized if NULL.

Also adding a unittest, test_module.py.

This is an incompatibility with 2.2, if anybody was instantiating the
module class before, their argument list was probably empty; so this
can't be backported to 2.2.x.
</content>
</entry>
</feed>
