<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/_warnings.c, branch v3.2rc2</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=v3.2rc2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/_warnings.c?h=v3.2rc2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2010-12-27T20:10:36Z</updated>
<entry>
<title>Issue #10779: PyErr_WarnExplicit() decodes the filename from the filesystem</title>
<updated>2010-12-27T20:10:36Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-12-27T20:10:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cb428f01625f99937b59431a53cc8f6013bd3cc2'/>
<id>urn:sha1:cb428f01625f99937b59431a53cc8f6013bd3cc2</id>
<content type='text'>
encoding instead of UTF-8.
</content>
</entry>
<entry>
<title>Add a new warning gategory, ResourceWarning, as discussed on python-dev.  It is silent by default,</title>
<updated>2010-10-24T15:11:22Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2010-10-24T15:11:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=08be72d0aa0112118b79d271479598c218adfd23'/>
<id>urn:sha1:08be72d0aa0112118b79d271479598c218adfd23</id>
<content type='text'>
except when configured --with-pydebug.

Emit this warning from the GC shutdown procedure, rather than just printing to stderr.
</content>
</entry>
<entry>
<title>_warnings exposed two variables with the name 'default_action' and</title>
<updated>2010-09-04T18:24:04Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2010-09-04T18:24:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ef0e6c3b0485e83444b15c07f9cb1d905203791a'/>
<id>urn:sha1:ef0e6c3b0485e83444b15c07f9cb1d905203791a</id>
<content type='text'>
'once_registry'. This is bad as the warnings module had variables named
'defaultaction' and 'onceregistry' which are what people should be looking at
(technically those variables shouldn't be mucked with as they are undocumented,
but we all know better than to believe that isn't happening). So the variables
from _warnings have been renamed to come off as private and to avoid confusion
over what variable should be used.

Closes issue #9766. Thanks to Antoine Pitrou for the discovery.
</content>
</entry>
<entry>
<title>Issue #9425: Create PyErr_WarnFormat() function</title>
<updated>2010-08-13T14:03:48Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-08-13T14:03:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4a2b7a1b141fcbed6da81d942c9db776874c2fa9'/>
<id>urn:sha1:4a2b7a1b141fcbed6da81d942c9db776874c2fa9</id>
<content type='text'>
Similar to PyErr_WarnEx() but use PyUnicode_FromFormatV() to format the warning
message.

Strip also some trailing spaces.
</content>
</entry>
<entry>
<title>Issue #9425: fix setup_context() for non-ascii filenames</title>
<updated>2010-08-08T22:12:45Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-08-08T22:12:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2e5f1178ac55c032982c69f4f4dd70c19f9fa46e'/>
<id>urn:sha1:2e5f1178ac55c032982c69f4f4dd70c19f9fa46e</id>
<content type='text'>
setup_context() replaces .pyc or .pyo filename suffix by .py, but it
didn't work if the filename contains a non-ascii character because the
function used the wrong unit for the length (number of characters
instead of the number of bytes).

With this patch, it uses unicode filenames instead of bytes filenames,
to fix the bug and to be fully unicode compliant.
</content>
</entry>
<entry>
<title>Merged revisions 77402,77505,77510 via svnmerge from</title>
<updated>2010-06-28T00:01:59Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2010-06-28T00:01:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7ab4b8d3a2e7e91f742a1339a5b8d2988f4b81b6'/>
<id>urn:sha1:7ab4b8d3a2e7e91f742a1339a5b8d2988f4b81b6</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77402 | brett.cannon | 2010-01-09 20:56:19 -0600 (Sat, 09 Jan 2010) | 12 lines

  DeprecationWarning is now silent by default.

  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.
........
  r77505 | brett.cannon | 2010-01-14 14:00:28 -0600 (Thu, 14 Jan 2010) | 7 lines

  The silencing of DeprecationWarning was not taking -3 into consideration. Since
  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.
........
  r77510 | brett.cannon | 2010-01-14 19:31:45 -0600 (Thu, 14 Jan 2010) | 1 line

  Remove C++/C99-style comments.
........
</content>
</entry>
<entry>
<title>Issue #6543: Write the traceback in the terminal encoding instead of utf-8.</title>
<updated>2010-06-17T23:08:50Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-06-17T23:08:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0fe25a445d5e72450a8d611faed75f65ba57c0bc'/>
<id>urn:sha1:0fe25a445d5e72450a8d611faed75f65ba57c0bc</id>
<content type='text'>
Fix the encoding of the modules filename.

Reindent also traceback.h, just because I hate tabs :-)
</content>
</entry>
<entry>
<title>Issue #8766: Initialize _warnings module before importing the first module.</title>
<updated>2010-05-19T20:40:50Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-05-19T20:40:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7d79b8b7714b5e7d8a0582a07b5625c280c879c0'/>
<id>urn:sha1:7d79b8b7714b5e7d8a0582a07b5625c280c879c0</id>
<content type='text'>
Fix a crash if an empty directory called "encodings" exists in sys.path.
</content>
</entry>
<entry>
<title>Recorded merge of revisions 81029 via svnmerge from</title>
<updated>2010-05-09T15:52:27Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-05-09T15:52:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f95a1b3c53bdd678b64aa608d4375660033460c3'/>
<id>urn:sha1:f95a1b3c53bdd678b64aa608d4375660033460c3</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines

  Untabify C files. Will watch buildbots.
........
</content>
</entry>
<entry>
<title>Merged revisions 72487-72488,72879 via svnmerge from</title>
<updated>2009-07-21T04:30:03Z</updated>
<author>
<name>Alexandre Vassalotti</name>
<email>alexandre@peadrop.com</email>
</author>
<published>2009-07-21T04:30:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7b82b40a47498bea476746d6e69f2de4434810d9'/>
<id>urn:sha1:7b82b40a47498bea476746d6e69f2de4434810d9</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72487 | jeffrey.yasskin | 2009-05-08 17:51:06 -0400 (Fri, 08 May 2009) | 7 lines

  PyCode_NewEmpty:
  Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New
  are trying to build an empty code object, usually to put it in a dummy frame
  object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify
  just the filename, function name, and first line number, instead of also
  requiring lots of code internals.
........
  r72488 | jeffrey.yasskin | 2009-05-08 18:23:21 -0400 (Fri, 08 May 2009) | 13 lines

  Issue 5954, PyFrame_GetLineNumber:
  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.
........
  r72879 | jeffrey.yasskin | 2009-05-23 19:23:01 -0400 (Sat, 23 May 2009) | 14 lines

  Issue #6042:
  lnotab-based tracing is very complicated and isn't documented very well.  There
  were at least 3 comment blocks purporting to document co_lnotab, and none did a
  very good job. This patch unifies them into Objects/lnotab_notes.txt which
  tries to completely capture the current state of affairs.

  I also discovered that we've attached 2 layers of patches to the basic tracing
  scheme. The first layer avoids jumping to instructions that don't start a line,
  to avoid problems in if statements and while loops.  The second layer
  discovered that jumps backward do need to trace at instructions that don't
  start a line, so it added extra lnotab entries for 'while' and 'for' loops, and
  added a special case for backward jumps within the same line. I replaced these
  patches by just treating forward and backward jumps differently.
........
</content>
</entry>
</feed>
