Changeset 391 for python/trunk/Doc/library/posix.rst
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Doc/library/posix.rst
r2 r391 20 20 *no* performance penalty in using it instead of :mod:`posix`. In addition, 21 21 :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. 23 23 24 24 Errors are reported as exceptions; the usual exceptions are given for type … … 39 39 Several operating systems (including AIX, HP-UX, Irix and Solaris) provide 40 40 support for files that are larger than 2 GB from a C programming model where 41 :c type:`int` and :ctype:`long` are 32-bit values. This is typically accomplished41 :c:type:`int` and :c:type:`long` are 32-bit values. This is typically accomplished 42 42 by defining the relevant size and offset types as 64-bit values. Such files are 43 43 sometimes referred to as :dfn:`large files`. 44 44 45 Large file support is enabled in Python when the size of an :c type:`off_t` is46 larger than a :c type:`long` and the :ctype:`long long` type is available and is47 at least as large as an :c type:`off_t`. Python longs are then used to represent45 Large file support is enabled in Python when the size of an :c:type:`off_t` is 46 larger than a :c:type:`long` and the :c:type:`long long` type is available and is 47 at least as large as an :c:type:`off_t`. Python longs are then used to represent 48 48 file sizes, offsets and other values that can exceed the range of a Python int. 49 49 It may be necessary to configure and compile Python with certain compiler flags … … 75 75 76 76 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`. 80 81 81 82 .. note::
Note:
See TracChangeset
for help on using the changeset viewer.