Skip to content

When using python -bb, struct.calcsize raises a warning when used with str argument after being used with bytes (might be a larger problem with dicts) #85943

Description

@tadeu
mannequin
BPO 41777
Nosy @mdickinson, @meadori, @serhiy-storchaka, @The-Compiler, @tadeu

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 = None
created_at = <Date 2020-09-13.13:23:48.243>
labels = ['interpreter-core', '3.8', 'type-bug', 'library']
title = 'When using `python -bb`, `struct.calcsize` raises a warning when used with str argument after being used with bytes (might be a larger problem with dicts)'
updated_at = <Date 2020-09-13.14:24:57.143>
user = 'https://github.com/tadeu'

bugs.python.org fields:

activity = <Date 2020-09-13.14:24:57.143>
actor = 'The Compiler'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core', 'Library (Lib)']
creation = <Date 2020-09-13.13:23:48.243>
creator = 'tadeu'
dependencies = []
files = []
hgrepos = []
issue_num = 41777
keywords = []
message_count = 4.0
messages = ['376836', '376837', '376838', '376839']
nosy_count = 5.0
nosy_names = ['mark.dickinson', 'meador.inge', 'serhiy.storchaka', 'The Compiler', 'tadeu']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue41777'
versions = ['Python 3.8']

Linked PRs

Activity

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

    3.8 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions