[New-bugs-announce] [issue24710] Class name hardcoded in TracebackException.from_exception()

Berker Peksag report at bugs.python.org
Sat Jul 25 00:57:05 CEST 2015


New submission from Berker Peksag:

Here is a patch that changes to use cls() instead of hardcoded TracebackException.

Serhiy also suggested on IRC to use the from_exception() classmethod in TracebackException's __init__ method.

----------
components: Library (Lib)
files: classmethod.diff
keywords: patch
messages: 247301
nosy: berker.peksag, rbcollins, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Class name hardcoded in TracebackException.from_exception()
type: enhancement
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file40008/classmethod.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24710>
_______________________________________


More information about the New-bugs-announce mailing list