[issue1182143] making builtin exceptions more informative

2015-12-31 Thread Ezio Melotti

Ezio Melotti added the comment:

I would suggest you to bring this up to python-dev (or perhaps python-ideas?).
Also note that Brett proposed something similar in #18162 and other related 
issues (#18156, #18163, #18165, #18166).

--
versions: +Python 3.6 -Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1182143] making builtin exceptions more informative

2015-10-25 Thread George Jenkins

George Jenkins added the comment:

Bump on this one please

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1182143] making builtin exceptions more informative

2015-06-27 Thread George Jenkins

George Jenkins added the comment:

Thanks for the response.

In terms of python API changes - I exposed the 'name' attribute on 
UnboundLocalError and NameError exceptions. 

(This can be seen ( is verified) by the changes to test_exceptions.py 
exceptions test cases in the patch)

In terms of the wider changes in the patch - I factored UnboundLocalError and 
NameError to have specific native implementations, rather than been based off 
SimpleExtendsException. And thus able to accept the name of the variable 
causing the exception.

And I agree with your comment on the exact API never been agreed on. Since 
there are now native implementations of UnboundLocalError and NameError, I can 
happily change their implementation to expose whatever can be decided to be 
better (comments?!)

Thanks, George

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1182143
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1182143] making builtin exceptions more informative

2015-06-21 Thread George Jenkins

George Jenkins added the comment:

Reviewer please :) 

(or, advice on how I can get this to proceed, thx)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1182143
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1182143] making builtin exceptions more informative

2015-06-21 Thread R. David Murray

R. David Murray added the comment:

What does your patch implement?  It's not clear from the issue discussion that 
an API was decided on.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1182143
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1182143] making builtin exceptions more informative

2015-05-03 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
nosy: +berker.peksag
stage: test needed - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1182143
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1182143] making builtin exceptions more informative

2015-05-02 Thread George Jenkins

George Jenkins added the comment:

Heh, just noticed this issue passed its 10 year anniversary!

If someone has time to review my patch, that would be much appreciated. Thanks!

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1182143
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1182143] making builtin exceptions more informative

2015-04-08 Thread George Jenkins

George Jenkins added the comment:

Add patch generated via mercurial

--
Added file: http://bugs.python.org/file38872/Issue1182143_1hg.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1182143
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1182143] making builtin exceptions more informative

2015-03-18 Thread George Jenkins

George Jenkins added the comment:

Hi, I attempted a solution for this a while back

Attached is a (git diff based) patch for review

Changes can also been seen at: 
https://bitbucket.org/bloomberg/cpython/pull-request/2/http-bugspythonorg-issue1182143-add-name/diff
(but note the changes in Misc/NEWS and Tools/msi/msi.py are not related / 
somehow got pulled into my changes by mercurial)

Please review/let me know of any other process required. Thanks!

--
keywords: +patch
nosy: +George Jenkins
versions: +Python 3.5 -Python 3.2
Added file: http://bugs.python.org/file38551/Issue1182143_1.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1182143
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1182143] making builtin exceptions more informative

2010-08-21 Thread Mark Lawrence

Changes by Mark Lawrence breamore...@yahoo.co.uk:


--
components: +Interpreter Core -Library (Lib)
versions:  -Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1182143
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1182143] making builtin exceptions more informative

2009-11-05 Thread Raymond Hettinger

Changes by Raymond Hettinger rhettin...@users.sourceforge.net:


--
assignee: rhettinger - 

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1182143
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1182143] making builtin exceptions more informative

2009-05-28 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
nosy: +ezio.melotti

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1182143
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1182143] making builtin exceptions more informative

2009-05-16 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

Beware that making exceptions hold on arbitrary objects increases the
possibility of delayed collection and reference cycles, though.
(especially in trunk where the current exception can last after the
end of an except block)

--
nosy: +pitrou

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1182143
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1182143] making builtin exceptions more informative

2009-05-15 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

See also issue 5353.

--
nosy: +r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1182143
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1182143] making builtin exceptions more informative

2009-05-15 Thread Raymond Hettinger

Changes by Raymond Hettinger rhettin...@users.sourceforge.net:


--
assignee:  - rhettinger

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1182143
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com