sgzwiz / brython

Automatically exported from code.google.com/p/brython
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

operator <> is interpreted as < #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
assert 0 <> 1
assert 1 <> 0
print('Ok')

What is the expected output? What do you see instead?

AssertionError: 
module '__main__' line 2
assert 1 <> 0

What version of the product are you using? On what operating system?
Brython version 1.1.20130309-192522
Linux Mint 12 - Firefox 19.0

Please provide any additional information below.

Original issue reported on code.google.com by ca...@nce.ufrj.br on 15 Mar 2013 at 12:08

GoogleCodeExporter commented 9 years ago
FYI..  I believe this should produce a syntax error as shown below when ran 
against python 3.3.

Python 3.2.3 (default, Oct 19 2012, 19:53:57) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 1 <> 0
  File "<stdin>", line 1
    1 <> 0
       ^
SyntaxError: invalid syntax
>>> 

Original comment by billy.earney@gmail.com on 17 Mar 2013 at 2:29

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r726.

Original comment by pierre.q...@gmail.com on 17 Mar 2013 at 8:48

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r727.

Original comment by pierre.q...@gmail.com on 17 Mar 2013 at 8:48

GoogleCodeExporter commented 9 years ago
Thanks for the report, it's fixed in rev 727
- Pierre

Original comment by pierre.q...@gmail.com on 17 Mar 2013 at 9:07