Skip to content

Commit e5d60b7

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 0412272 commit e5d60b7

File tree

1 file changed

+133
-4
lines changed

1 file changed

+133
-4
lines changed

whatsnew/3.11.po

Lines changed: 133 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4235,7 +4235,7 @@ msgstr ""
42354235

42364236
#: ../../whatsnew/3.11.rst:2119
42374237
msgid "Building CPython now requires:"
4238-
msgstr ""
4238+
msgstr "A construção do CPython agora requer:"
42394239

42404240
#: ../../whatsnew/3.11.rst:2121
42414241
msgid ""
@@ -4245,6 +4245,11 @@ msgid ""
42454245
"(Contributed by Victor Stinner in :issue:`46656`, :issue:`45440` and :issue:"
42464246
"`46640`.)"
42474247
msgstr ""
4248+
"Um compilador `C11 <https://en.cppreference.com/w/c/11>`_. `Recursos C11 "
4249+
"opcionais <https://en.wikipedia.org/wiki/"
4250+
"C11_(C_standard_revision)#Optional_features>`_ não são necessários. "
4251+
"(Contribuição de Victor Stinner em :issue:`46656`, :issue:`45440` e :issue:"
4252+
"`46640`.)"
42484253

42494254
#: ../../whatsnew/3.11.rst:2128
42504255
msgid ""
@@ -4260,6 +4265,9 @@ msgid ""
42604265
"IEEE 754 floats, NaN values are always available. (Contributed by Victor "
42614266
"Stinner in :issue:`46656`.)"
42624267
msgstr ""
4268+
"A macro :c:macro:`!Py_NO_NAN` foi removida. Como o CPython agora requer "
4269+
"pontos flutuantes de IEEE 754, os valores NaN estão sempre disponíveis. "
4270+
"(Contribuição de Victor Stinner em :issue:`46656`.)"
42634271

42644272
#: ../../whatsnew/3.11.rst:2136
42654273
msgid ""
@@ -4330,6 +4338,12 @@ msgid ""
43304338
"(Contributed by Brett Cannon and Christian Heimes in :issue:`45548`, :issue:"
43314339
"`45570`, :issue:`45571`, and :issue:`43974`.)"
43324340
msgstr ""
4341+
"``Modules/Setup`` e ``Modules/makesetup`` foram melhorados e amarrados. "
4342+
"Módulos de extensão agora podem ser construídos através do ``makesetup``. "
4343+
"Todos, exceto alguns módulos de teste, podem ser vinculados estaticamente em "
4344+
"um binário principal ou biblioteca. (Contribuição de Brett Cannon e "
4345+
"Christian Heimes em :issue:`45548`, :issue:`45570`, :issue:`45571` e :issue:"
4346+
"`43974`.)"
43334347

43344348
#: ../../whatsnew/3.11.rst:2170
43354349
msgid ""
@@ -4338,6 +4352,10 @@ msgid ""
43384352
"libraries. The :program:`configure` options :option:`!--with-tcltk-includes` "
43394353
"and :option:`!--with-tcltk-libs` have been removed."
43404354
msgstr ""
4355+
"Use as variáveis de ambiente :envvar:`!TCLTK_CFLAGS` e :envvar:`!TCLTK_LIBS` "
4356+
"para especificar manualmente a localização dos cabeçalhos e bibliotecas Tcl/"
4357+
"Tk. As opções :program:`configure` :option:`!--with-tcltk-includes` e :"
4358+
"option:`!--with-tcltk-libs` foram removidas."
43414359

43424360
#: ../../whatsnew/3.11.rst:2176
43434361
msgid ""
@@ -4346,6 +4364,10 @@ msgid ""
43464364
"directory ``Misc/rhel7`` contains ``.pc`` files and instructions on how to "
43474365
"build Python with RHEL 7's and CentOS 7's Tcl/Tk and OpenSSL."
43484366
msgstr ""
4367+
"No RHEL 7 e CentOS 7 os pacotes de desenvolvimento não fornecem ``tcl.pc`` e "
4368+
"``tk.pc``; use ``TCLTK_LIBS=\"-ltk8.5 -ltkstub8.5 -ltcl8.5\"``. O diretório "
4369+
"``Misc/rhel7`` contém arquivos ``.pc`` e instruções sobre como construir "
4370+
"Python com RHEL 7's e CentOS 7's Tcl/Tk e OpenSSL."
43494371

43504372
#: ../../whatsnew/3.11.rst:2181
43514373
msgid ""
@@ -4358,6 +4380,14 @@ msgid ""
43584380
"may be removed at some point in the future. (Contributed by Mark Dickinson "
43594381
"in :issue:`45569`.)"
43604382
msgstr ""
4383+
"O CPython agora usará dígitos de 30 bits por padrão para a implementação de :"
4384+
"class:`int` do Python. Anteriormente, o padrão era usar dígitos de 30 bits "
4385+
"em plataformas com ``SIZEOF_VOID_P >= 8`` e, caso contrário, dígitos de 15 "
4386+
"bits. Ainda é possível solicitar explicitamente o uso de dígitos de 15 bits "
4387+
"através da opção :option:`--enable-big-digits` para o script de configuração "
4388+
"ou (para Windows) a variável ``PYLONG_BITS_IN_DIGIT`` em ``PC/pyconfig.h``, "
4389+
"mas esta opção pode ser removida em algum momento no futuro. (Contribuição "
4390+
"de Mark Dickinson em :issue:`45569`.)"
43614391

43624392
#: ../../whatsnew/3.11.rst:2194
43634393
msgid "C API Changes"
@@ -4368,12 +4398,16 @@ msgid ""
43684398
"Add a new :c:func:`PyType_GetName` function to get type's short name. "
43694399
"(Contributed by Hai Shi in :issue:`42035`.)"
43704400
msgstr ""
4401+
"Adiciona uma nova função :c:func:`PyType_GetName` para obter o nome curto do "
4402+
"tipo. (Contribuição de Hai Shi em :issue:`42035`.)"
43714403

43724404
#: ../../whatsnew/3.11.rst:2204
43734405
msgid ""
43744406
"Add a new :c:func:`PyType_GetQualName` function to get type's qualified "
43754407
"name. (Contributed by Hai Shi in :issue:`42035`.)"
43764408
msgstr ""
4409+
"Adiciona uma nova função :c:func:`PyType_GetQualName` para obter o nome "
4410+
"qualificado do tipo. (Contribuição de Hai Shi em :issue:`42035`.)"
43774411

43784412
#: ../../whatsnew/3.11.rst:2207
43794413
msgid ""
@@ -4382,19 +4416,28 @@ msgid ""
43824416
"resume tracing and profiling. (Contributed by Victor Stinner in :issue:"
43834417
"`43760`.)"
43844418
msgstr ""
4419+
"Adiciona novas funções :c:func:`PyThreadState_EnterTracing` e :c:func:"
4420+
"`PyThreadState_LeaveTracing` à API C limitada para suspender e retomar "
4421+
"rastreamento e criação de perfil. (Contribuição de Victor Stinner em :issue:"
4422+
"`43760`.)"
43854423

43864424
#: ../../whatsnew/3.11.rst:2212
43874425
msgid ""
43884426
"Added the :c:data:`Py_Version` constant which bears the same value as :c:"
43894427
"macro:`PY_VERSION_HEX`. (Contributed by Gabriele N. Tornetta in :issue:"
43904428
"`43931`.)"
43914429
msgstr ""
4430+
"Adicionada a constante :c:data:`Py_Version` que possui o mesmo valor que :c:"
4431+
"macro:`PY_VERSION_HEX`. (Contribuição de Gabriele N. Tornetta em :issue:"
4432+
"`43931`.)"
43924433

43934434
#: ../../whatsnew/3.11.rst:2216
43944435
msgid ""
43954436
":c:type:`Py_buffer` and APIs are now part of the limited API and the stable "
43964437
"ABI:"
43974438
msgstr ""
4439+
":c:type:`Py_buffer` e APIs agora fazem parte da API limitada e da ABI "
4440+
"estável:"
43984441

43994442
#: ../../whatsnew/3.11.rst:2219
44004443
msgid ":c:func:`PyObject_CheckBuffer`"
@@ -4449,10 +4492,12 @@ msgid ""
44494492
":c:member:`~PyBufferProcs.bf_getbuffer` and :c:member:`~PyBufferProcs."
44504493
"bf_releasebuffer` type slots"
44514494
msgstr ""
4495+
"Slotes de tipo :c:member:`~PyBufferProcs.bf_getbuffer` e :c:member:"
4496+
"`~PyBufferProcs.bf_releasebuffer`"
44524497

44534498
#: ../../whatsnew/3.11.rst:2234
44544499
msgid "(Contributed by Christian Heimes in :issue:`45459`.)"
4455-
msgstr ""
4500+
msgstr "(Contribuição de Christian Heimes em :issue:`45459`.)"
44564501

44574502
#: ../../whatsnew/3.11.rst:2236
44584503
msgid ""
@@ -4461,6 +4506,10 @@ msgid ""
44614506
"available directly (via :c:type:`PyCMethod`). (Contributed by Petr Viktorin "
44624507
"in :issue:`46613`.)"
44634508
msgstr ""
4509+
"Adicionada a função :c:data:`PyType_GetModuleByDef`, utilizada para obter o "
4510+
"módulo no qual um método foi definido, nos casos em que esta informação não "
4511+
"está disponível diretamente (via :c:type:`PyCMethod`). (Contribuição de Petr "
4512+
"Viktorin em :issue:`46613`.)"
44644513

44654514
#: ../../whatsnew/3.11.rst:2241
44664515
msgid ""
@@ -4469,13 +4518,20 @@ msgid ""
44694518
"func:`PyFloat_Unpack2`, :c:func:`PyFloat_Unpack4` and :c:func:"
44704519
"`PyFloat_Unpack8`. (Contributed by Victor Stinner in :issue:`46906`.)"
44714520
msgstr ""
4521+
"Adiciona novas funções para compactar e descompactar double C (serializar e "
4522+
"desserializar): :c:func:`PyFloat_Pack2`, :c:func:`PyFloat_Pack4`, :c:func:"
4523+
"`PyFloat_Pack8`, :c:func:`PyFloat_Unpack2` , :c:func:`PyFloat_Unpack4` e :c:"
4524+
"func:`PyFloat_Unpack8`. (Contribuição de Victor Stinner em :issue:`46906`.)"
44724525

44734526
#: ../../whatsnew/3.11.rst:2247
44744527
msgid ""
44754528
"Add new functions to get frame object attributes: :c:func:"
44764529
"`PyFrame_GetBuiltins`, :c:func:`PyFrame_GetGenerator`, :c:func:"
44774530
"`PyFrame_GetGlobals`, :c:func:`PyFrame_GetLasti`."
44784531
msgstr ""
4532+
"Adiciona novas funções para obter atributos do objeto quadro: :c:func:"
4533+
"`PyFrame_GetBuiltins`, :c:func:`PyFrame_GetGenerator`, :c:func:"
4534+
"`PyFrame_GetGlobals`, :c:func:`PyFrame_GetLasti`."
44794535

44804536
#: ../../whatsnew/3.11.rst:2251
44814537
msgid ""
@@ -4485,12 +4541,20 @@ msgid ""
44854541
"`PyErr_GetExcInfo()` which work with the legacy 3-tuple representation of "
44864542
"exceptions. (Contributed by Irit Katriel in :issue:`46343`.)"
44874543
msgstr ""
4544+
"Adicionadas duas novas funções para obter e definir a instância de exceção "
4545+
"ativa: :c:func:`PyErr_GetHandledException` e :c:func:"
4546+
"`PyErr_SetHandledException`. Estas são alternativas para :c:func:"
4547+
"`PyErr_SetExcInfo()` e :c:func:`PyErr_GetExcInfo()` que funcionam com a "
4548+
"representação de tuplas de 3 elementos legadas de exceções. (Contribuição de "
4549+
"Irit Katriel em :issue:`46343`.)"
44884550

44894551
#: ../../whatsnew/3.11.rst:2258
44904552
msgid ""
44914553
"Added the :c:member:`PyConfig.safe_path` member. (Contributed by Victor "
44924554
"Stinner in :gh:`57684`.)"
44934555
msgstr ""
4556+
"Adicionada o membro :c:member:`PyConfig.safe_path`. (Contribuição de Victor "
4557+
"Stinner em :gh:`57684`.)"
44944558

44954559
#: ../../whatsnew/3.11.rst:2269
44964560
msgid ""
@@ -4503,6 +4567,15 @@ msgid ""
45034567
"expected types. See :pep:`670` for more details. (Contributed by Victor "
45044568
"Stinner and Erlend E. Aasland in :gh:`89653`.)"
45054569
msgstr ""
4570+
"Algumas macros foram convertidas em funções inline estáticas para evitar "
4571+
"`armadilhas de macro <https://gcc.gnu.org/onlinedocs/cpp/Macro-Pitfalls."
4572+
"html>`_. A alteração deve ser transparente para os usuários, pois as funções "
4573+
"de substituição converterão seus argumentos para os tipos esperados para "
4574+
"evitar avisos do compilador devido a verificações de tipo estático. No "
4575+
"entanto, quando a API C limitada é definida como >=3.11, essas conversões "
4576+
"não são feitas e os chamadores precisarão converter argumentos para seus "
4577+
"tipos esperados. Veja :pep:`670` para mais detalhes. (Contribuição de Victor "
4578+
"Stinner e Erlend E. Aasland em :gh:`89653`.)"
45064579

45074580
#: ../../whatsnew/3.11.rst:2280
45084581
msgid ""
@@ -4511,13 +4584,20 @@ msgid ""
45114584
"instance (the ``value`` argument). The function still steals references of "
45124585
"all three arguments. (Contributed by Irit Katriel in :issue:`45711`.)"
45134586
msgstr ""
4587+
":c:func:`PyErr_SetExcInfo()` não usa mais os argumentos ``type`` e "
4588+
"``traceback``, o interpretador agora deriva esses valores da instância de "
4589+
"exceção (o argumento ``value``). A função ainda rouba referências de todos "
4590+
"os três argumentos. (Contribuição de Irit Katriel em :issue:`45711`.)"
45144591

45154592
#: ../../whatsnew/3.11.rst:2286
45164593
msgid ""
45174594
":c:func:`PyErr_GetExcInfo()` now derives the ``type`` and ``traceback`` "
45184595
"fields of the result from the exception instance (the ``value`` field). "
45194596
"(Contributed by Irit Katriel in :issue:`45711`.)"
45204597
msgstr ""
4598+
":c:func:`PyErr_GetExcInfo()` agora deriva os campos ``type`` e ``traceback`` "
4599+
"do resultado da instância de exceção (o campo ``value``). (Contribuição de "
4600+
"Irit Katriel em :issue:`45711`.)"
45214601

45224602
#: ../../whatsnew/3.11.rst:2290
45234603
msgid ""
@@ -4526,13 +4606,20 @@ msgid ""
45264606
"``size`` field was the indicator. Now only non-negative values be used for "
45274607
"``size``. (Contributed by Kumar Aditya in :issue:`46608`.)"
45284608
msgstr ""
4609+
":c:struct:`_frozen` tem um novo campo ``is_package`` para indicar se o "
4610+
"módulo frozen é ou não um pacote. Anteriormente, um valor negativo no campo "
4611+
"``size`` era o indicador. Agora apenas valores não negativos serão usados "
4612+
"para ``size``. (Contribuição de Kumar Aditya em :issue:`46608`.)"
45294613

45304614
#: ../../whatsnew/3.11.rst:2296
45314615
msgid ""
45324616
":c:func:`_PyFrameEvalFunction` now takes ``_PyInterpreterFrame*`` as its "
45334617
"second parameter, instead of ``PyFrameObject*``. See :pep:`523` for more "
45344618
"details of how to use this function pointer type."
45354619
msgstr ""
4620+
":c:func:`_PyFrameEvalFunction` agora usa ``_PyInterpreterFrame*`` como seu "
4621+
"segundo parâmetro, em vez de ``PyFrameObject*``. Veja :pep:`523` para mais "
4622+
"detalhes de como usar este tipo de ponteiro de função."
45364623

45374624
#: ../../whatsnew/3.11.rst:2300
45384625
msgid ""
@@ -4542,6 +4629,11 @@ msgid ""
45424629
"object using the compiler, then get a modified version with the ``replace`` "
45434630
"method."
45444631
msgstr ""
4632+
":c:func:`PyCode_New` e :c:func:`PyCode_NewWithPosOnlyArgs` agora recebem um "
4633+
"argumento adicional ``exception_table``. O uso dessas funções deve ser "
4634+
"evitado, se possível. Para obter um objeto código personalizado: crie um "
4635+
"objeto código usando o compilador e obtenha uma versão modificada com o "
4636+
"método ``replace``."
45454637

45464638
#: ../../whatsnew/3.11.rst:2306
45474639
msgid ""
@@ -4552,34 +4644,48 @@ msgid ""
45524644
"(Contributed by Brandt Bucher in :issue:`46841` and Ken Jin in :gh:`92154` "
45534645
"and :gh:`94936`.)"
45544646
msgstr ""
4647+
":c:type:`PyCodeObject` não possui mais os campos ``co_code``, "
4648+
"``co_varnames``, ``co_cellvars`` e ``co_freevars``. Em vez disso, use :c:"
4649+
"func:`PyCode_GetCode`, :c:func:`PyCode_GetVarnames`, :c:func:"
4650+
"`PyCode_GetCellvars` e :c:func:`PyCode_GetFreevars` respectivamente para "
4651+
"acessá-los por meio da API C. (Contribuição de Brandt Bucher em :issue:"
4652+
"`46841` e Ken Jin em :gh:`92154` e :gh:`94936`.)"
45554653

45564654
#: ../../whatsnew/3.11.rst:2314
45574655
msgid ""
45584656
"The old trashcan macros (``Py_TRASHCAN_SAFE_BEGIN``/"
45594657
"``Py_TRASHCAN_SAFE_END``) are now deprecated. They should be replaced by the "
45604658
"new macros ``Py_TRASHCAN_BEGIN`` and ``Py_TRASHCAN_END``."
45614659
msgstr ""
4660+
"As antigas macros trashcan (``Py_TRASHCAN_SAFE_BEGIN``/"
4661+
"``Py_TRASHCAN_SAFE_END``) foram descontinuadas. Elas devem ser substituídas "
4662+
"pelas novas macros ``Py_TRASHCAN_BEGIN`` e ``Py_TRASHCAN_END``."
45624663

45634664
#: ../../whatsnew/3.11.rst:2318
45644665
msgid "A tp_dealloc function that has the old macros, such as::"
4565-
msgstr ""
4666+
msgstr "Uma função tp_dealloc que possui as macros antigas, como::"
45664667

45674668
#: ../../whatsnew/3.11.rst:2329
45684669
msgid "should migrate to the new macros as follows::"
4569-
msgstr ""
4670+
msgstr "deve migrar para as novas macros da seguinte forma::"
45704671

45714672
#: ../../whatsnew/3.11.rst:2340
45724673
msgid ""
45734674
"Note that ``Py_TRASHCAN_BEGIN`` has a second argument which should be the "
45744675
"deallocation function it is in."
45754676
msgstr ""
4677+
"Observe que ``Py_TRASHCAN_BEGIN`` tem um segundo argumento que deve ser a "
4678+
"função de desalocação em que está."
45764679

45774680
#: ../../whatsnew/3.11.rst:2343
45784681
msgid ""
45794682
"To support older Python versions in the same codebase, you can define the "
45804683
"following macros and use them throughout the code (credit: these were copied "
45814684
"from the ``mypy`` codebase)::"
45824685
msgstr ""
4686+
"Para oferecer suporte a versões mais antigas do Python na mesma base de "
4687+
"código, você pode definir as seguintes macros e usá-las em todo o código "
4688+
"(crédito: elas foram copiadas da base de código do ``mypy``)::"
45834689

45844690
#: ../../whatsnew/3.11.rst:2355
45854691
msgid ""
@@ -4588,6 +4694,10 @@ msgid ""
45884694
"c:member:`PyTypeObject.tp_traverse`). (Contributed by Victor Stinner in :"
45894695
"issue:`44263`.)"
45904696
msgstr ""
4697+
"A função :c:func:`PyType_Ready` agora levanta um erro se um tipo é definido "
4698+
"com o sinalizador :const:`Py_TPFLAGS_HAVE_GC` definido, mas não tem função "
4699+
"transversal (:c:member:`PyTypeObject.tp_traverse`). (Contribuição de Victor "
4700+
"Stinner em :issue:`44263`.)"
45914701

45924702
#: ../../whatsnew/3.11.rst:2360
45934703
msgid ""
@@ -4596,6 +4706,10 @@ msgid ""
45964706
"ref:`static types <static-types>`. (Contributed by Erlend E. Aasland in :"
45974707
"issue:`43908`)"
45984708
msgstr ""
4709+
"Tipos de heap com o sinalizador :const:`Py_TPFLAGS_IMMUTABLETYPE` agora "
4710+
"podem herdar o protocolo vectorcall da :pep:`590`. Anteriormente, isso só "
4711+
"era possível para :ref:`tipos estáticos <static-types>`. (Contribuição de "
4712+
"Erlend E. Aasland em :issue:`43908`)"
45994713

46004714
#: ../../whatsnew/3.11.rst:2365
46014715
msgid ""
@@ -4604,6 +4718,11 @@ msgid ""
46044718
"new_type)``: see the :c:func:`Py_SET_TYPE()` function (available since "
46054719
"Python 3.9). For backward compatibility, this macro can be used::"
46064720
msgstr ""
4721+
"Uma vez que :c:func:`Py_TYPE()` é alterada para uma função estática inline, "
4722+
"``Py_TYPE(obj) = new_type`` deve ser substituído por ``Py_SET_TYPE(obj, "
4723+
"new_type)``: consulte a função :c:func:`Py_SET_TYPE()` (disponível desde "
4724+
"Python 3.9). Para compatibilidade com versões anteriores, esta macro pode "
4725+
"ser usada::"
46074726

46084727
#: ../../whatsnew/3.11.rst:2377 ../../whatsnew/3.11.rst:2391
46094728
msgid "(Contributed by Victor Stinner in :issue:`39573`.)"
@@ -4616,6 +4735,11 @@ msgid ""
46164735
"new_size)``: see the :c:func:`Py_SET_SIZE()` function (available since "
46174736
"Python 3.9). For backward compatibility, this macro can be used::"
46184737
msgstr ""
4738+
"Uma vez que :c:func:`Py_SIZE()` é alterada para uma função estática inline, "
4739+
"``Py_SIZE(obj) = new_size`` deve ser substituído por ``Py_SET_SIZE(obj, "
4740+
"new_size)``: veja a função :c:func:`Py_SET_SIZE()` (disponível desde Python "
4741+
"3.9). Para compatibilidade com versões anteriores, esta macro pode ser "
4742+
"usada::"
46194743

46204744
#: ../../whatsnew/3.11.rst:2393
46214745
msgid ""
@@ -4625,6 +4749,11 @@ msgid ""
46254749
"explicitly include the header files after ``#include <Python.h>``. "
46264750
"(Contributed by Victor Stinner in :issue:`45434`.)"
46274751
msgstr ""
4752+
"``<Python.h>`` não inclui mais os arquivos de cabeçalho ``<stdlib.h>``, "
4753+
"``<stdio.h>``, ``<errno.h>`` e ``<string.h>`` quando a macro "
4754+
"``Py_LIMITED_API`` é definida como ``0x030b0000`` (Python 3.11) ou superior. "
4755+
"As extensões C devem incluir explicitamente os arquivos de cabeçalho após "
4756+
"``#include <Python.h>``. (Contribuição de Victor Stinner em :issue:`45434`.)"
46284757

46294758
#: ../../whatsnew/3.11.rst:2399
46304759
msgid ""

0 commit comments

Comments
 (0)