Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0f8c1cc0
Commit
0f8c1cc0
authored
Mar 18, 2016
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc: fix typos, patch written by Stefan Behnel
parent
6d42e638
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
Doc/c-api/memory.rst
Doc/c-api/memory.rst
+1
-1
Doc/using/cmdline.rst
Doc/using/cmdline.rst
+4
-4
Doc/whatsnew/3.6.rst
Doc/whatsnew/3.6.rst
+1
-1
No files found.
Doc/c-api/memory.rst
View file @
0f8c1cc0
...
...
@@ -363,7 +363,7 @@ Customize Memory Allocators
This function now also works on Python compiled in release mode.
On error, the debug hooks now use :mod:`tracemalloc` to get the traceback
where a memory block was allocated. The debug hooks now also check
if the GIL is h
o
ld when functions of :c:data:`PYMEM_DOMAIN_OBJ` and
if the GIL is h
e
ld when functions of :c:data:`PYMEM_DOMAIN_OBJ` and
:c:data:`PYMEM_DOMAIN_MEM` domains are called.
...
...
Doc/using/cmdline.rst
View file @
0f8c1cc0
...
...
@@ -639,11 +639,11 @@ conflict.
* ``debug``: install debug hooks on top of the default memory allocator
* ``malloc_debug``: same as ``malloc`` but also install debug hooks
* ``pymalloc_debug``: same as ``pyalloc`` but also install debug hooks
* ``pymalloc_debug``: same as ``py
m
alloc`` but also install debug hooks
When
is compiled in release mode, the default is ``pymalloc``. When Pytho
n
is compiled in debug mode, the default is ``pymalloc_debug``:
debug hooks
are
installed
.
When
Python is compiled in release mode, the default is ``pymalloc``. Whe
n
compiled in debug mode, the default is ``pymalloc_debug`` and the
debug hooks
are
used automatically
.
If Python is configured without ``pymalloc`` support, ``pymalloc`` and
``pymalloc_debug`` are not available, the default is ``malloc`` in release
...
...
Doc/whatsnew/3.6.rst
View file @
0f8c1cc0
...
...
@@ -121,7 +121,7 @@ compiled in release mode using ``PYTHONMALLOC=debug``. Effects of debug hooks:
functions of :c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) and
:c:data:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) domains are called.
Checking if the GIL is h
o
ld is also a new feature of Python 3.6.
Checking if the GIL is h
e
ld is also a new feature of Python 3.6.
See the :c:func:`PyMem_SetupDebugHooks` function for debug hooks on Python
memory allocators.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment