[issue43618] random.shuffle loses most of the elements

2021-03-24 Thread Rowan Sylvester-Bradley
New submission from Rowan Sylvester-Bradley : This issue is probably related to issue ??? but I have created it as a separate issue. When shuffle doesn't crash it sometimes (or maybe always - I haven't fully analysed this yet) looses most of the elements in the list that it is supp

[issue43616] random.shuffle() crashes with Unhandled exception

2021-03-24 Thread Rowan Sylvester-Bradley
New submission from Rowan Sylvester-Bradley : When I do random.shuffle(questions_element) (questions_element is an element generated by lxml via the code questions_element = exams.find("questions") ) I get a crash: Unhandled exception at 0x7FFD7AE8EF89 (ntdll.dll) in