Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(31077)

Delta Between Two Patch Sets: Doc/library/sys.rst

Issue 13390: Hunt memory allocations in addition to reference leaks
Left Patch Set: Created 7 years, 10 months ago
Right Patch Set: Created 6 years, 9 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | Include/objimpl.h » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 :mod:`sys` --- System-specific parameters and functions 1 :mod:`sys` --- System-specific parameters and functions
2 ======================================================= 2 =======================================================
3 3
4 .. module:: sys 4 .. module:: sys
5 :synopsis: Access system-specific parameters and functions. 5 :synopsis: Access system-specific parameters and functions.
6 6
7 7
8 This module provides access to some variables used or maintained by the 8 This module provides access to some variables used or maintained by the
9 interpreter and to functions that interact strongly with the interpreter. It is 9 interpreter and to functions that interact strongly with the interpreter. It is
10 always available. 10 always available.
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 floats. If the string has value ``'short'`` then for a finite 386 floats. If the string has value ``'short'`` then for a finite
387 float ``x``, ``repr(x)`` aims to produce a short string with the 387 float ``x``, ``repr(x)`` aims to produce a short string with the
388 property that ``float(repr(x)) == x``. This is the usual behaviour 388 property that ``float(repr(x)) == x``. This is the usual behaviour
389 in Python 3.1 and later. Otherwise, ``float_repr_style`` has value 389 in Python 3.1 and later. Otherwise, ``float_repr_style`` has value
390 ``'legacy'`` and ``repr(x)`` behaves in the same way as it did in 390 ``'legacy'`` and ``repr(x)`` behaves in the same way as it did in
391 versions of Python prior to 3.1. 391 versions of Python prior to 3.1.
392 392
393 .. versionadded:: 3.1 393 .. versionadded:: 3.1
394 394
395 395
396 .. function:: getallocatedblocks()
397
398 Return the number of memory blocks currently allocated, regardless of
399 their size.
400
401 .. versionadded:: 3.4
402
403 .. impl-detail::
404 Not all Python implementations may be able to return this information.
405
406
396 .. function:: getcheckinterval() 407 .. function:: getcheckinterval()
397 408
398 Return the interpreter's "check interval"; see :func:`setcheckinterval`. 409 Return the interpreter's "check interval"; see :func:`setcheckinterval`.
399 410
400 .. deprecated:: 3.2 411 .. deprecated:: 3.2
401 Use :func:`getswitchinterval` instead. 412 Use :func:`getswitchinterval` instead.
402 413
403 414
404 .. function:: getdefaultencoding() 415 .. function:: getdefaultencoding()
405 416
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
1206 :option:`-X`. Other implementations may export them through other 1217 :option:`-X`. Other implementations may export them through other
1207 means, or not at all. 1218 means, or not at all.
1208 1219
1209 .. versionadded:: 3.2 1220 .. versionadded:: 3.2
1210 1221
1211 1222
1212 .. rubric:: Citations 1223 .. rubric:: Citations
1213 1224
1214 .. [C99] ISO/IEC 9899:1999. "Programming languages -- C." A public draft of th is standard is available at http://www.open-std.org/jtc1/sc22/wg14/www/docs/n125 6.pdf . 1225 .. [C99] ISO/IEC 9899:1999. "Programming languages -- C." A public draft of th is standard is available at http://www.open-std.org/jtc1/sc22/wg14/www/docs/n125 6.pdf .
1215 1226
LEFTRIGHT
« no previous file | Include/objimpl.h » ('j') | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+