55#
66# Translators:
77# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
8+ # python-doc bot, 2025
89#
910#, fuzzy
1011msgid ""
1112msgstr ""
1213"Project-Id-Version : Python 3.12\n "
1314"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2025-01-03 14:53 +0000\n "
15+ "POT-Creation-Date : 2025-09-23 15:37 +0000\n "
1516"PO-Revision-Date : 2025-07-18 19:58+0000\n "
16- "Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com> , 2025\n "
17+ "Last-Translator : python-doc bot , 2025\n "
1718"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
1819"teams/5390/pt_BR/)\n "
1920"Language : pt_BR\n "
@@ -56,6 +57,16 @@ msgid ""
5657"guaranteed, and pickle supports a substantially wider range of objects than "
5758"marshal."
5859msgstr ""
60+ "Este não é um módulo de \" persistência\" geral. Para persistência geral e "
61+ "transferência de objetos Python através de chamadas RPC, veja os módulos :"
62+ "mod:`pickle` e :mod:`shelve`. O módulo :mod:`marshal` existe principalmente "
63+ "para ter suporte à leitura e escrita do código \" pseudocompilado\" para "
64+ "módulos Python de arquivos :file:`.pyc`. Portanto, os mantenedores do Python "
65+ "se reservam o direito de modificar o formato do marshal de maneiras "
66+ "incompatíveis com versões anteriores, caso seja necessário. Se você estiver "
67+ "serializando e desserializando objetos Python, use o módulo :mod:`pickle` -- "
68+ "o desempenho é comparável, a independência de versão é garantida e pickle "
69+ "tem suporte a uma gama substancialmente maior de objetos do que marshal."
5970
6071#: ../../library/marshal.rst:33
6172msgid ""
@@ -109,6 +120,9 @@ msgid ""
109120"written to the file. The object will not be properly read back by :func:"
110121"`load`."
111122msgstr ""
123+ "Se o valor tem (ou contém um objeto que tem) um tipo não suportado, uma "
124+ "exceção :exc:`ValueError` é levantada -- mas dados de lixo também serão "
125+ "gravados no arquivo. O objeto não será lido corretamente por :func:`load`."
112126
113127#: ../../library/marshal.rst:66
114128msgid ""
@@ -133,6 +147,11 @@ msgid ""
133147"format), raise :exc:`EOFError`, :exc:`ValueError` or :exc:`TypeError`. The "
134148"file must be a readable :term:`binary file`."
135149msgstr ""
150+ "Lê um valor do arquivo aberto e retorna-o. Se nenhum valor válido for lido "
151+ "(por exemplo, porque os dados têm um formato de empacotamento incompatível "
152+ "com uma versão diferente do Python), levanta :exc:`EOFError`, :exc:"
153+ "`ValueError` ou :exc:`TypeError`. O arquivo deve ser um :term:`arquivo "
154+ "binário` legível."
136155
137156#: ../../library/marshal.rst:79
138157msgid ""
@@ -165,6 +184,10 @@ msgid ""
165184"file)``. The value must be a supported type. Raise a :exc:`ValueError` "
166185"exception if value has (or contains an object that has) an unsupported type."
167186msgstr ""
187+ "Retorna o objeto bytes que seria escrito em um arquivo por ``dump(value, "
188+ "file)``. O valor deve ser um tipo compatível. Levanta uma exceção :exc:"
189+ "`ValueError` se o valor tem (ou contém um objeto que tem) um tipo não "
190+ "suportado."
168191
169192#: ../../library/marshal.rst:98
170193msgid ""
@@ -180,6 +203,9 @@ msgid ""
180203"found, raise :exc:`EOFError`, :exc:`ValueError` or :exc:`TypeError`. Extra "
181204"bytes in the input are ignored."
182205msgstr ""
206+ "Converte o :term:`objeto byte ou similar` em um valor. Se nenhum valor "
207+ "válido for encontrado, levanta :exc:`EOFError`, :exc:`ValueError` ou :exc:"
208+ "`TypeError`. Bytes extras na entrada são ignorados."
183209
184210#: ../../library/marshal.rst:110
185211msgid ""
0 commit comments