[MERGE] make plugins use the right suffixes
John Arbash Meinel
john at arbash-meinel.com
Fri Jul 14 21:40:58 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Robert noticed that we would allow loading '.pyo' files even if we
weren't running python -O. (it turns out python won't load .pyc if
running -O, and won't load .pyo if running without it.)
The attached bundle fixes it to use the right suffixes.
I don't have any tests for it, because it would involve spawning bzr as
a separate process, and running it with either 'python -O' or 'python'.
Which is possible to do, but doesn't seem worthy for this change.
(It means we can't use any of the builtin stuff, we have to use Popen
directly. and make sure BZR_PLUGIN_PATH is correct, etc)
If we don't want to merge this until the tests are written, I don't
think it is important enough to block 0.9.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v184.108.40.206 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 0 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060714/3efb1fa3/attachment.bin
More information about the bazaar