• Victor Stinner's avatar
    pymain_set_sys_argv() now copies argv (#4838) · d5dda98f
    Victor Stinner yazdı
    bpo-29240, bpo-32030:
    
    * Rename pymain_set_argv() to pymain_set_sys_argv()
    * pymain_set_sys_argv() now creates of copy of argv and modify the
      copy, rather than modifying pymain->argv
    * Call pymain_set_sys_argv() earlier: before pymain_run_python(), but
      after pymain_get_importer().
    * Add _PySys_SetArgvWithError() to handle errors
    d5dda98f
sysmodule.c 75.9 KB