<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>IronPython</title><link>http://ironpython.codeplex.com/Project/ProjectRss.aspx</link><description>IronPython is a new implementation of the Python programming language on the .NET Framework. It supports an interactive interpreter with fully dynamic compilation. It is well integrated with the re...</description><item><title>Commented Issue: Problem with CreateEngine and SQL?</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=21740</link><description>Hi, I&amp;#39;m trying to instantiate a python engine in a SQL stored procedure i&amp;#39;m coding through VS2008. However, I continue to receive this error message when the code reaches the asterisked line of the code below&amp;#58;&lt;br /&gt;&lt;br /&gt;using System&amp;#59;&lt;br /&gt;using System.Data&amp;#59;&lt;br /&gt;using System.Data.SqlClient&amp;#59;&lt;br /&gt;using System.Data.SqlTypes&amp;#59;&lt;br /&gt;using Microsoft.SqlServer.Server&amp;#59;&lt;br /&gt;&amp;#47;&amp;#42;Other imports here....&amp;#42;&amp;#47;&lt;br /&gt;&amp;#47;&amp;#42;&lt;br /&gt; &amp;#42; Python specific&lt;br /&gt; &amp;#42; &amp;#42;&amp;#47;&lt;br /&gt;using IronPython&amp;#59;&lt;br /&gt;using IronPython.Hosting&amp;#59;&lt;br /&gt;using Microsoft.Scripting&amp;#59;&lt;br /&gt;using Microsoft.Scripting.Hosting&amp;#59;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public partial class SqlProcedures&lt;br /&gt;&amp;#123;&lt;br /&gt;    &amp;#91;Microsoft.SqlServer.Server.SqlProcedure&amp;#40;&amp;#41;&amp;#93;&lt;br /&gt;    public static void BrillTagger&amp;#40;SqlString Phrase, out SqlString outPhrase&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;&amp;#42;&amp;#42;PROBLEM&amp;#42;&amp;#42;        ScriptEngine pyEngine&amp;#61;pyEngine &amp;#61; Python.CreateEngine&amp;#40;runtime.&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;The error message I receive is below. Any ideas&amp;#63; Thanks &amp;#61;D&lt;br /&gt;Type &amp;#39;IronPython.Runtime.PythonContext&amp;#39; doesn&amp;#39;t provide a suitable public constructor or its implementation is faulty&amp;#58; The type initializer for &amp;#39;IronPython.Runtime.SysModule&amp;#39; threw an exception.&lt;br /&gt;   at Microsoft.Scripting.Utils.ReflectionUtils.CreateInstance&amp;#91;T&amp;#93;&amp;#40;Type actualType, Object&amp;#91;&amp;#93; args&amp;#41;&lt;br /&gt;   at Microsoft.Scripting.Runtime.LanguageConfiguration.LoadLanguageContext&amp;#40;ScriptDomainManager domainManager, Boolean&amp;#38; alreadyLoaded&amp;#41;&lt;br /&gt;   at Microsoft.Scripting.Runtime.DlrConfiguration.LoadLanguageContext&amp;#40;ScriptDomainManager manager, LanguageConfiguration config&amp;#41;&lt;br /&gt;   at Microsoft.Scripting.Runtime.DlrConfiguration.TryLoadLanguage&amp;#40;ScriptDomainManager manager, String str, Boolean isExtension, LanguageContext&amp;#38; language&amp;#41;&lt;br /&gt;   at Microsoft.Scripting.Runtime.ScriptDomainManager.TryGetLanguage&amp;#40;String languageName, LanguageContext&amp;#38; language&amp;#41;&lt;br /&gt;   at Microsoft.Scripting.Hosting.ScriptRuntime.TryGetEngine&amp;#40;String languageName, ScriptEngine&amp;#38; engine&amp;#41;&lt;br /&gt;   at Microsoft.Scripting.Hosting.ScriptRuntime.GetEngine&amp;#40;String languageName&amp;#41;&lt;br /&gt;   at SqlProcedures.BrillTagger&amp;#40;SqlString Phrase, SqlString&amp;#38; outPhrase&amp;#41;&lt;br /&gt;Comments: ** Comment from web user: ants1591 ** &lt;p&gt;Thanks Rodrigo,&lt;br /&gt;I moved away from this project for a little while, but will want to try your solution.&lt;/p&gt;</description><author>ants1591</author><pubDate>Sat, 04 Jul 2009 04:58:30 GMT</pubDate><guid isPermaLink="false">Commented Issue: Problem with CreateEngine and SQL? 20090704045830A</guid></item><item><title>Source code checked in, #55895</title><link>http://ironpython.codeplex.com/SourceControl/ListDownloadableCommits.aspx</link><description>--------------------------------------------------------------------------------&amp;#13;&amp;#10;Changeset Id&amp;#58; 974318&amp;#13;&amp;#10;Date&amp;#58; 7&amp;#47;2&amp;#47;2009 4&amp;#58;34&amp;#58;21 PM&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#40;dfugate&amp;#41; Extended __clrtype__ metaclass tests some more.&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#40;Shelveset&amp;#58; CLRTYPE2&amp;#59;REDMOND&amp;#92;dfugate &amp;#124; SNAP CheckinId&amp;#58; 8842&amp;#41;&amp;#13;&amp;#10;--------------------------------------------------------------------------------&amp;#13;&amp;#10;Changeset Id&amp;#58; 974212&amp;#13;&amp;#10;Date&amp;#58; 7&amp;#47;2&amp;#47;2009 3&amp;#58;33&amp;#58;38 PM&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#40;dinov&amp;#41; 20174    1              Medium               TypeError&amp;#58; Scope is not callable&amp;#13;&amp;#10;                Just removing an unnecessary set of the module back onto the importing module.&amp;#13;&amp;#10;18614    1              Medium               Some COM errors in Ipy 2 beta 5               &amp;#13;&amp;#10;                Issue appears to be fixed, we have a test for DisplayAlerts, adding test for dir&amp;#40;&amp;#41;&amp;#13;&amp;#10;20377    1              Medium               Tab Completion does not work with Office 2007 Primary Interop Assemblies&amp;#13;&amp;#10;                Issue appears to be fixed &amp;#40;probably w&amp;#47; the recent dir cleanup&amp;#41;, adding test.&amp;#13;&amp;#10;22131    1              Medium               PythonType.AddSystemInterfaces - COM Interop Issues &amp;#63;&amp;#63;&amp;#13;&amp;#10;                We need to handle adding when interface mapping returns a null target method.  There&amp;#8217;s several different spots we need to handle this at.  Added an IL-only test case to verify this scenario is working.&amp;#13;&amp;#10;21361    1              Medium               Cannot write bytes to files&amp;#13;&amp;#10;22302    1              Medium               help&amp;#40;&amp;#41; on a CLR string&amp;#91;&amp;#93; fails with a stack trace&amp;#13;&amp;#10;22966    1              Medium               Problem with re module&amp;#47;groupindex property, incompatibility with CPython&amp;#13;&amp;#10;                Add filtering for the special named groups we have to insert.&amp;#13;&amp;#10;23143 bin&amp;#40;n &amp;#62; System.Int32.MaxValue&amp;#41; broken&amp;#13;&amp;#10;                We&amp;#8217;re going through our helpers for string formatting which don&amp;#8217;t add the &amp;#8211; before the value and don&amp;#8217;t expect negative values in general.  Assert we have positive values, make the helpers which can&amp;#8217;t handle negatives private, and define internal APIs w&amp;#47; a simple signature which does it all.&amp;#13;&amp;#10;3740       0              Medium               Trivial&amp;#58; Overloaded properties &amp;#40;indexers&amp;#41; not handled by IronPython      IronPython&amp;#92;2.6                 &amp;#13;&amp;#10;                This works via the same get_ method that C&amp;#35; supports.  Adding test case to verify it keeps working.&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#40;Shelveset&amp;#58; StillMoreBugs&amp;#59;REDMOND&amp;#92;dinov &amp;#124; SNAP CheckinId&amp;#58; 8840&amp;#41;&amp;#13;&amp;#10;--------------------------------------------------------------------------------&amp;#13;&amp;#10;Changeset Id&amp;#58; 973686&amp;#13;&amp;#10;Date&amp;#58; 7&amp;#47;2&amp;#47;2009 10&amp;#58;43&amp;#58;08 AM&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#40;dinov&amp;#41; 3730&amp;#58; Trivial&amp;#58; Add DLLs directory in the default path &amp;#13;&amp;#10;                Following Dave&amp;#8217;s proposal in the bug to always add this&amp;#13;&amp;#10;19521&amp;#58; 2.6&amp;#58; implement from __future__ import unicode_literals &amp;#40;PEP 3112&amp;#41;&amp;#13;&amp;#10;                Switching to use the Unicode literal parser after this is done&amp;#13;&amp;#10;19089&amp;#58; Implement __repr__ for enums &amp;#13;&amp;#10;                Implement an improved repr when we have an exact value&amp;#13;&amp;#10;20295    1              Medium               property.__doc__ &amp;#61; None throws bad exception             &amp;#13;&amp;#10;                Handle the null instance&amp;#13;&amp;#10;20250    1              Medium               Bad exception when splatted args are None       &amp;#13;&amp;#10;                Throw TypeError instead of dereferencing the null pointer&amp;#13;&amp;#10;19063    1              Medium               max&amp;#40;tuple, none&amp;#41; -&amp;#62; nullpointer exception&amp;#13;&amp;#10;                Already fixed, adding test case&amp;#13;&amp;#10;22734    1              Medium               nt.system&amp;#40;&amp;#39;&amp;#34;...&amp;#39;&amp;#41; should work&amp;#13;&amp;#10;                Shouldn&amp;#8217;t throw on the imbalanced quotes instead we should imply the end quote&amp;#13;&amp;#10;8202       1              Low        Trivial&amp;#58; gc.get_debug&amp;#40;&amp;#41; returns the wrong value IronPython&amp;#92;2.6                 &amp;#13;&amp;#10;                Return an int instead of null&amp;#13;&amp;#10;15546    1              Low        codecs.charmap_encode throws TypeError for a dictionary with string values&amp;#13;&amp;#10;18926    1              Low        random module is not thread safe&amp;#13;&amp;#10;                Fixed, adding test case&amp;#13;&amp;#10;23251 - type.__clrtype__ shouldn&amp;#39;t exist unless the clr or System modules have been imported &amp;#13;&amp;#10;                Mark as PythonHidden, remove filtering of PythonHidden methods &amp;#40;in NameConverter&amp;#41; when defining base helper overloads &amp;#13;&amp;#10;23244 - clrtype__ implementations returning None should throw a TypeError &amp;#13;&amp;#10;                Throw ValueError if you return null&amp;#13;&amp;#10;&amp;#13;&amp;#10;Also&amp;#58;&amp;#13;&amp;#10;deleting all of the OldDynamicAction stuff &amp;#8211; this also implies updating the default binder so that we no longer flow OldDynamicAction&amp;#8217;s in and instead now flow a MemberRequestKind enum instead.&amp;#13;&amp;#10;Fixing the exception thrown when ...&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#13;&amp;#10;&amp;#40;Shelveset&amp;#58; BugsAndRemoveOldBinders&amp;#59;REDMOND&amp;#92;dinov &amp;#124; SNAP CheckinId&amp;#58; 8835&amp;#41;&amp;#13;&amp;#10;</description><author>IPyTeam</author><pubDate>Fri, 03 Jul 2009 15:52:52 GMT</pubDate><guid isPermaLink="false">Source code checked in, #55895 20090703035252P</guid></item><item><title>Commented Issue: We call __clrtype__ when the type subclass cannot even be initialized</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=23346</link><description>E&amp;#58;&amp;#92;vslprf&amp;#92;Merlin&amp;#92;Main&amp;#92;Languages&amp;#92;IronPython&amp;#92;Tests&amp;#62;ipyd&lt;br /&gt;IronPython 2.6 Beta 1 DEBUG &amp;#40;2.6.0.10&amp;#41; on .NET 2.0.50727.3053&lt;br /&gt;Type &amp;#34;help&amp;#34;, &amp;#34;copyright&amp;#34;, &amp;#34;credits&amp;#34; or &amp;#34;license&amp;#34; for more information.&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; class T&amp;#40;type&amp;#41;&amp;#58;&lt;br /&gt;...     def __init__&amp;#40;self&amp;#41;&amp;#58;&lt;br /&gt;...         print &amp;#34;this signature is blatantly incorrect&amp;#34;&lt;br /&gt;...     def __clrtype__&amp;#40;self&amp;#41;&amp;#58;&lt;br /&gt;...         print &amp;#34;__clrtype__ should never get called because __init__ is bad&amp;#34;&lt;br /&gt;...         return int&lt;br /&gt;...&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; class X&amp;#40;object&amp;#41;&amp;#58;&lt;br /&gt;...     __metaclass__ &amp;#61; T&lt;br /&gt;...&lt;br /&gt;__clrtype__ should never get called because __init__ is bad&lt;br /&gt;Traceback &amp;#40;most recent call last&amp;#41;&amp;#58;&lt;br /&gt;  File &amp;#34;&amp;#60;stdin&amp;#62;&amp;#34;, line 1, in &amp;#60;module&amp;#62;&lt;br /&gt;TypeError&amp;#58; __init__&amp;#40;&amp;#41; takes exactly 1 argument &amp;#40;4 given&amp;#41;&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; &amp;#94;Z&lt;br /&gt;Comments: ** Comment from web user: dinov ** &lt;p&gt;__clrtype__ gets called during __new__ - when we&amp;#39;re actually instantiating the type object.  __init__ won&amp;#39;t be called until after the type is created so this is expected.&lt;/p&gt;</description><author>dinov</author><pubDate>Fri, 03 Jul 2009 06:41:14 GMT</pubDate><guid isPermaLink="false">Commented Issue: We call __clrtype__ when the type subclass cannot even be initialized 20090703064114A</guid></item><item><title>Commented Feature: Implement zlib module</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=2590</link><description>Like the PEP for compressed libraries we should support the zlib module as well.&lt;br /&gt;Comments: ** Comment from web user: jdhardy ** &lt;p&gt;&amp;#60;shameless_plug&amp;#62;&lt;br /&gt;There is a version of zlib for IronPython 2.6 B1 available at http&amp;#58;&amp;#47;&amp;#47;bitbucket.org&amp;#47;jdhardy&amp;#47;ironpythonzlib&amp;#47;.&lt;br /&gt;&amp;#60;&amp;#47;shameless_plug&amp;#62;&lt;/p&gt;</description><author>jdhardy</author><pubDate>Fri, 03 Jul 2009 00:22:52 GMT</pubDate><guid isPermaLink="false">Commented Feature: Implement zlib module 20090703122252A</guid></item><item><title>Commented Issue: ctypes -- fails with SHGetFileInfo</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=22829</link><description>&amp;#35;----------------------------------------------------------------------------------------------------&lt;br /&gt;IP VERSION AFFECTED&amp;#58; 2.6 Beta 1&lt;br /&gt;BUILD TYPE&amp;#58; supplied as .msi&lt;br /&gt;FLAGS PASSED TO IPY.EXE&amp;#58; none&lt;br /&gt;OPERATING SYSTEM&amp;#58; 32-bit Vista SP1&lt;br /&gt;CLR VERSION&amp;#58; &amp;#35;NET 3.5 SP1&lt;br /&gt;SCENARIOS AFFECTED&amp;#58; affects the first non-trivial use I had of the functionality&lt;br /&gt;&amp;#35;----------------------------------------------------------------------------------------------------&lt;br /&gt;BRIEF DESCRIPTION&amp;#58;&lt;br /&gt;&lt;br /&gt;Calls always fail -- even when they should throw&lt;br /&gt;&lt;br /&gt;&amp;#35;----------------------------------------------------------------------------------------------------&lt;br /&gt;REPRODUCTION SNIPPET&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#35;&amp;#35; This unit test set passes for Python 2.6&lt;br /&gt;from ctypes import &amp;#42;&lt;br /&gt;import sys&lt;br /&gt;&lt;br /&gt;MAX_PATH &amp;#61; 260&lt;br /&gt;HICON &amp;#61; c_int&lt;br /&gt;&lt;br /&gt;class SHFILEINFO&amp;#40;Structure&amp;#41;&amp;#58;&lt;br /&gt;    _fields_ &amp;#61; &amp;#91;&amp;#40;&amp;#34;hIcon&amp;#34;, HICON&amp;#41;,&lt;br /&gt;                &amp;#40;&amp;#34;iIcon&amp;#34;, c_int&amp;#41;,&lt;br /&gt;                &amp;#40;&amp;#34;dwAttributes&amp;#34;, c_uint&amp;#41;,&lt;br /&gt;                &amp;#40;&amp;#34;szDisplayName&amp;#34;, c_char &amp;#42; MAX_PATH&amp;#41;,&lt;br /&gt;                &amp;#40;&amp;#34;szTypeName&amp;#34;, c_char &amp;#42; 80&amp;#41;&amp;#93;&lt;br /&gt;SHGFI_DISPLAYNAME       &amp;#61; 0x000000200&lt;br /&gt;SHGFI_TYPENAME          &amp;#61; 0x000000400&lt;br /&gt;SHGFI_ATTRIBUTES        &amp;#61; 0x000000800&lt;br /&gt;&lt;br /&gt;flags &amp;#61; SHGFI_DISPLAYNAME &amp;#124; SHGFI_TYPENAME &amp;#124; SHGFI_ATTRIBUTES&lt;br /&gt;&lt;br /&gt;def exercise&amp;#40;fun&amp;#41;&amp;#58;&lt;br /&gt;  shfileinfo &amp;#61; SHFILEINFO&amp;#40;&amp;#41;&lt;br /&gt;  v1 &amp;#61; fun&amp;#40;sys.executable,&lt;br /&gt;           0,&lt;br /&gt;           byref&amp;#40;shfileinfo&amp;#41;,&lt;br /&gt;           sizeof&amp;#40;shfileinfo&amp;#41;,&lt;br /&gt;           flags&amp;#41;&lt;br /&gt;  return &amp;#40;v1, shfileinfo.dwAttributes, shfileinfo.szTypeName&amp;#41;&lt;br /&gt;&lt;br /&gt;import unittest&lt;br /&gt;class ctypeTest&amp;#40;unittest.TestCase&amp;#41;&amp;#58;&lt;br /&gt;  def testPositive&amp;#40;self&amp;#41;&amp;#58;&lt;br /&gt;    self.assertEquals&amp;#40;exercise&amp;#40;windll.shell32.SHGetFileInfo&amp;#41;, &amp;#40;1, 1077936503L, &amp;#39;Application&amp;#39;&amp;#41;&amp;#41;&lt;br /&gt;&lt;br /&gt;  def testNegative&amp;#40;self&amp;#41;&amp;#58;&lt;br /&gt;    self.assertRaises&amp;#40;ValueError, lambda &amp;#58; exercise&amp;#40;cdll.shell32.SHGetFileInfo&amp;#41;&amp;#41;&lt;br /&gt;&lt;br /&gt;if __name__ &amp;#61;&amp;#61; &amp;#39;__main__&amp;#39;&amp;#58;&lt;br /&gt;  unittest.main&amp;#40;&amp;#41;&lt;br /&gt;&lt;br /&gt;&amp;#35;----------------------------------------------------------------------------------------------------&lt;br /&gt;OTHER INFO&amp;#58;&lt;br /&gt;&amp;#35; IPY 2.6 returns&lt;br /&gt;&lt;br /&gt;FF&lt;br /&gt;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&lt;br /&gt;FAIL&amp;#58; testNegative &amp;#40;__main__.ctypeTest&amp;#41;&lt;br /&gt;----------------------------------------------------------------------&lt;br /&gt;Traceback &amp;#40;most recent call last&amp;#41;&amp;#58;&lt;br /&gt;  File &amp;#34;...test.py&amp;#34;, line 35, in testNegative&lt;br /&gt;    self.assertRaises&amp;#40;ValueError, lambda &amp;#58; exercise&amp;#40;cdll.shell32.SHGetFileInfo&amp;#41;&amp;#41;&lt;br /&gt;AssertionError&amp;#58; ValueError not raised&lt;br /&gt;&lt;br /&gt;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&lt;br /&gt;FAIL&amp;#58; testPositive &amp;#40;__main__.ctypeTest&amp;#41;&lt;br /&gt;----------------------------------------------------------------------&lt;br /&gt;Traceback &amp;#40;most recent call last&amp;#41;&amp;#58;&lt;br /&gt;  File &amp;#34;...test.py&amp;#34;, line 32, in testPositive&lt;br /&gt;    self.assertEquals&amp;#40;exercise&amp;#40;windll.shell32.SHGetFileInfo&amp;#41;, &amp;#40;1, 1077936503L, &amp;#39;Application&amp;#39;&amp;#41;&amp;#41;&lt;br /&gt;AssertionError&amp;#58; &amp;#40;0, 0, &amp;#39;&amp;#39;&amp;#41; &amp;#33;&amp;#61; &amp;#40;1, 1077936503L, &amp;#39;Application&amp;#39;&amp;#41;&lt;br /&gt;&lt;br /&gt;----------------------------------------------------------------------&lt;br /&gt;Ran 2 tests in 0.250s&lt;br /&gt;&lt;br /&gt;FAILED &amp;#40;failures&amp;#61;2&amp;#41;&lt;br /&gt;Comments: ** Comment from web user: dinov ** &lt;p&gt;Part of the problem is str vs bytes &amp;#40;bug &amp;#35;22391&amp;#41;.  If you change fun&amp;#40;sys.executable&amp;#41; to fun&amp;#40;bytes&amp;#40;sys.executable&amp;#41; the positive test case passes.  Alternately you could specify the argument types for windll.shell32.SHGetFileInfo.&lt;/p&gt;</description><author>dinov</author><pubDate>Thu, 02 Jul 2009 20:58:42 GMT</pubDate><guid isPermaLink="false">Commented Issue: ctypes -- fails with SHGetFileInfo 20090702085842P</guid></item><item><title>Created Issue: core built-in types have some differences in attributes</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=23356</link><description>Some of this is due to the fact that we have different types for certain things &amp;#40;e.g. wrapper_descriptors show up as built-in functions  frequently in IronPython&amp;#41;.  Other cases we have different types &amp;#40;str vs bytes vs unicode&amp;#41;.  And some of these are just plain missing or extra functionality.&lt;br /&gt;&lt;br /&gt;DESCRIPTION&lt;br /&gt;-------------------------------------------------------&lt;br /&gt;Complete list of module attributes IronPython is still&lt;br /&gt;missing implementations for&amp;#58;&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __eq__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __ge__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __gt__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __le__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __lt__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __ne__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __eq__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __ge__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __gt__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __le__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __lt__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __ne__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __eq__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __ge__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __gt__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __le__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __lt__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __ne__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;datetime.datetime&amp;#39;&amp;#62;  strptime&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;datetime.timedelta&amp;#39;&amp;#62;  __rdiv__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;datetime.timedelta&amp;#39;&amp;#62;  __rfloordiv__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;dictproxy&amp;#39;&amp;#62;  __cmp__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;dictproxy&amp;#39;&amp;#62;  __ge__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;dictproxy&amp;#39;&amp;#62;  __gt__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;dictproxy&amp;#39;&amp;#62;  __le__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;dictproxy&amp;#39;&amp;#62;  __lt__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;file&amp;#39;&amp;#62;  errors&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;file&amp;#39;&amp;#62;  readinto&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;getset_descriptor&amp;#39;&amp;#62;  __delete__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;getset_descriptor&amp;#39;&amp;#62;  __name__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;getset_descriptor&amp;#39;&amp;#62;  __objclass__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;getset_descriptor&amp;#39;&amp;#62;  __set__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;instancemethod&amp;#39;&amp;#62;  __cmp__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;method-wrapper&amp;#39;&amp;#62;&amp;#47;Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __objclass__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;str&amp;#39;&amp;#62;&amp;#47;Type&amp;#58; &amp;#60;type &amp;#39;bytes&amp;#39;&amp;#62;  __getnewargs__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;str&amp;#39;&amp;#62;&amp;#47;Type&amp;#58; &amp;#60;type &amp;#39;bytes&amp;#39;&amp;#62;  __getslice__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;str&amp;#39;&amp;#62;&amp;#47;Type&amp;#58; &amp;#60;type &amp;#39;bytes&amp;#39;&amp;#62;  __mod__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;str&amp;#39;&amp;#62;&amp;#47;Type&amp;#58; &amp;#60;type &amp;#39;bytes&amp;#39;&amp;#62;  __rmod__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;str&amp;#39;&amp;#62;&amp;#47;Type&amp;#58; &amp;#60;type &amp;#39;bytes&amp;#39;&amp;#62;  _formatter_field_name_split&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;str&amp;#39;&amp;#62;&amp;#47;Type&amp;#58; &amp;#60;type &amp;#39;bytes&amp;#39;&amp;#62;  _formatter_parser&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;str&amp;#39;&amp;#62;&amp;#47;Type&amp;#58; &amp;#60;type &amp;#39;bytes&amp;#39;&amp;#62;  encode&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;str&amp;#39;&amp;#62;&amp;#47;Type&amp;#58; &amp;#60;type &amp;#39;bytes&amp;#39;&amp;#62;  format&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;type&amp;#39;&amp;#62;  __abstractmethods__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;type&amp;#39;&amp;#62;  __basicsize__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;type&amp;#39;&amp;#62;  __dictoffset__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;type&amp;#39;&amp;#62;  __eq__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;type&amp;#39;&amp;#62;  __ge__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;type&amp;#39;&amp;#62;  __gt__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;type&amp;#39;&amp;#62;  __itemsize__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;type&amp;#39;&amp;#62;  __le__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;type&amp;#39;&amp;#62;  __lt__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;type&amp;#39;&amp;#62;  __ne__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;type&amp;#39;&amp;#62;  __weakrefoffset__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;wrapper_descriptor&amp;#39;&amp;#62;  __call__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;wrapper_descriptor&amp;#39;&amp;#62;  __name__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;wrapper_descriptor&amp;#39;&amp;#62;  __objclass__&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-------------------------------------------------------&lt;br /&gt;Complete list of module attributes that should be removed&lt;br /&gt;from IronPython&amp;#58;&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;bool&amp;#39;&amp;#62;  __eq__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;bool&amp;#39;&amp;#62;  __ne__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __get__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __get__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __get__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;datetime.date&amp;#39;&amp;#62;  __getnewargs__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;datetime.datetime&amp;#39;&amp;#62;  __getnewargs__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;datetime.timedelta&amp;#39;&amp;#62;  __getnewargs__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;instancemethod&amp;#39;&amp;#62;  __eq__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;instancemethod&amp;#39;&amp;#62;  __ne__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;list&amp;#39;&amp;#62;  __radd__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;method-wrapper&amp;#39;&amp;#62;&amp;#47;Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __get__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;method-wrapper&amp;#39;&amp;#62;&amp;#47;Type&amp;#58; &amp;#60;type &amp;#39;builtin_function_or_method&amp;#39;&amp;#62;  __module__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;method_descriptor&amp;#39;&amp;#62;  __cmp__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;str&amp;#39;&amp;#62;  __radd__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;str&amp;#39;&amp;#62;  isdecimal&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;str&amp;#39;&amp;#62;  isnumeric&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;str&amp;#39;&amp;#62;  isunicode&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;str&amp;#39;&amp;#62;&amp;#47;Type&amp;#58; &amp;#60;type &amp;#39;bytes&amp;#39;&amp;#62;  __radd__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;str&amp;#39;&amp;#62;&amp;#47;Type&amp;#58; &amp;#60;type &amp;#39;bytes&amp;#39;&amp;#62;  fromhex&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;tuple&amp;#39;&amp;#62;  __radd__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;type&amp;#39;&amp;#62;  __clrtype__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;type&amp;#39;&amp;#62;  __dir__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;type&amp;#39;&amp;#62;  __getitem__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;unicode&amp;#39;&amp;#62;&amp;#47;Type&amp;#58; &amp;#60;type &amp;#39;str&amp;#39;&amp;#62;  __radd__&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;unicode&amp;#39;&amp;#62;&amp;#47;Type&amp;#58; &amp;#60;type &amp;#39;str&amp;#39;&amp;#62;  isunicode&lt;br /&gt;    Type&amp;#58; &amp;#60;type &amp;#39;wrapper_descriptor&amp;#39;&amp;#62;&amp;#47;Type&amp;#58; &amp;#60;type &amp;#39;method_descriptor&amp;#39;&amp;#62;  __cmp__&lt;br /&gt;</description><author>dinov</author><pubDate>Thu, 02 Jul 2009 19:49:21 GMT</pubDate><guid isPermaLink="false">Created Issue: core built-in types have some differences in attributes 20090702074921P</guid></item><item><title>Created Issue: Classes which define operator + on themselves also get an __radd__ method</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=23354</link><description>Currently if you have a type like&amp;#58;&lt;br /&gt;&lt;br /&gt;public class Foo &amp;#123;&lt;br /&gt;    public static Foo operator &amp;#43;&amp;#40;Foo a, Foo b&amp;#41; &amp;#123;&lt;br /&gt;        return null&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;We will define both an __add__ and an __radd__ method for the type.  We currently need to do this because we don&amp;#39;t define all of the overloads for addition for types such as complex.  Instead we rely upon the fact that we have conversions from say int-&amp;#62;complex and the fact that we&amp;#39;ve defined __radd__ which takes complex, complex.  We then do the conversion and everything works.  &lt;br /&gt;&lt;br /&gt;Instead we should have explicitly defined operator &amp;#43; &amp;#40;int, complex&amp;#41; which wil turn into an __radd__ method.  Then we can update our mapping for reverse operators to check and make sure that the 1st type is not the same as the 2nd type and avoid exposing these __radd__ methods.&lt;br /&gt;&lt;br /&gt;This shows up on many types such as array.array, buffer, bytearray, list, etc...&lt;br /&gt;</description><author>dinov</author><pubDate>Thu, 02 Jul 2009 19:01:46 GMT</pubDate><guid isPermaLink="false">Created Issue: Classes which define operator + on themselves also get an __radd__ method 20090702070146P</guid></item><item><title>Created Issue: Create a user-friendly, Pythonic way to access .NET custom attributes</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=23352</link><description>Assuming there&amp;#39;s some attribute, XyzAttribute, on a C&amp;#35; class, Abc, accessible from IronPython&amp;#59; one has to use the following bizarre incantation to read its field values&amp;#58;&lt;br /&gt;  &amp;#35;Get &amp;#39;Abc&amp;#39; in your module somehow&lt;br /&gt;  import clr&lt;br /&gt;  abc_clrtype &amp;#61; clr.GetClrType&amp;#40;Abc&amp;#41;&lt;br /&gt;  attribute_field_value_i_am_looking_for &amp;#61; abc_clrtype.GetCustomAttributes&amp;#40;XyzAttribute, True&amp;#41;&amp;#91;0&amp;#93;.WhateverFieldINeed&lt;br /&gt;&lt;br /&gt;I&amp;#39;d argue this is needlessly complicated and hardly Pythonic.  One should just be able to do something like&amp;#58;&lt;br /&gt;  &amp;#35;Get &amp;#39;Abc&amp;#39; in your module somehow&lt;br /&gt;  import clr  &amp;#35;to expose .NET members on classes&lt;br /&gt;  attribute_field_value_i_am_looking_for &amp;#61; Abc.__clrattrs__&amp;#91;&amp;#34;XyzAttribute&amp;#34;&amp;#93;&amp;#91;0&amp;#93;.WhateverFieldINeed&lt;br /&gt;or even&amp;#58;&lt;br /&gt;  attribute_field_value_i_am_looking_for &amp;#61; Abc.XyzAttribute.WhateverFieldINeed&lt;br /&gt;</description><author>dfugate</author><pubDate>Thu, 02 Jul 2009 18:21:13 GMT</pubDate><guid isPermaLink="false">Created Issue: Create a user-friendly, Pythonic way to access .NET custom attributes 20090702062113P</guid></item><item><title>Commented Issue: Incompat: Open existing file with O_CREAT</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=19310</link><description>&amp;#60;Thanks&amp;#62;jdhardy&amp;#60;&amp;#47;Thanks&amp;#62;&lt;br /&gt;&amp;#60;Test&amp;#62;Needed&amp;#60;&amp;#47;Test&amp;#62;&lt;br /&gt;&lt;br /&gt;There is an inconsistency with how Ipy 2.0 RC1 and Python 2.5 handle an existing file opened with O_CREAT&amp;#58;&lt;br /&gt;&lt;br /&gt;Python 2.5.2 &amp;#40;r252&amp;#58;60911, Feb 21 2008, 13&amp;#58;11&amp;#58;45&amp;#41; &amp;#91;MSC v.1310 32 bit &amp;#40;Intel&amp;#41;&amp;#93; on win32&lt;br /&gt;Type &amp;#34;help&amp;#34;, &amp;#34;copyright&amp;#34;, &amp;#34;credits&amp;#34; or &amp;#34;license&amp;#34; for more information.&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; import os&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; fd &amp;#61; os.open&amp;#40;&amp;#39;test.txt&amp;#39;, os.O_WRONLY &amp;#124; os.O_CREAT&amp;#41;&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62;&lt;br /&gt;&lt;br /&gt;IronPython 2.0 &amp;#40;2.0.0.0&amp;#41; on .NET 2.0.50727.3053&lt;br /&gt;Type &amp;#34;help&amp;#34;, &amp;#34;copyright&amp;#34;, &amp;#34;credits&amp;#34; or &amp;#34;license&amp;#34; for more information.&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; import os&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; fd &amp;#61; os.open&amp;#40;&amp;#39;test.txt&amp;#39;, os.O_WRONLY &amp;#124; os.O_CREAT&amp;#41;&lt;br /&gt;Traceback &amp;#40;most recent call last&amp;#41;&amp;#58;&lt;br /&gt;  File &amp;#34;&amp;#60;stdin&amp;#62;&amp;#34;, line 1, in &amp;#60;module&amp;#62;&lt;br /&gt;WindowsError&amp;#58; &amp;#40;17, &amp;#34;&amp;#91;Errno 17&amp;#93; The file &amp;#39;C&amp;#58;&amp;#92;&amp;#92;Users&amp;#92;&amp;#92;Jeff&amp;#92;&amp;#92;test.txt&amp;#39; already exists.&amp;#34;&amp;#41;&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62;&lt;br /&gt;Comments: ** Comment from web user: gz ** &lt;p&gt;Looks trivially fixable at FileModeFromFlags in IronPython_Main&amp;#47;Src&amp;#47;IronPython.Modules&amp;#47;nt.cs&lt;/p&gt;&lt;p&gt;Affects running bazaar under IronPython.&lt;/p&gt;</description><author>gz</author><pubDate>Thu, 02 Jul 2009 17:30:24 GMT</pubDate><guid isPermaLink="false">Commented Issue: Incompat: Open existing file with O_CREAT 20090702053024P</guid></item><item><title>Created Issue: Implement 'mbcs' codec</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=23351</link><description>Used for translating between windows &amp;#34;ansi&amp;#34; strings and unicode.&lt;br /&gt;&lt;br /&gt;IronPython 2.6 Beta 1 &amp;#40;2.6.0.10&amp;#41; on .NET 2.0.50727.3082&lt;br /&gt;Type &amp;#34;help&amp;#34;, &amp;#34;copyright&amp;#34;, &amp;#34;credits&amp;#34; or &amp;#34;license&amp;#34; for more information.&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; &amp;#34;Test&amp;#34;.decode&amp;#40;&amp;#34;mbcs&amp;#34;&amp;#41;&lt;br /&gt;Traceback &amp;#40;most recent call last&amp;#41;&amp;#58;&lt;br /&gt;  File &amp;#34;&amp;#60;stdin&amp;#62;&amp;#34;, line 1, in &amp;#60;module&amp;#62;&lt;br /&gt;LookupError&amp;#58; unknown encoding&amp;#58; mbcs&lt;br /&gt;&lt;br /&gt;Affects running bazaar under IronPython.&lt;br /&gt;</description><author>gz</author><pubDate>Thu, 02 Jul 2009 17:25:46 GMT</pubDate><guid isPermaLink="false">Created Issue: Implement 'mbcs' codec 20090702052546P</guid></item><item><title>Created Issue: A buffer object should be directly writable to a cStringIO object</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=23350</link><description>IronPython 2.6 Beta 1 &amp;#40;2.6.0.10&amp;#41; on .NET 2.0.50727.3082&lt;br /&gt;Type &amp;#34;help&amp;#34;, &amp;#34;copyright&amp;#34;, &amp;#34;credits&amp;#34; or &amp;#34;license&amp;#34; for more information.&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; from cStringIO import StringIO&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; StringIO&amp;#40;&amp;#41;.write&amp;#40;buffer&amp;#40;&amp;#34;Test&amp;#34;&amp;#41;&amp;#41;&lt;br /&gt;Traceback &amp;#40;most recent call last&amp;#41;&amp;#58;&lt;br /&gt;  File &amp;#34;&amp;#60;stdin&amp;#62;&amp;#34;, line 1, in &amp;#60;module&amp;#62;&lt;br /&gt;TypeError&amp;#58; expected str, got buffer&lt;br /&gt;&lt;br /&gt;Affects running bazaar under IronPython.&lt;br /&gt;</description><author>gz</author><pubDate>Thu, 02 Jul 2009 17:25:39 GMT</pubDate><guid isPermaLink="false">Created Issue: A buffer object should be directly writable to a cStringIO object 20090702052539P</guid></item><item><title>Created Issue: Removing a open file should raise an error with errno set to EACCES</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=23349</link><description>Subset of the &amp;#91;workitem&amp;#58;13702&amp;#93; issue.&lt;br /&gt;&lt;br /&gt;IronPython 2.6 Beta 1 &amp;#40;2.6.0.10&amp;#41; on .NET 2.0.50727.3082&lt;br /&gt;Type &amp;#34;help&amp;#34;, &amp;#34;copyright&amp;#34;, &amp;#34;credits&amp;#34; or &amp;#34;license&amp;#34; for more information.&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; import System, errno, os&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; f &amp;#61; file&amp;#40;&amp;#34;test&amp;#34;, &amp;#34;w&amp;#34;&amp;#41;&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; try&amp;#58;&lt;br /&gt;...     os.remove&amp;#40;&amp;#34;test&amp;#34;&amp;#41;&lt;br /&gt;... except OSError, e&amp;#58;&lt;br /&gt;...     pass&lt;br /&gt;...&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; e&lt;br /&gt;WindowsError&amp;#40;16, &amp;#34;&amp;#91;Errno 16&amp;#93; The process cannot access the file &amp;#39;C&amp;#58;&amp;#92;&amp;#92;test&amp;#39; because it is being used by another process.&amp;#34;&amp;#41;&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; e.clsException&lt;br /&gt;&amp;#60;System.ComponentModel.Win32Exception object at 0x000000000000002C &amp;#91;System.ComponentModel.Win32Exception...&amp;#93;&amp;#62;&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; e.errno, e.args&amp;#91;0&amp;#93;, errno.EACCES, e.clsException.NativeErrorCode&lt;br /&gt;&amp;#40;22, 16, 13, 32&amp;#41;&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; f.close&amp;#40;&amp;#41;&lt;br /&gt;&lt;br /&gt;Affects running bazaar under IronPython.&lt;br /&gt;</description><author>gz</author><pubDate>Thu, 02 Jul 2009 17:25:28 GMT</pubDate><guid isPermaLink="false">Created Issue: Removing a open file should raise an error with errno set to EACCES 20090702052528P</guid></item><item><title>Created Issue: Removing a read-only file should raise an error with errno set to EACCES</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=23348</link><description>Subset of the &amp;#91;workitem&amp;#58;13702&amp;#93; issue.&lt;br /&gt;&lt;br /&gt;IronPython 2.6 Beta 1 &amp;#40;2.6.0.10&amp;#41; on .NET 2.0.50727.3082&lt;br /&gt;Type &amp;#34;help&amp;#34;, &amp;#34;copyright&amp;#34;, &amp;#34;credits&amp;#34; or &amp;#34;license&amp;#34; for more information.&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; import System, errno, os, stat&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; file&amp;#40;&amp;#34;test&amp;#34;, &amp;#34;w&amp;#34;&amp;#41;.close&amp;#40;&amp;#41;&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; os.chmod&amp;#40;&amp;#34;test&amp;#34;, stat.S_IREAD&amp;#41;&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; try&amp;#58;&lt;br /&gt;...     os.remove&amp;#40;&amp;#34;test&amp;#34;&amp;#41;&lt;br /&gt;... except OSError, e&amp;#58;&lt;br /&gt;...     pass&lt;br /&gt;...&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; e.errno &amp;#61;&amp;#61; errno.EACCES&lt;br /&gt;False&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; e&lt;br /&gt;WindowsError&amp;#40;13, &amp;#34;&amp;#91;Errno 13&amp;#93; Access to the path &amp;#39;C&amp;#58;&amp;#92;&amp;#92;test&amp;#39; is denied.&amp;#34;&amp;#41;&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; e.clsException&lt;br /&gt;&amp;#60;System.ComponentModel.Win32Exception object at 0x000000000000002B &amp;#91;System.ComponentModel.Win32Exception...&amp;#93;&amp;#62;&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; e.errno, e.args&amp;#91;0&amp;#93;, errno.EACCES, e.clsException.NativeErrorCode&lt;br /&gt;&amp;#40;22, 13, 13, 5&amp;#41;&lt;br /&gt;&lt;br /&gt;Affects running bazaar under IronPython.&lt;br /&gt;</description><author>gz</author><pubDate>Thu, 02 Jul 2009 17:25:17 GMT</pubDate><guid isPermaLink="false">Created Issue: Removing a read-only file should raise an error with errno set to EACCES 20090702052517P</guid></item><item><title>Created Issue: file objects need 'buffering' keyword argument</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=23347</link><description>IronPython 2.6 Beta 1 &amp;#40;2.6.0.10&amp;#41; on .NET 2.0.50727.3082&lt;br /&gt;Type &amp;#34;help&amp;#34;, &amp;#34;copyright&amp;#34;, &amp;#34;credits&amp;#34; or &amp;#34;license&amp;#34; for more information.&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; file&amp;#40;&amp;#34;test&amp;#34;, &amp;#34;w&amp;#34;, buffering&amp;#61;1&amp;#41;.close&amp;#40;&amp;#41;&lt;br /&gt;Traceback &amp;#40;most recent call last&amp;#41;&amp;#58;&lt;br /&gt;  File &amp;#34;&amp;#60;stdin&amp;#62;&amp;#34;, line 1, in &amp;#60;module&amp;#62;&lt;br /&gt;TypeError&amp;#58; __init__&amp;#40;&amp;#41; got an unexpected keyword argument &amp;#39;buffering&amp;#39;&lt;br /&gt;&lt;br /&gt;Affects running bazaar under IronPython.&lt;br /&gt;</description><author>gz</author><pubDate>Thu, 02 Jul 2009 17:25:07 GMT</pubDate><guid isPermaLink="false">Created Issue: file objects need 'buffering' keyword argument 20090702052507P</guid></item><item><title>Created Issue: We call __clrtype__ when the type subclass cannot even be initialized</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=23346</link><description>E&amp;#58;&amp;#92;vslprf&amp;#92;Merlin&amp;#92;Main&amp;#92;Languages&amp;#92;IronPython&amp;#92;Tests&amp;#62;ipyd&lt;br /&gt;IronPython 2.6 Beta 1 DEBUG &amp;#40;2.6.0.10&amp;#41; on .NET 2.0.50727.3053&lt;br /&gt;Type &amp;#34;help&amp;#34;, &amp;#34;copyright&amp;#34;, &amp;#34;credits&amp;#34; or &amp;#34;license&amp;#34; for more information.&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; class T&amp;#40;type&amp;#41;&amp;#58;&lt;br /&gt;...     def __init__&amp;#40;self&amp;#41;&amp;#58;&lt;br /&gt;...         print &amp;#34;this signature is blatantly incorrect&amp;#34;&lt;br /&gt;...     def __clrtype__&amp;#40;self&amp;#41;&amp;#58;&lt;br /&gt;...         print &amp;#34;__clrtype__ should never get called because __init__ is bad&amp;#34;&lt;br /&gt;...         return int&lt;br /&gt;...&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; class X&amp;#40;object&amp;#41;&amp;#58;&lt;br /&gt;...     __metaclass__ &amp;#61; T&lt;br /&gt;...&lt;br /&gt;__clrtype__ should never get called because __init__ is bad&lt;br /&gt;Traceback &amp;#40;most recent call last&amp;#41;&amp;#58;&lt;br /&gt;  File &amp;#34;&amp;#60;stdin&amp;#62;&amp;#34;, line 1, in &amp;#60;module&amp;#62;&lt;br /&gt;TypeError&amp;#58; __init__&amp;#40;&amp;#41; takes exactly 1 argument &amp;#40;4 given&amp;#41;&lt;br /&gt;&amp;#62;&amp;#62;&amp;#62; &amp;#94;Z&lt;br /&gt;</description><author>dfugate</author><pubDate>Thu, 02 Jul 2009 16:16:34 GMT</pubDate><guid isPermaLink="false">Created Issue: We call __clrtype__ when the type subclass cannot even be initialized 20090702041634P</guid></item><item><title>Created Issue: Add support for IStructuralComparable for .NET 4.0</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=23338</link><description>.NET 4.0 defines IStructuralComparable for types which support structure equality.  We should define an IEqualityComparer for use with these types and turn our __eq__&amp;#47;__ne__&amp;#47;__hash__ implementations into calls w&amp;#47; these types.  This will give us value equality semantics.  We should consider whether or not we want to special case arrays out of this because it would be a breaking change.&lt;br /&gt;</description><author>dinov</author><pubDate>Wed, 01 Jul 2009 23:49:18 GMT</pubDate><guid isPermaLink="false">Created Issue: Add support for IStructuralComparable for .NET 4.0 20090701114918P</guid></item><item><title>Created Issue: IronPython TokenCategorizer missing whitespace and duplicating new lines</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=23337</link><description>Using IronPython 2.6 Beta 1 &lt;br /&gt;&lt;br /&gt;For example, if you tokenize the string &amp;#34;def foo&amp;#40;a,b&amp;#41;&amp;#58;&amp;#92;n  return a &amp;#43; b&amp;#34;, you get the following tokens&amp;#58; &amp;#40;Category, start, end, length, and the token text&amp;#41;&lt;br /&gt;&lt;br /&gt;Keyword 0 3 3 &amp;#39;def&amp;#39;&lt;br /&gt;Identifier 4 7 3 &amp;#39;foo&amp;#39;&lt;br /&gt;Grouping 7 8 1 &amp;#39;&amp;#40;&amp;#39;&lt;br /&gt;Identifier 8 9 1 &amp;#39;a&amp;#39;&lt;br /&gt;Delimiter 9 10 1 &amp;#39;,&amp;#39;&lt;br /&gt;Identifier 10 11 1 &amp;#39;b&amp;#39;&lt;br /&gt;Grouping 11 12 1 &amp;#39;&amp;#41;&amp;#39;&lt;br /&gt;Delimiter 12 13 1 &amp;#39;&amp;#58;&amp;#39;&lt;br /&gt;WhiteSpace 13 16 3 &amp;#39;&amp;#92;n  &amp;#39;&lt;br /&gt;Operator 13 16 3 &amp;#39;&amp;#92;n  &amp;#39;&lt;br /&gt;Keyword 16 22 6 &amp;#39;return&amp;#39;&lt;br /&gt;Identifier 23 24 1 &amp;#39;a&amp;#39;&lt;br /&gt;Operator 25 26 1 &amp;#39;&amp;#43;&amp;#39;&lt;br /&gt;Identifier 27 28 1 &amp;#39;b&amp;#39;&lt;br /&gt;WhiteSpace 28 28 0 &amp;#39;&amp;#39;&lt;br /&gt;&lt;br /&gt;Note missing whitespace between the first two tokens &amp;#40;first token end at pos 3 and second token starts at pos 4. What about the whitespace between them&amp;#63;&amp;#41;&lt;br /&gt;Also note the newline in the string is tokenized twice - first as WHitespace and then as an operator&lt;br /&gt;</description><author>harrypierson</author><pubDate>Wed, 01 Jul 2009 20:15:10 GMT</pubDate><guid isPermaLink="false">Created Issue: IronPython TokenCategorizer missing whitespace and duplicating new lines 20090701081510P</guid></item><item><title>Created Issue: ACCESSIBILITY: there's not enough of a color contrast for stderr under -X:ColorfulConsole</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=23336</link><description>Using the default background color of cmd.exe &amp;#40;black&amp;#41;, the specific red color we choose for stderr &amp;#40;specifically FF0000&amp;#41; under -X&amp;#58;ColorfulConsole doesn&amp;#39;t have a high enough color contrast.  We need to choose a shade of red that&amp;#39;s a bit brighter.&lt;br /&gt;&lt;br /&gt;&amp;#35;---------------------------------------------------------------------------&lt;br /&gt;&amp;#35;--Output from &amp;#34;Colour Contrast Analyser&amp;#34; tool &amp;#40;http&amp;#58;&amp;#47;&amp;#47;www.paciellogroup.com&amp;#47;resources&amp;#47;contrast-analyser.html&amp;#35;download&amp;#41;&lt;br /&gt;&lt;br /&gt;Foreground&amp;#58;&amp;#35;FF0000  Background&amp;#58;&amp;#35;000000&lt;br /&gt;&lt;br /&gt;The contrast ratio is&amp;#58; 5.3&amp;#58;1&lt;br /&gt;&lt;br /&gt;Text passed at Level AA&lt;br /&gt;&lt;br /&gt;Text failed at Level AAA&lt;br /&gt;&lt;br /&gt;Large text passed at Level AA&lt;br /&gt;&lt;br /&gt;Large text passed at Level AAA&lt;br /&gt;&lt;br /&gt;SC 1.4.3 Contrast &amp;#40;Minimum&amp;#41;&amp;#58; The visual presentation of text and images of text has a contrast ratio of at least 4.5&amp;#58;1, except for the following&amp;#58; &amp;#40;Level AA&amp;#41;  Large Print&amp;#58; Large-scale text and images of large-scale text have a contrast ratio of at least 3&amp;#58;1&amp;#59;&lt;br /&gt;&lt;br /&gt;SC 1.4.6 Contrast &amp;#40;Enhanced&amp;#41;&amp;#58; The visual presentation of text and images of text has a contrast ratio of at least 7&amp;#58;1, except for the following&amp;#58; &amp;#40;Level AAA&amp;#41;  Large Print&amp;#58; Large-scale text and images of large-scale text have a contrast ratio of at least 4.5&amp;#58;1&lt;br /&gt;&lt;br /&gt;Note&amp;#58; 1. Text or images of text that are part of an inactive user interface component, that are pure decoration, that are incidental text in an image, or that are not visible to anyone, have no minimum contrast requirement. 2. Text that is part of a logo or brand name has no minimum contrast requirement.&lt;br /&gt;</description><author>dfugate</author><pubDate>Wed, 01 Jul 2009 17:51:29 GMT</pubDate><guid isPermaLink="false">Created Issue: ACCESSIBILITY: there's not enough of a color contrast for stderr under -X:ColorfulConsole 20090701055129P</guid></item><item><title>Created Issue: ACCESSIBILITY:  at high resolutions the ipy icon looks like "IPV"</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=23335</link><description>See attachment.&lt;br /&gt;</description><author>dfugate</author><pubDate>Wed, 01 Jul 2009 17:26:40 GMT</pubDate><guid isPermaLink="false">Created Issue: ACCESSIBILITY:  at high resolutions the ipy icon looks like "IPV" 20090701052640P</guid></item><item><title>Created Issue: Icons for ipy.exe and ipyw.exe both have 'ipy' image</title><link>http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=23334</link><description>It&amp;#39;s a bit confusing that both ipy.exe and ipyw.exe both have the same &amp;#39;ipy&amp;#39; icon.  IMO, this is very low priority fix.&lt;br /&gt;</description><author>dfugate</author><pubDate>Wed, 01 Jul 2009 17:24:05 GMT</pubDate><guid isPermaLink="false">Created Issue: Icons for ipy.exe and ipyw.exe both have 'ipy' image 20090701052405P</guid></item></channel></rss>