b'a'.decode() throws TypeError

it looks like 25d3b819ca758c388bec280df66429751f4e88fc introduced another problem. b'a'.decode() throws: TypeError: decode() expected string, got 'NoneType'

Id #35544 | Release: 2.7.5 Beta 2 | Updated: Thu at 8:30 AM by paweljasinski | Created: Sep 13 at 3:22 PM by paweljasinski

socket.send, socket.sendto, socket.sendall should accept bytes as parameter

This is another cpython incompatibility. socket.send(b'x') throws exception TypeError: expected buffer, got bytes

Id #35543 | Release: 2.7.5 Beta 2 | Updated: Thu at 8:29 AM by paweljasinski | Created: Sep 13 at 1:01 PM by paweljasinski

Wrong assembly version for Microsoft.Scripting

Sorry for not english text on screenshotes ERROR DLL Version in property DLL Version after disasembly In properties version of dll is 1.1.0.21, but in assembly 1.1.0.20

Id #35531 | Release: None | Updated: Sep 6 at 11:46 AM by starostin13 | Created: Sep 6 at 11:46 AM by starostin13

Paramiko in python script throws exception- TypeError: expected _counter, got _counterStarting ...

Hi Team, From our c# application, we are executing python (IronPython Version-2.7, 32-bit) scripts with the help of clrzmq (Version-2.2.5, 32-bit) for inter process communication. From that python...

Id #35515 | Release: None | Updated: Sep 9 at 11:26 PM by r4ndy | Created: Aug 30 at 7:05 AM by jamini

b64encode(bz2.compress()) throws exception.

This works on CPython but on IronPython throws an exception in base64.b64encode. from __future__ import print_function import cPickle import bz2 import base64 def serializa(o): s1 = cPickle.dum...

Id #35507 | Release: 2.7.5 Beta 2 | Updated: Sep 1 at 7:43 PM by paweljasinski | Created: Aug 27 at 3:29 PM by hfoffani

import python module

hi my project is ironpython in wpf I can use ironpython module my project is about digital sign and I should use from crypto and PIL python module in it. but i can not. please help me I do not have...

Id #35506 | Release: None | Updated: Aug 28 at 10:49 AM by slide_o_mix | Created: Aug 27 at 10:26 AM by dayian

"No module named ..." exception in multi threading environment

Hi, we are using IronPython (2.7.4 and before that 2.6.2) in a heavy multi threading environment. There is just one engine, but many threads that execute the same scripts over and over again. We ...

Id #35498 | Release: None | Updated: Aug 28 at 5:43 AM by vahalae | Created: Aug 26 at 10:46 AM by thomasmischke

Failed to load language 'IronPython 2.7.3': The method or operation is not implemented.

When I run the following unit test manually in Visual Studio 2010 it runs perfectly fine but when I run it as a method in a loadtest I get the following exception. We initially started getting the ...

Id #35497 | Release: None | Updated: Aug 26 at 1:43 AM by pkinoc | Created: Aug 26 at 1:43 AM by pkinoc

bytearray constructor should accept string

as reported on mailing list by Daniel Fernandez: CPython 2.7.8 >>> hex_string = "deadbeef" >>> hex_data = hex_string.decode("hex") >>> hex_data '\xde\xad\xbe\xef' >>> bytearray(hex_data) bytearray...

Id #35493 | Release: 2.7.5 Beta 2 | Updated: Sep 9 at 7:54 PM by paweljasinski | Created: Aug 23 at 6:52 PM by paweljasinski

bytearray fails comparison with string value

The bytearray compared to the string with the same value fails in IronPython 2.7.5b3 and passes in CPython 2.7.8 code snippet IronPython 2.7.5.b3 x = bytearray(b'Danny') y = 'Danny' x == y Fal...

Id #35470 | Release: None | Updated: Aug 18 at 4:28 PM by fdanny | Created: Aug 18 at 4:28 PM by fdanny