@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.12\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2025-01-03 14:53 +0000\n "
14+ "POT-Creation-Date : 2025-11-27 15:44 +0000\n "
1515"PO-Revision-Date : 2025-07-18 19:57+0000\n "
1616"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n "
1717"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -32,6 +32,9 @@ msgid ""
3232"This is a wrapper around :c:func:`PyImport_Import()` which takes a :c:expr:"
3333"`const char *` as an argument instead of a :c:expr:`PyObject *`."
3434msgstr ""
35+ "Esta é uma função auxiliar em torno de :c:func:`PyImport_Import()`, que "
36+ "recebe um :c:expr:`const char *` como argumento em vez de um :c:expr:"
37+ "`PyObject *`."
3538
3639#: ../../c-api/import.rst:21
3740msgid "This function is a deprecated alias of :c:func:`PyImport_ImportModule`."
@@ -176,6 +179,16 @@ msgid ""
176179"know that the module object is an unknown (and probably damaged with respect "
177180"to the module author's intents) state."
178181msgstr ""
182+ "Dado um nome de módulo (possivelmente no formato ``pacote.módulo``) e um "
183+ "objeto código lido de um arquivo bytecode Python ou obtido da função "
184+ "embutida :func:`compile`, carrea o módulo. Retorna uma nova referência ao "
185+ "objeto do módulo ou ``NULL`` com uma exceção definida se ocorrer um erro. "
186+ "*name* é removido de :data:`sys.modules` em casos de erro, mesmo que *name* "
187+ "já estivesse em :data:`sys.modules` na entrada de :c:func:"
188+ "`PyImport_ExecCodeModule`. Deixar módulos incompletamente inicializados em :"
189+ "data:`sys.modules` é perigoso, pois as importações desses módulos não têm "
190+ "como saber que o objeto do módulo está em um estado desconhecido (e "
191+ "provavelmente corrompido em relação às intenções do autor do módulo)."
179192
180193#: ../../c-api/import.rst:123
181194msgid ""
@@ -184,13 +197,21 @@ msgid ""
184197"will be set to the module's :attr:`!__loader__` (if set) and to an instance "
185198"of :class:`~importlib.machinery.SourceFileLoader` otherwise."
186199msgstr ""
200+ "Os atributos :attr:`~module.__spec__` e :attr:`~module.__loader__` do módulo "
201+ "serão definidos, caso ainda não estejam, com os valores apropriados. O "
202+ "carregador do spec será definido como o atributo :attr:`!__loader__` do "
203+ "módulo (se definido) e, caso contrário, como uma instância de :class:"
204+ "`~importlib.machinery.SourceFileLoader`."
187205
188206#: ../../c-api/import.rst:128
189207msgid ""
190208"The module's :attr:`~module.__file__` attribute will be set to the code "
191209"object's :attr:`~codeobject.co_filename`. If applicable, :attr:`~module."
192210"__cached__` will also be set."
193211msgstr ""
212+ "O atributo :attr:`~module.__file__` do módulo será definido para o :attr:"
213+ "`~codeobject.co_filename` do objeto código. Se aplicável, :attr:`~module."
214+ "__cached__` também será definido."
194215
195216#: ../../c-api/import.rst:132
196217msgid ""
@@ -221,12 +242,17 @@ msgid ""
221242"The setting of :attr:`~module.__cached__` and :attr:`~module.__loader__` is "
222243"deprecated. See :class:`~importlib.machinery.ModuleSpec` for alternatives."
223244msgstr ""
245+ "A configuração de :attr:`~module.__cached__` e :attr:`~module.__loader__` "
246+ "está descontinuada. Consulte :class:`~importlib.machinery.ModuleSpec` para "
247+ "alternativas."
224248
225249#: ../../c-api/import.rst:149
226250msgid ""
227251"Like :c:func:`PyImport_ExecCodeModule`, but the :attr:`~module.__file__` "
228252"attribute of the module object is set to *pathname* if it is non-``NULL``."
229253msgstr ""
254+ "Como :c:func:`PyImport_ExecCodeModule`, mas o atributo :attr:`~module."
255+ "__file__` do objeto módulo é definido como *pathname* se não for ``NULL``."
230256
231257#: ../../c-api/import.rst:152
232258msgid "See also :c:func:`PyImport_ExecCodeModuleWithPathnames`."
@@ -238,12 +264,17 @@ msgid ""
238264"attribute of the module object is set to *cpathname* if it is non-``NULL``. "
239265"Of the three functions, this is the preferred one to use."
240266msgstr ""
267+ "Como :c:func:`PyImport_ExecCodeModuleEx`, mas o atributo :attr:`~module."
268+ "__cached__` do objeto módulo é definido como *cpathname* se não for "
269+ "``NULL``. Das três funções, esta é a preferida para usar."
241270
242271#: ../../c-api/import.rst:163
243272msgid ""
244273"Setting :attr:`~module.__cached__` is deprecated. See :class:`~importlib."
245274"machinery.ModuleSpec` for alternatives."
246275msgstr ""
276+ "A configuração de :attr:`~module.__cached__` está descontinuada. Consulte :"
277+ "class:`~importlib.machinery.ModuleSpec` para alternativas."
247278
248279#: ../../c-api/import.rst:170
249280msgid ""
@@ -262,10 +293,12 @@ msgid ""
262293"Uses :func:`!imp.source_from_cache` in calculating the source path if only "
263294"the bytecode path is provided."
264295msgstr ""
296+ "Usa :func:`!imp.source_from_cache` no cálculo do caminho de origem se apenas "
297+ "o caminho do bytecode for fornecido."
265298
266299#: ../../c-api/import.rst:179
267300msgid "No longer uses the removed :mod:`!imp` module."
268- msgstr ""
301+ msgstr "Não usa mais o módulo :mod:`!imp` removido. "
269302
270303#: ../../c-api/import.rst:185
271304msgid ""
0 commit comments