A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/1999-September/000841.html below:

unreachable Python becomes unreachable Java (fwd)

[Python-Dev] jpythonc: unreachable Python becomes unreachable Java (fwd)David Ascher da@ski.org
Fri, 10 Sep 1999 21:06:54 -0700 (Pacific Daylight Time)
Greg Ward notes on the JPython list:

> Looks like I've found a definite bug in jpythonc -- unreachable Python
> code compiles to unreachable Java code.  Here's a simple example:
> [..]
> Yikes... does this mean that jpythonc will have to analyze Python code
> for reachability?  Is this even possible?  Guess the answer for now is,
> "Don't do that!".

This is another sort of warning that a checker could do in the core which
could catch some errors.  Not sure that it makes sense to try and find all
the cases that an arbitrary Java compiler could find, but presumably
Greg's original code which led him to the jpythonc bug find had a
plain-old python bug in it?  Did Aaron's pylint find any nonreachable
code?

--david




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4