-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim Fulton wrote:
> Wichert Akkerman wrote:
>> Previously Andrew Bennetts wrote:
>>> The real problem as you noted in your original message is that
>>> there's no way to
>>> distinguish between a pyc file that is only intended to be used as a
>>> cache of
>>> bytecode for a py file, and a pyc file that is intended to be used
>>> standalone.
>>
>> Isn't the existing or non-existing of a corresponding .py file a good
>> indication?
> 
> No, because you may have intended to remove the module.

Marking the directories containing the sourceless .pyc files as readonly
would be a reasonable workaround:  if your forgot the '-k', the
testrunner would just whine and halt.


Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFLWiZ+gerLs4ltQ4RAls5AJ4uWRuEx3mG4QUignNAk6GAOG9LnACgipti
HwY/HqIds70ZCIecVeHpA/g=
=WmcQ
-----END PGP SIGNATURE-----

_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to