Issue 17 in tinypy: invalid (2.x) print statements parse but don't work

3 views
Skip to first unread message

codesite...@google.com

unread,
Jun 10, 2008, 11:02:31 PM6/10/08
to tin...@googlegroups.com
Issue 17: invalid (2.x) print statements parse but don't work
http://code.google.com/p/tinypy/issues/detail?id=17

New issue report by philhassey:
What steps will reproduce the problem?
1. "print 'OK'"

What is the expected output? What do you see instead?
It should raise an exception since this isn't supported tinypy syntax.
Instead it does nothing. (It parses this as "print; 'OK'")

Here's a test case that should work:
t_render("""print 'OK'""","Exception")


Issue attributes:
Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Jun 10, 2008, 11:06:31 PM6/10/08
to tin...@googlegroups.com
Issue 17: invalid (2.x) print statements parse but don't work
http://code.google.com/p/tinypy/issues/detail?id=17

Comment #1 by philhassey:
It would be swell if someone patched this... it'll take some bungling
around in
parse.py to resolve. I'd like this fixed since it apparently confuses people:

http://groups.google.com/group/tinypy/web/gotchas

Which is quite understandable as this is not good behavior.

Reply all
Reply to author
Forward
0 new messages