Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sending str via channel caused truncate on last character #85011

Closed
aisk mannequin opened this issue May 31, 2020 · 4 comments
Closed

sending str via channel caused truncate on last character #85011

aisk mannequin opened this issue May 31, 2020 · 4 comments
Labels
3.8 only security fixes 3.9 only security fixes topic-subinterpreters type-bug An unexpected behavior, bug, or error

Comments

@aisk
Copy link
Mannequin

aisk mannequin commented May 31, 2020

BPO 40834
Nosy @ericsnowcurrently, @aisk, @miss-islington
PRs
  • bpo-40834: Fix truncate when sending str object with channel #20555
  • [3.9] bpo-40834: Fix truncate when sending str object with channel (GH-20555) #20852
  • [3.8] bpo-40834: Fix truncate when sending str object with channel (GH-20555) #20853
  • Files
  • test.py
  • 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 2020-06-13.12:30:13.500>
    created_at = <Date 2020-05-31.15:45:42.972>
    labels = ['expert-subinterpreters', 'type-bug', '3.8', '3.9']
    title = 'sending str via channel caused truncate on last character'
    updated_at = <Date 2020-06-13.12:44:54.287>
    user = 'https://github.com/aisk'

    bugs.python.org fields:

    activity = <Date 2020-06-13.12:44:54.287>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-06-13.12:30:13.500>
    closer = 'cheryl.sabella'
    components = ['Subinterpreters']
    creation = <Date 2020-05-31.15:45:42.972>
    creator = 'asaka'
    dependencies = []
    files = ['49204']
    hgrepos = []
    issue_num = 40834
    keywords = ['patch']
    message_count = 4.0
    messages = ['370487', '371453', '371454', '371455']
    nosy_count = 3.0
    nosy_names = ['eric.snow', 'asaka', 'miss-islington']
    pr_nums = ['20555', '20852', '20853']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue40834'
    versions = ['Python 3.8', 'Python 3.9']

    @aisk
    Copy link
    Mannequin Author

    aisk mannequin commented May 31, 2020

    Sending a str object for example "asdf" via channel, the received str object turn into "asd".

    The attachment file test.py can re-produce this issue, with python3.8 and 3.9a1.

    @aisk aisk mannequin added 3.8 only security fixes 3.9 only security fixes topic-subinterpreters type-bug An unexpected behavior, bug, or error labels May 31, 2020
    @miss-islington
    Copy link
    Contributor

    New changeset 29c1172 by An Long in branch 'master':
    bpo-40834: Fix truncate when sending str object with channel (GH-20555)
    29c1172

    @miss-islington
    Copy link
    Contributor

    New changeset 94bb4b7 by Miss Islington (bot) in branch '3.9':
    bpo-40834: Fix truncate when sending str object with channel (GH-20555)
    94bb4b7

    @miss-islington
    Copy link
    Contributor

    New changeset 26db10a by Miss Islington (bot) in branch '3.8':
    bpo-40834: Fix truncate when sending str object with channel (GH-20555)
    26db10a

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.8 only security fixes 3.9 only security fixes topic-subinterpreters type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants