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

Mailing List Archive: Python: Checkins

cpython: Issue #14127: Fix no-op stub for platforms that lack some "os" functions.

 

 

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


python-checkins at python

May 3, 2012, 12:57 PM

Post #1 of 1 (44 views)
Permalink
cpython: Issue #14127: Fix no-op stub for platforms that lack some "os" functions.

http://hg.python.org/cpython/rev/cdc4e0f8135d
changeset: 76735:cdc4e0f8135d
user: Larry Hastings <larry [at] hastings>
date: Thu May 03 12:56:44 2012 -0700
summary:
Issue #14127: Fix no-op stub for platforms that lack some "os" functions.

files:
Lib/shutil.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/shutil.py b/Lib/shutil.py
--- a/Lib/shutil.py
+++ b/Lib/shutil.py
@@ -138,7 +138,7 @@
only if both `src` and `dst` are symlinks.

"""
- def _nop(*args):
+ def _nop(*args, ns=None):
pass

if symlinks and os.path.islink(src) and os.path.islink(dst):

--
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.