Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
7274cffa
Kaydet (Commit)
7274cffa
authored
Haz 29, 2009
tarafından
Alexandre Vassalotti
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Update docstrings for sys.getdlopenflags() and sys.setdlopenflags().
üst
1dcc3845
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
sysmodule.c
Python/sysmodule.c
+12
-10
No files found.
Python/sysmodule.c
Dosyayı görüntüle @
7274cffa
...
...
@@ -599,12 +599,14 @@ sys_setdlopenflags(PyObject *self, PyObject *args)
PyDoc_STRVAR
(
setdlopenflags_doc
,
"setdlopenflags(n) -> None
\n
\
\n
\
Set the flags that will be used for dlopen() calls. Among other
\n
\
things, this will enable a lazy resolving of symbols when importing
\n
\
a module, if called as sys.setdlopenflags(0)
\n
\
To share symbols across extension modules, call as
\n
\
sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL)"
);
Set the flags used by the interpreter for dlopen calls, such as when the
\n
\
interpreter loads extension modules. Among other things, this will enable
\n
\
a lazy resolving of symbols when importing a module, if called as
\n
\
sys.setdlopenflags(0). To share symbols across extension modules, call as
\n
\
sys.setdlopenflags(ctypes.RTLD_GLOBAL). Symbolic names for the flag modules
\n
\
can be either found in the ctypes module, or in the DLFCN module. If DLFCN
\n
\
is not available, it can be generated from /usr/include/dlfcn.h using the
\n
\
h2py script."
);
static
PyObject
*
sys_getdlopenflags
(
PyObject
*
self
,
PyObject
*
args
)
...
...
@@ -618,10 +620,10 @@ sys_getdlopenflags(PyObject *self, PyObject *args)
PyDoc_STRVAR
(
getdlopenflags_doc
,
"getdlopenflags() -> int
\n
\
\n
\
Return the current value of the flags that are used for dlopen
()
\n
\
calls. The flag constants are defined in the dl module."
);
#endif
Return the current value of the flags that are used for dlopen
calls.
\n
\
The flag constants are defined in the ctypes and DLFCN modules."
);
#endif
/* HAVE_DLOPEN */
#ifdef USE_MALLOPT
/* Link with -lmalloc (or -lmpc) on an SGI */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment