This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Friedrich.Spee.von.Langenfeld
Recipients Friedrich.Spee.von.Langenfeld
Date 2014-09-29.19:22:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412018530.64.0.603164389398.issue22514@psf.upfronthosting.co.za>
In-reply-to
Content
When I open www.python.org, there are some examples to demonstrate the "look and feel" of Python. I´ve tested an example (example number 1). Online, the following is shown:
# Python 3: Fibonacci series up to n
>>> def fib(n):
>>>     a, b = 0, 1
>>>     while a < n:
>>>         print(a, end=' ')
>>>         a, b = b, a+b
>>>     print()
>>> fib(1000)
0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610

But then I have tested the (following) code with Python 3.1:
>>> def fib(n):
	 a, b = 0, 1
	 while a < n:
 		print(a, end=" ")
		a, b = b, a+b
 	 print()
	

>>> fib(1000)
0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987

As you can see, the last number(987)wasn´t shown online. Perhaps, this behavior is browser-dependent. I´ve used Mozilla Firefox 32.0.3 .
I can´t estimate the priority of this issue, because I can´t imagine how many people are using or analysing the examples. Can you reproduce my findings?
History
Date User Action Args
2014-09-29 19:22:10Friedrich.Spee.von.Langenfeldsetrecipients: + Friedrich.Spee.von.Langenfeld
2014-09-29 19:22:10Friedrich.Spee.von.Langenfeldsetmessageid: <1412018530.64.0.603164389398.issue22514@psf.upfronthosting.co.za>
2014-09-29 19:22:10Friedrich.Spee.von.Langenfeldlinkissue22514 messages
2014-09-29 19:22:10Friedrich.Spee.von.Langenfeldcreate