Skip to content
Snippets Groups Projects
Select Git revision
  • 02639c3bc6a9bae9de635356c289cbae674aa61c
  • main default protected
  • 3.10
  • 3.11
  • revert-15688-bpo-38031-_io-FileIO-opener-crash
  • 3.8
  • 3.9
  • 3.7
  • enum-fix_auto
  • branch-v3.11.0
  • backport-c3648f4-3.11
  • gh-93963/remove-importlib-resources-abcs
  • refactor-wait_for
  • shared-testcase
  • v3.12.0a2
  • v3.12.0a1
  • v3.11.0
  • v3.8.15
  • v3.9.15
  • v3.10.8
  • v3.7.15
  • v3.11.0rc2
  • v3.8.14
  • v3.9.14
  • v3.7.14
  • v3.10.7
  • v3.11.0rc1
  • v3.10.6
  • v3.11.0b5
  • v3.11.0b4
  • v3.10.5
  • v3.11.0b3
  • v3.11.0b2
  • v3.9.13
34 results

python_ver_rc.h

Blame
  • python_ver_rc.h 994 B
    // 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-2021 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