[issue39043] Add math.fib() generator

2019-12-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: Sorry, this isn't sufficiently useful or needed to warrant inclusion in the standard library. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue39043] Add math.fib() generator

2019-12-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +mark.dickinson, rhettinger, stutzbach ___ Python tracker ___ ___ Python-bugs-list mai

[issue39043] Add math.fib() generator

2019-12-13 Thread Lovi
New submission from Lovi <1668151...@qq.com>: I think it's appropriate to add the generator fib() to the math module. With fib(), some operations will be easier. The generator is like this: def fib(count=None): if count is not None and not isinstance(count, int): raise ValueError(