Roundup Robot added the comment:
New changeset 4e9617d3c514 by Andrew Svetlov in branch '2.7':
Issue #16341: convert examples to use except ... as ... syntax.
http://hg.python.org/cpython/rev/4e9617d3c514
--
nosy: +python-dev
___
Python tracker
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16341
Andrew Svetlov added the comment:
+1.
Patch for 2.7 is attached.
--
keywords: +patch
nosy: +asvetlov
Added file: http://bugs.python.org/file27763/issue16341.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16341
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16341
___
___
Éric Araujo added the comment:
I’m of two minds about this. On one hand this syntax avoids silent bugs and is
compatible with 3.x, on the other hand if people use the 2.7 docs and use
Python 2.4 or 2.5 the examples won’t work. Raymond, what’s your opinion?
--
nosy: +eric.araujo,
Ezio Melotti added the comment:
The patch LGTM, and there are only 21 changes.
--
nosy: +ezio.melotti
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16341
___
New submission from Jesús Cea Avión:
In python 2.7 documentation, doing grep -i 'except.*,.*:' *rst shows quite a
few old style except:. I think that except X, e: should be transformed to
except X as e:, for clarity, as done in issue #16332.
The only thing is that this syntax, used in
Changes by Jesús Cea Avión j...@jcea.es:
--
components: +Library (Lib)
nosy: +docs@python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16341
___
Changes by Jesús Cea Avión j...@jcea.es:
--
assignee: - docs@python
components: +Documentation -Library (Lib)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16341
___
Changes by Chris Rebert pyb...@rebertia.com:
--
nosy: +cvrebert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16341
___
___
Python-bugs-list
10 matches
Mail list logo