Opened 7 years ago

Closed 7 years ago

#7968 closed enhancement (duplicate)

Descriptor parser should strip @type annotations

Reported by: atagar Owned by: atagar
Priority: Medium Milestone:
Component: Core Tor/Stem Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

At least a couple times now people have been confused because a descriptor module's parse_file() function chokes on a @type annotation.

I really didn't intend for folks to use parse_file() as they are, but since this seems to be a common gotcha we should probably account for the annotation (and change to docs to emphasize the DescriptorReader).

Child Tickets

Change History (1)

comment:1 Changed 7 years ago by atagar

Resolution: duplicate
Status: newclosed

Oops, forgot to close this one. The parse_file() method has had several improvements since this.

Note: See TracTickets for help on using tickets.