New submission from beta: Results: Block: 2d = {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 0} same as {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 0} Block: 2e = {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 0} same as {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 0} Block: 2f = {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 0} same as {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 0} Block: 8c = {'Blocks': 2, 'Name': 'Mijnenveger', 'uuid': 1} same as {'Blocks': 2, 'Name': 'Mijnenveger', 'uuid': 1} Block: 8d = {'Blocks': 2, 'Name': 'Mijnenveger', 'uuid': 1} same as {'Blocks': 2, 'Name': 'Mijnenveger', 'uuid': 1} Block: 4e = {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 2} same as {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 2} Block: 4f = {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 2} same as {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 2} Block: 4g = {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 2} same as {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 2} Block: 4h = {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 2} same as {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 2} Block: 6d = {'Blocks': 2, 'Name': 'Mijnenveger', 'uuid': 3} same as {'Blocks': 2, 'Name': 'Mijnenveger', 'uuid': 3} Block: 6e = {'Blocks': 2, 'Name': 'Mijnenveger', 'uuid': 3} same as {'Blocks': 2, 'Name': 'Mijnenveger', 'uuid': 3} Block: d3 = {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 4} same as {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 4} Block: d4 = {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 4} same as {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 4} Block: d5 = {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 4} same as {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 4} Block: 10h = {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 5} same as {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 5} Block: 10i = {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 5} same as {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 5} Block: 10j = {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 5} same as {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 5} Block: j3 = {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 6} same as {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 6} Block: j4 = {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 6} same as {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 6} Block: j5 = {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 6} same as {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 6} Block: j6 = {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 6} same as {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 6} Block: 10d = {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7} same as {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7} Block: 10e = {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7} same as {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7} Block: 10f = {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7} same as {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7} Block: 10g = {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7} same as {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7}
Actually SetPositions = {} result: { '10d': {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7}, '10e': {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7}, '10f': {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7}, '10g': {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7}, '10h': {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 5}, '10i': {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 5}, '10j': {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 5}, '2d': {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 5}, '2e': {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 5}, '2f': {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 5}, '4e': {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7}, '4f': {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7}, '4g': {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7}, '4h': {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7}, '6d': {'Blocks': 2, 'Name': 'Mijnenveger', 'uuid': 3}, '6e': {'Blocks': 2, 'Name': 'Mijnenveger', 'uuid': 3}, '8c': {'Blocks': 2, 'Name': 'Mijnenveger', 'uuid': 3}, '8d': {'Blocks': 2, 'Name': 'Mijnenveger', 'uuid': 3}, 'd3': {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 5}, 'd4': {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 5}, 'd5': {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 5}, 'j3': {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7}, 'j4': {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7}, 'j5': {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7}, 'j6': {'Blocks': 4, 'Name': 'Kruiser', 'uuid': 7}} uuid are overwritten, but where? It seems like a Python bug, but don't really know to be sure, so sorry if it isn't one. ---------- files: 1.py messages: 219090 nosy: beta990 priority: normal severity: normal status: open title: Overwritten (custom) uuid inside dictionary versions: Python 3.4 Added file: http://bugs.python.org/file35350/1.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21576> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com