[issue35594] Python script generating Segmentation Fault

2018-12-27 Thread Daugeras
Daugeras added the comment: File Attached. To replicate the bug, you have to create directories for files to load (CF config data at the start of the script). The bug happens after 100-200 files are downloaded. -- Added file: https://bugs.python.org/file48019

[issue35594] Python script generating Segmentation Fault

2018-12-27 Thread Daugeras
Daugeras added the comment: @Ned: Of course I understand your feed-back. I can provide a script to reproduce the crash. How can I do this ? -- ___ Python tracker <https://bugs.python.org/issue35

[issue35594] Python script generating Segmentation Fault

2018-12-27 Thread Daugeras
New submission from Daugeras : Python script generates segmentation fault I cannot find the source of the problem. How is it to debug a segfault simply in Python ? Are there recommended coding practices to avoid Segmentation Faults ? I wrote a script (1600 lines) to systematically download

[issue35339] Populating instances of class automatically

2018-11-28 Thread Daugeras
Daugeras added the comment: Hi Geoffrey, Indeed you where right, this is not a bug. The link you provided did solve my problem. I declared classes with attributes as strings, lists, etc... and indeed it was the reason for the issue. I changed it to instantiate the attributes in the __init__

[issue35339] Populating instances of class automatically

2018-11-28 Thread Daugeras
New submission from Daugeras : Hello, I am not sure it is a bug, but it is a very strange behavior of Python, which I do not understand. I created a class (mainly a structure) and instantiated an object of this class in a first function (Object 1). The function populates Object 1. In another