Skip to content

☂️ Syntax errors raised by the compiler #11934

Closed
5 of 5 issues completed
Closed
5 of 5 issues completed
@dhruvmanila

Description

@dhruvmanila

This is an umbrella issue to collect all the syntax errors that are raised by the CPython compiler. These are different than the ones that are raised by the parser. IOW, the source code which raises these errors are valid as per the grammar.

A lot of them are mentioned in this comment. These all would be part of E999 rule.

Version-related errors

The following are both version-related and detected by the compiler. Many of them were originally tracked in #6591.

3.13

3.11

3.10

  • del __debug__ is a syntax error on Python 3.10+ (cpython#89163)

Sub-issues

Metadata

Metadata

Assignees

Labels

trackingA "meta" issue that tracks completion of a bigger task via a list of smaller scoped issues.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions