inspect.signature() doesn't parse __text_signature__ containing a newline character

vstinner · GitHub

BPO

41095

Nosy

@vstinner

,

@serhiy-storchaka

,

@1st1

,

@asottile

PRs

bpo-31938: Fix default-value signatures of several functions in the select module #21066

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more detailsGitHub fields:

assignee=Noneclosed_at=Nonecreated_at=<Date2020-06-23.22:26:29.252>labels= ['library', '3.10'] title="inspect.signature() doesn't parse __text_signature__ containing a newline character"updated_at=<Date2020-06-24.01:12:14.804>user='https://github.com/vstinner'bugs.python.org fields:

activity=<Date2020-06-24.01:12:14.804>actor='Anthony Sottile'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)'] creation=<Date2020-06-23.22:26:29.252>creator='vstinner'dependencies= [] files= [] hgrepos= [] issue_num=41095keywords= ['patch'] message_count=2.0messages= ['372213', '372222'] nosy_count=4.0nosy_names= ['vstinner', 'serhiy.storchaka', 'yselivanov', 'Anthony Sottile'] pr_nums= ['21066'] priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype=Noneurl='https://bugs.python.org/issue41095'versions= ['Python 3.10']PR:

gh-85267: Improvements to inspect.signature __text_signature__ handling #98796

PR:

[3.11] gh-85267: Improvements to inspect.signature __text_signature__ handling (GH-98796) #100392

PR:

[3.10] gh-85267: Improvements to inspect.signature __text_signature__ handling (GH-98796) #100393