Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New issue] wrong line dumped out along with warning message

----------------------------------------------

ISSUES

1. [New issue] wrong line dumped out along with warning message
http://ironpython.codeplex.com/workitem/35263
User JozefAlexovic has proposed the issue:

"When issue warning with warnings.warn() function the first line of module is 
dumped instead of actual warning line.     [IronPython 2.7.4 (2.7.0.40) on .NET 
4.0.30319.18444 (32-bit)]

module warn.py:
'''
Created on 30 May 2014
'''
import warnings
warnings.warn('you have been warned!')

running this module with ipy leads to:

warnings.py:1: UserWarning: you have been warned!
 '''

while runing it with python:

warnings.py:5: UserWarning: you have been warned!
 warnings.warn('you have been warned!')
"
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on 
CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue 
Tracker. You can unsubscribe or change your issue notification settings on 
CodePlex.com.
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
https://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to