@@ -17,7 +17,7 @@ msgid ""
1717msgstr ""
1818"Project-Id-Version : Python 3.9\n "
1919"Report-Msgid-Bugs-To : \n "
20- "POT-Creation-Date : 2024-04-19 21:47 +0000\n "
20+ "POT-Creation-Date : 2024-05-03 21:11 +0000\n "
2121"PO-Revision-Date : 2017-02-16 23:44+0000\n "
2222"
Last-Translator :
Freesand Leo <[email protected] >, 2024\n "
2323"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -218,6 +218,8 @@ msgid ""
218218" or returned incorrect results for non-contiguous or multi-dimensional input"
219219" have been fixed."
220220msgstr ""
221+ "新的 memoryview 实现全面修复了 Py_buffer 结构体中曾导致多起崩溃报告的动态分配字段的所有权和生命周期问题。 "
222+ "此外,还修复了多个函数在非连续或多维输入时崩溃或返回不正确结果的问题。"
221223
222224#: ../../whatsnew/3.3.rst:150
223225msgid ""
@@ -226,6 +228,8 @@ msgid ""
226228"of them work in full generality for non-contiguous arrays and arrays with "
227229"suboffsets."
228230msgstr ""
231+ "现在 memoryview 对象具有符合 PEP-3118 标准的 getbufferproc(),可以检查使用者的请求类型。 "
232+ "新增了许多新的特性,其中的大部分已适用于非连续数组和带有子偏移量的数组。"
229233
230234#: ../../whatsnew/3.3.rst:155
231235msgid ""
@@ -234,6 +238,8 @@ msgid ""
234238"basic and compound flags. The memory layout of non-contiguous and multi-"
235239"dimensional NumPy-style arrays is explained."
236240msgstr ""
241+ "文档已进行更新,清楚地列出了导出方和使用方的责任。 缓冲区请求旗标志被划分为基本旗标和复合旗标。 对非连续和多维的 NumPy "
242+ "风格数组的内存布局进行了说明。"
237243
238244#: ../../whatsnew/3.3.rst:161 ../../whatsnew/3.3.rst:1122
239245msgid "Features"
@@ -265,6 +271,8 @@ msgid ""
265271"One-dimensional memoryviews of hashable (read-only) types with formats B, b "
266272"or c are now hashable. (Contributed by Antoine Pitrou in :issue:`13411`.)"
267273msgstr ""
274+ "格式为 B、b 或 c 的可哈希(只读)类型的一维 memoryview 现在将是可哈希的。 (由 Antoine Pitrou 在 "
275+ ":issue:`13411` 中贡献。)"
268276
269277#: ../../whatsnew/3.3.rst:176
270278msgid ""
@@ -284,14 +292,16 @@ msgstr "官方的最大维度数量限制已更改为 64。"
284292msgid ""
285293"The representation of empty shape, strides and suboffsets is now an empty "
286294"tuple instead of ``None``."
287- msgstr ""
295+ msgstr "空形状、区间和子偏移量的表示形式现在是空元组而不是 ``None``。 "
288296
289297#: ../../whatsnew/3.3.rst:187
290298msgid ""
291299"Accessing a memoryview element with format 'B' (unsigned bytes) now returns "
292300"an integer (in accordance with the struct module syntax). For returning a "
293301"bytes object the view must be cast to 'c' first."
294302msgstr ""
303+ "现在对格式为 'B' (无符号字节型) 的 memoryview 元素的访问将返回一个整数(遵循结构体模块语法)。 "
304+ "要返回字节串对象则必须先将视图强制转换为 'c'。"
295305
296306#: ../../whatsnew/3.3.rst:191
297307msgid ""
@@ -300,11 +310,13 @@ msgid ""
300310"syntax are supported. Views with unrecognised format strings are still "
301311"permitted, but will always compare as unequal, regardless of view contents."
302312msgstr ""
313+ "现在 memoryview 比较将使用操作数的逻辑结构并会按值来比较所有数组元素。 结构体模块语法中的所有格式化字符串均受到支持。 "
314+ "带有不可识别的格式化字符串的视图仍然被允许,但无论视图内容如何比较结果总是不相等。"
303315
304316#: ../../whatsnew/3.3.rst:197
305317msgid ""
306318"For further changes see `Build and C API Changes`_ and `Porting C code`_."
307- msgstr ""
319+ msgstr "更多改变请参阅 `Build and C API Changes`_ 和 `Porting C code`_。 "
308320
309321#: ../../whatsnew/3.3.rst:199
310322msgid "(Contributed by Stefan Krah in :issue:`10181`.)"
0 commit comments