Python 3.8.0 正式发布

栏目: 软件资讯 · 发布时间: 5年前

内容简介:Python 3.8.0 正式发布了,以下是主要更新内容: PEP 572, 赋值表达式 PEP 570, 仅位置参数 PEP 587, Python 初始化配置(改进嵌入) PEP 590, Vectorcall:CPython 的快速调用协议 PEP 578, 运行时审核挂钩 PEP ...

Python 3.8.0 正式发布了,以下是主要更新内容:

  • PEP 572, 赋值表达式
  • PEP 570, 仅位置参数
  • PEP 587, Python 初始化配置(改进嵌入)
  • PEP 590, Vectorcall:CPython 的快速调用协议
  • PEP 578, 运行时审核挂钩
  • PEP 574, 带外数据的 Pickle 协议 5
  • Typing 相关:PEP 591PEP 586PEP 589
  • 并行文件系统缓存,用于编译的字节码
  • 调试版本与发行版本共享 ABI
  • f 字符串支持一个方便的 = 说明符进行调试
  • continue 现在在 finally: 块中
  • 在 Windows 上,默认的异步事件循环现在是 ProactorEventLoop
  • 在 macOS 上,默认情况下现在在多处理中使用 spawn start 方法
  • 现在,多处理(multiprocessing)可以使用共享内存段
  • typed_ast 合并回 CPython
  • LOAD_GLOBAL 现在快了 40%
  • pickle 现在默认使用协议 4,提高了性能

更新说明:https://www.python.org/downloads/release/python-380/


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

The Practice of Programming

The Practice of Programming

Brian W. Kernighan、Rob Pike / Addison-Wesley / 1999-2-14 / USD 49.99

With the same insight and authority that made their book The Unix Programming Environment a classic, Brian Kernighan and Rob Pike have written The Practice of Programming to help make individual progr......一起来看看 《The Practice of Programming》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具