ironpythonbot

Results 91 issues of ironpythonbot

Rather than being a real file descriptor fileno() seems to return an identifier for PythonFiles - this means that open files cannot be shared between IronPython and pure C code...

high

from collections import deque deque('abc', 2, 2) Traceback (most recent call last): File "", line 1, in TypeError: **init**() takes at least -1 arguments (3 given) ## Work Item Details...

D:\rft\vsl\dlr\Languages\IronPython\Tests>27 -c "import marshal;print marshal.dumps(2.0, 1)" f☺2 D:\rft\vsl\dlr\Languages\IronPython\Tests>26 -c "import marshal;print marshal.dumps(2.0, 1)" f♥2.0 D:\rft\vsl\dlr\Languages\IronPython\Tests>ipyd -c "import marshal;print marshal.dumps(2.0, 1)" f♥2.0 D:\rft\vsl\dlr\Languages\IronPython\Tests>ipyd -c "import marshal;print marshal.loads(marshal.dumps(2.0, 1))" 2.0 D:\rft\vsl\dlr\Languages\IronPython\Tests>26 -c...

D:\rft\vsl\dlr\Languages\IronPython\Tests>27 -c "import pickle;print pickle.dumps(0.33333333333333331)" F0.3333333333333333 . D:\rft\vsl\dlr\Languages\IronPython\Tests>26 -c "import pickle;print pickle.dumps(0.33333333333333331)" F0.33333333333333331 . D:\rft\vsl\dlr\Languages\IronPython\Tests>ipyd -c "import pickle;print pickle.dumps(0.33333333333333331)" F0.33333333333333331 . ## Work Item Details **Original CodePlex Issue:** [Issue 28194](http://ironpython.codeplex.com/workitem/28194)...

D:\rft\vsl\dlr\Languages\IronPython\Tests>26 -c "compile('if 1:\n print 1', '', 'exec', 0x200, 1)" Traceback (most recent call last): File "", line 1, in File "", line 2 ``` print 1 ^ ``` SyntaxError:...

This seems to be happening with any XML file I try to parse with minidom, I don't think it depends on the file contents at all. IronPython 2.7.1 (2.7.0.40) on...

Besides the small repro below, please note that CPython 2.7 no longer exactly preserves whitespace as it was in the string passed to exec. E.g., "\r\n" is now consistently turned...

Specifically the following file opening modes (second param of the 'file' function) are no longer allowed: ['Ut', 'U+t', 'rUt', 'rU+t', 'Urt', 'Ur+t'] and now end up throwing an exception. D:\rft\vsl\dlr\Languages\IronPython\Tests\compat>26...

Test script attached reads invalid data from file. Read data contains string 'myselff' but it is nowhere to be found in test.obj file which is being read. I ran this...

In a file that includes a multiline string with one or more lines ending in '\', stack traces and other uses of line numbers end up miscounting. For example, in...