Skip to content

Commit 40cac73

Browse files
committed
Fix SF # 551504, python -v sometimes fails to find init (HPUX)
Joseph Winston recommends removing DYNAMIC_PATH, since it can cause some dynamic libraries to not load on HP-UX 11.
1 parent e08e1bc commit 40cac73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/dynload_hpux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
2929

3030
flags = BIND_FIRST | BIND_DEFERRED;
3131
if (Py_VerboseFlag) {
32-
flags = DYNAMIC_PATH | BIND_FIRST | BIND_IMMEDIATE |
32+
flags = BIND_FIRST | BIND_IMMEDIATE |
3333
BIND_NONFATAL | BIND_VERBOSE;
3434
printf("shl_load %s\n",pathname);
3535
}

0 commit comments

Comments
 (0)