Staging
v0.5.1
https://github.com/python/cpython
Revision 77901dc6c3d06dd31f6c84b2d3cb21dc26b1e351 authored by Miss Islington (bot) on 12 September 2020, 06:43:27 UTC, committed by GitHub on 12 September 2020, 06:43:27 UTC

Argument script_exec_args is usually an absolute file name,
but twice has form ['-m', 'module_name'].
(cherry picked from commit 7e711ead26fea6465e0ef2e3b8880b57ba8fc129)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
1 parent bbab340
Raw File
Tip revision: 77901dc6c3d06dd31f6c84b2d3cb21dc26b1e351 authored by Miss Islington (bot) on 12 September 2020, 06:43:27 UTC
bpo-41731: Make test_cmd_line_script pass with -vv (GH-22206)
Tip revision: 77901dc
python_ver_rc.h
// Resource script for Python core DLL.
// Currently only holds version information.
//
#pragma code_page(1252)
#include "winver.h"

#define PYTHON_COMPANY   "Python Software Foundation"
#define PYTHON_COPYRIGHT "Copyright \xA9 2001-2016 Python Software Foundation. Copyright \xA9 2000 BeOpen.com. Copyright \xA9 1995-2001 CNRI. Copyright \xA9 1991-1995 SMC."

#define MS_WINDOWS
#include "modsupport.h"
#include "patchlevel.h"
#include <pythonnt_rc.h>
#ifdef _DEBUG
#   define PYTHON_DEBUG_EXT "_d"
#else
#   define PYTHON_DEBUG_EXT
#endif

/* e.g., 3.3.0a1
 * PY_VERSION comes from patchlevel.h
 */
#define PYTHON_VERSION PY_VERSION "\0"

/* 64-bit version number as comma-separated list of 4 16-bit ints */
#if PY_MICRO_VERSION > 64
#   error "PY_MICRO_VERSION > 64"
#endif
#if PY_RELEASE_LEVEL > 99
#   error "PY_RELEASE_LEVEL > 99"
#endif
#if PY_RELEASE_SERIAL > 9
#   error "PY_RELEASE_SERIAL > 9"
#endif
#define PYVERSION64 PY_MAJOR_VERSION, PY_MINOR_VERSION, FIELD3, PYTHON_API_VERSION
back to top