New submission from Paul Moore <[EMAIL PROTECTED]>: This patch adds a new get_data function to the pkgutil module, allowing access to data stored in the package directory. It wraps the PEP 302 loader "get_data" function, so that it works with such loaders (for example, zipimport).
The patch includes documentation and tests (I created a new test_pkgutil test module, but did not add tests for the existing pkgutil functionality). All tests pass on Windows against svn rev 61679 (except test_tcl, which was skipped as I didn't build TCL support). ---------- components: Library (Lib) files: pkgutil.patch keywords: patch messages: 64208 nosy: pmoore severity: normal status: open title: Patch to add a get_data function to pkgutil type: feature request versions: Python 2.6 Added file: http://bugs.python.org/file9792/pkgutil.patch __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2439> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com