[issue11669] Clarify Lang Ref Compound statements footnote

2011-07-21 Thread Ezio Melotti

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


--
nosy: +ncoghlan

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



[issue11669] Clarify Lang Ref Compound statements footnote

2011-06-26 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset b11e7bc76d07 by Ezio Melotti in branch '2.7':
#11669: rephrase footnote in the Compound Statements page.
http://hg.python.org/cpython/rev/b11e7bc76d07

New changeset 74e9f94d8440 by Ezio Melotti in branch '3.2':
#11669: rephrase footnote in the Compound Statements page.
http://hg.python.org/cpython/rev/74e9f94d8440

New changeset a7099a3b5e5f by Ezio Melotti in branch 'default':
#11669: merge with 3.2.
http://hg.python.org/cpython/rev/a7099a3b5e5f

--
nosy: +python-dev

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



[issue11669] Clarify Lang Ref Compound statements footnote

2011-06-26 Thread Ezio Melotti

Ezio Melotti ezio.melo...@gmail.com added the comment:

Fixed, thanks for the patch!

--
assignee: docs@python - ezio.melotti
nosy: +ezio.melotti
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

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



[issue11669] Clarify Lang Ref Compound statements footnote

2011-06-25 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Just to make explicit what's happening:


 try:
... try:
... raise TypeError()
... finally:
... raise ValueError()
... except TypeError as e:
... print('mmm')
... 
Traceback (most recent call last):
  File stdin, line 3, in module
TypeError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File stdin, line 5, in module
ValueError

while


 try:
... try:
... raise TypeError()
... finally:
... raise ValueError()
... except ValueError as e:
... print ('mmm')
... 
mmm

--
nosy: +sandro.tosi

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



[issue11669] Clarify Lang Ref Compound statements footnote

2011-06-25 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Ok, I send it too soon... attached is a patch to fix this bug (it applies on 
default, 3.2 and 2.7).

--

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



[issue11669] Clarify Lang Ref Compound statements footnote

2011-06-25 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


--
keywords:  -needs review
Added file: http://bugs.python.org/file22471/issue11669-default.patch

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



[issue11669] Clarify Lang Ref Compound statements footnote

2011-06-13 Thread R. David Murray

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

Sometimes we use the patch keyword for doc issues where someone has suggested a 
specific new wording but not generated an actual patch.  That seems to be the 
case here.

--
nosy: +r.david.murray

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



[issue11669] Clarify Lang Ref Compound statements footnote

2011-06-13 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
versions:  -Python 3.1

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



[issue11669] Clarify Lang Ref Compound statements footnote

2011-06-07 Thread Petri Lehtinen

Petri Lehtinen pe...@digip.org added the comment:

Keywords suggest that there should to be a patch here. Where is it?

--
nosy: +petri.lehtinen

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



[issue11669] Clarify Lang Ref Compound statements footnote

2011-03-25 Thread Graham Wideman

New submission from Graham Wideman initcont...@grahamwideman.com:

In Language Ref section 7 Compound Statements:
http://docs.python.org/release/3.1.3/reference/compound_stmts.html
there's a footnote regarding what happens to unhandled exceptions in a 
try-except statement:

[1] The exception is propagated to the invocation stack only if there is no 
*finally* clause that negates the exception.

This is very unclearly worded, especially since the reader in need of this 
footnote is probably familiar with the *except* clause being the one to 
negate an exception, and may well think this footnote is in error.  This 
footnote could provide a more convincing explanation: 

[1] The exception is propagated to the invocation stack unless there is a 
finally clause which happens to raise another exception. That new exception 
causes the old exception to be lost.

--
assignee: docs@python
components: Documentation
messages: 132072
nosy: docs@python, gwideman
priority: normal
severity: normal
status: open
title: Clarify Lang Ref Compound statements footnote
type: behavior
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 
3.3, Python 3.4

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



[issue11669] Clarify Lang Ref Compound statements footnote

2011-03-25 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
keywords: +needs review, patch
stage:  - patch review
versions:  -Python 2.5, Python 2.6, Python 3.4

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