dir does not work
correctly for inherited classes.
Repro:
class
foo():
def fooprint(self, b):
print(b);
class
bar(foo):
def barprint(self,b):
print(b);
dir(foo)
['__doc__',
'fooprint']
dir(bar)
['__doc__',
'barprint']
Should be
dir(bar)
['__doc__',
focusing on other pieces of
IronPython that I didn't get to it yet. Sorry about that.
Martin
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Luis M. GonzalezSent: Friday, September 23, 2005 5:51
AMTo: users-ironpython.com@lists.ironpython.comSubject:
[IronP
Hi
Martin,I just wanted to let you know that this strange bug reported om
Jun 30 is still ocurring:_Hi all,I post this here because I don't know how to describe it in the bug tracker.This simple code re
It looks like the dir() function does not list the functions
for superclasses (either dirring the class or instance variable).
Repro:
class foo():
def foofunc(self):
print ‘foofunc’;
class bar(foo
Looks like it's using the .NET RegEx library. Here's the reference, in
case there are syntax differences in the RegEx language used:
http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconRegularExpres
sionsLanguageElements.asp
Grouping Constructs:
http://msdn.microsoft.com/library/en-us/cpge
When trying to local a "simple" regular expression, I get the following:
$ IronPython-0.7.6/bin/IronPythonConsole.exe
IronPython 0.7.6 on .NET 2.0.50215.44
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import re
>>> sect = re.compile('\[(?P[^]]+)\]')
System.ArgumentException: parsi
Thanks for the report, Louis; It is most likely an
IronPython bug. I am going to look into this.
Martin
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Luis M. GonzalezSent: Thursday, June 30, 2005 2:25
PMTo: users-ironpython.com
Hi all,
I post this here because I don't know how to
describe it in the bug tracker.
This simple code reads a text file and removes all
the dots, parenthesis and signs from each word, which then is printed in
the screen:
>>> f = open('c:/documents and
settings/usuario1/escritorio/sw3.txt
Hi Ying-Shen,
Reporting the bug like this is completely sufficient. GDN is good place
to enter bugs, but sending email is just as good. Thanks for the report!
Thanks and keep in touch
Martin
> Ying-Shen wrote:
> Subject: [IronPython] Bug Report
>
> Hi,
>
> I knew GDN bug
Hi,
I knew GDN bug tracker maybe the right place for this issue, but
unfortunatelly due to some limitations, I don't have access to that
site, so I apologize to post it here.
I was playing with IronPython 0.7.1 and want to generate a method list
for string, basically I'm using the code snippet
10 matches
Mail list logo