Staging
v0.5.1
https://github.com/python/cpython
Revision 108f13751999f63c20fa9067f3fc0feb6a87718e authored by Tim Peters on 27 August 2004, 05:36:07 UTC, committed by Tim Peters on 27 August 2004, 05:36:07 UTC
    s.join([t]) is t

for (s, t) in (str, str), (unicode, unicode), and (str, unicode).
For (unicode, str), verify that it's *not* t (the result is promoted
to unicode instead).  Also verify that when t is a subclass of str or
unicode that "the right thing" happens.
1 parent 894c512
Raw File
Tip revision: 108f13751999f63c20fa9067f3fc0feb6a87718e authored by Tim Peters on 27 August 2004, 05:36:07 UTC
test_bug1001011(): Verify that
Tip revision: 108f137
vgrindefs
# vgrind is a pretty-printer that takes source code and outputs
# eye-pleasing postscript.  The entry below should be added to your
# local vgrindefs file.  Contributed by Neale Pickett <neale@lanl.gov>.

python|Python|py:\
        :pb=^\d?(def|class)\d\p(\d|\\|\(|\:):\
        :cb=#:ce=$:sb=":se=\e":lb=':le=\e':\
        :kw=assert and break class continue def del elif else except\
         exec finally for from global if import in is lambda not or\
         pass print raise return try while yield:
back to top