[Python-ideas] Proposal to extend PEP 484 (gradual typing) to support Python 2.7

Jim Baker jim.baker at python.org
Sun Jan 10 16:51:13 EST 2016


FWIW, we now fully support both Jedi and lib2to3 in Jython 2.7.1 master.
With some other work this weekend, we should be releasing 2.7.1 beta 3 and
then shortly a RC - we just fixed the last blocking bug.

On Sat, Jan 9, 2016 at 11:52 AM, Jim Baker <jim.baker at python.org> wrote:

> +1, I would really like to try out type annotation support in Jython,
> given the potential for tying in with Java as a source of type annotations
> (basically the equivalent of stubs for free). I'm planning on sprinting on
> Jython 3 at PyCon, but let's face it, that's going to take a while to
> really finish.
>
> re the two approaches, both are workable with Jython:
>
> * lib2to3 is something we should support in Jython 2.7. There are a couple
> of data files that we don't support in the tests (too large of a method for
> Java bytecode in infinite_recursion.py, not terribly interesting), plus a
> few other tests that should work. Therefore lib2to3 should be in the next
> release (2.7.1).
>
> * Jedi now works with the last commit to Jython 2.7 trunk, passing
> whatever it means to run random tests using its sith script against its
> source. (The sith test does not pass with either CPython or Jython's
> stdlib, starting with bad_coding.py.)
>
> - Jim
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160110/09a57d05/attachment.html>


More information about the Python-ideas mailing list