Skip to content

Make PyUnicode_AsUTF8 returning "const char *" rather of "char *" #72955

Closed
@serhiy-storchaka

Description

@serhiy-storchaka
BPO 28769
Nosy @ncoghlan, @vstinner, @serhiy-storchaka
PRs
  • timemodule.c: Cast PyUnicode_AsUTF8() to char* #1294
  • Files
  • PyUnicode_AsUTF8-const.patch
  • PyUnicode_AsUTF8-const-2.patch
  • 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/serhiy-storchaka'
    closed_at = <Date 2017-01-22.21:08:02.993>
    created_at = <Date 2016-11-22.07:55:24.600>
    labels = ['interpreter-core', 'type-feature', '3.7']
    title = 'Make PyUnicode_AsUTF8 returning "const char *" rather of "char *"'
    updated_at = <Date 2017-04-26.11:51:50.342>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2017-04-26.11:51:50.342>
    actor = 'vstinner'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2017-01-22.21:08:02.993>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2016-11-22.07:55:24.600>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = ['45596', '45981']
    hgrepos = []
    issue_num = 28769
    keywords = ['patch']
    message_count = 10.0
    messages = ['281439', '281445', '281447', '281448', '283547', '283730', '286026', '286029', '286030', '292335']
    nosy_count = 4.0
    nosy_names = ['ncoghlan', 'vstinner', 'python-dev', 'serhiy.storchaka']
    pr_nums = ['1294']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue28769'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Labels

    3.7 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions