Dictionaries behaviour Linux vs. Windows

Carsten Gaebler cg at schlund.de
Mon Jul 31 13:17:40 EDT 2000


Hi!
I have the following problem with Python 1.5.2:

dict = {}
dict.get("test", []).append(1)

On Windows 95: dict == {"test": [1]}
On Linux: dict == {}
What's the difference?

Regards
Carsten.



More information about the Python-list mailing list