[issue9993] shutil.move fails on symlink source

2011-08-23 Thread Jonathan Niehof
Jonathan Niehof added the comment: Éric: I think copying a relative symlink should also be relative, and that's the behaviour of this patch. That was the use case that tripped me up with the original behaviour of shutil.move: a relative symlink which was dangling in its original loc

[issue9993] shutil.move fails on symlink source

2011-08-22 Thread Jonathan Niehof
Jonathan Niehof added the comment: Éric, here's a quick docs-only patch against current default...does this do the job? -- Added file: http://bugs.python.org/file23002/shutil_move_doc.patch ___ Python tracker <http://bugs.python.org/i

[issue9998] ctypes find_library should search LD_LIBRARY_PATH on linux

2011-07-25 Thread Jonathan Niehof
Jonathan Niehof added the comment: Yaroslav: does the patch cause problems, or the original issue? If the former, could you be specific so I can try and fix it? -- ___ Python tracker <http://bugs.python.org/issue9

[issue9991] xmlrpc client ssl check faulty

2010-10-05 Thread Jonathan Niehof
Changes by Jonathan Niehof : -- nosy: +Jelly.Chen, lister171254 ___ Python tracker <http://bugs.python.org/issue9991> ___ ___ Python-bugs-list mailing list Unsub

[issue9999] test_shutil cross-file-system tests are fragile (may not test what they pruport to test)

2010-09-30 Thread Jonathan Niehof
Jonathan Niehof added the comment: Might it make sense to skip-decorate those tests which require cross-filesystem? Put a test above the TestMove definition which compares tempfile.gettempdir() and os.path.dirname(__file__). I don't know of an out-of-the-box function to see if two path

[issue9998] find_library should search LD_LIBRARY_PATH on linux

2010-09-30 Thread Jonathan Niehof
New submission from Jonathan Niehof : It's come up on occasion (#2936, http://osdir.com/ml/python.ctypes/2008-05/msg00046.html) that ctypes find_library doesn't search LD_LIBRARY_PATH for libraries, which is different behaviour from the runtime linker. The attached patch adds t

[issue9993] shutil.move fails on symlink source

2010-09-29 Thread Jonathan Niehof
New submission from Jonathan Niehof : shutil.move does not behave as I expect when moving a symlink across filesystems. (This is when src itself is a symlink, not when it is a directory tree including symlinks.) -If src is a symlink to file, rather than moving the symlink, it copies the

[issue9991] xmlrpc client ssl check faulty

2010-09-29 Thread Jonathan Niehof
New submission from Jonathan Niehof : This has been reported before (#6494, #7987) and closed as "You need to build Python with SSL support." However, this error is raised even if ssl support is included. The SSL check in xmlrpc.client for Python 3.1 is: if not hasattr(socket, &quo