This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients madison.may, martin.panter, r.david.murray
Date 2015-06-07.01:49:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433641764.15.0.442982190614.issue24396@psf.upfronthosting.co.za>
In-reply-to
Content
The pkguitil.get_data function is the *right* way to access package-relative data (because in the general case the data may not be on the file system), and IMO it would not be a good idea to make it easier to do things the "wrong" way.  Any deficiencies with get_data (and its visibility) will, I think, be addressed as part of the ongoing effort to make using zipped applications more convenient.

So I'm -1 on adding a convenience function for this.
History
Date User Action Args
2015-06-07 01:49:24r.david.murraysetrecipients: + r.david.murray, martin.panter, madison.may
2015-06-07 01:49:24r.david.murraysetmessageid: <1433641764.15.0.442982190614.issue24396@psf.upfronthosting.co.za>
2015-06-07 01:49:24r.david.murraylinkissue24396 messages
2015-06-07 01:49:23r.david.murraycreate