[IronPython] Cannot use logging module with ipy?

peter lin dingyi.lin at gmail.com
Wed Jul 19 20:43:01 CEST 2006


Sir,
  It works! Thanks a lot.

2006/7/20, Arman Bostani <arman at twinsun.com>:
>
> Peter,
>
> As a hack, you can get logging working as follows:
>
> import logging
> logging._srcfile = None
>
> -arman
>
> Dino Viehland wrote:
> > Not being a sports fan I can't comment on the tension between the
> > Yankees and Mariners, but we definitely don't have an implementation of
> > sys._getframe which is the problem.  While sys._getframe isn't as big as
> > an entire standard module, it certainly is nearly as tricky to
> > implement.  Unfortunately we don't expect to get _getframe implemented
> > for v1.0 – but we do have a bug to implement this after 1.0 on CodePlex
> > (
> http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=1042
> > <
> http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=1042
> >
> > ).
> _______________________________________________
> users mailing list
> users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060720/f15f0f87/attachment.html>


More information about the Ironpython-users mailing list