Skip to content

Add CRT version info in msvcrt module #48615

Closed

Description

@cdavid
mannequin
BPO 4365
Nosy @loewis, @warsaw
Files
  • msvcrt_version_info.diff
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/warsaw'
    closed_at = <Date 2008-12-01.04:53:13.353>
    created_at = <Date 2008-11-20.15:55:43.734>
    labels = ['OS-windows', 'release-blocker']
    title = 'Add CRT version info in msvcrt module'
    updated_at = <Date 2008-12-01.04:53:13.351>
    user = 'https://bugs.python.org/cdavid'

    bugs.python.org fields:

    activity = <Date 2008-12-01.04:53:13.351>
    actor = 'loewis'
    assignee = 'barry'
    closed = True
    closed_date = <Date 2008-12-01.04:53:13.353>
    closer = 'loewis'
    components = ['Windows']
    creation = <Date 2008-11-20.15:55:43.734>
    creator = 'cdavid'
    dependencies = []
    files = ['12074']
    hgrepos = []
    issue_num = 4365
    keywords = ['patch']
    message_count = 4.0
    messages = ['76112', '76654', '76664', '76675']
    nosy_count = 3.0
    nosy_names = ['loewis', 'barry', 'cdavid']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue4365'
    versions = ['Python 2.7']

    Activity

    1. cdavid commented on Nov 20, 2008

      cdavidmannequin
      MannequinAuthor

      This patch if the first part to follow discussion on python-list
      concerning problems when using distutils.config.try_run with mingw and
      manifest problems on windows for python 2.6 (or any python built with
      recent VS).

      It simply adds strings constant got the msvcrt module, so that they can
      be queried in distutils to generate manifest on the fly if needed. I
      don't know which approach is best to deal with conditional compilation:
      for now, I simply do not add the constants if the constants are not
      defined at the C level, but this does not strike as a great idea to me.

    2. loewis commented on Nov 30, 2008

      loewismannequin
      Mannequin

      Thanks for the patch. Committed (with modifications) as r67455.

      Barry, I would like to apply this to both 2.6 and 3.0. Ok?

    3. warsaw commented on Nov 30, 2008

      @warsaw
      Member

      Go for it Martin.

    4. loewis commented on Dec 1, 2008

      loewismannequin
      Mannequin

      Merged into 2.6 as r67466, Benjamin had already merged it for 3k as r67461.

    5. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions