Re: [Ironpython-users] SerializationException from IronPython.Runtime.Types.PythonType

2012-01-13 Thread Alan Macdonald
Dino, Thanks for the response. I understand what you are saying. I have also realised that at the moment because I catch the exception and instantiate a new Exception using the formatted information string (so that calling code need know nothing about ScriptEngine formatting services). I can mo

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

2012-01-13 Thread no_reply
Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New comment] (please cancel) System.Collections.Generic.HashSet Missing 2. [New issue] Add StackOverflow to website support page -- ISSUES 1

[Ironpython-users] logging.handlers.NTEventLogHandler not in IP?

2012-01-13 Thread Hernán Foffani
Hi, While trying the logging module, I've found this: IronPython 2.7.1 (2.7.0.40) on .NET 4.0.30319.239 Type "help", "copyright", "credits" or "license" for more information. >>> >>> import logging >>> import logging.handlers >>> logging.getLogger(

Re: [Ironpython-users] logging.handlers.NTEventLogHandler not in IP?

2012-01-13 Thread Dino Viehland
There's the EventLog class [http://msdn.microsoft.com/en-us/library/system.diagnostics.eventlog(v=vs.71).aspx] which you can get at using: from System.Diagnostics import EventLog I would think you could make your own NTEventLogHandler which wraps this, you could probably contribute it back to

Re: [Ironpython-users] logging.handlers.NTEventLogHandler not in IP?

2012-01-13 Thread Jeff Hardy
On Fri, Jan 13, 2012 at 9:24 AM, Dino Viehland wrote: > I would think you could make your own NTEventLogHandler which wraps this, > you could probably contribute it back to the std lib under an if sys.platform > == 'cli': > so that on IronPython you get the .NET NTEventLogHandler. At the very li

Re: [Ironpython-users] logging.handlers.NTEventLogHandler not in IP?

2012-01-13 Thread Jeff Hardy
On Fri, Jan 13, 2012 at 9:54 AM, Hernán Foffani wrote: > > El 13/01/2012, a las 18:49, Jeff Hardy escribió: > >> On Fri, Jan 13, 2012 at 9:24 AM, Dino Viehland wrote: >>> I would think you could make your own NTEventLogHandler which wraps this, >>> you could probably contribute it back to the std

Re: [Ironpython-users] logging.handlers.NTEventLogHandler not in IP?

2012-01-13 Thread Hernán Foffani
El 13/01/2012, a las 19:05, Jeff Hardy escribió: > On Fri, Jan 13, 2012 at 9:54 AM, Hernán Foffani wrote: >> >> El 13/01/2012, a las 18:49, Jeff Hardy escribió: >> >>> On Fri, Jan 13, 2012 at 9:24 AM, Dino Viehland wrote: I would think you could make your own NTEventLogHandler which wrap

Re: [Ironpython-users] logging.handlers.NTEventLogHandler not in IP?

2012-01-13 Thread Douglas S. Blank
> On Fri, Jan 13, 2012 at 9:54 AM, Hernán Foffani > wrote: >> >> El 13/01/2012, a las 18:49, Jeff Hardy escribió: >> >>> On Fri, Jan 13, 2012 at 9:24 AM, Dino Viehland >>> wrote: I would think you could make your own NTEventLogHandler which wraps this, you could probably contribute

Re: [Ironpython-users] logging.handlers.NTEventLogHandler not in IP?

2012-01-13 Thread Jeff Hardy
On Fri, Jan 13, 2012 at 11:24 AM, Dino Viehland wrote: > Douglas wrote: >> Speaking of IronPython's use of the standard Python Library, how does one go >> from IronPython source to an installation with Lib set up properly? >> >> I see that there are parts of the standard lib in github... a couple

Re: [Ironpython-users] logging.handlers.NTEventLogHandler not in IP?

2012-01-13 Thread Dino Viehland
Douglas wrote: > Speaking of IronPython's use of the standard Python Library, how does one go > from IronPython source to an installation with Lib set up properly? > > I see that there are parts of the standard lib in github... a couple > actually: some under External.LCS_RESTRICTED and another