[issue5708] Tiny code polishing to unicode_repeat

2009-04-12 Thread Georg Brandl
Georg Brandl added the comment: Committed in r71506. -- resolution: -> accepted status: open -> closed ___ Python tracker ___ ___ Pyt

[issue5708] Tiny code polishing to unicode_repeat

2009-04-07 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> georg.brandl nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue5708] Tiny code polishing to unicode_repeat

2009-04-06 Thread Larry Hastings
New submission from Larry Hastings : Two minor tweaks to unicode_repeat: * If the number of repeats (len) is < 1, we're always going to return the empty Unicode string. So I incr and return unicode_empty. * The current code has "if (done < nchars)" around the first copy. A little data-flow anal