Skip to content
Snippets Groups Projects
Select Git revision
  • 0eca56ed22ac7019f34dcec45c56f9e7327c8bf5
  • master default protected
  • lifecycle
  • kru0052-master-patch-91081
  • chat
  • 20180621-revision
  • 20180621-before_revision
7 results

cloud

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Willian Padovani Germano authored
    -- trying a different approach to see if the crash on Windows goes away.
    
    Running a script with PyRun_File -- a Python/C API function -- was probably
    the cause for crashes on Windows, because it uses a pointer to a FILE
    struct and on windows this struct can be "different and incompatible"
    depending on which libc was used to build the program.  This is mentioned in
    the Python/C API Ref Manual, chapter 2.
    
    Now we're loading the file contents to a string buffer and using PyRun_String.
    c31de002
    History
    Name Last commit Last update
    ..