[IronPython] FlowDocument XAML syntax highlighting and restructured text

Dino Viehland dinov at microsoft.com
Tue Aug 11 03:32:28 CEST 2009


Michael wrote:
> If I use the unicodedata module from FePy then it *seems* to work.
> Although I do see a warning that I don't see under CPython:
>
> <string>:1: DeprecationWarning: object.__new__() takes no parameters
>
> Not dug in to see where it comes from.

It's a new warning in 2.6 - it could be that FePy's unicodedata has
something like:

class x(object):
    def __new__(cls, *args):
            return object.__new__(cls, *args)  # shouldn't pass args
    def __init__(self, *args):
            pass

x(42)





More information about the Ironpython-users mailing list