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/netrc.rst

    r2 r391  
    1111.. versionadded:: 1.5.2
    1212
     13**Source code:** :source:`Lib/netrc.py`
     14
     15--------------
     16
    1317The :class:`netrc` class parses and encapsulates the netrc file format used by
    1418the Unix :program:`ftp` program and other FTP clients.
     
    2226   be read.  Parse errors will raise :exc:`NetrcParseError` with diagnostic
    2327   information including the file name, line number, and terminating token.
     28   If no argument is specified on a POSIX system, the presence of passwords in
     29   the :file:`.netrc` file will raise a :exc:`NetrcParseError` if the file
     30   ownership or permissions are insecure (owned by a user other than the user
     31   running the process, or accessible for read or write by any other user).
     32   This implements security behavior equivalent to that of ftp and other
     33   programs that use :file:`.netrc`.
     34
     35   .. versionchanged:: 2.7.6 Added the POSIX permissions check.
    2436
    2537
Note: See TracChangeset for help on using the changeset viewer.