Message275456
> https://codesearch.debian.net/search?q=import+DLFCN
I see 8 projects: boost, trilinos, vtk6, openbabel, gdcm, paraview, ecasound, yade. It doesn't like a giant project to update them.
> boost1.58_1.58.0+dfsg-5.1/libs/mpi/build/__init__.py
>
> import sys
> if sys.platform == 'linux2':
> import DLFCN as dl
It's not like this code already works on Python 3 :-) sys.platform was replace with "linux" on Python 3.
It's easy to replace this import with:
try:
import DLFCN as dl
except ImportError
import os as dl |
|
Date |
User |
Action |
Args |
2016-09-09 21:42:26 | vstinner | set | recipients:
+ vstinner, gvanrossum, doko, ned.deily, python-dev, zach.ware, koobs |
2016-09-09 21:42:26 | vstinner | set | messageid: <1473457346.05.0.594375683977.issue28027@psf.upfronthosting.co.za> |
2016-09-09 21:42:26 | vstinner | link | issue28027 messages |
2016-09-09 21:42:26 | vstinner | create | |
|