agronholm / agronholm/cbor2

Tag values always decoded as immutable

未关闭
#296 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Rust
星标
305
派生
79
平均合并
21 小时 59 分钟
30 天内合并 PR
2

描述

### Things to check first

- [x] I have searched the existing issues and didn't find my bug already reported there

- [x] I have checked that my bug is still present in the latest release

### cbor2 version

6.0.1

### Python version

3.14.4

### What happened?

When decoding tagged maps, they are always returned as `frozendict`, regardless of the value of the `immutable` flag.

I assume this is a bug? Maybe related to #295?

### How can we reproduce the bug?

```
>>> from cbor2 import loads
>>> print(loads(bytes.fromhex("CAA10000")))
CBORTag(10, frozendict({0: 0}))
>>> print(loads(bytes.fromhex("A10000")))
{0: 0}
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。