Her boss emailed: "Latency down 80%. Costs down 60%. What did you change?"

divide("10", 2) # TypeError at runtime, not just in linter divide(10, 0) # Still raises ZeroDivisionError, but type is checked first

But for one glorious week, Python devs everywhere felt like wizards. As midnight approached, the final bombshell dropped: PEP 748 – Runtime-Validated Types .

She typed:

It was December 3rd. Release day.

举报文章问题

×
  • 营销广告
  • 重复、旧闻
  • 格式问题
  • 低俗
  • 标题夸张
  • 与事实不符
  • 疑似抄袭
  • 我有话要说
确定 取消

举报评论问题

×
  • 淫秽色情
  • 营销广告
  • 恶意攻击谩骂
  • 我要吐槽
确定 取消

用户登录×

请输入用户名/手机/邮箱

请输入密码