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
69d09659
Commit
69d09659
authored
Mar 12, 2014
by
Éric Araujo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix note markup (#16805).
Patch by Tshepang Lekhonkhobe, reviewed by Georg Brandl.
parent
ae80f450
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
3 deletions
+13
-3
Doc/c-api/init.rst
Doc/c-api/init.rst
+1
-0
Doc/library/getopt.rst
Doc/library/getopt.rst
+1
-0
Doc/library/io.rst
Doc/library/io.rst
+1
-0
Doc/library/logging.config.rst
Doc/library/logging.config.rst
+6
-2
Doc/library/os.rst
Doc/library/os.rst
+3
-1
Doc/library/socket.rst
Doc/library/socket.rst
+1
-0
No files found.
Doc/c-api/init.rst
View file @
69d09659
...
...
@@ -534,6 +534,7 @@ code, or when embedding the Python interpreter:
.. index:: module: thread
.. note::
When only the main thread exists, no GIL operations are needed. This is a
common situation (most Python programs do not use threads), and the lock
operations slow the interpreter down a bit. Therefore, the lock is not
...
...
Doc/library/getopt.rst
View file @
69d09659
...
...
@@ -10,6 +10,7 @@
--------------
.. note::
The :mod:`getopt` module is a parser for command line options whose API is
designed to be familiar to users of the C :c:func:`getopt` function. Users who
are unfamiliar with the C :c:func:`getopt` function or who would like to write
...
...
Doc/library/io.rst
View file @
69d09659
...
...
@@ -644,6 +644,7 @@ than raw I/O does.
:exc:`UnsupportedOperation`.
.. warning::
:class:`BufferedRWPair` does not attempt to synchronize accesses to
its underlying raw streams. You should not pass it the same object
as reader and writer; use :class:`BufferedRandom` instead.
...
...
Doc/library/logging.config.rst
View file @
69d09659
...
...
@@ -118,7 +118,9 @@ in :mod:`logging` itself) and defining handlers which are declared either in
send it to the socket as a string of bytes preceded by a four-byte length
string packed in binary using ``struct.pack('
>
L
', n)``.
.. note:: Because portions of the configuration are passed through
.. note::
Because portions of the configuration are passed through
:func:`eval`, use of this function may open its users to a security risk.
While the function only binds to a socket on ``localhost``, and so does
not accept connections from remote machines, there are scenarios where
...
...
@@ -721,7 +723,9 @@ The ``class`` entry is optional. It indicates the name of the formatter's class
:class:`~logging.Formatter` can present exception tracebacks in an expanded or
condensed format.
.. note:: Due to the use of :func:`eval` as described above, there are
.. note::
Due to the use of :func:`eval` as described above, there are
potential security risks which result from using the :func:`listen` to send
and receive configurations via sockets. The risks are limited to where
multiple users with no mutual trust run code on the same machine; see the
...
...
Doc/library/os.rst
View file @
69d09659
...
...
@@ -157,7 +157,9 @@ process and user.
Availability: Unix.
.. note:: On Mac OS X, :func:`getgroups` behavior differs somewhat from
.. note::
On Mac OS X, :func:`getgroups` behavior differs somewhat from
other Unix platforms. If the Python interpreter was built with a
deployment target of :const:`10.5` or earlier, :func:`getgroups` returns
the list of effective group ids associated with the current user process;
...
...
Doc/library/socket.rst
View file @
69d09659
...
...
@@ -562,6 +562,7 @@ correspond to Unix system calls applicable to sockets.
automatically closed when they are garbage-collected.
.. note::
:meth:`close()` releases the resource associated with a connection but
does not necessarily close the connection immediately. If you want
to close the connection in a timely fashion, call :meth:`shutdown()`
...
...
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