Skip to content

Dictionary bug #1747

@SamuelJansen

Description

@SamuelJansen

There is a bug in python dictionaries
The following dictionary
{
1: 'first yolo',
True: 'second yolo'
}
returns
{
1: 'second yolo'
}

Tested on python 3.8.3 and python 3.9.0. Both have same issue

Some other statements below that might help see the problem

print({
1: 'yolo',
10: 2.2
})
print({
1: 'yolo',
10: 2.2,
True: False
})
print({
1: 'yolo',
True: False
})
print({
1: 'first yolo',
True: 'second yolo'
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions