Closed mschmitzer closed 7 years ago
Hi! I can understand if you don't want to merge this because it's so silly. We do need it because you don't know which of your dependencies is going to pull in future
without notice, so I thought I'd try to push it upstream.
Hi, I've already had problems with some third-party libraries activating some special behaviours, and it's totally acceptable to handle this special case.
I'll release a new version with this patch later, maybe tonight (UTC+2).
Thanks for your contribution.
Thanks for picking this up!
I've also created an issue with future
, since this is really their fault.
Version 0.3.0 released for this patch 👍
The "future" package under python2.7 provides the contents of
xmlrpclib
as thexmlrpc.server
module. This lacks theSimpleXMLRPCDispatcher
andSimpleXMLRPCRequestHandler
classes expected by this module. Try to pick the needed names from the module within thetry
block and fall back to the python2 code if they are missing.