Skip to content

Demo/embed/demo.c use of PySys_SetArgv() is invalid #50688

Closed

Description

@ideasman42
mannequin
BPO 6439
Nosy @loewis, @birkenfeld, @ideasman42

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 = None
closed_at = <Date 2010-08-01.14:25:29.334>
created_at = <Date 2009-07-08.14:11:10.073>
labels = ['build']
title = 'Demo/embed/demo.c use of PySys_SetArgv() is invalid'
updated_at = <Date 2010-08-01.14:25:29.333>
user = 'https://github.com/ideasman42'

bugs.python.org fields:

activity = <Date 2010-08-01.14:25:29.333>
actor = 'georg.brandl'
assignee = 'none'
closed = True
closed_date = <Date 2010-08-01.14:25:29.334>
closer = 'georg.brandl'
components = ['Demos and Tools']
creation = <Date 2009-07-08.14:11:10.073>
creator = 'ideasman42'
dependencies = []
files = []
hgrepos = []
issue_num = 6439
keywords = []
message_count = 3.0
messages = ['90267', '112301', '112332']
nosy_count = 4.0
nosy_names = ['loewis', 'georg.brandl', 'ideasman42', 'BreamoreBoy']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue6439'
versions = ['Python 3.2']

Activity

  1. ideasman42 commented on Jul 8, 2009

    ideasman42mannequin
    MannequinAuthor

    in python 3.2 (current rev 73893)
    Demo/embed/demo.c passes a 'char **' to PySys_SetArgv rather then a
    'wsize_t **'

    Im also confused as to how this conversion should be made in a portable
    way, without copying some farily large static functions from python's code.

  2. BreamoreBoy commented on Aug 1, 2010

    BreamoreBoymannequin
    Mannequin

    I can't see any sense in supplying a patch for what is a one word change to demo.c. Can a C guru please comment on the OP's 2nd paragraph.

  3. birkenfeld commented on Aug 1, 2010

    @birkenfeld
    Member

    Thanks, fixed in r83404.

  4. 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

No one assigned

    Labels

    buildThe build process and cross-build

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions