ironpythonbot

Results 91 issues of ironpythonbot

In Python2.5,the initial value of copy_reg.dispatch_table has 5 elements,but in IronPython,just has one.the code as follow: import copy_reg t = copy_reg.dispatch_table for name ,value in t.items(): ``` print name,value ```...

untriaged

there are some funtions don't implement for binascii module against Ironpython .  for the test case working around, i report this bug. select from binascii.cs [PythonName("a2b_qp")] public static object DecodeQuotedPrintable(object...

IronPython 1.0 (1.0) on .NET 2.0.50727.112 Copyright (c) Microsoft Corporation. All rights reserved. > > > from collections import deque > > > class C(deque): pass > > > ......

Input() throws an EOFError when stdin is StringIO() in CPython2.5, but IronPython throws a SyntaxError. like below code: import sys import cStringIO sys.stdin = cStringIO.StringIO() input() CPython result :"Traceback (most...

Below code has different result in IronPython 2.0A4 and Cpython, as follow: re.sub('x', r'\111', 'x') re.sub('x', r'\117', 'x') re.sub('x', r'\1111', 'x') re.sub('x', r'\1111', 'x') re.sub('x', r'\400', 'x') re.sub('x', r'\777', 'x')...

C:\Users\v-junche.FAREAST>ipy -X:SaveAssemblies IronPython console: IronPython 2.0A4 (2.0.10904.02) on .NET 2.0.507 Copyright (c) Microsoft Corporation. All rights reserved. > > > import datetime > > > cls=datetime.datetime > > > big=cls.max-cls.min...

Including user overrides: ``` type.mro(int) class User(type): def mro(cls): return ['a','b'] ``` The user overload should then impact how __mro__ works for subtypes. At the moment we are throwing NotImplementedErrors...

E:\IronPyTestFor2.5\ironpythonCompatableFor2.5\ironpythonCompatableFor2.5\25\L ib > ^Z > E:\IronPyTestFor2.5\ironpythonCompatableFor2.5\ironpythonCompatableFor2.5\25\L > ib > ipy > IronPython console: IronPython 2.0A5 (2.0.11011.00) on .NET 2.0.50727.1318 > Copyright (c) Microsoft Corporation. All rights reserved. > > >...

The problem is demonstrated by the example below. It occurs both with IPY 2.6.2 and 2.7. D:>type mymod.py """Hello, Kitty!""" print "Greeting:", *\* doc *\* D:>ipy mymod.py Greeting: Hello, Kitty!...

class A(object): *\* slots *\* = ['a', 'b'] class B(object): *\* slots *\* = ['a', 'c'] class C(A, B): pass expected: TypeError: Error when calling the metaclass bases multiple bases...