Issue998512
Created on 2004-07-27.06:59:21 by saffi_h, last changed 2005-08-27.17:25:29 by slamb.
History | |||
---|---|---|---|
Date | User | Action | Args |
2004-07-27 06:59:21 | saffi_h | create |
Created on 2004-07-27.06:59:21 by saffi_h, last changed 2005-08-27.17:25:29 by slamb.
Messages | |||
---|---|---|---|
msg912 (view) | Author: Saffi (saffi_h) | Date: 2004-07-27.06:59:21 | |
>>> import urllib2 >>> h=urllib2.HTTPHandler() >>> dir(h) [] Istead of : Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import urllib2 >>> h=urllib2.HTTPHandler() >>> dir(h) ['__doc__', '__lt__', '__module__', 'add_parent', 'close', 'do_open', 'handler_o rder', 'http_open'] >>> Introspection would bring the needed info |
|||
msg913 (view) | Author: Saffi (saffi_h) | Date: 2004-07-27.09:55:45 | |
Logged In: YES user_id=1071900 The dir command should return the object.__class__ attributes that are returned by dir(object.__class__ ) |
|||
msg914 (view) | Author: Scott Lamb (slamb) | Date: 2005-08-27.17:25:29 | |
Logged In: YES user_id=360426 This works now. Jython 2.2a1 on java1.5.0_02 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> import urllib2 >>> h=urllib2.HTTPHandler() >>> dir(h) ['__doc__', '__module__', 'add_parent', 'close', 'do_open', 'http_open'] >>> dir(h.__class__) ['__doc__', '__module__', 'add_parent', 'close', 'do_open', 'http_open'] |
History | |||
---|---|---|---|
Date | User | Action | Args |
2004-07-27 06:59:21 | saffi_h | create |
Supported by Python Software Foundation,
Powered by Roundup