Bugs item #989337, was opened at 2004-07-12 20:07 Message generated for change (Comment added) made by quiver You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=989337&group_id=5470
Category: Python Library Group: Python 2.4 Status: Closed Resolution: None Priority: 5 Submitted By: Miki Tebeka (tebeka) Assigned to: Nobody/Anonymous (nobody) Summary: test_descr fails on win2k Initial Comment: >>> 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 ---------------------------------------------------------------------- Comment By: George Yoshida (quiver) Date: 2005-01-08 01:33 Message: 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? ---------------------------------------------------------------------- Comment By: Raymond Hettinger (rhettinger) Date: 2005-01-07 10:19 Message: Logged In: YES user_id=80475 Do you still have a problem with this in Py2.4 final ? ---------------------------------------------------------------------- Comment By: Miki Tebeka (tebeka) Date: 2004-10-18 01:00 Message: Logged In: YES user_id=358087 Still here in Python-2.4b1 ---------------------------------------------------------------------- Comment By: Miki Tebeka (tebeka) Date: 2004-07-19 14:09 Message: Logged In: YES user_id=358087 Sorry, forgot that I've upgraded to winXP the other day. This *is* winXP pro SP1 ---------------------------------------------------------------------- Comment By: Raymond Hettinger (rhettinger) Date: 2004-07-19 04:46 Message: Logged In: YES user_id=80475 I cannot reproduce this on either WinME or WinXP. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=989337&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com