From venky.92 at gmail.com Tue May 2 08:08:05 2017 From: venky.92 at gmail.com (Venkatesh Potluri) Date: Tue, 2 May 2017 17:38:05 +0530 Subject: [Ironpython-users] Retrieving comments from FunctionDefinition nodes in c# Message-ID: Hi list, I am unable to extract comments corresponding to a python function using IronPython in c#. Despite the python code corresponding to the FunctionDefinition node having comments, the FunctionDefinition node.documentation seems to be empty. What exactly am I missing? I am attaching my c# function override for Bool walk(FunctionDefinition node) and the python code I use for testing. // C# code: class MyWalker:PythonWalker { public override bool Walk(ClassDefinition node) { Trace.TraceInformation(node.Documentation); return True; } } ###Python Code that this is tested against: def printHello(): """This is a test DocString comment.""" return 'hello' I do not get any output. the string is empty. Thank you and best regards, Venkatesh From stephane.lozier at gmail.com Thu May 4 16:42:32 2017 From: stephane.lozier at gmail.com (=?UTF-8?Q?St=C3=A9phane_Lozier?=) Date: Thu, 4 May 2017 16:42:32 -0400 Subject: [Ironpython-users] Retrieving comments from FunctionDefinition nodes in c# In-Reply-To: References: Message-ID: I believe the documentation is part of the body of the function. Maybe try node.Body.Documentation? St?phane On Tue, May 2, 2017 at 8:08 AM, Venkatesh Potluri wrote: > Hi list, > > I am unable to extract comments corresponding to a python function > using IronPython in c#. Despite the python code corresponding to the > FunctionDefinition node having comments, the FunctionDefinition > node.documentation seems to be empty. > > What exactly am I missing? > I am attaching my c# function override for Bool > walk(FunctionDefinition node) and the python code I use for testing. > > // C# code: > class MyWalker:PythonWalker { > public override bool Walk(ClassDefinition node) > { > Trace.TraceInformation(node.Documentation); > return True; > } > } > > ###Python Code that this is tested against: > def printHello(): > """This is a test DocString comment.""" > return 'hello' > > > I do not get any output. the string is empty. > > Thank you and best regards, > Venkatesh > _______________________________________________ > Ironpython-users mailing list > Ironpython-users at python.org > https://mail.python.org/mailman/listinfo/ironpython-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From slide.o.mix at gmail.com Fri May 19 11:00:38 2017 From: slide.o.mix at gmail.com (Slide) Date: Fri, 19 May 2017 15:00:38 +0000 Subject: [Ironpython-users] Mailing list move Message-ID: Our current mailing list uses mailman hosted by the Python organization. Mailman leaves a lot to be desired, so I was wondering if people would be open to moving to groups.io. The filtering seems better, archives are easier to navigate, and people can use a web interface to post and read. Does anyone have any strong feelings one way or the other? Thanks, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: From slide.o.mix at gmail.com Sun May 28 21:02:27 2017 From: slide.o.mix at gmail.com (Slide) Date: Mon, 29 May 2017 01:02:27 +0000 Subject: [Ironpython-users] Mailing list move In-Reply-To: <18E3C74F59B14A3D8D1B1A481E46472D@AndyDesktop> References: <18E3C74F59B14A3D8D1B1A481E46472D@AndyDesktop> Message-ID: Ok, I've setup two different lists on groups.io, developers at ironpython.groups.io and users at ironpython.groups.io. The users list will be like the current mailing list with questions and answers and so forth. The developers list will receive the emails from the continuous integration systems (currently AppVeyor and Travis) for all builds. It will also have discussions of development of IronPython itself. You can signup for an account on groups.io and then look for the ironpython lists. They are currently setup as moderated for initial post. Let me know if anyone has questions about the move. On Fri, May 19, 2017 at 9:32 AM Andrew Graham wrote: > Seems like a good idea to me. > > > *From:* Slide > *Sent:* Friday, May 19, 2017 4:00 PM > *To:* ironpython-users at python.org > *Subject:* [Ironpython-users] Mailing list move > > Our current mailing list uses mailman hosted by the Python organization. > Mailman leaves a lot to be desired, so I was wondering if people would be > open to moving to groups.io. The filtering seems better, archives are > easier to navigate, and people can use a web interface to post and read. > Does anyone have any strong feelings one way or the other? > > Thanks, > > Alex > > _______________________________________________ > Ironpython-users mailing list > Ironpython-users at python.org > https://mail.python.org/mailman/listinfo/ironpython-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: