Python 3.13.0 beta 4
发布日期:2024-07-18
测试
- [gh-121084]:修复 test_typing 的随机泄漏问题。运行 refleaks 测试(-R 选项)时清理 typing ABC 缓存:在 typing 抽象类及其子类上调用 _abc_caches_clear()。Victor Stinner 补丁。
- [gh-121160]:为 [
readline.set_history_length()] 添加测试。注意该测试在部分 readline 库下可能失败。 - [gh-121200]:修复 test_posixpath 的 test_expanduser_pwd2()。调用 getpwnam() 获取 pw_dir,因其可能与 getpwall() 不同。Victor Stinner 补丁。
- [gh-121188]:生成 JUnit XML 文件时,regrtest 现在会转义 XML 不合法字符(如 ANSI 转义序列用的 chr(27) 控制字符)。Victor Stinner 补丁。
标准库
- [gh-57141]:[
filecmp.dircmp] 的 shallow 参数(3.13 新增)现在为仅限关键字参数。 - [gh-121245]:简化 site.register_readline() 辅助函数的历史文
订阅专栏 解锁全文
1025

被折叠的 条评论
为什么被折叠?



