<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/warnings.py, branch 2.3</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/warnings.py?h=2.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/warnings.py?h=2.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-10-22T10:29:56Z</updated>
<entry>
<title>Backport from trunk:</title>
<updated>2004-10-22T10:29:56Z</updated>
<author>
<name>Thomas Heller</name>
<email>theller@ctypes.org</email>
</author>
<published>2004-10-22T10:29:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f966e25f53e184b398e67f05c6c4d10a69ff48b4'/>
<id>urn:sha1:f966e25f53e184b398e67f05c6c4d10a69ff48b4</id>
<content type='text'>
SF bug 917108:  warnings.py does not define _test().
Removed the entire __name__ == '__main__' block.
</content>
</entry>
<entry>
<title>Change warnings to avoid importing re module during startup.</title>
<updated>2003-07-11T15:37:59Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2003-07-11T15:37:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8501466c7f0843e68ee6fb91e3d8221d5eb1a019'/>
<id>urn:sha1:8501466c7f0843e68ee6fb91e3d8221d5eb1a019</id>
<content type='text'>
Add API function simplefilter() that does not create or install
regular expressions to match message or module.  Extend the filters
data structure to store None as an alternative to re.compile("").

Move the _test() function to test_warnings and add some code to try
and avoid disturbing the global state of the warnings module.
</content>
</entry>
<entry>
<title>defer re module imports to help improve interpreter startup</title>
<updated>2003-05-14T17:33:53Z</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2003-05-14T17:33:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d8f21203b0ae9b69e84520d7fabe22ccfc9b4188'/>
<id>urn:sha1:d8f21203b0ae9b69e84520d7fabe22ccfc9b4188</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix bug 683658 - PyErr_Warn may cause import deadlock.</title>
<updated>2003-02-19T00:33:33Z</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2003-02-19T00:33:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a43fd0c8996eec2bdd0ec59edc252cb4f4ff4436'/>
<id>urn:sha1:a43fd0c8996eec2bdd0ec59edc252cb4f4ff4436</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow Unicode strings as message and module name.</title>
<updated>2002-10-14T21:06:02Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-10-14T21:06:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ff9284bc2e3b702e75fe27ab05c7ae4e5b080743'/>
<id>urn:sha1:ff9284bc2e3b702e75fe27ab05c7ae4e5b080743</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Ignore IOError exceptions when writing the message.</title>
<updated>2002-09-11T13:22:35Z</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2002-09-11T13:22:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=51a0ae3f97cdeccd57f733fd62417b59619e3bf7'/>
<id>urn:sha1:51a0ae3f97cdeccd57f733fd62417b59619e3bf7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove uses of the string and types modules:</title>
<updated>2002-06-03T15:58:32Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2002-06-03T15:58:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=65230a2de758fbde57b3893c402436ae0202ada3'/>
<id>urn:sha1:65230a2de758fbde57b3893c402436ae0202ada3</id>
<content type='text'>
x in string.whitespace =&gt; x.isspace()
type(x) in types.StringTypes =&gt; isinstance(x, basestring)
isinstance(x, types.StringTypes) =&gt; isinstance(x, basestring)
type(x) is types.StringType =&gt; isinstance(x, str)
type(x) == types.StringType =&gt; isinstance(x, str)
string.split(x, ...) =&gt; x.split(...)
string.join(x, y) =&gt; y.join(x)
string.zfill(x, ...) =&gt; x.zfill(...)
string.count(x, ...) =&gt; x.count(...)
hasattr(types, "UnicodeType") =&gt; try: unicode except NameError:
type(x) != types.TupleTuple =&gt; not isinstance(x, tuple)
isinstance(x, types.TupleType) =&gt; isinstance(x, tuple)
type(x) is types.IntType =&gt; isinstance(x, int)

Do not mention the string module in the rlcompleter docstring.

This partially applies SF patch http://www.python.org/sf/562373
(with basestring instead of string). (It excludes the changes to
unittest.py and does not change the os.stat stuff.)
</content>
</entry>
<entry>
<title>SF 563203. Replaced 'has_key()' with 'in'.</title>
<updated>2002-06-01T14:18:47Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-06-01T14:18:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=54f0222547b1e92cd018ef132307a6f793dc9505'/>
<id>urn:sha1:54f0222547b1e92cd018ef132307a6f793dc9505</id>
<content type='text'>
</content>
</entry>
<entry>
<title>As discussed on python-dev, add a mechanism to indicate features</title>
<updated>2002-05-29T15:54:55Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2002-05-29T15:54:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d68f5171ebb2f3404548c846523e9e43308a4130'/>
<id>urn:sha1:d68f5171ebb2f3404548c846523e9e43308a4130</id>
<content type='text'>
that are in the process of deprecation (PendingDeprecationWarning).
Docs could be improved.
</content>
</entry>
<entry>
<title>resetwarnings():  Remove extra space from docstring guts.</title>
<updated>2002-04-16T01:51:25Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-04-16T01:51:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d0cc4f0b49d4b9a4eff46741ffbaeb34cbe0fc6b'/>
<id>urn:sha1:d0cc4f0b49d4b9a4eff46741ffbaeb34cbe0fc6b</id>
<content type='text'>
</content>
</entry>
</feed>
