<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/_warnings.c, 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/Python/_warnings.c?h=v2.7a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/_warnings.c?h=v2.7a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2009-07-17T06:20:46Z</updated>
<entry>
<title>Issue #6415: Fixed warnings.warn sagfault on bad formatted string.</title>
<updated>2009-07-17T06:20:46Z</updated>
<author>
<name>Hirokazu Yamamoto</name>
<email>ocean-city@m2.ccsnet.ne.jp</email>
</author>
<published>2009-07-17T06:20:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e78e5d2e515167df8fdf0a551e8333c31c6a1ba3'/>
<id>urn:sha1:e78e5d2e515167df8fdf0a551e8333c31c6a1ba3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue 5954, PyFrame_GetLineNumber:</title>
<updated>2009-05-08T22:23:21Z</updated>
<author>
<name>Jeffrey Yasskin</name>
<email>jyasskin@gmail.com</email>
</author>
<published>2009-05-08T22:23:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f7f858d1415514cb9a76a5b7da8ee6ccb774e6f4'/>
<id>urn:sha1:f7f858d1415514cb9a76a5b7da8ee6ccb774e6f4</id>
<content type='text'>
Most uses of PyCode_Addr2Line
(http://www.google.com/codesearch?q=PyCode_Addr2Line) are just trying to get
the line number of a specified frame, but there's no way to do that directly.
Forcing people to go through the code object makes them know more about the
guts of the interpreter than they should need.

The remaining uses of PyCode_Addr2Line seem to be getting the line from a
traceback (for example,
http://www.google.com/codesearch/p?hl=en#u_9_nDrchrw/pygame-1.7.1release/src/base.c&amp;q=PyCode_Addr2Line),
which is replaced by the tb_lineno field.  So we may be able to deprecate
PyCode_Addr2Line entirely for external use.
</content>
</entry>
<entry>
<title>_warnings was importing itself to get an attribute. That's bad if warnings gets</title>
<updated>2009-04-01T18:03:59Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2009-04-01T18:03:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=15ba4dae5a2b0bd2f06dff586cb469e7b5325209'/>
<id>urn:sha1:15ba4dae5a2b0bd2f06dff586cb469e7b5325209</id>
<content type='text'>
called in a thread that was spawned by an import itself.

Last part to close #1665206.
</content>
</entry>
<entry>
<title>Require implementations for warnings.showwarning() support the 'line' argument.</title>
<updated>2009-03-11T04:51:06Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2009-03-11T04:51:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6c4cff0f32c574454114d4cff6bd5f6d2870c04d'/>
<id>urn:sha1:6c4cff0f32c574454114d4cff6bd5f6d2870c04d</id>
<content type='text'>
Was a DeprecationWarning for not supporting it since Python 2.6.

Closes issue #3652.
</content>
</entry>
<entry>
<title>Fixed a couple more C99 comments and one occurence of inline.</title>
<updated>2008-10-02T19:47:50Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2008-10-02T19:47:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=32a66a0410674c23f00937b6bd5a0c9ea17d7e6b'/>
<id>urn:sha1:32a66a0410674c23f00937b6bd5a0c9ea17d7e6b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move test.test_support.catch_warning() to the warnings module, rename it</title>
<updated>2008-09-02T01:25:16Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2008-09-02T01:25:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1eaf0742d877fd9d84d6ed82a04bc33b027e9ad0'/>
<id>urn:sha1:1eaf0742d877fd9d84d6ed82a04bc33b027e9ad0</id>
<content type='text'>
catch_warnings(), and clean up the API.

While expanding the test suite, a bug was found where a warning about the
'line' argument to showwarning() was not letting functions with '*args' go
without a warning.

Closes issue 3602.
Code review by Benjamin Peterson.
</content>
</entry>
<entry>
<title>#3342: In tracebacks, printed source lines were not indented since r62555.</title>
<updated>2008-07-11T21:45:06Z</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2008-07-11T21:45:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2252d11c08643279ffe58e99f6c8d04014079a7f'/>
<id>urn:sha1:2252d11c08643279ffe58e99f6c8d04014079a7f</id>
<content type='text'>
#3343: Py_DisplaySourceLine should be a private function. Rename it to _Py_DisplaySourceLine.
</content>
</entry>
<entry>
<title>warnings.warn_explicit() did not have the proper TypeErrors in place to prevent</title>
<updated>2008-06-27T00:31:13Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2008-06-27T00:31:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dea1b5653ffd2183c7a4d577a2ca08644dd51248'/>
<id>urn:sha1:dea1b5653ffd2183c7a4d577a2ca08644dd51248</id>
<content type='text'>
bus errors or SystemError being raised. As a side effect of fixing this, a bad
DECREF that could be triggered when 'message' and 'category' were both None was
fixed.

Closes issue 3211. Thanks JP Calderone for the bug report.
</content>
</entry>
<entry>
<title>This reverts r63675 based on the discussion in this thread:</title>
<updated>2008-06-09T04:58:54Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2008-06-09T04:58:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dd96db63f689e2f0d8ae5a1436b3b3395eec7de5'/>
<id>urn:sha1:dd96db63f689e2f0d8ae5a1436b3b3395eec7de5</id>
<content type='text'>
 http://mail.python.org/pipermail/python-dev/2008-June/079988.html

Python 2.6 should stick with PyString_* in its codebase.  The PyBytes_* names
in the spirit of 3.0 are available via a #define only.  See the email thread.
</content>
</entry>
<entry>
<title>turn PyErr_WarnPy3k into a macro</title>
<updated>2008-05-26T17:43:53Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2008-05-26T17:43:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dacde0d6ae72451ef102aa98ca36b733277d15bb'/>
<id>urn:sha1:dacde0d6ae72451ef102aa98ca36b733277d15bb</id>
<content type='text'>
</content>
</entry>
</feed>
