main
main copied to clipboard
Work for this repo has moved to https://github.com/IronLanguages/ironpython2
co_firstlineno return different result for Ironpython and Cpython2.5. detail Info pls watch Repro Snippet. E:\IronPyTestFor2.5\ironpythonCompatableFor2.5\ironpythonCompatableFor2.5\25\L ib > ipy > IronPython console: IronPython 2.0A5 (2.0.11011.00) on .NET 2.0.50727.1318 > Copyright (c)...
encode('utf-8') gets error result from u'\ud800' to u'\udfff' UnicodeEncodeError: Unable to translate Unicode character \uD800 at index 0 to s pecified code page. In IronPyhton: E:\workfolder\ironpythonCompatableFor2.5\25\Lib>ipy IronPython console: IronPython 2.0A6...
1) u''.isnumeric() returns 'True' in IronPython but 'False' in Cpython > > > u''.isnumeric() > > > 2) 'str' objedt has no attribute 'isnumeric' in Cpython > > > ''.isnumeric()...
E:\IronPyTestFor2.5\ironpythonCompatableFor2.5\ironpythonCompatableFor2.5\25\L ib > ipy > IronPython console: IronPython 2.0A6 (2.0.11102.00) on .NET 2.0.50727.1318 > Copyright (c) Microsoft Corporation. All rights reserved. > > > > import sys > > >...
D:\rft\vsl\dlr\Languages\IronPython\Tests>27 -c "exec 'x=2\r\ny=4'" D:\rft\vsl\dlr\Languages\IronPython\Tests>26 -c "exec 'x=2\r\ny=4'" Traceback (most recent call last): File "", line 1, in File "", line 1 ``` x=2 ^ ``` SyntaxError: invalid syntax D:\rft\vsl\dlr\Languages\IronPython\Tests>ipyd...
I have a .csv file encoded in UTF-8, which contains both latin and cyrillic symbols (in attachments). I'm trying to execute following script in IronPython 2.7.1: ``` import codecs f...
"Hotshot is a replacement for the existing profile module. As it’s written mostly in C, it should result in a much smaller performance impact than the existing profile module." Profiling...
different exception be cautht against Ironpython and Cpython. detail Info pls watch Repro Snippet. E:\IronPyTestFor2.5\ironpythonCompatableFor2.5\ironpythonCompatableFor2.5\25\L ib > ipy > IronPython console: IronPython 2.0A5 (2.0.11011.00) on .NET 2.0.50727.1318 > Copyright (c)...
encode('utf-7') returns different results with simbols: ! @ # $ % ^ & \* { } [ ] _ i.e. u'!#'.encode('utf-7') It also return different results when the unicode is...
Given the code: x = {2:3} for [[i], [j]] in x.items(): print(i, j) IronPython parses and runs this code as if it was identical to: x = {2:3} for ((i),...