[issue16491] try-except-raise-bug
Ezio Melotti added the comment: Can you paste the traceback you get with IDLE and also try the same from the command line? -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16491 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16491] try-except-raise-bug
Hans Larsen added the comment: -Oprindelig meddelelse- From: Martin v. Löwis Sent: Saturday, November 17, 2012 2:45 PM To: jo...@mail.dk Subject: [issue16491] try-except-raise-bug Martin v. Löwis added the comment: That looks like a bug/missing feature in PythonWin to me, which doesn't print __context__ properly. Note: I haven't tested PythonWin to confirm. Hans: is the output also incorrect in IDLE, or a command line shell? If no, then this isn't a bug in Python itself, but one in PythonWin. You can find the bug tracker at http://sourceforge.net/projects/pywin32/ Ramchandra: the bug report actually *is* in English, starting with I has found The first part is just Hans' postal address (which we don't really need here, but it doesn't hurt having it, either). I have tried it in Python IDLE, but it's the samme except that returns a TypeError instead! -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16491 ___ -- status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16491 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16491] try-except-raise-bug
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16491 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16491] try-except-raise-bug
New submission from Hans Larsen: Med venlig hilsen: Hans Larsen Galgebakken Sønder 4-11A DK-2620 Albertslund Danmark/Danio I has found a bug in Python3.3 on Windows! Why are all 3 try-statements equal? I don’t see a “..During handling of above exception, another exception occured: ...” Where is the bug! I use Windows 7 64bit! -- files: Hans.vcf, try-execpt-raise-bug.rtf messages: 175728 nosy: Jocjo priority: normal severity: normal status: open title: try-except-raise-bug Added file: http://bugs.python.org/file28007/Hans.vcf Added file: http://bugs.python.org/file28008/try-execpt-raise-bug.rtf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16491 ___attachment: Hans.vcf try-execpt-raise-bug.rtf Description: RTF file ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16491] try-except-raise-bug
Mark Dickinson added the comment: Please could you give a coherent description of the behaviour you think is a bug. Include: (1) what you did, (2) what results you got (including tracebacks for exceptions), (3) what results you expected to get. -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16491 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16491] try-except-raise-bug
Mark Dickinson added the comment: Here's the contents of the .rtf file: PythonWin 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:57:17) [MSC v.1600 64 bit (AMD64)] on win32. Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information. try: ... 1/0 ... except ZeroDivisionError as exp: ... raise TypeError('Divided by 0') ... Traceback (most recent call last): File interactive input, line 4, in module TypeError: Divided by 0 try: ... 1/0 ... except ZeroDivisionError as exp: ... raise TypeError('Divided by 0') from exp ... Traceback (most recent call last): File interactive input, line 4, in module TypeError: Divided by 0 try: ... 1/0 ... except ZeroDivisionError: ... raise TypeError('Divided by 0') from None ... Traceback (most recent call last): File interactive input, line 4, in module TypeError: Divided by 0 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16491 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16491] try-except-raise-bug
Ramchandra Apte added the comment: Also, please report bugs in English. (read the devguide to learn more) -- nosy: +ramchandra.apte ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16491 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16491] try-except-raise-bug
Martin v. Löwis added the comment: That looks like a bug/missing feature in PythonWin to me, which doesn't print __context__ properly. Note: I haven't tested PythonWin to confirm. Hans: is the output also incorrect in IDLE, or a command line shell? If no, then this isn't a bug in Python itself, but one in PythonWin. You can find the bug tracker at http://sourceforge.net/projects/pywin32/ Ramchandra: the bug report actually *is* in English, starting with I has found The first part is just Hans' postal address (which we don't really need here, but it doesn't hurt having it, either). -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16491 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com