Issue1638904
Created on 2007-01-18.19:38:30 by leouserz, last changed 2007-02-28.22:39:31 by cgroves.
| File name |
Uploaded |
Description |
Edit |
Remove |
|
testtypes.py
|
leouserz,
2007-01-18.19:40:03
|
test case |
|
|
| msg1393 (view) |
Author: Deleted User leouserz (leouserz) |
Date: 2007-01-18.19:38:30 |
|
There are 6 types that are reporting the wrong type name:
BuiltinFunctionType wrong, is <type 'reflectedfunction'>, should be <type 'builtin_function_or_method'>
BuiltinMethodType wrong, is <type 'method'>, should be <type 'builtin_function_or_method'>
MethodType wrong, is <type 'method'>, should be <type 'instance method'>
TypeType wrong, is <type 'javaclass'>, should be <type 'type'>
UnboundMethodType wrong, is <type 'method'>, should be <type 'instance method'>
UnicodeType wrong, is <type 'str'>, should be <type 'unicode'>
The diffs are compared against a dict that has been produced by getting the types from the types module.
These types appear to be missing:
'DictProxyType': "<type 'dict-proxy'>"
'BufferType': "<type 'buffer'>"
'ObjectType': "<type 'object'>"
leouser
|
| msg1394 (view) |
Author: Deleted User leouserz (leouserz) |
Date: 2007-01-18.19:40:03 |
|
oops, forgot to attach the test case
File Added: testtypes.py
|
| msg1395 (view) |
Author: Charlie Groves (cgroves) |
Date: 2007-02-28.22:39:31 |
|
Fixed as best as jython can do in r3132 We don't have a buffer type, and it's not worth fixing the names on MethodType, UnboundMethodType and DictProxyType. The rest is right now.
|
|
| Date |
User |
Action |
Args |
| 2007-01-18 19:38:30 | leouserz | create | |
|