Created
February 26, 2014 20:46
-
-
Save stesh/9238176 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> from Queue import PriorityQueue | |
>>> l = [PriorityQueue()] * 10 | |
>>> [hash(x) for x in l] | |
[-9223372036579180054, -9223372036579180054, -9223372036579180054, -9223372036579180054, -9223372036579180054, -9223372036579180054, -9223372036579180054, -9223372036579180054, -9223372036579180054, -9223372036579180054] | |
>>> l = [PriorityQueue() for _ in range(10)] | |
>>> [hash(x) for x in l] | |
[275597326, 275597335, 275597371, -9223372036579178388, 275597470, -9223372036579178289, 275597829, -9223372036579177930, 275597928, -9223372036579177831] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment