Skip to content

Deprecate "#" argument format without PY_SSIZE_T_CLEAN #80562

Closed

Description

@methane
BPO 36381
Nosy @vstinner, @methane, @serhiy-storchaka
PRs
  • bpo-36381: warn when no PY_SSIZE_T_CLEAN #12473
  • 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 2019-03-23.12:05:28.410>
    created_at = <Date 2019-03-20.12:58:55.958>
    labels = ['extension-modules', '3.8']
    title = 'Deprecate "#" argument format without PY_SSIZE_T_CLEAN'
    updated_at = <Date 2019-03-23.12:05:28.409>
    user = 'https://github.com/methane'

    bugs.python.org fields:

    activity = <Date 2019-03-23.12:05:28.409>
    actor = 'methane'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-03-23.12:05:28.410>
    closer = 'methane'
    components = ['Extension Modules']
    creation = <Date 2019-03-20.12:58:55.958>
    creator = 'methane'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36381
    keywords = ['patch']
    message_count = 3.0
    messages = ['338466', '338474', '338672']
    nosy_count = 3.0
    nosy_names = ['vstinner', 'methane', 'serhiy.storchaka']
    pr_nums = ['12473']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue36381'
    versions = ['Python 3.8']

    Activity

    1. methane commented on Mar 20, 2019

      @methane
      MemberAuthor

      Raise warning for # use without PY_SSIZE_T_CLEAN.

      • 3.8: PendingDeprecationWarning
      • 3.9: DeprecationWarning
      • 3.10 (or 4.0): Remove PY_SSIZE_T_CLEAN and use Py_ssize_t always
    2. vstinner commented on Mar 20, 2019

      @vstinner
      Member
      • 3.8: PendingDeprecationWarning

      ... Or maybe use directly DeprecationWarning? :-)
      https://discuss.python.org/t/pendingdeprecationwarning-is-really-useful/1038

    3. changed the title [-]Preapre for mandatory PY_SSIZE_T_CLEAN[/-] [+]Deprecate "#" argument format without PY_SSIZE_T_CLEAN[/+] on Mar 20, 2019
    4. methane commented on Mar 23, 2019

      @methane
      MemberAuthor

      New changeset d3c72a2 by Inada Naoki in branch 'master':
      bpo-36381: warn when no PY_SSIZE_T_CLEAN defined (GH-12473)
      d3c72a2

    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

    No one assigned

      Labels

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions