Skip to content

Commit 317e735

Browse files
committed
Deploying to gh-pages from @ af4187d 🚀
1 parent 3d4accb commit 317e735

File tree

528 files changed

+656
-572
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

528 files changed

+656
-572
lines changed

_sources/library/sys.rst.txt

+29
Original file line numberDiff line numberDiff line change
@@ -920,6 +920,35 @@ always available.
920920
It is not guaranteed to exist in all implementations of Python.
921921

922922

923+
.. function:: getobjects(limit[, type])
924+
925+
This function only exists if CPython was built using the
926+
specialized configure option :option:`--with-trace-refs`.
927+
It is intended only for debugging garbage-collection issues.
928+
929+
Return a list of up to *limit* dynamically allocated Python objects.
930+
If *type* is given, only objects of that exact type (not subtypes)
931+
are included.
932+
933+
Objects from the list are not safe to use.
934+
Specifically, the result will include objects from all interpreters that
935+
share their object allocator state (that is, ones created with
936+
:c:member:`PyInterpreterConfig.use_main_obmalloc` set to 1
937+
or using :c:func:`Py_NewInterpreter`, and the
938+
:ref:`main interpreter <sub-interpreter-support>`).
939+
Mixing objects from different interpreters may lead to crashes
940+
or other unexpected behavior.
941+
942+
.. impl-detail::
943+
944+
This function should be used for specialized purposes only.
945+
It is not guaranteed to exist in all implementations of Python.
946+
947+
.. versionchanged:: next
948+
949+
The result may include objects from other interpreters.
950+
951+
923952
.. function:: getprofile()
924953

925954
.. index::

_sources/using/configure.rst.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ Debug options
721721
Effects:
722722

723723
* Define the ``Py_TRACE_REFS`` macro.
724-
* Add :func:`!sys.getobjects` function.
724+
* Add :func:`sys.getobjects` function.
725725
* Add :envvar:`PYTHONDUMPREFS` environment variable.
726726

727727
The :envvar:`PYTHONDUMPREFS` environment variable can be used to dump

_sources/whatsnew/3.13.rst.txt

+11
Original file line numberDiff line numberDiff line change
@@ -2706,3 +2706,14 @@ Regression Test Changes
27062706
option. If used, it specifies a module that should be imported early
27072707
in the lifecycle of the interpreter, before ``site.py`` is executed.
27082708
(Contributed by Łukasz Langa in :gh:`110769`.)
2709+
2710+
2711+
Notable changes in 3.13.1
2712+
=========================
2713+
2714+
sys
2715+
---
2716+
2717+
* The previously undocumented special function :func:`sys.getobjects`,
2718+
which only exists in specialized builds of Python, may now return objects
2719+
from other interpreters than the one it's called in.

about.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ <h3>瀏覽</h3>
320320
<a href="https://www.python.org/psf/donations/">Please donate.</a>
321321
<br />
322322
<br />
323-
最後更新於 11月 12, 2024 (04:16 UTC)。
323+
最後更新於 11月 13, 2024 (03:17 UTC)。
324324

325325
<a href="/bugs.html">Found a bug</a>?
326326

bugs.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ <h2>說明文件的錯誤<a class="headerlink" href="#documentation-bugs" title=
231231
</section>
232232
<section id="getting-started-contributing-to-python-yourself">
233233
<span id="contributing-to-python"></span><h2>開始讓自己貢獻 Python<a class="headerlink" href="#getting-started-contributing-to-python-yourself" title="連結到這個標頭"></a></h2>
234-
<p>除了只是回報你所發現的錯誤之外,同樣也歡迎你提交修正它們的修補程式 (patch)。你可以在 <a class="reference external" href="https://devguide.python.org/">Python 開發者指南</a>中找到如何開始修補 Python 的更多資訊。如果你有任何問題,<a class="reference external" href="https://mail.python.org/mailman3/lists/core-mentorship.python.org/">核心導師郵寄清單</a>是一個友善的地方,你可以在那裡得到,關於 Python 修正錯誤的過程中,所有問題的答案。</p>
234+
<p>除了只是回報你所發現的錯誤之外,同樣也歡迎你提交修正它們的修補程式 (patch)。你可以在 <a class="reference external" href="https://mail.python.org/mailman3/lists/core-mentorship.python.org/">Python 開發者指南</a>中找到如何開始修補 Python 的更多資訊。如果你有任何問題,<a class="reference external" href="https://devguide.python.org/">核心導師郵寄清單</a>是一個友善的地方,你可以在那裡得到,關於 Python 修正錯誤的過程中,所有問題的答案。</p>
235235
</section>
236236
</section>
237237

@@ -359,7 +359,7 @@ <h3>瀏覽</h3>
359359
<a href="https://www.python.org/psf/donations/">Please donate.</a>
360360
<br />
361361
<br />
362-
最後更新於 11月 12, 2024 (04:16 UTC)。
362+
最後更新於 11月 13, 2024 (03:17 UTC)。
363363

364364
<a href="/bugs.html">Found a bug</a>?
365365

c-api/abstract.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ <h3>瀏覽</h3>
329329
<a href="https://www.python.org/psf/donations/">Please donate.</a>
330330
<br />
331331
<br />
332-
最後更新於 11月 12, 2024 (04:16 UTC)。
332+
最後更新於 11月 13, 2024 (03:17 UTC)。
333333

334334
<a href="/bugs.html">Found a bug</a>?
335335

c-api/allocation.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ <h3>瀏覽</h3>
344344
<a href="https://www.python.org/psf/donations/">Please donate.</a>
345345
<br />
346346
<br />
347-
最後更新於 11月 12, 2024 (04:16 UTC)。
347+
最後更新於 11月 13, 2024 (03:17 UTC)。
348348

349349
<a href="/bugs.html">Found a bug</a>?
350350

c-api/apiabiversion.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ <h3>瀏覽</h3>
376376
<a href="https://www.python.org/psf/donations/">Please donate.</a>
377377
<br />
378378
<br />
379-
最後更新於 11月 12, 2024 (04:16 UTC)。
379+
最後更新於 11月 13, 2024 (03:17 UTC)。
380380

381381
<a href="/bugs.html">Found a bug</a>?
382382

c-api/arg.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ <h3>瀏覽</h3>
924924
<a href="https://www.python.org/psf/donations/">Please donate.</a>
925925
<br />
926926
<br />
927-
最後更新於 11月 12, 2024 (04:16 UTC)。
927+
最後更新於 11月 13, 2024 (03:17 UTC)。
928928

929929
<a href="/bugs.html">Found a bug</a>?
930930

c-api/bool.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ <h3>瀏覽</h3>
341341
<a href="https://www.python.org/psf/donations/">Please donate.</a>
342342
<br />
343343
<br />
344-
最後更新於 11月 12, 2024 (04:16 UTC)。
344+
最後更新於 11月 13, 2024 (03:17 UTC)。
345345

346346
<a href="/bugs.html">Found a bug</a>?
347347

c-api/buffer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ <h3>瀏覽</h3>
10161016
<a href="https://www.python.org/psf/donations/">Please donate.</a>
10171017
<br />
10181018
<br />
1019-
最後更新於 11月 12, 2024 (04:16 UTC)。
1019+
最後更新於 11月 13, 2024 (03:17 UTC)。
10201020

10211021
<a href="/bugs.html">Found a bug</a>?
10221022

c-api/bytearray.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ <h3>瀏覽</h3>
400400
<a href="https://www.python.org/psf/donations/">Please donate.</a>
401401
<br />
402402
<br />
403-
最後更新於 11月 12, 2024 (04:16 UTC)。
403+
最後更新於 11月 13, 2024 (03:17 UTC)。
404404

405405
<a href="/bugs.html">Found a bug</a>?
406406

c-api/bytes.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ <h3>瀏覽</h3>
521521
<a href="https://www.python.org/psf/donations/">Please donate.</a>
522522
<br />
523523
<br />
524-
最後更新於 11月 12, 2024 (04:16 UTC)。
524+
最後更新於 11月 13, 2024 (03:17 UTC)。
525525

526526
<a href="/bugs.html">Found a bug</a>?
527527

c-api/call.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ <h3>瀏覽</h3>
652652
<a href="https://www.python.org/psf/donations/">Please donate.</a>
653653
<br />
654654
<br />
655-
最後更新於 11月 12, 2024 (04:16 UTC)。
655+
最後更新於 11月 13, 2024 (03:17 UTC)。
656656

657657
<a href="/bugs.html">Found a bug</a>?
658658

c-api/capsule.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ <h3>瀏覽</h3>
441441
<a href="https://www.python.org/psf/donations/">Please donate.</a>
442442
<br />
443443
<br />
444-
最後更新於 11月 12, 2024 (04:16 UTC)。
444+
最後更新於 11月 13, 2024 (03:17 UTC)。
445445

446446
<a href="/bugs.html">Found a bug</a>?
447447

c-api/cell.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ <h3>瀏覽</h3>
341341
<a href="https://www.python.org/psf/donations/">Please donate.</a>
342342
<br />
343343
<br />
344-
最後更新於 11月 12, 2024 (04:16 UTC)。
344+
最後更新於 11月 13, 2024 (03:17 UTC)。
345345

346346
<a href="/bugs.html">Found a bug</a>?
347347

c-api/code.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ <h3>瀏覽</h3>
606606
<a href="https://www.python.org/psf/donations/">Please donate.</a>
607607
<br />
608608
<br />
609-
最後更新於 11月 12, 2024 (04:16 UTC)。
609+
最後更新於 11月 13, 2024 (03:17 UTC)。
610610

611611
<a href="/bugs.html">Found a bug</a>?
612612

c-api/codec.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ <h3>瀏覽</h3>
445445
<a href="https://www.python.org/psf/donations/">Please donate.</a>
446446
<br />
447447
<br />
448-
最後更新於 11月 12, 2024 (04:16 UTC)。
448+
最後更新於 11月 13, 2024 (03:17 UTC)。
449449

450450
<a href="/bugs.html">Found a bug</a>?
451451

c-api/complex.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ <h3>瀏覽</h3>
456456
<a href="https://www.python.org/psf/donations/">Please donate.</a>
457457
<br />
458458
<br />
459-
最後更新於 11月 12, 2024 (04:16 UTC)。
459+
最後更新於 11月 13, 2024 (03:17 UTC)。
460460

461461
<a href="/bugs.html">Found a bug</a>?
462462

c-api/concrete.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ <h3>瀏覽</h3>
464464
<a href="https://www.python.org/psf/donations/">Please donate.</a>
465465
<br />
466466
<br />
467-
最後更新於 11月 12, 2024 (04:16 UTC)。
467+
最後更新於 11月 13, 2024 (03:17 UTC)。
468468

469469
<a href="/bugs.html">Found a bug</a>?
470470

c-api/contextvars.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ <h3>瀏覽</h3>
451451
<a href="https://www.python.org/psf/donations/">Please donate.</a>
452452
<br />
453453
<br />
454-
最後更新於 11月 12, 2024 (04:16 UTC)。
454+
最後更新於 11月 13, 2024 (03:17 UTC)。
455455

456456
<a href="/bugs.html">Found a bug</a>?
457457

c-api/conversion.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ <h3>瀏覽</h3>
390390
<a href="https://www.python.org/psf/donations/">Please donate.</a>
391391
<br />
392392
<br />
393-
最後更新於 11月 12, 2024 (04:16 UTC)。
393+
最後更新於 11月 13, 2024 (03:17 UTC)。
394394

395395
<a href="/bugs.html">Found a bug</a>?
396396

c-api/coro.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ <h3>瀏覽</h3>
319319
<a href="https://www.python.org/psf/donations/">Please donate.</a>
320320
<br />
321321
<br />
322-
最後更新於 11月 12, 2024 (04:16 UTC)。
322+
最後更新於 11月 13, 2024 (03:17 UTC)。
323323

324324
<a href="/bugs.html">Found a bug</a>?
325325

c-api/datetime.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ <h3>瀏覽</h3>
630630
<a href="https://www.python.org/psf/donations/">Please donate.</a>
631631
<br />
632632
<br />
633-
最後更新於 11月 12, 2024 (04:16 UTC)。
633+
最後更新於 11月 13, 2024 (03:17 UTC)。
634634

635635
<a href="/bugs.html">Found a bug</a>?
636636

c-api/descriptor.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ <h3>瀏覽</h3>
334334
<a href="https://www.python.org/psf/donations/">Please donate.</a>
335335
<br />
336336
<br />
337-
最後更新於 11月 12, 2024 (04:16 UTC)。
337+
最後更新於 11月 13, 2024 (03:17 UTC)。
338338

339339
<a href="/bugs.html">Found a bug</a>?
340340

c-api/dict.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ <h3>瀏覽</h3>
746746
<a href="https://www.python.org/psf/donations/">Please donate.</a>
747747
<br />
748748
<br />
749-
最後更新於 11月 12, 2024 (04:16 UTC)。
749+
最後更新於 11月 13, 2024 (03:17 UTC)。
750750

751751
<a href="/bugs.html">Found a bug</a>?
752752

c-api/exceptions.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1708,7 +1708,7 @@ <h3>瀏覽</h3>
17081708
<a href="https://www.python.org/psf/donations/">Please donate.</a>
17091709
<br />
17101710
<br />
1711-
最後更新於 11月 12, 2024 (04:16 UTC)。
1711+
最後更新於 11月 13, 2024 (03:17 UTC)。
17121712

17131713
<a href="/bugs.html">Found a bug</a>?
17141714

c-api/file.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ <h3>瀏覽</h3>
366366
<a href="https://www.python.org/psf/donations/">Please donate.</a>
367367
<br />
368368
<br />
369-
最後更新於 11月 12, 2024 (04:16 UTC)。
369+
最後更新於 11月 13, 2024 (03:17 UTC)。
370370

371371
<a href="/bugs.html">Found a bug</a>?
372372

c-api/float.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ <h3>瀏覽</h3>
489489
<a href="https://www.python.org/psf/donations/">Please donate.</a>
490490
<br />
491491
<br />
492-
最後更新於 11月 12, 2024 (04:16 UTC)。
492+
最後更新於 11月 13, 2024 (03:17 UTC)。
493493

494494
<a href="/bugs.html">Found a bug</a>?
495495

c-api/frame.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ <h3>瀏覽</h3>
508508
<a href="https://www.python.org/psf/donations/">Please donate.</a>
509509
<br />
510510
<br />
511-
最後更新於 11月 12, 2024 (04:16 UTC)。
511+
最後更新於 11月 13, 2024 (03:17 UTC)。
512512

513513
<a href="/bugs.html">Found a bug</a>?
514514

c-api/function.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ <h3>瀏覽</h3>
468468
<a href="https://www.python.org/psf/donations/">Please donate.</a>
469469
<br />
470470
<br />
471-
最後更新於 11月 12, 2024 (04:16 UTC)。
471+
最後更新於 11月 13, 2024 (03:17 UTC)。
472472

473473
<a href="/bugs.html">Found a bug</a>?
474474

c-api/gcsupport.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ <h3>瀏覽</h3>
611611
<a href="https://www.python.org/psf/donations/">Please donate.</a>
612612
<br />
613613
<br />
614-
最後更新於 11月 12, 2024 (04:16 UTC)。
614+
最後更新於 11月 13, 2024 (03:17 UTC)。
615615

616616
<a href="/bugs.html">Found a bug</a>?
617617

c-api/gen.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ <h3>瀏覽</h3>
328328
<a href="https://www.python.org/psf/donations/">Please donate.</a>
329329
<br />
330330
<br />
331-
最後更新於 11月 12, 2024 (04:16 UTC)。
331+
最後更新於 11月 13, 2024 (03:17 UTC)。
332332

333333
<a href="/bugs.html">Found a bug</a>?
334334

c-api/hash.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ <h3>瀏覽</h3>
420420
<a href="https://www.python.org/psf/donations/">Please donate.</a>
421421
<br />
422422
<br />
423-
最後更新於 11月 12, 2024 (04:16 UTC)。
423+
最後更新於 11月 13, 2024 (03:17 UTC)。
424424

425425
<a href="/bugs.html">Found a bug</a>?
426426

c-api/import.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ <h3>瀏覽</h3>
633633
<a href="https://www.python.org/psf/donations/">Please donate.</a>
634634
<br />
635635
<br />
636-
最後更新於 11月 12, 2024 (04:16 UTC)。
636+
最後更新於 11月 13, 2024 (03:17 UTC)。
637637

638638
<a href="/bugs.html">Found a bug</a>?
639639

c-api/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ <h3>瀏覽</h3>
417417
<a href="https://www.python.org/psf/donations/">Please donate.</a>
418418
<br />
419419
<br />
420-
最後更新於 11月 12, 2024 (04:16 UTC)。
420+
最後更新於 11月 13, 2024 (03:17 UTC)。
421421

422422
<a href="/bugs.html">Found a bug</a>?
423423

c-api/init.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2761,7 +2761,7 @@ <h3>瀏覽</h3>
27612761
<a href="https://www.python.org/psf/donations/">Please donate.</a>
27622762
<br />
27632763
<br />
2764-
最後更新於 11月 12, 2024 (04:16 UTC)。
2764+
最後更新於 11月 13, 2024 (03:17 UTC)。
27652765

27662766
<a href="/bugs.html">Found a bug</a>?
27672767

c-api/init_config.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1947,7 +1947,7 @@ <h3>瀏覽</h3>
19471947
<a href="https://www.python.org/psf/donations/">Please donate.</a>
19481948
<br />
19491949
<br />
1950-
最後更新於 11月 12, 2024 (04:16 UTC)。
1950+
最後更新於 11月 13, 2024 (03:17 UTC)。
19511951

19521952
<a href="/bugs.html">Found a bug</a>?
19531953

c-api/intro.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ <h3>瀏覽</h3>
765765
<a href="https://www.python.org/psf/donations/">Please donate.</a>
766766
<br />
767767
<br />
768-
最後更新於 11月 12, 2024 (04:16 UTC)。
768+
最後更新於 11月 13, 2024 (03:17 UTC)。
769769

770770
<a href="/bugs.html">Found a bug</a>?
771771

0 commit comments

Comments
 (0)