[tahoe-lafs-trac-stream] [tahoe-lafs] #1334: can't test on buildslaves that we don't depend on pywin32

tahoe-lafs trac at tahoe-lafs.org
Sun Jul 24 10:39:19 PDT 2011


#1334: can't test on buildslaves that we don't depend on pywin32
------------------------------------+--------------------------------------
     Reporter:  davidsarah          |      Owner:
         Type:  defect              |     Status:  new
     Priority:  major               |  Milestone:  1.9.0
    Component:  dev-infrastructure  |    Version:  1.8.1
   Resolution:                      |   Keywords:  buildbot windows pywin32
Launchpad Bug:                      |
------------------------------------+--------------------------------------

Comment (by davidsarah):

 Replying to [comment:15 zooko]:
 > For future reference, the [https://launchpad.net/exocet "exocet"] tool
 from Allen Short is an importer (which I think means it replaces the thing
 that currently implements the {{{import}}} keyword) which can do things
 like blacklist modules.

 Well, that's only 6 lines in [attachment:pywin32-just-say-no.darcs.patch]:
 {{{
 class BlockPywin32Finder(object):
     def find_module(self, fullname, path=None):
         if fullname.split('.')[0] in pywin32modules:
             raise ImportError(fullname)
         return None
 sys.meta_path.insert(0, BlockPywin32Finder())
 }}}
 If 6 lines is too complicated, then dependency on another tool certainly
 is!

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1334#comment:16>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list