Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Prepare Stacklss 3.5 #112

Closed
Closed
@ghost

Description

Originally reported by: Anselm Kruis (Bitbucket: akruis, GitHub: akruis)


Python 3.5 adds a few new features, which affect Stackless. Here are the results of a quick and dirty review of What’s New In Python 3.5:

  1. https://bugs.python.org/issue21205: New generator attribute __qualname__. PyGenObject gets two new members: gi_name and gi_qualname.

    Pickling support implemented: a8f3bfa783a9

  2. https://bugs.python.org/issue19235: new RecursionError exception

  3. https://bugs.python.org/issue24400: PEP 492 - Coroutines with async and await syntax

    As part of the PEP 492 implementation, the tp_reserved slot of PyTypeObject was replaced with a tp_as_async slot. Refer to Coroutine Objects for new types, structures and functions.

    The coroutine type is just a variant of the generator type. Therefore it is possible to reuse the pickling code for generators to enable pickling of coroutines. Implemented with commit e2bf67837ac2.

  4. Argument Clinic


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions