Issue2058

classification
Title: ClasspathPyImporter doesn't implement PEP 302's get_data
Type: behaviour Severity: normal
Components: Core Versions: Jython 2.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: rjolly, tavianator
Priority: Keywords:

Created on 2013-06-03.18:51:31 by tavianator, last changed 2013-09-26.09:28:38 by rjolly.

Messages
msg8037 (view) Author: Tavian Barnes (tavianator) Date: 2013-06-03.18:51:31
With Jython 2.5.3, I can't use __loader__.get_data('file') to read data that is packaged in a JAR/WAR with my Python code, because ClasspathPyImporter doesn't implement that method.  While not a required part of the PEP, it would be convenient.
msg8130 (view) Author: Raphael Jolly (rjolly) Date: 2013-09-26.09:28:37
Fix attempted in https://bitbucket.org/jython/jython/pull-request/11/2058-classpathpyimporter-implements
History
Date User Action Args
2013-09-26 09:28:38rjollysetnosy: + rjolly
messages: + msg8130
2013-06-03 18:51:31tavianatorcreate