[ python-Bugs-967182 ] file("foo", "wU") is silently accepted

SourceForge.net noreply at sourceforge.net
Sat Jun 5 15:51:57 EDT 2004


Bugs item #967182, was opened at 2004-06-05 12:15
Message generated for change (Comment added) made by montanaro
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=967182&group_id=5470

Category: Python Interpreter Core
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Skip Montanaro (montanaro)
Assigned to: Skip Montanaro (montanaro)
Summary: file("foo", "wU") is silently accepted

Initial Comment:
PEP 278 says at opening a file with "wU" is illegal, yet
file("foo", "wU") passes without complaint.  There may
be other flags which the PEP disallows with "U" that need
to be checked.


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

>Comment By: Skip Montanaro (montanaro)
Date: 2004-06-05 14:51

Message:
Logged In: YES 
user_id=44345

Here's a first cut patch - test suite fails though - must be 
something obvious...

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

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



More information about the Python-bugs-list mailing list