[issue15355] generator.__next__() docs should mention exception if already executing

2012-07-28 Thread Chris Jerdonek
Chris Jerdonek added the comment: Terry, if when reviewing my patch for issue 15457, you also have time to review this much simpler patch (also in the documentation on generators), I would appreciate it. If not, that's okay. -- nosy: +terry.reedy

[issue15355] generator.__next__() docs should mention exception if already executing

2012-07-28 Thread Meador Inge
Meador Inge added the comment: Hmmm, in your original description you say that the 'generator.__next__' documentation should be changed, but in the patch the note applies to all generator methods. From looking at the code it seems that the patch is correct and that '__next__', 'send',

[issue15355] generator.__next__() docs should mention exception if already executing

2012-07-26 Thread Chris Jerdonek
Chris Jerdonek chris.jerdo...@gmail.com added the comment: This is a very simple patch. -- keywords: +patch Added file: http://bugs.python.org/file26525/issue-15355-1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15355

[issue15355] generator.__next__() docs should mention exception if already executing

2012-07-26 Thread Chris Jerdonek
Changes by Chris Jerdonek chris.jerdo...@gmail.com: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15355 ___ ___

[issue15355] generator.__next__() docs should mention exception if already executing

2012-07-26 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15355 ___ ___ Python-bugs-list

[issue15355] generator.__next__() docs should mention exception if already executing

2012-07-14 Thread Chris Jerdonek
New submission from Chris Jerdonek chris.jerdo...@gmail.com: I think the generator.__next__() documentation should say that it raises an exception if the generator is already executing: http://docs.python.org/dev/reference/expressions.html#generator.__next__ I don't think this is currently