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: None | Updated: Today at 3:29 PM by hfoffani | Created: Today 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: Today at 10:49 AM by dayian | Created: Today 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: Today at 11:08 AM by slide_o_mix | Created: Tue 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: Tue at 1:43 AM by pkinoc | Created: Tue 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: None | Updated: Sat at 6:52 PM by paweljasinski | Created: Sat 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

-X:Tracing argument problem?

IronPython 2.7.5b2 a = compile('2+2', '', 'eval') compiles normally However if the -X:Tracing argument is specified to ipy.exe then the above raises an error. SystemError: Unable to transform L...

Id #35469 | Release: None | Updated: Aug 18 at 11:01 AM by amgraham | Created: Aug 18 at 11:00 AM by amgraham

Can't create a pure ironpython WCF service

The pure ironpython WCF service could be create in ironpython 2.6 but after migrate to ironpython 2.7 the code is not work. The process to create a pure ironpython WCF service, it works in ironpyt...

Id #35457 | Release: None | Updated: Aug 12 at 7:06 PM by slide_o_mix | Created: Aug 12 at 7:44 AM by Erxin

Exceptions not being trapped by Debugger in VS 2013

I've installed the FePy tools package (2.0) for Visual Studio 2013 and have encountered a minor bug which doesn't occur in VS2012: If an exception is thrown during program execution the debugger s...

Id #35389 | Release: None | Updated: Aug 11 at 4:00 PM by slide_o_mix | Created: Jul 17 at 3:24 PM by johntrinder

Telnetlib exception - "getaddrinfo returns an empty list"

I am trying to port a native python script into an IronPython project. The script gathers data from a list of IPs with telnet. The native version works perfectly fine however the IronPython version...

Id #35388 | Release: None | Updated: Jul 16 at 6:52 PM by cemremengu | Created: Jul 16 at 6:42 PM by cemremengu