[issue19235] Add a dedicated subclass for recursion errors

2015-07-02 Thread Yury Selivanov
Yury Selivanov added the comment: Thanks Larry and Georg! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.5 ___ Python tracker ___

[issue19235] Add a dedicated subclass for recursion errors

2015-07-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset a795cf73ce6f by Yury Selivanov in branch '3.5': Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. https://hg.python.org/cpython/rev/a795cf73ce6f New changeset 749d74e5dfa7 by Yury Selivanov in branch 'default': Merge 3.5 (Issue

[issue19235] Add a dedicated subclass for recursion errors

2015-07-02 Thread Larry Hastings
Larry Hastings added the comment: This is fine for 3.5. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue19235] Add a dedicated subclass for recursion errors

2015-06-23 Thread Ivan Levkivskyi
Changes by Ivan Levkivskyi : -- nosy: +levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue19235] Add a dedicated subclass for recursion errors

2015-06-18 Thread Yury Selivanov
Yury Selivanov added the comment: Larry, is there any chance this can be committed in 3.5 (the change is fully backwards compatible)? -- nosy: +larry ___ Python tracker ___

[issue19235] Add a dedicated subclass for recursion errors

2015-06-18 Thread Elazar Gershuni
Elazar Gershuni added the comment: Well that's a déjà vu. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue19235] Add a dedicated subclass for recursion errors

2015-06-18 Thread Yury Selivanov
Yury Selivanov added the comment: +1. This, unfortunately, can't go in 3.5 (too late), but I can commit this in 3.6. -- assignee: -> yselivanov nosy: +yselivanov versions: +Python 3.6 -Python 3.5 ___ Python tracker

[issue19235] Add a dedicated subclass for recursion errors

2015-06-18 Thread Elazar Gershuni
Elazar Gershuni added the comment: So what holds it back now? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19235] Add a dedicated subclass for recursion errors

2015-05-30 Thread Elazar Gershuni
Elazar Gershuni added the comment: Ok -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue19235] Add a dedicated subclass for recursion errors

2014-09-30 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue19235] Add a dedicated subclass for recursion errors

2014-03-06 Thread R. David Murray
R. David Murray added the comment: It's an enhancement, so it can only go in 3.5, and that will happen some time after the release of 3.4. -- nosy: +r.david.murray versions: +Python 3.5 -Python 3.4 ___ Python tracker

[issue19235] Add a dedicated subclass for recursion errors

2014-03-06 Thread Elazar Gershuni
Elazar Gershuni added the comment: Is it going to be committed? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue19235] Add a dedicated subclass for recursion errors

2013-10-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue19235] Add a dedicated subclass for recursion errors

2013-10-20 Thread Elazar Gershuni
Elazar Gershuni added the comment: Looks good to me. Is it possible to add it to 2.7? I think it won't break any PEP8-following code (e.g. not testing for type equality/identity) -- ___ Python tracker ___

[issue19235] Add a dedicated subclass for recursion errors

2013-10-13 Thread Georg Brandl
Georg Brandl added the comment: Attached is a patch, please review. Introduces a RecursionError that subclasses RuntimeError for compatibility. Note: I also tested this with RecursionError not subclassing RuntimeError, to make sure that except clauses in the test suite are sufficiently narrow

[issue19235] Add a dedicated subclass for recursion errors

2013-10-12 Thread Georg Brandl
Georg Brandl added the comment: I agree. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19235] Add a dedicated subclass for recursion errors

2013-10-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: This sounds like a reasonable feature request to me. -- components: +Interpreter Core -Library (Lib) ___ Python tracker ___

[issue19235] Add a dedicated subclass for recursion errors

2013-10-12 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue19235] Add a dedicated subclass for recursion errors

2013-10-12 Thread Elazar Gershuni
Changes by Elazar Gershuni : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue19235] Add a dedicated subclass for recursion errors

2013-10-12 Thread Elazar Gershuni
New submission from Elazar Gershuni: There's no dedicated StackOverflowErrorException, So there is no way to accurately distinguish a recursion overflow from a general RuntimeError. One cannot use the exception message, since the docs explicitly says that "Exception messages are not part of t