Changeset 33300d in git


Ignore:
Timestamp:
Sep 1, 2013, 8:14:59 AM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
3b214c36377a112627c5c625e4f381a446911269
Parents:
6af0619c6552cdcec5fde3657123ad6e806d0842
Message:
Fixed the test Manual/pyobject_related_functions.tst (which was failing for some python builds)

Note: string attribute __doc__ is documented differently in some python versions
e.g. "str(object) -> ..." vs "str(object='') -> ..."
see http://bugs.python.org/review/15516/diff2/5609:6750/Objects/stringobject.c?context=&column_width=80
Location:
Tst/Manual
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Tst/Manual/pyobject_related_functions.res.gz.uu

    r6af0619 r33300d  
    1 begin 664 pyobject_related_functions.res.gz
    2 M'XL("(\9PE```W!Y;V)J96-T7W)E;&%T961?9G5N8W1I;VYS+G)E<P#-5-N.
    3 MTS`0?>]7C"*D)%(W2_;"`H5(B^!A5;1(E#>*(B=Q&X-K5[[L;OEZQKE,NGV`
    4 M5_J0GC/VF?$<7U;?/M[=`T!>P.>[#Q`YZS(IJF@!B$JAA$O2Q2S\0U'`_J"K
    5 MG[QVI>&2.=Z4&Z]J)[2RF>*/F77,S59#QHL"/Z,`@74&WD.T])5D`I8M4]&"
    6 M)E\60/@JP\_Y.=PVC0BYF82Q#)/"'<"U1OMM"\PY(RK270=='TNZ<G.(RK+1
    7 M=5E&V$.,D:1?30IG!2`5:KM6:_65.V\4,%"BYD,<#-\;;KG"EK`PZ`V6Y=#K
    8 ML[6ZZSDS6[_#22`LZGOIO!LQ?=(')CT/HR%FV8Y2Q+3N5YU11M?)R>)K[96+
    9 MTC2)EJ&!"U+<'+GU.NML1D5&W2Y@^J&1[\Y@U6KC0.F^&_O_FO&FH':Z]I.(
    10 M8>_/VOGTP!78T!`WD(C-L.?>\=B""EFQ`I82#3#5@%?>\B:=[,M?3O;E>6^?
    11 M:[4JC5=)U/!-=]R2].VX[/PFV#\JNG,][%28B$/?X[*LF91E&<\A8,FLG8BV
    12 MWG"BNB&,M9B7SDY<AL1$!=ZT$8>-[>%&FQVC@2T_AF0%Q:2NF*0*+;/MB,.E
    13 M'O%.-UZ2*)A(F#^.T/#&U_R$\:<IL*>EVWXI1,5OKC?$C@9\U9G5:OVKCP5+
    14 M1\\FCJ81&5V;`NC31'1->&B>>.@K_D$[>7FRDWCE:%KW8@1&1S._^MMT)-7A
    15 I5AV^X-$V]T."47G]KT+/I5-)?!K",QS>56^3/%V\F/T!I+0#[K$%````
     1begin 644 pyobject_related_functions.res.gz
     2M'XL("$W;(E(``W!Y;V)J96-T7W)E;&%T961?9G5N8W1I;VYS+G)E<P"%5%UO
     3MTS`4?>^ON+*0DD@C(_M@0$:D(7B8BL9#>4,H<A)G,;AVY8^5\.NQT_BFJQ#T
     4M(3WGVN=^'#O9?/UX_P``106?[S\`L<;F@C>D!(]J+KE-LW(5_J&J8#>JY@=K
     5M;:V9H)9U=>]D:[F2)I=LGQM+[6HS9[RH_",*/#!6PWL@:]<(RF$]4$E*W'Q9
     6M`>*KW#_.S^&NZWC(307$,E1P.X(=M'*/`U!K-6]0=QUTAU@ZE3L#4M>MH,;4
     7M-<E*.*0U@W*B`RKV=#30,""W=MPQ2+PBJ4B>YZOC`*9_/<VC59N>U&B5DY9D
     8M64K6OLKJ`A4W1T.]R2<WO"(_:FKJ"7^^N=N7L!F4MB"5]S(8^_=FWE:8;BJ?
     9M$CI/^"S=IR<FP\#:,@TI[V=[G&6)`4FW#+B!)^^J]T-VX*0SK,N6$8I7RPA%
     10M<1C!#DK6VLF4=*R?3B;-WH%FUFD)Q4VP("JF*S"[%3;ZI6^)GYX*4=?)&23H
     11M1"3*.,V0J@ZQKT6=L&;A(B1&ROVEC%BU$?9*;RDN/+)CB%9@3*B&"JPP4#-$
     12M'.Y_Q%O5.8&B8")BMH]0L\ZU[(2Q7TM@AZV;0RM(^6^F>F1'"ZZ9S!J4^GF(
     13M!4NC9POWIB&)KBT![]-"5(MX'AYYF"OYCB=Y>7*2_MKCMG#BDRC![5?_VNY)
     14J,][)\8L=F'Z8$T3E]?\*/9<N)?WK&;Y8X1/D3%IDY8O5'X8(F(C<!```
    1615`
    1716end
  • Tst/Manual/pyobject_related_functions.stat

    r6af0619 r33300d  
    1 1 >> tst_memory_0 :: 1354897807:0- spielwiese :spielwiese:version:brummsel:129760
    2 1 >> tst_memory_1 :: 1354897807:0- spielwiese :spielwiese:version:brummsel:1581056
    3 1 >> tst_memory_2 :: 1354897807:0- spielwiese :spielwiese:version:brummsel:1581056
    4 1 >> tst_timer_1 :: 1354897807:0- spielwiese :spielwiese:version:brummsel:3
     11 >> tst_memory_0 :: 1378016077:3.1.3.sw, 64 bit:spielwiese:x86_64-Linux:dilbert:185448
     21 >> tst_memory_1 :: 1378016077:3.1.3.sw, 64 bit:spielwiese:x86_64-Linux:dilbert:3444736
     31 >> tst_memory_2 :: 1378016077:3.1.3.sw, 64 bit:spielwiese:x86_64-Linux:dilbert:3444736
     41 >> tst_timer_1 :: 1378016077:3.1.3.sw, 64 bit:spielwiese:x86_64-Linux:dilbert:2
  • Tst/Manual/pyobject_related_functions.tst

    r6af0619 r33300d  
    33
    44  // Additional functionality through attrib
    5   attrib(pystr, "__doc__");
     5  attrib(pystr, "__class__");    // should always be "<type 'str'>"...
    66  proc(attrib(pystr, "count"))("K");
    77
    8   pystr."__doc__";           // <- Short notations
    9   pystr.count("a");          // Even shorter (if attribute's name is valid and unused)
     8  pystr."__class__";             // <- Short notations
     9  pystr.count("a");              // Even shorter (if attribute's name is valid and unused)
    1010
    1111  python_run("def func(): return 17");
Note: See TracChangeset for help on using the changeset viewer.