Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Doc/library/posix.rst

    r2 r391  
    2020*no* performance penalty in using it instead of :mod:`posix`.  In addition,
    2121:mod:`os` provides some additional functionality, such as automatically calling
    22 :func:`putenv` when an entry in ``os.environ`` is changed.
     22:func:`~os.putenv` when an entry in ``os.environ`` is changed.
    2323
    2424Errors are reported as exceptions; the usual exceptions are given for type
     
    3939Several operating systems (including AIX, HP-UX, Irix and Solaris) provide
    4040support for files that are larger than 2 GB from a C programming model where
    41 :ctype:`int` and :ctype:`long` are 32-bit values. This is typically accomplished
     41:c:type:`int` and :c:type:`long` are 32-bit values. This is typically accomplished
    4242by defining the relevant size and offset types as 64-bit values. Such files are
    4343sometimes referred to as :dfn:`large files`.
    4444
    45 Large file support is enabled in Python when the size of an :ctype:`off_t` is
    46 larger than a :ctype:`long` and the :ctype:`long long` type is available and is
    47 at least as large as an :ctype:`off_t`. Python longs are then used to represent
     45Large file support is enabled in Python when the size of an :c:type:`off_t` is
     46larger than a :c:type:`long` and the :c:type:`long long` type is available and is
     47at least as large as an :c:type:`off_t`. Python longs are then used to represent
    4848file sizes, offsets and other values that can exceed the range of a Python int.
    4949It may be necessary to configure and compile Python with certain compiler flags
     
    7575
    7676   Modifying this dictionary does not affect the string environment passed on by
    77    :func:`execv`, :func:`popen` or :func:`system`; if you need to change the
    78    environment, pass ``environ`` to :func:`execve` or add variable assignments and
    79    export statements to the command string for :func:`system` or :func:`popen`.
     77   :func:`~os.execv`, :func:`~os.popen` or :func:`~os.system`; if you need to
     78   change the environment, pass ``environ`` to :func:`~os.execve` or add
     79   variable assignments and export statements to the command string for
     80   :func:`~os.system` or :func:`~os.popen`.
    8081
    8182   .. note::
Note: See TracChangeset for help on using the changeset viewer.