[Patches] [ python-Patches-1490190 ] add os.chflags() and os.lchflags() where available

SourceForge.net noreply at sourceforge.net
Wed May 17 13:45:34 CEST 2006


Patches item #1490190, was opened at 2006-05-17 07:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1490190&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Modules
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: M. Levinson (levinsm)
Assigned to: Nobody/Anonymous (nobody)
Summary: add os.chflags() and os.lchflags() where available

Initial Comment:
The return value from os.stat() includes st_flags on some systems, but
currently there's not much that can be done with the value; this patch aims
to make st_flags useful by adding some associated constants to stat.py and
the corresponding chflags() and lchflags() functions in posixmodule. For
completeness, shutil.copystat() is also updated to call os.chflags() where
it's available.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1490190&group_id=5470


More information about the Patches mailing list