File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ always available.
304304.. function :: getdlopenflags()
305305
306306 Return the current value of the flags that are used for :cfunc: `dlopen ` calls.
307- The flag constants are defined in the :mod: `dl ` and :mod: `DLFCN ` modules.
307+ The flag constants are defined in the :mod: `ctypes ` and :mod: `DLFCN ` modules.
308308 Availability: Unix.
309309
310310
@@ -587,8 +587,8 @@ always available.
587587 the interpreter loads extension modules. Among other things, this will enable a
588588 lazy resolving of symbols when importing a module, if called as
589589 ``sys.setdlopenflags(0) ``. To share symbols across extension modules, call as
590- ``sys.setdlopenflags(dl.RTLD_NOW | dl .RTLD_GLOBAL) ``. Symbolic names for the
591- flag modules can be either found in the :mod: `dl ` module, or in the :mod: `DLFCN `
590+ ``sys.setdlopenflags(ctypes .RTLD_GLOBAL) ``. Symbolic names for the
591+ flag modules can be either found in the :mod: `ctypes ` module, or in the :mod: `DLFCN `
592592 module. If :mod: `DLFCN ` is not available, it can be generated from
593593 :file: `/usr/include/dlfcn.h ` using the :program: `h2py ` script. Availability:
594594 Unix.
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ of it. Here's an overview:
1717 spwd.rst
1818 grp.rst
1919 crypt.rst
20- dl.rst
2120 termios.rst
2221 tty.rst
2322 pty.rst
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ Core and Builtins
1818Extension Modules
1919-----------------
2020
21+ - The dl module was removed, use the ctypes module instead.
22+
2123- Use wchar_t functions in _locale module.
2224
2325Library
Original file line number Diff line number Diff line change @@ -295,14 +295,6 @@ _symtable symtablemodule.c
295295# _curses_panel _curses_panel.c -lpanel -lncurses
296296
297297
298- # Generic (SunOS / SVR4) dynamic loading module.
299- # This is not needed for dynamic loading of Python modules --
300- # it is a highly experimental and dangerous device for calling
301- # *arbitrary* C functions in *arbitrary* shared libraries:
302-
303- # dl dlmodule.c
304-
305-
306298# Modules that provide persistent dictionary-like semantics. You will
307299# probably want to arrange for at least one of them to be available on
308300# your machine, though none are defined by default because of library
You can’t perform that action at this time.
0 commit comments