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

2012-03-02 Thread Cesar Mello
Oh please forget my questions... Everything sorted out. Just found https://github.com/IronLanguages/main/wiki . That's so great! Best regards! Mello On Fri, Mar 2, 2012 at 7:39 PM, Cesar Mello wrote: > I am a newbie so my first task other than keep reading the documentation > all the time is

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

2012-03-02 Thread Cesar Mello
I am a newbie so my first task other than keep reading the documentation all the time is getting acquainted to git, the build environment and the regression tests. Should I test in both Windows and Linux? The implementation seems to be the expression: (td.microseconds + (td.seconds + td.days * 24

Re: [Ironpython-users] Distributing apps

2012-03-02 Thread Jeff Hardy
On Fri, Mar 2, 2012 at 12:58 PM, wrote: > Well, when you or whoever finds time to document the process, could > you include something about that, too? If put some of the standard > library files, but omit others, I get a message telling me which ones > are missing, but if I include everything, I

Re: [Ironpython-users] Distributing apps

2012-03-02 Thread mchalkley
Friday, March 2, 2012, 12:57:46 PM, you wrote: > On Fri, Mar 2, 2012 at 9:33 AM, wrote: >> Ok, thanks - that got me a long ways past where I was. The exe that it >> builds doesn't include the standard python library stuff, like string, >> even though it's in an import statement. So do I have t

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

2012-03-02 Thread Jeff Hardy
On Fri, Mar 2, 2012 at 11:57 AM, Cesar Mello wrote: > OK I prefer small work items too: > > http://ironpython.codeplex.com/workitem/32342 > > Tonight I'll setup git and play around, maybe I can solve this one. I'd like to cut the 2.7.2 RC on Sunday (and only fix showstoppers after that), so if yo

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

2012-03-02 Thread Cesar Mello
OK I prefer small work items too: http://ironpython.codeplex.com/workitem/32342 Tonight I'll setup git and play around, maybe I can solve this one. Best regards Mello On Fri, Mar 2, 2012 at 4:15 PM, Jeff Hardy wrote: > No, create a new one. That datetime one is so big (and out of date) > that

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

2012-03-02 Thread Jeff Hardy
No, create a new one. That datetime one is so big (and out of date) that it might never be closed. I prefer them to be small pieces. - Jeff On Fri, Mar 2, 2012 at 11:09 AM, Cesar Mello wrote: > There is a work item for missing datetime features: > > http://ironpython.codeplex.com/workitem/17470

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

2012-03-02 Thread Cesar Mello
There is a work item for missing datetime features: http://ironpython.codeplex.com/workitem/17470 So should I just insert a comment instead of creating a new work item? Thanks! Best regards Mello On Fri, Mar 2, 2012 at 2:10 PM, Jeff Hardy wrote: > Just an oversight. Can you open an issue

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

2012-03-02 Thread Cesar Mello
Hey nice! Let this one with me. Best regards Mello On Fri, Mar 2, 2012 at 2:10 PM, Jeff Hardy wrote: > Just an oversight. Can you open an issue on ironpython.codeplex.com? > Should be easy enough to get this in. If you're up to it, a pull > request would be even better :) > > - Jeff > > On Fri,

Re: [Ironpython-users] Distributing apps

2012-03-02 Thread Jeff Hardy
On Fri, Mar 2, 2012 at 9:33 AM, wrote: > Ok, thanks - that got me a long ways past where I was. The exe that it > builds doesn't include the standard python library stuff, like string, > even though it's in an import statement. So do I have to explicitly > include everything like that (datetime,

[Ironpython-users] IronPython Documentation (was: Distributing apps)

2012-03-02 Thread Jeff Hardy
On Fri, Mar 2, 2012 at 9:14 AM, Slide wrote: > Do we currently have a wiki? 2 of them - codeplex, and github - plus ironpython.info has stuff as well. For now the github wiki is probably the best one to use. On a bigger scale: I've long been in awe of the Python documentation. It's some of the

Re: [Ironpython-users] Distributing apps

2012-03-02 Thread mchalkley
Friday, March 2, 2012, 11:37:20 AM, you wrote: > On Fri, Mar 2, 2012 at 7:37 AM, wrote: >> Apologies in advance for the newbie question, especially if this has >> been covered 73 times already (I did spend a hour searching online and >> in the IPy documentation before resorting to this mailing l

Re: [Ironpython-users] Distributing apps

2012-03-02 Thread Slide
Do we currently have a wiki? On Fri, Mar 2, 2012 at 9:37 AM, Jeff Hardy wrote: > On Fri, Mar 2, 2012 at 7:37 AM, wrote: > > Apologies in advance for the newbie question, especially if this has > > been covered 73 times already (I did spend a hour searching online and > > in the IPy documentati

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

2012-03-02 Thread Jeff Hardy
Just an oversight. Can you open an issue on ironpython.codeplex.com? Should be easy enough to get this in. If you're up to it, a pull request would be even better :) - Jeff On Fri, Mar 2, 2012 at 8:54 AM, Cesar Mello wrote: > Hi! > > This method doesn't seem to be implemented. From > http://docs

[Ironpython-users] timedelta.total_seconds()

2012-03-02 Thread Cesar Mello
Hi! This method doesn't seem to be implemented. From http://docs.python.org/library/datetime.html : timedelta.total_seconds() Return the total number of seconds contained in the duration. Equivalent to (td.microseconds

Re: [Ironpython-users] Implicit conversion of objects to float

2012-03-02 Thread Cesar Mello
Hey thanks so much for the great help! It worked perfectly. Thanks! Best regards!!! Mello On Fri, Mar 2, 2012 at 1:24 PM, Jeff Hardy wrote: > On Fri, Mar 2, 2012 at 4:42 AM, Cesar Mello wrote: > > Hi! > > > > Is it possible for a .NET class to provide a property with the Python > > datetime

Re: [Ironpython-users] Distributing apps

2012-03-02 Thread Jeff Hardy
On Fri, Mar 2, 2012 at 7:37 AM, wrote: > Apologies in advance for the newbie question, especially if this has > been covered 73 times already (I did spend a hour searching online and > in the IPy documentation before resorting to this mailing list)... It does come up once in a while, and maybe s

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

2012-03-02 Thread Jeff Hardy
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), and then pass them to IronPython? - Jeff __

Re: [Ironpython-users] Implicit conversion of objects to float

2012-03-02 Thread Jeff Hardy
On Fri, Mar 2, 2012 at 4:42 AM, Cesar Mello wrote: > Hi! > > Is it possible for a .NET class to provide a property with the Python > datetime instead of System.DateTime? Yep - just use PythonDateTime.datetime, in the IronPython.Modules namespace. - Jeff > > Thank you very much for the attention

[Ironpython-users] Distributing apps

2012-03-02 Thread mchalkley
Apologies in advance for the newbie question, especially if this has been covered 73 times already (I did spend a hour searching online and in the IPy documentation before resorting to this mailing list)... Is there a tutorial, overview, or how-to anywhere that describes how to distribute IronPyth

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

2012-03-02 Thread Tuomas Utrecht
No, my case is taking Excel formula strings into a C# application, redefining ^ to be ** and evaluating expressions in the context of a larger Python module which may override built-in and third-party Excel functions. Thank you for the information, though. Le 2 mars 2012 00:00, Vernon Cole a écr

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

2012-03-02 Thread Tuomas Utrecht
Le 1 mars 2012 21:58, Curt Hagenlocher a écrit : > I would argue that this is a bad idea. How Python-compatible do you want > this simple Excel-like language to be? > I have body of possible Excel formulas which are identical to Python syntax, except for the use of ^. > If it's really just a s

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

2012-03-02 Thread no_reply
Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New comment] zipimport adding an extra newline to the end of every line of imported source on windows 2. [New comment] zipimport adding an extra newline to the end of every line of impo

Re: [Ironpython-users] Implicit conversion of objects to float

2012-03-02 Thread Cesar Mello
Hi! Is it possible for a .NET class to provide a property with the Python datetime instead of System.DateTime? Thank you very much for the attention! Best regards! Mello On Thu, Mar 1, 2012 at 6:31 PM, Cesar Mello wrote: > It worked perfectly and fast! Thank you so much > > Best regards