[issue9035] os.path.ismount on windows doesn't support windows mount points

2011-10-04 Thread Oren Held
Oren Held o...@held.org.il added the comment: Anything wrong with the following simple approach? (e.g. is it bad to depend on win32file?) def win_ismount(path): import win32file volume_path = win32file.GetVolumePathName(path) return volume_path == path # May have to ignore a trailing

[issue11102] configure doesn't find major() on HP-UX v11.31

2011-06-14 Thread Oren Held
Oren Held o...@held.org.il added the comment: Any tip on how to make this patch get committed? :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11102

[issue1516897] Use dynload_shlib on newer HP-UX versions

2011-05-04 Thread Oren Held
Oren Held o...@held.org.il added the comment: ajaksu2: the ticket you referred to fixed it for Darwin only, afaik. HP-UX, regardless of versions, still use the old dynload_hpux.c. -- nosy: +Oren_Held ___ Python tracker rep...@bugs.python.org http

[issue1487481] Could BIND_FIRST be removed on HP-UX?

2011-05-04 Thread Oren Held
Changes by Oren Held o...@held.org.il: -- nosy: +Oren_Held ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1487481 ___ ___ Python-bugs-list mailing

[issue10800] libffi build failure on HP-UX 11/PA

2011-02-08 Thread Oren Held
Oren Held o...@held.org.il added the comment: quick update: libffi (upstream) has this fixed now in git commit dc411e8f991 . -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10800

[issue11102] configure doesn't find major() on HP-UX v11.31

2011-02-04 Thread Oren Held
Oren Held o...@held.org.il added the comment: Just a small note: after this patch applied, building Python 2.7.1 was successful on Linux (SLES 11, RHEL 5, Ubuntu 10.10), Solaris 10, and HP-UX 11 v3. (I didn't get to build Python on other platforms

[issue11102] configure doesn't find major() on HP-UX v11.31

2011-02-02 Thread Oren Held
New submission from Oren Held o...@held.org.il: The effect eventually is that on HP-UX v3 there are no os.major() and os.minor() functions. I tried to dig deeper to find out what's wrong, and it seems that 'configure' script fails on 'major' check and thus disables the 'major' feature

[issue11102] configure doesn't find major() on HP-UX v11.31

2011-02-02 Thread Oren Held
Oren Held o...@held.org.il added the comment: Attaching a patch I've made for fixing the problem in HP-UX, simply by #including sys/types.h on the configure test.. 1. I'm not sure it'll be good for all platforms; maybe we need more 'configure' magic here to make it #include sys/types.h

[issue11047] Bad description for a change

2011-01-28 Thread Oren Held
New submission from Oren Held o...@held.org.il: In the what's new in 2.7, there is some mistake in the description of issue 7902. 7902, afaik, disables the fallback to absolute import, when requesting a relative import fails. If I got it right, the description states the opposite

[issue10800] libffi build failure on HP-UX 11/PA

2011-01-02 Thread Oren Held
Oren Held o...@held.org.il added the comment: I confirm that on Python 2.7.1, on HP-UX 11.31, ia64 architecture). dlmalloc.c is the problematic file, a part of libffi. I reported the same problem and solution + patch in here: http://sourceware.org/ml/libffi-discuss/2010/msg00203.html

[issue7242] Forking in a thread raises RuntimeError

2010-12-18 Thread Oren Held
Oren Held o...@held.org.il added the comment: Just adding some info: This bug is not Solaris-specific; I reproduced it on HP-UX 11.31. On Python 2.6.4, thread_test.py fails with the same RunTime error exception. On Python 2.6.6, it passes and things look good. -- nosy: +Oren_Held

[issue9035] os.path.ismount on windows doesn't support windows mount points

2010-06-20 Thread Oren Held
New submission from Oren Held o...@held.org.il: On unices, ismount checks whether the given path is a mount point. On windows, it only checks whether it's a drive letter. Long story short, Python simply returns False when doing ismount(rc:\mount1), while c:\mount1 is a real mount point

[issue8599] _execvpe should behaves inconsistently when PATH includes a filename

2010-05-02 Thread Oren Held
New submission from Oren Held o...@held.org.il: A. Description When running os._execvpe with a relative pathname that does not exist, I'd expect to get ENOENT error. But there is an edge case in which Python throws ENOTDIR error - when the LAST element in PATH is a regular file (e.g. /bin/ls

[issue8599] _execvpe behaves inconsistently when PATH includes a filename

2010-05-02 Thread Oren Held
Changes by Oren Held o...@held.org.il: -- title: _execvpe should behaves inconsistently when PATH includes a filename - _execvpe behaves inconsistently when PATH includes a filename ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue7902] relative import broken

2010-02-12 Thread Oren Held
Changes by Oren Held o...@held.org.il: -- nosy: +Oren_Held ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7902 ___ ___ Python-bugs-list mailing