builtin’s compile function inconsistent with CPython

When using compile to build an AST and then using it again to compile the code, the resulting object’s source is not set. Test function: def test(): import ast PyCF_ONLY_AST = 1024 PyCF...

Id #35707 | Release: None | Updated: Sat at 7:15 PM by TalSaiag | Created: Sat at 7:15 PM by TalSaiag

os.access inconsistent with cpython - throws when file is missing

cpython returns False when file doesn't exist. IronPython throws. c:\cygwin64\home\rejap\eamod\docgen\extractor>ipy -X:Frames IronPython 2.7.5rc1 (2.7.5.0) on .NET 4.0.30319.18444 (32-bit) Type "he...

Id #35700 | Release: None | Updated: Wed at 4:11 PM by paweljasinski | Created: Wed at 4:10 PM by paweljasinski

How to direct print output to the Console in a windows standalone?

Hi, I didn't know whether this is the correct site for help from the IP community but here goes. I have a DLL written in C# that opens a Console window inside a Windows app. I am utilizing this f...

Id #35688 | Release: None | Updated: Nov 17 at 2:07 PM by johntrinder | Created: Nov 16 at 9:40 PM by johntrinder

installing pylint with pip produces errors

install appear to work, but the error is confusing $ ~/github/IronLanguages/bin/Debug/Scripts/pip2.7.exe -v install colorama Downloading/unpacking colorama C:\cygwin64\home\rejap\github\IronLanguag...

Id #35683 | Release: None | Updated: Nov 15 at 2:16 PM by paweljasinski | Created: Nov 15 at 2:08 PM by paweljasinski

ValueError: Index was out of range. Must be non-negative and less than the size of the collection.

After installing IronPython 2.7.5b2 and later 2.7.5b3 we started getting following exception very frequently while running our IronPython build scripts: ValueError: Index was out of range. Must be...

Id #35682 | Release: None | Updated: Thu at 6:50 PM by s3e3 | Created: Nov 15 at 12:33 AM by s3e3

Fail to display WPF window containing TreeView by Python script

IronPython 2.7.4 is used. When a Python script to display a TreeView in a WPF window by calling the method ShowDialog, it could not display the window with Error message "Cannot access Freezable '...

Id #35681 | Release: None | Updated: Nov 14 at 2:26 PM by syang | Created: Nov 13 at 5:44 PM by syang

UnboundName on invoking member for DynamicObject

Using IronPython 2.7.4 (nuget) I create a very simple class derived from DynamicObject and set the breakpoint in TryInvokeMember public class TestProxy : DynamicObject { public override bool ...

Id #35679 | Release: None | Updated: Nov 14 at 12:57 PM by MarkusSchaber | Created: Nov 13 at 4:07 PM by domtop

ssl default to SSL v2

ssl connections defaults to SSL v2. cpython 2.7.8 under linux, cygwin and win32 defaults to TLS 1.2 This causes IOError: System.IO.IOException: Unable to read data from the transport connection: A...

Id #35668 | Release: 2.7.5 Release Candidate 1 | Updated: Nov 12 at 7:47 AM by paweljasinski | Created: Nov 10 at 8:26 PM by paweljasinski

IronPython 2.7.5 B3 does not work with Pyro 4

Issue: Using Pyro4 in IronPython 2.7.5 B3 does not work. It works with IronPython 2.7.4. Did we have changes in pickling? Configuration: Windows 8.1 Pro 32-bit Steps to reproduce: Download and i...

Id #35667 | Release: 2.7.5 Release Candidate 1 | Updated: Thu at 3:16 PM by paweljasinski | Created: Nov 10 at 6:15 PM by yngipy

ElementTree does not handle UTF-8 encoding

>>> import tempfile >>> from xml.etree.ElementTree import ElementTree >>> xml = '<?xml version="1.0" encoding="UTF-8"?>\n<test name="' + unichr(169) + '"/>\n' >>> with tempfile.TemporaryFile() as f...

Id #35635 | Release: None | Updated: Nov 7 at 2:43 PM by tcalmant | Created: Oct 21 at 4:23 AM by ysitu