@@ -1944,6 +1944,9 @@ msgid ""
19441944"and :const:`~os.O_NOFOLLOW_ANY` for macOS. (Contributed by Dong-hee Na in :"
19451945"issue:`43106`.)"
19461946msgstr ""
1947+ "Adiciona :const:`~os.O_EVTONLY`, :const:`~os.O_FSYNC`, :const:`~os."
1948+ "O_SYMLINK` e :const:`~os.O_NOFOLLOW_ANY` para macOS. (Contribuição de Dong-"
1949+ "hee Na em :issue:`43106`.)"
19471950
19481951#: ../../whatsnew/3.10.rst:1261
19491952msgid "os.path"
@@ -2078,6 +2081,9 @@ msgid ""
20782081"default instead of :mod:`pickle` protocol ``3`` when creating shelves. "
20792082"(Contributed by Zackery Spytz in :issue:`34204`.)"
20802083msgstr ""
2084+ "O módulo :mod:`shelve` agora usa :const:`pickle.DEFAULT_PROTOCOL` por padrão "
2085+ "em vez do protocolo ``3`` do :mod:`pickle` ao criar \" shelves\" . "
2086+ "(Contribuição de Zackery Spytz em :issue:`34204`.)"
20812087
20822088#: ../../whatsnew/3.10.rst:1327
20832089msgid "statistics"
@@ -2144,6 +2150,10 @@ msgid ""
21442150"issue:`38820`, :issue:`43794`, :issue:`43788`, :issue:`43791`, :issue:"
21452151"`43799`, :issue:`43920`, :issue:`43789`, and :issue:`43811`.)"
21462152msgstr ""
2153+ "O módulo ssl tem um suporte preliminar para OpenSSL 3.0.0 e a nova opção :"
2154+ "const:`~ssl.OP_IGNORE_UNEXPECTED_EOF`. (Contribuição de Christian Heimes em :"
2155+ "issue:`38820`, :issue:`43794`, :issue:`43788`, :issue:`43791`, :issue:"
2156+ "`43799`, :issue:`43920`, :issue:`43789` e :issue:`43811`.)"
21472157
21482158#: ../../whatsnew/3.10.rst:1364
21492159msgid ""
@@ -2212,6 +2222,8 @@ msgid ""
22122222"A new verify flag :const:`~ssl.VERIFY_X509_PARTIAL_CHAIN` has been added. "
22132223"(Contributed by l0x in :issue:`40849`.)"
22142224msgstr ""
2225+ "Uma nova sinalização de verificação :const:`~ssl.VERIFY_X509_PARTIAL_CHAIN` "
2226+ "foi adicionada. (Contribuição de l0x em :issue:`40849`.)"
22152227
22162228#: ../../whatsnew/3.10.rst:1394
22172229msgid "sqlite3"
@@ -2260,6 +2272,9 @@ msgid ""
22602272"simulate (the default is still :const:`signal.SIGINT`). (Contributed by "
22612273"Antoine Pitrou in :issue:`43356`.)"
22622274msgstr ""
2275+ ":func:`_thread.interrupt_main` agora aceita um número de sinal opcional para "
2276+ "simular (o padrão ainda é :const:`signal.SIGINT`). (Contribuição de Antoine "
2277+ "Pitrou em :issue:`43356`.)"
22632278
22642279#: ../../whatsnew/3.10.rst:1420
22652280msgid "threading"
@@ -2680,6 +2695,19 @@ msgid ""
26802695"appropriate to help identify code which needs updating during this "
26812696"transition."
26822697msgstr ""
2698+ "A partir desta versão, haverá um esforço concentrado para começar a limpar a "
2699+ "semântica de importação antiga que foi mantida para compatibilidade com "
2700+ "Python 2.7. Especificamente, :meth:`!find_loader`/:meth:`!find_module` "
2701+ "(substituídos por :meth:`~importlib.abc.Finder.find_spec`), :meth:"
2702+ "`~importlib.abc.Loader.load_module` (substituído por :meth:`~importlib.abc."
2703+ "Loader.exec_module`), :meth:`!module_repr` (que o sistema de importação "
2704+ "cuida para você), o atributo ``__package__`` (substituído por ``__spec__."
2705+ "parent``), o atributo ``__loader__`` (substituído por ``__spec__.loader``), "
2706+ "e o atributo ``__cached__`` ( substituído por ``__spec__.cached``) será "
2707+ "removido lentamente (assim como outras classes e métodos em :mod:"
2708+ "`importlib`). :exc:`ImportWarning` e/ou :exc:`DeprecationWarning` será "
2709+ "levantada conforme apropriado para ajudar a identificar o código que precisa "
2710+ "ser atualizado durante esta transição."
26832711
26842712#: ../../whatsnew/3.10.rst:1625
26852713msgid ""
@@ -2744,6 +2772,13 @@ msgid ""
27442772"respectively. You can use :func:`importlib.util.spec_from_loader` to help in "
27452773"porting. (Contributed by Brett Cannon in :issue:`42134`.)"
27462774msgstr ""
2775+ "O uso de :meth:`!importlib.abc.MetaPathFinder.find_module` e :meth:`!"
2776+ "importlib.abc.PathEntryFinder.find_module` pelo sistema de importação agora "
2777+ "dispara uma exceção :exc:`ImportWarning`, pois :meth:`importlib.abc."
2778+ "MetaPathFinder.find_spec` e :meth:`importlib.abc.PathEntryFinder.find_spec` "
2779+ "são preferidos, respectivamente. Você pode usar :func:`importlib.util."
2780+ "spec_from_loader` para ajudar no port. (Contribuição de Brett Cannon em :"
2781+ "issue:`42134`.)"
27472782
27482783#: ../../whatsnew/3.10.rst:1657
27492784msgid ""
@@ -2753,6 +2788,11 @@ msgid ""
27532788"spec_from_loader` to help in porting. (Contributed by Brett Cannon in :issue:"
27542789"`43672`.)"
27552790msgstr ""
2791+ "O uso de :meth:`!importlib.abc.PathEntryFinder.find_loader` pelo sistema de "
2792+ "importação agora dispara uma exceção :exc:`ImportWarning`, pois :meth:"
2793+ "`importlib.abc.PathEntryFinder.find_spec` é preferido. Você pode usar :func:"
2794+ "`importlib.util.spec_from_loader` para ajudar no port. (Contribuição de "
2795+ "Brett Cannon em :issue:`43672`.)"
27562796
27572797#: ../../whatsnew/3.10.rst:1663
27582798msgid ""
@@ -2768,6 +2808,18 @@ msgid ""
27682808"removal in Python 3.12 (previously they were documented as deprecated in "
27692809"Python 3.4). (Contributed by Brett Cannon in :issue:`42135`.)"
27702810msgstr ""
2811+ "As várias implementações de :meth:`!importlib.abc.MetaPathFinder."
2812+ "find_module` ( :meth:`!importlib.machinery.BuiltinImporter.find_module`, :"
2813+ "meth:`!importlib.machinery.FrozenImporter.find_module`, :meth:`!importlib."
2814+ "machinery.WindowsRegistryFinder.find_module`, :meth:`!importlib.machinery."
2815+ "PathFinder.find_module`, :meth:`!importlib.abc.MetaPathFinder."
2816+ "find_module` ), :meth:`!importlib.abc.PathEntryFinder.find_module` (:meth:`!"
2817+ "importlib.machinery.FileFinder.find_module` ) e :meth:`!importlib.abc."
2818+ "PathEntryFinder.find_loader` ( :meth:`!importlib.machinery.FileFinder."
2819+ "find_loader` ) agora levantam :exc:`DeprecationWarning` e estão programadas "
2820+ "para remoção no Python 3.12 (anteriormente, eles foram documentados como "
2821+ "descontinuados no Python 3.4). (Contribuição de Brett Cannon em :issue:"
2822+ "`42135`.)"
27712823
27722824#: ../../whatsnew/3.10.rst:1678
27732825msgid ""
@@ -2777,6 +2829,11 @@ msgid ""
27772829"should inherit from one of these two classes as appropriate instead. "
27782830"(Contributed by Brett Cannon in :issue:`42135`.)"
27792831msgstr ""
2832+ ":class:`!importlib.abc.Finder` foi descontinuada (incluindo seu único "
2833+ "método, :meth:`!find_module`). :class:`importlib.abc.MetaPathFinder` e :"
2834+ "class:`importlib.abc.PathEntryFinder` não mais herdam da classe. Usuários "
2835+ "devem herdar de uma dessas duas classes conforme apropriado. (Contribuição "
2836+ "de Brett Cannon em :issue:`42135`.)"
27802837
27812838#: ../../whatsnew/3.10.rst:1685
27822839msgid ""
@@ -2788,6 +2845,13 @@ msgid ""
27882845"exc:`DeprecationWarning` in previous versions of Python). (Contributed by "
27892846"Brett Cannon in :issue:`43720`.)"
27902847msgstr ""
2848+ "As descontinuações de :mod:`!imp`, :func:`!importlib.find_loader`, :func:`!"
2849+ "importlib.util.set_package_wrapper`, :func:`!importlib.util."
2850+ "set_loader_wrapper`, :func:`!importlib.util.module_for_loader`, :class:`!"
2851+ "pkgutil.ImpImporter` e :class:`!pkgutil.ImpLoader` foram todas atualizadas "
2852+ "para listar Python 3.12 como a versão programada para remoção (elas "
2853+ "começaram a levantar :exc:`DeprecationWarning` em versões anteriores do "
2854+ "Python). (Contribuição de Brett Cannon em :issue:`43720`.)"
27912855
27922856#: ../../whatsnew/3.10.rst:1695
27932857msgid ""
@@ -2796,6 +2860,10 @@ msgid ""
27962860"Removal of the use of ``module_repr()`` is scheduled for Python 3.12. "
27972861"(Contributed by Brett Cannon in :issue:`42137`.)"
27982862msgstr ""
2863+ "O sistema de importação agora usa o atributo ``__spec__`` em módulos antes "
2864+ "de recorrer a :meth:`!module_repr` para um método ``__repr__()`` do módulo. "
2865+ "A remoção do uso de ``module_repr()`` está programado para Python 3.12. "
2866+ "(Contribuição de Brett Cannon em :issue:`42137`.)"
27992867
28002868#: ../../whatsnew/3.10.rst:1701
28012869msgid ""
@@ -2804,6 +2872,10 @@ msgid ""
28042872"module_repr` are deprecated and slated for removal in Python 3.12. "
28052873"(Contributed by Brett Cannon in :issue:`42136`.)"
28062874msgstr ""
2875+ ":meth:`!importlib.abc.Loader.module_repr`, :meth:`!importlib.machinery."
2876+ "FrozenLoader.module_repr` e :meth:`!importlib.machinery.BuiltinLoader."
2877+ "module_repr` foram descontinuadas e programadas para remoção no Python 3.12. "
2878+ "(Contribuição de Brett Cannon em :issue:`42136`.)"
28072879
28082880#: ../../whatsnew/3.10.rst:1707
28092881msgid ""
@@ -2922,6 +2994,11 @@ msgid ""
29222994"PROTOCOL_TLS` are deprecated in favor of :const:`~ssl.PROTOCOL_TLS_CLIENT` "
29232995"and :const:`~ssl.PROTOCOL_TLS_SERVER`"
29242996msgstr ""
2997+ ":data:`~ssl.PROTOCOL_SSLv2`, :data:`~ssl.PROTOCOL_SSLv3`, :data:`~ssl."
2998+ "PROTOCOL_SSLv23`, :data:`~ssl.PROTOCOL_TLSv1`, :data:`~ssl."
2999+ "PROTOCOL_TLSv1_1`, :data:`~ssl.PROTOCOL_TLSv1_2` e :const:`~ssl."
3000+ "PROTOCOL_TLS` foram descontinuados em favor de :const:`~ssl."
3001+ "PROTOCOL_TLS_CLIENT` e :const:`~ssl.PROTOCOL_TLS_SERVER`"
29253002
29263003#: ../../whatsnew/3.10.rst:1763
29273004msgid ""
@@ -3693,13 +3770,20 @@ msgid ""
36933770"Add a new :c:macro:`Py_TPFLAGS_DISALLOW_INSTANTIATION` type flag to disallow "
36943771"creating type instances. (Contributed by Victor Stinner in :issue:`43916`.)"
36953772msgstr ""
3773+ "Adiciona um novo sinalizador de tipo :c:macro:"
3774+ "`Py_TPFLAGS_DISALLOW_INSTANTIATION` para impedir a criação de instâncias de "
3775+ "tipo. (Contribuição de Victor Stinner em :issue:`43916`.)"
36963776
36973777#: ../../whatsnew/3.10.rst:2131
36983778msgid ""
36993779"Add a new :c:macro:`Py_TPFLAGS_IMMUTABLETYPE` type flag for creating "
37003780"immutable type objects: type attributes cannot be set nor deleted. "
37013781"(Contributed by Victor Stinner and Erlend E. Aasland in :issue:`43908`.)"
37023782msgstr ""
3783+ "Adiciona um novo sinalizador de tipo :c:macro:`Py_TPFLAGS_IMMUTABLETYPE` "
3784+ "para criar objetos de tipo imutável: atributos de tipo não podem ser "
3785+ "definidos nem excluídos. (Contribuição de Victor Stinner e Erlend E. Aasland "
3786+ "em :issue:`43908`.)"
37033787
37043788#: ../../whatsnew/3.10.rst:2138
37053789msgid ""
@@ -3821,6 +3905,11 @@ msgid ""
38213905"is set instead. (Contributed by Victor Stinner and Erlend E. Aasland in :"
38223906"issue:`43908`.)"
38233907msgstr ""
3908+ "Use o sinalizador de tipo :c:macro:`Py_TPFLAGS_IMMUTABLETYPE` para criar "
3909+ "objetos de tipo imutável. Não confie em :c:macro:`Py_TPFLAGS_HEAPTYPE` para "
3910+ "decidir se um objeto de tipo é mutável ou não; verifique se :c:macro:"
3911+ "`Py_TPFLAGS_IMMUTABLETYPE` está definido. (Contribuição de Victor Stinner e "
3912+ "Erlend E. Aasland em :issue:`43908`.)"
38243913
38253914#: ../../whatsnew/3.10.rst:2196
38263915msgid ""
0 commit comments