Message176873
From the perspective of Jython we'd want the easiest way to hook into this as possible of course, but I think that overriding marshal to handle a $py.class or whatever format would be a misappropriation of the marshal module
Jython actually has a slow, preliminary .pyc bytecode interpreter, so it needs marshal the way it is. Correct me if I'm wrong but I think the overriding a method of a Loader option could allow you to even have the import system support .pyc *and* $py.class at the same time in Jython (just by addding another Loader into the mix)
I'm not sure anyone would ever want to do that in practice, but it's probably worth considering.
Overriding a Loader method is probably the 'most work' for alternative implementations, right? But it's still fairly trivial |
|
Date |
User |
Action |
Args |
2012-12-04 04:02:09 | pjenvey | set | recipients:
+ pjenvey, brett.cannon, jcea, ncoghlan, Arfrever, dino.viehland, eric.snow, Marc.Abramowitz, Ronan.Lamy |
2012-12-04 04:02:09 | pjenvey | set | messageid: <1354593729.35.0.303585454389.issue15031@psf.upfronthosting.co.za> |
2012-12-04 04:02:09 | pjenvey | link | issue15031 messages |
2012-12-04 04:02:08 | pjenvey | create | |
|