[New-bugs-announce] [issue39338] Data lost randomly from dictionary after creating the dictionary

Y3Kv Bv report at bugs.python.org
Tue Jan 14 17:23:01 EST 2020


New submission from Y3Kv Bv <yk3b.bw.ggxwkimobz at gmail.com>:

Windows 7 x64, Python 3.8.1

I've encountered a very weird issue where after creating a dictionary from a list the dictionary ends up being shorter/data is lost from it.
It's absolutely random when it loses, how many and which items are lost.

I've attached the example file with the code that always has a chance to trigger the issue for me.

I've managed to figure only this much that when "if useAmp" never triggers, data loss will never occur. I've added checkpoints to verify where the loss occurs and it's not caused by "if useAmp" block directly, data loss happens exactly after the dictionary is created.

----------
files: test.py
messages: 360007
nosy: Y3Kv Bv
priority: normal
severity: normal
status: open
title: Data lost randomly from dictionary after creating the dictionary
type: behavior
versions: Python 3.8
Added file: https://bugs.python.org/file48841/test.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39338>
_______________________________________


More information about the New-bugs-announce mailing list