[issue2786] Names in traceback should have class names, if they're methods

2015-04-12 Thread Daniil Bondarev
Daniil Bondarev added the comment: Addrressed feedback: splitted long line in multiple in tests. -- Added file: http://bugs.python.org/file38904/full_names.patch ___ Python tracker <http://bugs.python.org/issue2

[issue2786] Names in traceback should have class names, if they're methods

2015-03-21 Thread Daniil Bondarev
Daniil Bondarev added the comment: issue17911 was submitted. I pulled latest updates and rechecked that "./python -m test -uall" passing with the same patch. -- ___ Python tracker <http://bugs.python.

[issue17911] traceback: add a new thin class storing a traceback without storing local variables

2015-02-07 Thread Daniil Bondarev
Daniil Bondarev added the comment: As suggested adding patch from http://bugs.python.org/issue2786 which prints qualnames in function call exceptions. e.g: >>> class A: ... def __init__(self): ... pass >>> A(1) Traceback (most recent call last): File "&quo

[issue2786] Names in traceback should have class names, if they're methods

2015-02-05 Thread Daniil Bondarev
Daniil Bondarev added the comment: As long as you think It fits into your issue, I'm ok with adding this patch to it (: it's different files, so no conflicts. Should I just add this patch to your ticket? -- ___ Python trac

[issue2786] Names in traceback should have class names, if they're methods

2015-02-02 Thread Daniil Bondarev
Daniil Bondarev added the comment: Made a straightforward patch for this. Probably not that pretty, so suggestions are welcome. Note that some function names will become pretty long in exceptions: >>> class A: ... def __init__(self): ... def f(): ... pass ...