@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.13\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2025-09-17 03:50 +0000\n "
15+ "POT-Creation-Date : 2025-11-09 14:58 +0000\n "
1616"PO-Revision-Date : 2025-09-15 01:03+0000\n "
1717"
Last-Translator :
Rafael Fontenelle <[email protected] >, 2025\n "
1818"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -38,63 +38,138 @@ msgstr ""
3838msgid "Hash value type: signed integer."
3939msgstr "Tipo de valor do hash: inteiro com sinal."
4040
41- #: ../../c-api/hash.rst:16
41+ #: ../../c-api/hash.rst:17
4242msgid "Hash value type: unsigned integer."
4343msgstr "Tipo de valor do hash: inteiro sem sinal."
4444
45- #: ../../c-api/hash.rst:22
45+ #: ../../c-api/hash.rst:24
46+ msgid ""
47+ "A numerical value indicating the algorithm for hashing of :class:`str`, :"
48+ "class:`bytes`, and :class:`memoryview`."
49+ msgstr ""
50+
51+ #: ../../c-api/hash.rst:27
52+ msgid "The algorithm name is exposed by :data:`sys.hash_info.algorithm`."
53+ msgstr ""
54+
55+ #: ../../c-api/hash.rst:36
56+ msgid ""
57+ "Numerical values to compare to :c:macro:`Py_HASH_ALGORITHM` to determine "
58+ "which algorithm is used for hashing. The hash algorithm can be configured "
59+ "via the configure :option:`--with-hash-algorithm` option."
60+ msgstr ""
61+
62+ #: ../../c-api/hash.rst:40
63+ msgid "Add :c:macro:`!Py_HASH_FNV` and :c:macro:`!Py_HASH_SIPHASH24`."
64+ msgstr ""
65+
66+ #: ../../c-api/hash.rst:43
67+ msgid "Add :c:macro:`!Py_HASH_SIPHASH13`."
68+ msgstr ""
69+
70+ #: ../../c-api/hash.rst:49
71+ msgid ""
72+ "Buffers of length in range ``[1, Py_HASH_CUTOFF)`` are hashed using DJBX33A "
73+ "instead of the algorithm described by :c:macro:`Py_HASH_ALGORITHM`."
74+ msgstr ""
75+
76+ #: ../../c-api/hash.rst:52
77+ msgid "A :c:macro:`!Py_HASH_CUTOFF` of 0 disables the optimization."
78+ msgstr ""
79+
80+ #: ../../c-api/hash.rst:53
81+ msgid ""
82+ ":c:macro:`!Py_HASH_CUTOFF` must be non-negative and less or equal than 7."
83+ msgstr ""
84+
85+ #: ../../c-api/hash.rst:55
86+ msgid ""
87+ "32-bit platforms should use a cutoff smaller than 64-bit platforms because "
88+ "it is easier to create colliding strings. A cutoff of 7 on 64-bit platforms "
89+ "and 5 on 32-bit platforms should provide a decent safety margin."
90+ msgstr ""
91+
92+ #: ../../c-api/hash.rst:59
93+ msgid "This corresponds to the :data:`sys.hash_info.cutoff` constant."
94+ msgstr ""
95+
96+ #: ../../c-api/hash.rst:66
4697msgid ""
4798"The `Mersenne prime <https://en.wikipedia.org/wiki/Mersenne_prime>`_ ``P = "
4899"2**n -1``, used for numeric hash scheme."
49100msgstr ""
50101"O `primo de Mersenne <https://pt.wikipedia.org/wiki/Primo_de_Mersenne>`_ ``P "
51102"= 2**n -1``, usado para esquema de hash numérico."
52103
53- #: ../../c-api/hash.rst:28
104+ #: ../../c-api/hash.rst:69
105+ msgid "This corresponds to the :data:`sys.hash_info.modulus` constant."
106+ msgstr ""
107+
108+ #: ../../c-api/hash.rst:76
54109msgid "The exponent ``n`` of ``P`` in :c:macro:`PyHASH_MODULUS`."
55110msgstr "O expoente ``n`` de ``P`` em :c:macro:`PyHASH_MODULUS`."
56111
57- #: ../../c-api/hash.rst:34
112+ #: ../../c-api/hash.rst:83
58113msgid "Prime multiplier used in string and various other hashes."
59114msgstr "Multiplicador de primo usado em strings e vários outros hashes."
60115
61- #: ../../c-api/hash.rst:40
116+ #: ../../c-api/hash.rst:90
62117msgid "The hash value returned for a positive infinity."
63118msgstr "O valor de hash retornado para um infinito positivo."
64119
65- #: ../../c-api/hash.rst:46
120+ #: ../../c-api/hash.rst:92
121+ msgid "This corresponds to the :data:`sys.hash_info.inf` constant."
122+ msgstr ""
123+
124+ #: ../../c-api/hash.rst:99
66125msgid "The multiplier used for the imaginary part of a complex number."
67126msgstr "O multiplicador usado para a parte imaginária de um número complexo."
68127
69- #: ../../c-api/hash.rst:52
128+ #: ../../c-api/hash.rst:101
129+ msgid "This corresponds to the :data:`sys.hash_info.imag` constant."
130+ msgstr ""
131+
132+ #: ../../c-api/hash.rst:108
70133msgid "Hash function definition used by :c:func:`PyHash_GetFuncDef`."
71134msgstr "Definição de função de hash usada por :c:func:`PyHash_GetFuncDef`."
72135
73- #: ../../c-api/hash.rst:56
136+ #: ../../c-api/hash.rst:112
74137msgid "Hash function."
75138msgstr "Função de hash."
76139
77- #: ../../c-api/hash.rst:60
140+ #: ../../c-api/hash.rst:116
78141msgid "Hash function name (UTF-8 encoded string)."
79142msgstr "Nome de função hash (string codificada em UTF-8)."
80143
81- #: ../../c-api/hash.rst:64
144+ #: ../../c-api/hash.rst:118
145+ msgid "This corresponds to the :data:`sys.hash_info.algorithm` constant."
146+ msgstr ""
147+
148+ #: ../../c-api/hash.rst:122
82149msgid "Internal size of the hash value in bits."
83150msgstr "Tamanho interno do valor do hash em bits."
84151
85- #: ../../c-api/hash.rst:68
152+ #: ../../c-api/hash.rst:124
153+ msgid "This corresponds to the :data:`sys.hash_info.hash_bits` constant."
154+ msgstr ""
155+
156+ #: ../../c-api/hash.rst:128
86157msgid "Size of seed input in bits."
87158msgstr "Tamanho da entrada de seed em bits."
88159
89- #: ../../c-api/hash.rst:75
160+ #: ../../c-api/hash.rst:130
161+ msgid "This corresponds to the :data:`sys.hash_info.seed_bits` constant."
162+ msgstr ""
163+
164+ #: ../../c-api/hash.rst:137
90165msgid "Get the hash function definition."
91166msgstr "Obtém a definição de função de hash."
92167
93- #: ../../c-api/hash.rst:78
168+ #: ../../c-api/hash.rst:140
94169msgid ":pep:`456` \" Secure and interchangeable hash algorithm\" ."
95170msgstr ":pep:`456` \" Algoritmo de hash seguro e intercambiável\" ."
96171
97- #: ../../c-api/hash.rst:85
172+ #: ../../c-api/hash.rst:147
98173msgid ""
99174"Hash a pointer value: process the pointer value as an integer (cast it to "
100175"``uintptr_t`` internally). The pointer is not dereferenced."
@@ -103,18 +178,18 @@ msgstr ""
103178"(converte-o para ``uintptr_t`` internamente). O ponteiro não é "
104179"desreferenciado."
105180
106- #: ../../c-api/hash.rst:88
181+ #: ../../c-api/hash.rst:150
107182msgid "The function cannot fail: it cannot return ``-1``."
108183msgstr "A função não pode falhar: ela não pode retornar ``-1``."
109184
110- #: ../../c-api/hash.rst:94
185+ #: ../../c-api/hash.rst:156
111186msgid ""
112187"Generic hashing function that is meant to be put into a type object's "
113188"``tp_hash`` slot. Its result only depends on the object's identity."
114189msgstr ""
115190"Função de hash genérica que deve ser colocada no slot ``tp_hash`` de um "
116191"objeto de tipo. Seu resultado depende apenas da identidade do objeto."
117192
118- #: ../../c-api/hash.rst:99
193+ #: ../../c-api/hash.rst:161
119194msgid "In CPython, it is equivalent to :c:func:`Py_HashPointer`."
120195msgstr "No CPython, é equivalente a :c:func:`Py_HashPointer`."
0 commit comments