为什么 python {:016X} .format() 说明符在 Brython 中不允许大于 2**52 的大小?

Why does the python {:016X} .format() specifier not allow sizes greater than 2**52 in Brython?

我应该能够将最大为 (2**64)-1 的值转换为零填充的 16 进制半字节字符串...那么为什么当我起床时会出现以下错误尺寸超过 2**52?

>>> a = "{:016X}".format(2**52)
>>> a = "{:016X}".format(2**53)
Traceback (most recent call last):
  File <string>, line 1, in <module>
TypeError: non-empty format string passed to object.__format__

这是否与 Brython 的限制有关,Brython 正在将内容转换为 javascript? (因为我在 Brython REPL here 中遇到了这个错误,但在本地普通 Python3 REPL 中却没有)

看起来开发人员确认这是一个错误: https://github.com/brython-dev/brython/issues/1624