-
-
Notifications
You must be signed in to change notification settings - Fork 519
Error while compiling urllib3 dependency #726
Comments
Yeah, this is a known bug. This is a pretty interesting issue, I've tried tackling it before but ended up not going too deep. The current implementation of the I believe the way to fix this is to have two different ways of handling exceptions, depending on what's coming after the except: if it's one of the exceptions from the stdlib, then we can use the current approach (which is nice because it will register the proper exception type in the JVM bytecode exception table). |
Semi-related question, would |
I don't think so, I think the zlib.error case would be handled by generic
expression handler, probably with org.python.exceptions.Exception in the
JVM table.
The compilation should probably only make those kinds of assumptions for
exceptions/classes that are declared in the VOC codebase.
Le 26 janv. 2018 7:18 PM, "Tzu-ping Chung" <notifications@github.com> a
écrit :
Semi-related question, would zlib.error end up inside JVM’s exception table
after compilation? Can it? Because that way we can get its class ref here
(is this possible?) and use it instead.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#726 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AACSveiRM_dAI6kWtqvqZ4JlEt2zZv2Iks5tOhbmgaJpZM4RuoGC>
.
|
The text was updated successfully, but these errors were encountered: