[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-patches
Subject:    [Patches] [ python-Patches-788404 ] ignore "b" and "t" mode
From:       noreply () sourceforge ! net (SourceForge ! net)
Date:       2003-08-31 12:42:39
Message-ID: E19tVHf-0002WY-00 () sc8-sf-web2 ! sourceforge ! net
[Download RAW message or body]

Patches item #788404, was opened at 2003-08-14 00:53
Message generated for change (Comment added) made by loewis
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').

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

>Comment By: Martin v. L?wis (loewis)
Date: 2003-08-31 18:42

Message:
Logged In: YES 
user_id=21627

Maybe I'm mistaken: Does this patch really modify the string
object that is being passed? This would not be good: strings
are immutable.

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

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic