Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Checkins

cpython (3.2): Revert the modification of e.strerror in 3.2 as that kind of change could

 

 

Python checkins RSS feed   Index | Next | Previous | View Threaded


python-checkins at python

Jun 3, 2012, 2:40 PM

Post #1 of 1 (44 views)
Permalink
cpython (3.2): Revert the modification of e.strerror in 3.2 as that kind of change could

http://hg.python.org/cpython/rev/f3ce3e874a58
changeset: 77333:f3ce3e874a58
branch: 3.2
parent: 77331:4c07e4806e69
user: Gregory P. Smith <greg [at] krypto>
date: Sun Jun 03 14:39:26 2012 -0700
summary:
Revert the modification of e.strerror in 3.2 as that kind of change could
break someone's over specified test that depends on the exact error message.

files:
Lib/os.py | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)


diff --git a/Lib/os.py b/Lib/os.py
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -163,9 +163,6 @@
actual_mode = -1
if not (e.errno == errno.EEXIST and exist_ok and dir_exists and
actual_mode == expected_mode):
- if dir_exists and actual_mode != expected_mode:
- e.strerror += ' (mode %o != expected mode %o)' % (
- actual_mode, expected_mode)
raise

def removedirs(name):

--
Repository URL: http://hg.python.org/cpython

Python checkins RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.