[issue1616] compiler warnings

2010-03-12 Thread Ezio Melotti
Ezio Melotti added the comment: And this is the list for 3.x: http://www.python.org/dev/buildbot/builders/x86%20XP-4%203.x http://www.python.org/dev/buildbot/builders/x86%20XP-5%203.x http://www.python.org/dev/buildbot/builders/x86%20Windows7%203.x 7>..\Modules\zlib\gzio.c(131) : warning C4996:

[issue4498] Compiler warning "signed/unsigned comparion in mmapmodule"

2010-03-12 Thread Ezio Melotti
Ezio Melotti added the comment: That line has been changed in #6344 (see the last message for the revision numbers). Raymond, do you still have that warning? -- nosy: +ezio.melotti ___ Python tracker _

[issue8128] String interpolation with unicode subclass fails to call __str__

2010-03-12 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Interpreter Core nosy: +ezio.melotti priority: -> normal stage: -> test needed type: -> behavior versions: +Python 2.7, Python 3.2 -Python 2.5 ___ Python tracker

[issue1616] compiler warnings

2010-03-12 Thread Ezio Melotti
Ezio Melotti added the comment: There are also a few issues related to compiler warnings: #7225: about other warnings in object.c, marshal.c, signalmodule.c; #4500: about other warnings in object.c, marshal.c, main.c; #4370: about "unknown conversion type character `z' in format" (with patch); #

[issue8130] except-as in Py3 eats variables

2010-03-12 Thread Stefan Behnel
New submission from Stefan Behnel : Python 3.2a0 (py3k:78205M, Feb 16 2010, 17:32:08) [GCC 4.4.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> e = None [50279 refs] >>> e [50279 refs] >>> try: raise ValueError ... except ValueError as e: pass ... [50277 ref

[issue8130] except-as in Py3 eats variables

2010-03-12 Thread Ezio Melotti
Ezio Melotti added the comment: This is a not a bug and it's documented: http://docs.python.org/py3k/reference/compound_stmts.html#the-try-statement The solution is to assign the value to another variable: >>> try: raise ValueError ... except ValueError as e: exc = e ... >>> exc ValueError() >

[issue8130] except-as in Py3 eats variables

2010-03-12 Thread Stefan Behnel
Stefan Behnel added the comment: I knew that the variable was supposed to go out of scope when leaving the except block, but I wasn't aware that this was supposed to be done using (the equivalent of) a 'del'. Were the side-effects of deleting variables defined outside of the try-except consid

<    1   2