[issue16557] PEP 380 isn't reflected in the Functional Programming HOWTO

2013-01-20 Thread Roundup Robot

Roundup Robot added the comment:

New changeset e0de6e6e992e by Ezio Melotti in branch '3.3':
#16557: update functional howto -- return value is valid after PEP 380.  
Initial patch by Ramchandra Apte.
http://hg.python.org/cpython/rev/e0de6e6e992e

New changeset 81b2a30da853 by Ezio Melotti in branch 'default':
#16557: merge with 3.3.
http://hg.python.org/cpython/rev/81b2a30da853

--
nosy: +python-dev

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



[issue16557] PEP 380 isn't reflected in the Functional Programming HOWTO

2013-01-20 Thread Ezio Melotti

Ezio Melotti added the comment:

Fixed, thanks for the report and the patch!

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

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



[issue16557] PEP 380 isn't reflected in the Functional Programming HOWTO

2013-01-19 Thread Ramchandra Apte

Ramchandra Apte added the comment:

Attached is a patch. Note that this is my first Doc patch; please apologize 
errors.

--
keywords: +patch
nosy: +ramchandra.apte
Added file: http://bugs.python.org/file28793/issue16557.patch

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



[issue16557] PEP 380 isn't reflected in the Functional Programming HOWTO

2012-11-28 Thread Andrew Svetlov

Changes by Andrew Svetlov andrew.svet...@gmail.com:


--
keywords: +easy
stage:  - needs patch
type:  - enhancement
versions: +Python 3.4

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



[issue16557] PEP 380 isn't reflected in the Functional Programming HOWTO

2012-11-26 Thread Masami HIRATA

New submission from Masami HIRATA:

Although PEP 380 says:
 2. In a generator, the statement ::
 
 return value
 
 is semantically equivalent to ::
 
 raise StopIteration(value)

Functional Programming HOWTO (Doc/howto/functional.rst) says:
 ``return`` with a value, such as ``return 5``, is a syntax error inside a 
 generator function.

--
assignee: docs@python
components: Documentation
messages: 176407
nosy: docs@python, msmhrt
priority: normal
severity: normal
status: open
title: PEP 380 isn't reflected in the Functional Programming HOWTO
versions: Python 3.3

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