[issue4886] test/regrtest.py contains error on __import__

2009-01-08 Thread Michael Yang
New submission from Michael Yang yangofz...@gmail.com: I want to use the included test.regrtest (located in $pythondir/lib/python[ver]/test) to regression test some of my own scripts located in directory myDir. The script has some nice configurability features to skip some tests based

[issue4584] doctest fails to display bytes type

2008-12-07 Thread Michael Yang
New submission from Michael Yang [EMAIL PROTECTED]: doctest.testmod() fails when attempting to echo back a bytes type with ord() 128. def ok(): bytes([255,]) b'\xff' pass def notOK(): b'\xff' pass import doctest doctest.testmod() Traceback (most recent call last

[issue3635] pickle.dumps cannot save instance of dict-derived class that overrides __getattribute__

2008-08-21 Thread Michael Yang
New submission from Michael Yang [EMAIL PROTECTED]: # pickle.dumps is not able to process an instance of # a class that inherits from 'dict' and # overrides the built-in __getattribute__ method # but can successfully process one that # overrides the__getattr__ method class Examp1(dict

[issue3145] help modules os raises UnicodeDecodeError

2008-06-19 Thread Michael Yang
New submission from Michael Yang [EMAIL PROTECTED]: help() help modules os Here is a list of matching modules. Enter any module name to get more help. posix - This module provides access to operating system ... stringprep - Library that exposes various tables found in the StringPrep RFC 3454