1-10 of 759 < Previous ... Next >
3 votes

str() or unicode() setting up unicode string, exception occurs.

String representation of the object to obtain a unicode() function tries to use. (C#: obj.ToString()) >>> a = 'A' >>> a 'A' >>> unicode(a) 'A' >>> a = 'A' # \uff21 >>> a u'\uff21' >>> unicod...

id# 15372 | Planned Release: 2.1 | Last Updated: Today at 1:13 PM  by orestis
1 vote

sys.ps1 defined incorrectly, sys.ps2 not defined

InitializeSystemState() has this: SetSystemStateValue("ps1", ">>> "); SetSystemStateValue("ps1", "... ");

id# 16497 | Planned Release: None | Last Updated: Thu at 7:52 PM  by paulfelix
2 votes
fixed

SyntaxError(...).__dict__ is not a dict

<Thanks>Michael Foord</Thanks> <Test>Needed</Test> Hello guys, Attempting to access the '__dict__' attribute of a SyntaxError exception in IP2a8 *returns* an 'OperationFailed' object. The codeop...

id# 15571 | Planned Release: 2.0 Beta 2 | Last Updated: Thu at 5:36 PM  by dinov
1 vote

ToString(format) does not work with python long

Perhaps it would be enough to implement it by converting the long to System.Decimal, and just using it's ToString(format) which works perfectly. def ToString(self, format): d = Decimal.TryParse(...

id# 16477 | Planned Release: None | Last Updated: Thu at 1:13 PM  by Eloff
1 vote

dir() of a AssemblyBuilder instance shows the members of Assembly

dir() of an instance of AssemblyBuilder shows all the methods of Assembly and none of AssemblyBuilder. Reason: The offending line of code is in GetMemberNames in PythonAssemblyOps where typeof(Ass...

id# 16486 | Planned Release: None | Last Updated: Thu at 12:41 AM  by srivatsn
1 vote

AssemblyBuilder cannot be created except in SaveAssemblies mode

Curt reported this on the mailing list: import clr import System name = System.Reflection.AssemblyName() name.Name = 'Test' assemblyBuilder = System.AppDomain.CurrentDomain.DefineDynamicAssembly(n...

id# 16485 | Planned Release: None | Last Updated: Thu at 12:37 AM  by srivatsn
1 vote

struct.unpack('I', s) should return int if possible

CPython >>> struct.unpack('I','\xedd\x02\x00') (156909,) IronPython 2.0b1 >>> struct.unpack('I','\xedd\x02\x00') (156909L,) CPython returns int right up to sys.maxint

id# 16476 | Planned Release: None | Last Updated: Wed at 5:46 PM  by Eloff
1 vote

Incompat: os.open called with O_EXCL doesnt lock the file for subsequent opens in CPython

If a call to os.open is made with the flags O_CREAT | O_EXCL, cpython lets you make further os.open calls for the same file with any flag other than O_CREAT. IPy throws an exception saying the file...

id# 16457 | Planned Release: None | Last Updated: Wed at 12:21 AM  by srivatsn
1 vote

Trivial: Throw WindowsError with errno set to 2 when os.stat fails

The errno property is always set to 22 currently. IPy: D:\dd\vs_langs01\Merlin\External\Languages\IronPython20\25\Lib>ipyd IronPython 2.0 Beta (2.0.0.2000) on .NET 2.0.50727.1434 Copyright (c) Mi...

id# 16453 | Planned Release: None | Last Updated: Tue at 8:35 PM  by srivatsn
0 votes

codecs.escape_encode returns a string instead of a tuple and the string has the wrong value

<Test>test_codecs.py</Test> CPython: >>> _codecs.escape_encode("ab\a\b\t\n\r\f\vba") ('ab\\x07\\x08\\t\\n\\r\\x0c\\x0bba', 26) IronPython: >>> _codecs.escape_encode("ab\a\b\t\n\r\f\vba") 'ab\\a\...

id# 4566 | Planned Release: None | Last Updated: Tue at 5:30 PM  by sborde

Configure View

Search
Sort by Id
Release
Title
Updated
Votes
1-10 of 759 < Previous 1 2 3 4 5 6 7 8 9 10 ... Next >
Updating...