• Victor Stinner's avatar
    bpo-32030: Add _PyPathConfig_ComputeArgv0() (#4845) · 11a247df
    Victor Stinner yazdı
    Changes:
    
    * Split _PySys_SetArgvWithError() into subfunctions for Py_Main():
    
      * Create the Python list object
      * Set sys.argv to the list
      * Compute argv0
      * Prepend argv0 to sys.path
    
    * Add _PyPathConfig_ComputeArgv0()
    * Remove _PySys_SetArgvWithError()
    * Py_Main() now splits the code to compute sys.argv/path0 and the
      code to update the sys module: add pymain_compute_argv()
      subfunction.
    11a247df
sysmodule.h 1.48 KB