Author paul.moore
Recipients paul.moore
Date 2008-03-20.20:58:30
SpamBayes Score 0.0308598
Marked as misclassified No
Message-id <1206046713.54.0.393035413153.issue2439@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2008-03-20 20:58:33paul.mooresetspambayes_score: 0.0308598 -> 0.0308598
recipients: + paul.moore
2008-03-20 20:58:33paul.mooresetspambayes_score: 0.0308598 -> 0.0308598
messageid: <1206046713.54.0.393035413153.issue2439@psf.upfronthosting.co.za>
2008-03-20 20:58:32paul.moorelinkissue2439 messages
2008-03-20 20:58:32paul.moorecreate