Issue989337
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2004-07-12 11:07 by tebeka, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (6) | |||
---|---|---|---|
msg21524 - (view) | Author: Miki Tebeka (tebeka) * | Date: 2004-07-12 11:07 | |
>>> from test import test_descr >>> test_descr.verbose = 1 >>> test_descr.test_main() Testing weakref segfault... Testing SF bug 551412 ... Testing SF bug 570483... Testing list operations... checking a+b checking b in a checking b in a checking a[b] checking a[b:c] checking a+=b checking a*=b checking len(a) checking a*b checking b*a checking a[b]=c checking a[b:c]=d Testing dict operations... checking cmp(a,b) checking b in a checking b in a checking a[b] checking len(a) checking a[b]=c Testing dict constructor ... Testing dir() ... Testing int operations... checking a & b checking a ^ b checking a >> b checking a - b checking a ** b checking a + b checking divmod(a, b) checking a << b checking a * b checking a / b checking cmp(a, b) checking a | b checking a % b checking int(a) checking - a checking ~ a checking float(a) checking hex(a) checking + a checking long(a) checking abs(a) checking oct(a) Testing long operations... checking a & b checking a ^ b checking a >> b checking a - b checking a ** b checking a + b checking divmod(a, b) checking a << b checking a * b checking a / b checking cmp(a, b) checking a | b checking a % b checking int(a) checking - a checking ~ a checking float(a) checking hex(a) checking + a checking long(a) checking abs(a) checking oct(a) Testing float operations... checking a >= b checking a - b checking a > b checking a ** b checking a < b checking a != b checking a + b checking a <= b checking divmod(a, b) checking a * b checking a / b checking a == b checking a % b checking int(a) checking - a checking float(a) checking + a checking long(a) checking abs(a) Testing complex operations... checking a - b checking a ** b checking a != b checking a + b checking divmod(a, b) checking a * b checking a / b checking a == b checking a % b checking - a checking + a checking abs(a) Testing spamlist operations... checking a+b checking b in a checking b in a checking a[b] checking a[b:c] checking a+=b checking a*=b checking len(a) checking a*b checking b*a checking a[b]=c checking a[b:c]=d Testing spamdict operations... checking cmp(a,b) checking b in a checking b in a checking a[b] checking len(a) checking repr(a) checking a[b]=c Testing Python subclass of dict... pydict stress test ... Testing Python subclass of list... Testing __metaclass__... Testing Python subclass of module... Testing multiple inheritance... Testing error messages for MRO disagreement... Testing multiple inheritance special cases... Testing ex5 from C3 switch discussion... Testing MRO monotonicity... Testing consistentcy with EPG... Testing object class... Testing __slots__... Testing __dict__ and __weakref__ in __slots__... Testing class attribute propagation... Testing errors... Testing class methods... Testing C-based class methods... Testing static methods... Testing C-based static methods... Testing classic classes... Testing computed attributes... Testing __new__ slot override... Testing mro() and overriding it... Testing operator overloading... Testing methods... Testing special operators... Traceback (most recent call last): File "<pyshell#6>", line 1, in -toplevel- test_descr.test_main() File "C:\apps\Python24\lib\test\test_descr.py", line 4024, in test_main specials() File "C:\apps\Python24\lib\test\test_descr.py", line 1875, in specials print Letter('w') PicklingError: Can't pickle <class 'test.test_descr.Letter'>: attribute lookup test.test_descr.Letter failed >>> This is Python 2.4a1 on win2k pro |
|||
msg21525 - (view) | Author: Raymond Hettinger (rhettinger) * | Date: 2004-07-18 19:46 | |
Logged In: YES user_id=80475 I cannot reproduce this on either WinME or WinXP. |
|||
msg21526 - (view) | Author: Miki Tebeka (tebeka) * | Date: 2004-07-19 05:09 | |
Logged In: YES user_id=358087 Sorry, forgot that I've upgraded to winXP the other day. This *is* winXP pro SP1 |
|||
msg21527 - (view) | Author: Miki Tebeka (tebeka) * | Date: 2004-10-17 16:00 | |
Logged In: YES user_id=358087 Still here in Python-2.4b1 |
|||
msg21528 - (view) | Author: Raymond Hettinger (rhettinger) * | Date: 2005-01-07 01:19 | |
Logged In: YES user_id=80475 Do you still have a problem with this in Py2.4 final ? |
|||
msg21529 - (view) | Author: George Yoshida (quiver) | Date: 2005-01-07 16:33 | |
Logged In: YES user_id=671362 Yes, I have(2.4, 2.4.1a0, 2.5a0). Much shorter way is : >>> from test.test_descr import specials >>> specials() Several things I noticed: - You need to run it from IDLE, not from the command line. - (Probably)OS independent. (I confirmed with both Windows and Linux) - error message is printed to the console, saying s.t. like: Cannot pickle: (16, ('CALL', ('stdout', 'write', ('w',), {}))) - This message comes from idlelib.rpc.SocketIO::putmessage Does this help? |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:05 | admin | set | github: 40547 |
2004-07-12 11:07:05 | tebeka | create |