<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/_warnings.c, branch v2.7a4</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/_warnings.c?h=v2.7a4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/_warnings.c?h=v2.7a4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2010-01-15T01:31:45Z</updated>
<entry>
<title>Remove C++/C99-style comments.</title>
<updated>2010-01-15T01:31:45Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2010-01-15T01:31:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0bc77474aa37b1275c06fa806a59c68acc0eabc7'/>
<id>urn:sha1:0bc77474aa37b1275c06fa806a59c68acc0eabc7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>The silencing of DeprecationWarning was not taking -3 into consideration. Since</title>
<updated>2010-01-14T20:00:28Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2010-01-14T20:00:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3ffa43db4892d3a836c63911c5a13a8be5670fa5'/>
<id>urn:sha1:3ffa43db4892d3a836c63911c5a13a8be5670fa5</id>
<content type='text'>
Py3K warnings are DeprecationWarning by default this was causing -3 to
essentially be a no-op. Now DeprecationWarning is only silenced if -3 is not
used.

Closes issue #7700. Thanks Ezio Melotti and Florent Xicluna for patch help.
</content>
</entry>
<entry>
<title>DeprecationWarning is now silent by default.</title>
<updated>2010-01-10T02:56:19Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2010-01-10T02:56:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6fdd3dcb6a9998dbe7b707d7a3726733cc03681a'/>
<id>urn:sha1:6fdd3dcb6a9998dbe7b707d7a3726733cc03681a</id>
<content type='text'>
This was originally suggested by Guido, discussed on the stdlib-sig mailing
list, and given the OK by Guido directly to me. What this change essentially
means is that Python has taken a policy of silencing warnings that are only
of interest to developers by default. This should prevent users from seeing
warnings which are triggered by an application being run against a new
interpreter before the app developer has a chance to update their code.

Closes issue #7319. Thanks to Antoine Pitrou, Ezio Melotti, and Brian Curtin
for helping with the issue.
</content>
</entry>
<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>
</feed>
