Message11507

Author jeff.allen
Recipients jamesmudd, jeff.allen
Date 2017-07-28.06:47:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1501224427.96.0.908032779684.issue2612@psf.upfronthosting.co.za>
In-reply-to
Content
I think it probably should be an error to call encode_UnicodeEscape with a null string.

And maybe the inner-workings of repr should not have been public.

My mistake was not guarding against null here: https://hg.python.org/jython/rev/cb01e444e8e2#l16.7 when I chose to use the displayDirName. I suppose this is a  combination that ought to be tested in test_import_jy. It only generates a warning, though.
History
Date User Action Args
2017-07-28 06:47:07jeff.allensetmessageid: <1501224427.96.0.908032779684.issue2612@psf.upfronthosting.co.za>
2017-07-28 06:47:07jeff.allensetrecipients: + jeff.allen, jamesmudd
2017-07-28 06:47:07jeff.allenlinkissue2612 messages
2017-07-28 06:47:07jeff.allencreate