[Patches] [ python-Patches-788404 ] ignore "b" and "t" mode modifiers in posix_popen

SourceForge.net noreply at sourceforge.net
Wed Aug 13 16:53:45 EDT 2003


Patches item #788404, was opened at 2003-08-13 14:53
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=788404&group_id=5470

Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Andrew Gaul (gaul)
Assigned to: Nobody/Anonymous (nobody)
Summary: ignore "b" and "t" mode modifiers in posix_popen

Initial Comment:
Fixes bug 703198.  This patch removes any "b" or "t"
modifiers, which have meaning in Windows (binary and
text modes, respectively), but not in POSIX.  This
allows users to write portable code between Windows and
POSIX when working on binary data in pipes:
os.popen(cmd, 'rb').

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

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



More information about the Patches mailing list