Re: [Ironpython-users] Modifying ASTs when embedding IronPython

2012-03-03 Thread Tuomas Utrecht
Le 2 mars 2012 11:26, Jeff Hardy a écrit : > On Fri, Mar 2, 2012 at 5:31 AM, Tuomas Utrecht > wrote: > > I have body of possible Excel formulas which are identical to Python > syntax, > > except for the use of ^. > > If that's the case, why not rewrite them as strings instead (i.e. > s/^/**/g),

Re: [Ironpython-users] debugging ipy.exe

2012-03-03 Thread Jeff Hardy
Can you switch to the ipy-2.7-maint branch? I fixed that but may not have back ported to master yet. - Jeff On Saturday, March 3, 2012, Peter Schwalm wrote: > Hello, > > can anybody tell me how to debug ipy.exe in Visual Studio? > > I downloaded the latest source version of ironpython with githu

[Ironpython-users] IronPython, Daily Digest 3/2/2012

2012-03-03 Thread no_reply
Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New issue] Implement timedelta.total_seconds() -- ISSUES 1. [New issue] Implement timedelta.total_seconds() http://ironpython.codeplex.com/w

[Ironpython-users] debugging ipy.exe

2012-03-03 Thread Peter Schwalm
Hello, can anybody tell me how to debug ipy.exe in Visual Studio? I downloaded the latest source version of ironpython with github, opened the Visual Studio .sln file and selected IronPythonConsole (= ipy.exe) as the start project. Then I entered a test script in the command line arguments e

Re: [Ironpython-users] timedelta.total_seconds()

2012-03-03 Thread Cesar Mello
OK can someone please review? https://github.com/cmello/IronLanguages-main/commit/0d9cad9e1ef203df6131b9d44013a0e0f31b8088 The test passes but I still don't know if/where to enable that test in the build? Thank you. Best regards Mello On Sat, Mar 3, 2012 at 12:57 PM, Cesar Mello wrote: > I

Re: [Ironpython-users] timedelta.total_seconds()

2012-03-03 Thread Cesar Mello
I could run the test using the command line: D:\workspace-git\IronLanguages-main\Languages\IronPython\Internal>ipy ..\..\..\External.LCA_RESTRICTED\Languages\IronPython\27\Lib\test\test_datetime.py And then got 4 failures, including the one I want to fix:

Re: [Ironpython-users] timedelta.total_seconds()

2012-03-03 Thread Cesar Mello
Hi, Any help here is appreciated. I found a related unit test here: main\External.LCA_RESTRICTED\Languages\IronPython\27\Lib\test\test_datetime.py: def test_total_seconds(self): td = timedelta(days=365) self.assertEqual(td.total_seconds(), 31536000.0) for total_secon