[Ironpython-users] IronPython, Daily Digest 1/6/2014

CodePlex no_reply at codeplex.com
Tue Jan 7 09:21:01 CET 2014


Hi ironpython,

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

In today's digest:ISSUES

1. [New comment] unicode.encode() returns wrong type
2. [New issue] top level exception handler of the interpreter prints wrong traceback

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

ISSUES

1. [New comment] unicode.encode() returns wrong type
http://ironpython.codeplex.com/workitem/34842
User paweljasinski has commented on the issue:

"<p>I have to agree there is no way to make all test cases pass, particularly escape_test is hitting the limits you mentioned.<br>However, I think it is far from "can not be used with ironpython". I have a dirty version (https://github.com/paweljasinski/tornado/compare/facebook:branch3.1...httpserver-ip-hack) which passes HTTPConnectionTest, HTTPServerRawTest, HTTPServerTest, KeepAliveTest, ManualProtocolTest.</p><p>So far I have taken the "2.7" approach and try to deal with differences individually. It possible to chose "3.x". The consequence is that all stdlib (including build-ins) must act as in 3.x. Of course one of them is encode.</p>"-----------------

2. [New issue] top level exception handler of the interpreter prints wrong traceback
http://ironpython.codeplex.com/workitem/34849
User paweljasinski has proposed the issue:

"In the following snipped, it is expected that stacktrace of the last f3() invocation includes f1, f2 and f3
import sys
import traceback

def f1():
    raise Exception("test exception")

def f2():
    f1()

def f3():
    f2()

def t1():
    e = None
    try:
        f3()
    except:
        e = sys.exc_info()
        print "-"*80
        print traceback.print_exception(e[0], e[1], e[2])
    return e

def t2():
    e = t1()
    raise e[0], e[1], e[2]

def t3():
    t2()

try:
    t3()
except:
    print "-"*80
    e = sys.exc_info()
    print traceback.print_exception(e[0], e[1], e[2])

print "="*80
t3()
"
----------------------------------------------



----------------------------------------------
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20140107/94fbec83/attachment.html>


More information about the Ironpython-users mailing list