[Python-3000-checkins] r55359 - python/branches/py3k-struni/Lib/test/test_strop.py

Guido van Rossum guido at python.org
Wed May 16 00:05:51 CEST 2007


I just killed strop -- all it has is a faster maketrans(). The Python
version in string.py is good enough in the interimp.

On 5/15/07, Brett Cannon <brett at python.org> wrote:
>
>
> On 5/15/07, guido.van.rossum <python-3000-checkins at python.org> wrote:
> > Author: guido.van.rossum
> > Date: Tue May 15 23:42:18 2007
> > New Revision: 55359
> >
> > Modified:
> >    python/branches/py3k-struni/Lib/test/test_strop.py
> > Log:
> > Make test_strop pass.  (But shouldn't we kill strop?)
>
> Strop should go when the string module goes.  I don't remember where the
> last "let's kill string but what do we do about the few useful things in
> there" conversation went.
>
> -Brett
>
>
>
> > Modified:
> python/branches/py3k-struni/Lib/test/test_strop.py
> >
> ==============================================================================
> > --- python/branches/py3k-struni/Lib/test/test_strop.py
> (original)
> > +++ python/branches/py3k-struni/Lib/test/test_strop.py
> Tue May 15 23:42:18 2007
> > @@ -14,7 +14,7 @@
> >          self.assertRaises(ValueError, strop.maketrans , "abc", "xyzq")
> >
> >
> > -transtable =
> '\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037
> !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`xyzdefghijklmnopqrstuvwxyz{|}~\177\200\201\202\203\204\205\206\207\210\211\212\213\214\215\216\217\220\221\222\223\224\225\226\227\230\231\232\233\234\235\236\237\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377'
> > +transtable =
> b'\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037
> !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`xyzdefghijklmnopqrstuvwxyz{|}~\177\200\201\202\203\204\205\206\207\210\211\212\213\214\215\216\217\220\221\222\223\224\225\226\227\230\231\232\233\234\235\236\237\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377'
> >
> >
> > def test_main():
> > _______________________________________________
> > Python-3000-checkins mailing list
> > Python-3000-checkins at python.org
> >
> http://mail.python.org/mailman/listinfo/python-3000-checkins
> >
>
>
> _______________________________________________
> Python-3000-checkins mailing list
> Python-3000-checkins at python.org
> http://mail.python.org/mailman/listinfo/python-3000-checkins
>
>


-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000-checkins mailing list