From: <pj...@us...> - 2008-07-28 04:56:05
|
Revision: 5006 http://jython.svn.sourceforge.net/jython/?rev=5006&view=rev Author: pjenvey Date: 2008-07-28 04:56:03 +0000 (Mon, 28 Jul 2008) Log Message: ----------- o add os.link (fixes test_shutil) o fix test_re's test output -- it shouldn't have any now Modified Paths: -------------- branches/asm/Lib/os.py Removed Paths: ------------- branches/asm/Lib/test/output/test_re Modified: branches/asm/Lib/os.py =================================================================== --- branches/asm/Lib/os.py 2008-07-28 02:41:38 UTC (rev 5005) +++ branches/asm/Lib/os.py 2008-07-28 04:56:03 UTC (rev 5006) @@ -646,6 +646,13 @@ raise OSError(errno.EBADF, errno.strerror(errno.EBADF)) if _name == 'posix' and _native_posix: + def link(src, dst): + """link(src, dst) + + Create a hard link to a file. + """ + _posix.link(sys.getPath(src), sys.getPath(dst)) + def symlink(src, dst): """symlink(src, dst) Deleted: branches/asm/Lib/test/output/test_re =================================================================== --- branches/asm/Lib/test/output/test_re 2008-07-28 02:41:38 UTC (rev 5005) +++ branches/asm/Lib/test/output/test_re 2008-07-28 04:56:03 UTC (rev 5006) @@ -1,15 +0,0 @@ -test_re -re (test_re.py) -basic functions -search -match -sub -symbolic references -subn -split -match.groups -match.group -escape -flags -symbolic groups in regex's -perl5-compatible regex's This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |