Issue1497
Created on 2009年10月27日.21:01:06 by gutworth, last changed 2014年05月17日.20:57:41 by fwierzbicki.
| Messages | |||
|---|---|---|---|
| msg5276 (view) | Author: Benjamin Peterson (gutworth) | Date: 2009年10月27日.21:01:06 | |
$ ./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'>,) |
|||
| msg5277 (view) | Author: Frank Wierzbicki (fwierzbicki) | Date: 2009年10月27日.22:55:04 | |
I have a fix in mind for this and other ast.py incompatibilities. My current implementation is based on a fundemental mistake: I use the same ast for internals as I use for ast.py. I plan to create a pure Python ast for ast.py and make the internal ast a pure antlr beast (not a PyObject). Making ast.py much more compatible should be easy from there. It's a medium sized project though -- will probably be a few weeks before I can get to it. |
|||
| msg6072 (view) | Author: Jim Baker (zyasoft) | Date: 2010年09月20日.18:49:19 | |
Deferring to 2.6 |
|||
| msg6526 (view) | Author: Benjamin Peterson (gutworth) | Date: 2011年05月17日.19:50:44 | |
Any chance of having this fixed soon? |
|||
| msg8431 (view) | Author: Frank Wierzbicki (fwierzbicki) | Date: 2014年05月17日.20:53:29 | |
Fixed. http://hg.python.org/jython/rev/b3f5c51c0a83 I went with a simpler approach instead of a rewrite :) |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014年05月17日 20:57:41 | fwierzbicki | set | resolution: accepted -> fixed |
| 2014年05月17日 20:53:29 | fwierzbicki | set | status: open -> closed messages: + msg8431 |
| 2013年02月19日 18:51:08 | fwierzbicki | set | versions: + Jython 2.7, - Deferred |
| 2012年11月07日 09:10:01 | hpk | set | nosy: + hpk |
| 2012年10月23日 21:44:22 | Arfrever | set | nosy: + Arfrever |
| 2011年05月17日 19:50:45 | gutworth | set | messages: + msg6526 |
| 2010年09月20日 18:49:19 | zyasoft | set | priority: high -> normal nosy: + zyasoft messages: + msg6072 versions: + Deferred, - 25rc4 |
| 2009年10月27日 22:55:05 | fwierzbicki | set | priority: high resolution: accepted messages: + msg5277 |
| 2009年10月27日 22:06:14 | pjenvey | set | assignee: fwierzbicki nosy: + fwierzbicki |
| 2009年10月27日 21:01:06 | gutworth | create | |
Supported by Python Software Foundation,
Powered by Roundup