Use imp to get the suffix that should be dropped (Closes: #204).
Use imp to get the suffix that should be dropped (Closes: #204).

Don't just drop the extension since Python 3 supports modules named like
foo.cpython-XY.so. Use the suffixes from imp.get_suffixes() instead.

--HG--
branch : 0.10-bugfix
extra : transplant_source : %D3%D9Jn%3C%F92%F5%AA%02%1E%EB%84%17%89%83%2A%ED%B5y

hirochachacha/apython,myint-archive/bpython,thomasballinger/old-bpython-with-hy-support