On Sun, Feb 28, 2010 at 09:45:56PM +0100, Baptiste Carvello wrote: > However, making a difference between zipimport and the filesystem > importer means the application will stop working if I unzip the > library zip file, which is surprising. Unzipping the zip file can be > handy when debugging a bug caused by a forgotten module.
That difference exists already, the zipimporter will happily run .pyo files inside the zipfile even when you're not running with -O or PYTHONOPTIMIZE. Regards Floris -- Debian GNU/Linux -- The Power of Freedom www.debian.org | www.gnu.org | www.kernel.org _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com