[Jython-checkins] jython (2.5): Check for BaseString so unicode is legal.

fwierzbicki at gmail.com fwierzbicki at gmail.com
Wed Jul 18 19:30:41 CEST 2012


On Wed, Jul 18, 2012 at 10:27 AM, Philip Jenvey <pjenvey at underboss.org> wrote:
>> Oops - I'll revert those - it's ok in imp.java though right?
>
> Now that I've looked, CPython's ensure_fromlist uses PyString_Check too. Which begs the question, why is unicode coming in here and should it?
>
Alex is using the import machinery from Java code I guess (or is
importing from Java code and later using the imp module) -- I don't
think there is much harm in allowing unicode in imp - and I'd guess
he's not the only one out there using (and perhaps abusing) imports
from Java code...

-Frank


More information about the Jython-checkins mailing list