From: Benjamin P. <re...@bu...> - 2009-10-27 21:01:18
|
New submission from Benjamin Peterson <ben...@py...>: $ ./dist/bin/jython Jython 2.5.1+ (trunk:6914, Oct 27 2009, 15:50:22) [Java HotSpot(TM) Server VM (Sun Microsystems Inc.)] on java1.6.0_14 Type "help", "copyright", "credits" or "license" for more information. >>> import ast >>> ast.expr.__bases__ (<type '_ast.AST'>,) >>> ast.Name.__bases__ (<type '_ast.AST'>,) >>> ast.For.__bases__ (<type '_ast.AST'>,) $ python Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ast >>> ast.expr.__bases__ (<type '_ast.AST'>,) >>> ast.Name.__bases__ (<class '_ast.expr'>,) >>> ast.For.__bases__ (<class '_ast.stmt'>,) ---------- components: Core messages: 5276 nosy: gutworth severity: normal status: open title: ast classes do not have appropiate base classes type: behaviour versions: 25rc4 _______________________________________ Jython tracker <re...@bu...> <http://bugs.jython.org/issue1497> _______________________________________ |