Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita6a2dfa

Browse files
Update translations
1 parentdc32cb5 commita6a2dfa

File tree

4 files changed

+61
-6
lines changed

4 files changed

+61
-6
lines changed

‎howto/perf_profiling.po

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,11 @@ msgid ""
633633
"but you can change the size by passing it after a comma like ``--call-graph "
634634
"dwarf,16384``."
635635
msgstr""
636+
"Ao usar ``--call-graph dwarf``, a ferramenta ``perf`` fará snapshots da "
637+
"pilha do processo que está sendo perfilado e salvará as informações no "
638+
"arquivo ``perf.data``. Por padrão, o tamanho do dump da pilha é de 8192 "
639+
"bytes, mas você pode alterar o tamanho passando-o após uma vírgula, como ``--"
640+
"call-graph dwarf,16384``."
636641

637642
#:../../howto/perf_profiling.rst:263
638643
msgid""
@@ -642,6 +647,10 @@ msgid ""
642647
"be able to sample the process as frequently as it would like as the overhead "
643648
"will be higher."
644649
msgstr""
650+
"O tamanho do dump da pilha é importante porque, se for muito pequeno, o "
651+
"``perf`` não conseguirá desfazer o descompasso da pilha e a saída será "
652+
"incompleta. Por outro lado, se for muito grande, o ``perf`` não conseguirá "
653+
"amostrar o processo com a frequência desejada, pois a sobrecarga será maior."
645654

646655
#:../../howto/perf_profiling.rst:269
647656
msgid""
@@ -651,30 +660,46 @@ msgid ""
651660
"Python functions in your profiling output, try increasing the stack dump "
652661
"size to 65528 bytes (the maximum)::"
653662
msgstr""
663+
"O tamanho da pilha é particularmente importante ao criar perfis de código "
664+
"Python compilado com níveis de otimização baixos (como ``-O0``), pois essas "
665+
"construções tendem a ter quadros de pilha maiores. Se você estiver "
666+
"compilando Python com ``-O0`` e não estiver vendo funções Python na saída do "
667+
"perfil, tente aumentar o tamanho do despejo de pilha para 65528 bytes (o "
668+
"máximo):"
654669

655670
#:../../howto/perf_profiling.rst:275
656671
msgid""
657672
"$ perf record -F 9999 -g -k 1 --call-graph dwarf,65528 -o perf.data python -"
658673
"Xperf_jit my_script.py"
659674
msgstr""
675+
"$ perf record -F 9999 -g -k 1 --call-graph dwarf,65528 -o perf.data python -"
676+
"Xperf_jit meu_script.py"
660677

661678
#:../../howto/perf_profiling.rst:277
662679
msgid"Different compilation flags can significantly impact stack sizes:"
663680
msgstr""
681+
"Diferentes sinalizadores de compilação podem impactar significativamente os "
682+
"tamanhos de pilha:"
664683

665684
#:../../howto/perf_profiling.rst:279
666685
msgid""
667686
"Builds with ``-O0`` typically have much larger stack frames than those with "
668687
"``-O1`` or higher"
669688
msgstr""
689+
"Construções com ``-O0`` geralmente têm quadros de pilha muito maiores do que "
690+
"aquelas com ``-O1`` ou superior"
670691

671692
#:../../howto/perf_profiling.rst:280
672693
msgid""
673694
"Adding optimizations (``-O1``, ``-O2``, etc.) typically reduces stack size"
674695
msgstr""
696+
"Adiciona otimizações (``-O1``, ``-O2``, etc.) normalmente reduz o tamanho da "
697+
"pilha"
675698

676699
#:../../howto/perf_profiling.rst:281
677700
msgid""
678701
"Frame pointers (``-fno-omit-frame-pointer``) generally provide more reliable "
679702
"stack unwinding"
680703
msgstr""
704+
"Os ponteiros de quadro (``-fno-omit-frame-pointer``) geralmente fornecem um "
705+
"desenrolamento de pilha mais confiável"

‎potodo.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,14 @@
4848

4949

5050

51-
#howto (59.88% done)
51+
#howto (60.12% done)
5252

5353
- curses.po 58 / 121 ( 47.0% translated).
5454
- descriptor.po 187 / 230 ( 81.0% translated).
5555
- enum.po 62 / 327 ( 18.0% translated).
5656
- functional.po 138 / 252 ( 54.0% translated).
5757
- logging-cookbook.po 23 / 421 ( 5.0% translated).
5858
- logging.po 121 / 250 ( 48.0% translated).
59-
- perf_profiling.po 42 / 50 ( 84.0% translated).
6059
- regex.po 304 / 332 ( 91.0% translated).
6160
- sockets.po 35 / 63 ( 55.0% translated).
6261
- sorting.po 46 / 75 ( 61.0% translated).
@@ -197,7 +196,7 @@
197196

198197

199198

200-
#whatsnew (44.36% done)
199+
#whatsnew (44.41% done)
201200

202201
- 2.3.po 327 / 387 ( 84.0% translated).
203202
- 2.4.po 266 / 319 ( 83.0% translated).
@@ -210,8 +209,8 @@
210209
- 3.5.po 125 / 578 ( 21.0% translated).
211210
- 3.6.po 237 / 544 ( 43.0% translated).
212211
- 3.7.po 252 / 568 ( 44.0% translated).
213-
- changelog.po1980 / 12290 ( 16.0% translated).
212+
- changelog.po1991 / 12290 ( 16.0% translated).
214213

215214

216-
#TOTAL (60.21% done)
215+
#TOTAL (60.24% done)
217216

‎stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion":"60.21%","translated":45629,"entries":75780,"updated_at":"2025-04-20T23:08:38+00:00Z"}
1+
{"completion":"60.24%","translated":45648,"entries":75780,"updated_at":"2025-04-21T23:08:57+00:00Z"}

‎whatsnew/changelog.po

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,19 +70,27 @@ msgstr "Biblioteca"
7070
msgid ""
7171
":gh:`132429`: Fix support of Bluetooth sockets on NetBSD and DragonFly BSD."
7272
msgstr ""
73+
":gh:`132429`: Corrige o suporte de soquetes Bluetooth no NetBSD e no "
74+
"DragonFly BSD."
7375

7476
#: ../NEWS:12
7577
msgid ""
7678
":gh:`132106`: :meth:`QueueListener.start <logging.handlers.QueueListener."
7779
"start>` now raises a :exc:`RuntimeError` if the listener is already started."
7880
msgstr ""
81+
":gh:`132106`: :meth:`QueueListener.start <logging.handlers.QueueListener."
82+
"start>` agora levanta uma :exc:`RuntimeError` se o listener já estiver "
83+
"iniciado."
7984

8085
#: ../NEWS:16
8186
msgid ""
8287
":gh:`132417`: Fix a ``NULL`` pointer dereference when a C function called "
8388
"using :mod:`ctypes` with ``restype`` :class:`~ctypes.py_object` returns "
8489
"``NULL``."
8590
msgstr ""
91+
":gh:`132417`: Corrige uma desreferência de ponteiro ``NULL`` quando uma "
92+
"função C chamada usando :mod:`ctypes` com ``restype`` :class:`~ctypes."
93+
"py_object` retorna ``NULL``."
8694

8795
#: ../NEWS:20
8896
msgid ""
@@ -122,12 +130,16 @@ msgid ""
122130
":gh:`114713`: Handle case of an empty string passed to :class:`zoneinfo."
123131
"ZoneInfo`."
124132
msgstr ""
133+
":gh:`114713`: Manipula o caso de uma string vazia passada para :class:"
134+
"`zoneinfo.ZoneInfo`."
125135

126136
#: ../NEWS:36
127137
msgid ""
128138
":gh:`130941`: Fix :class:`configparser.ConfigParser` parsing empty "
129139
"interpolation with ``allow_no_value`` set to ``True``."
130140
msgstr ""
141+
":gh:`130941`: Corrige :class:`configparser.ConfigParser` analisando "
142+
"interpolação vazia com ``allow_no_value`` definido como ``True``."
131143

132144
#: ../NEWS:39
133145
msgid ""
@@ -167,19 +179,26 @@ msgstr "Núcleo e embutidos"
167179
msgid ""
168180
":gh:`124476`: Fix decoding from the locale encoding in the C.UTF-8 locale."
169181
msgstr ""
182+
":gh:`124476`: Corrige decodificação da codificação local no local C.UTF-8."
170183

171184
#: ../NEWS:48
172185
msgid ""
173186
":gh:`131927`: Compiler warnings originating from the same module and line "
174187
"number are now only emitted once, matching the behaviour of warnings emitted "
175188
"from user code. This can also be configured with :mod:`warnings` filters."
176189
msgstr ""
190+
":gh:`131927`: Avisos do compilador originados do mesmo módulo e número de "
191+
"linha agora são emitidos apenas uma vez, correspondendo ao comportamento dos "
192+
"avisos emitidos pelo código do usuário. Isso também pode ser configurado com "
193+
"filtros :mod:`warnings`."
177194

178195
#: ../NEWS:53
179196
msgid ""
180197
":gh:`130070`: Fixed an assertion error for :func:`exec` passed a string "
181198
"``source`` and a non-``None`` ``closure``. Patch by Bartosz Sławecki."
182199
msgstr ""
200+
":gh:`130070`: Corrigido um erro de asserção para :func:`exec` passando uma "
201+
"string ``source`` e uma ``closure`` não ``None``. Patch por Bartosz Sławecki."
183202

184203
#: ../NEWS:57 ../NEWS:428 ../NEWS:793 ../NEWS:1494 ../NEWS:1689 ../NEWS:1953
185204
#: ../NEWS:2087 ../NEWS:2257 ../NEWS:2476 ../NEWS:2746 ../NEWS:3365
@@ -207,6 +226,8 @@ msgid ""
207226
":gh:`132649`: The :file:`PC\\layout` script now allows passing ``--include-"
208227
"tcltk`` on Windows ARM64."
209228
msgstr ""
229+
":gh:`132649`: O script :file:`PC\\layout` agora permite passar ``--include-"
230+
"tcltk`` no Windows ARM64."
210231

211232
#: ../NEWS:64
212233
msgid "Python 3.13.3 final"
@@ -15858,6 +15879,10 @@ msgid ""
1585815879
"soft keywords. Also fix some repeated rule names and ensure that repeated "
1585915880
"rules are not allowed. Patch by Pablo Galindo"
1586015881
msgstr ""
15882+
":gh:`109596`: Corrige alguns tokens na gramática que estavam marcados "
15883+
"incorretamente como palavras-chave suaves. Corrigir também alguns nomes de "
15884+
"regras repetidos e garantir que regras repetidas não sejam permitidas. Patch "
15885+
"por Pablo Galindo."
1586115886

1586215887
#: ../NEWS:6599
1586315888
msgid ""
@@ -15867,6 +15892,12 @@ msgid ""
1586715892
"hook on memory allocators. The fix is to check the reference count *before* "
1586815893
"checking for ``_Py_IsImmortal()``. Patch by Victor Stinner."
1586915894
msgstr ""
15895+
":gh:`109496`: Em um Python construído em modo de depuração, :c:func:"
15896+
"`Py_DECREF()` agora chama ``_Py_NegativeRefcount()`` se o objeto for um "
15897+
"ponteiro pendente para memória desalocada: memória preenchida com ``0xDD`` "
15898+
"\"byte morto\" pelo gancho de depuração nos alocadores de memória. A "
15899+
"correção consiste em verificar a contagem de referências *antes* de "
15900+
"verificar ``_Py_IsImmortal()``. Patch por Victor Stinner."
1587015901

1587115902
#: ../NEWS:6605
1587215903
msgid ""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp