[Python-bugs-list] [ python-Bugs-509281 ] cheeseshop example shows wrong output
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 27 Jan 2002 12:36:53 -0800
Bugs item #509281, was opened at 2002-01-27 12:24
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=509281&group_id=5470
Category: Documentation
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Ed James-Beckham (edj)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: cheeseshop example shows wrong output
Initial Comment:
The cheeseshop example in 4.7.2 shows the output to
be:
-- Do you have any Limburger ?
-- I'm sorry, we're all out of Limburger
It's very runny, sir.
It's really very, VERY runny, sir.
----------------------------------------
client : John Cleese
shopkeeper : Michael Palin
sketch : Cheese Shop Sketch
when in fact, from the IDLE, one gets:
-- Do you have any Limburger ?
-- I'm sorry, we're all out of Limburger
It's very runny, sir.
It's really very, VERY runny, sir.
----------------------------------------
shopkeeper : Michael Palin
sketch : Cheese Shop Sketch
client : John Cleese
Experimenting, it seems that the first keyword
argument ('client') always appears _last_ in the
output.
If this is, in fact, a bug in Python, please change
the category appropriately and pass it on.
Thanks,
-edj
----------------------------------------------------------------------
>Comment By: Tim Peters (tim_one)
Date: 2002-01-27 12:36
Message:
Logged In: YES
user_id=31435
The order of entires in dict.keys() is not defined, and can
change even across program runs. The docs could explain
that, or sort dict.keys() before printing.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=509281&group_id=5470