Opened 5 years ago

Last modified 6 weeks ago

#19100 needs_work enhancement

Work around _sage_getargspec_cython bug

Reported by: jdemeyer Owned by:
Priority: major Milestone: sage-6.9
Component: documentation Keywords:
Cc: SimonKing, gh-mwageringel Merged in:
Authors: Jeroen Demeyer Reviewers:
Report Upstream: N/A Work issues:
Branch: u/jdemeyer/ticket/19100 (Commits) Commit: 9ba5f1942a6715c22a21cc9c5da4ac15312e39bc
Dependencies: Stopgaps:

Description (last modified by jdemeyer)

Work around for #18192 such that the documentation builds properly when -Infinity is used as default argument.

Also replace

if name not in firstline:
    ...
signature = firstline.split(name, 1)[-1]
if signature.startswith("(") and signature.endswith(")"):
    ...

by a single regexp search.

Change History (7)

comment:1 Changed 5 years ago by jdemeyer

  • Branch set to u/jdemeyer/ticket/19100

comment:2 Changed 5 years ago by jdemeyer

  • Commit set to 9ba5f1942a6715c22a21cc9c5da4ac15312e39bc
  • Description modified (diff)
  • Status changed from new to needs_review

New commits:

9ba5f19Work around _sage_getargspec_cython bug Trac #18192

comment:3 Changed 5 years ago by chapoton

  • Summary changed from Work around _sage_getargspec_cython bug to Work around _sage_getargspec_cython bug

something is confusing the patchbot in the title, but there is not TAB here..

comment:4 Changed 22 months ago by dimpase

Is this still relevant?

comment:5 Changed 22 months ago by jdemeyer

I see no reason why not.

comment:6 Changed 17 months ago by gh-mwageringel

  • Cc gh-mwageringel added

comment:7 Changed 6 weeks ago by chapoton

  • Status changed from needs_review to needs_work

red branch

Note: See TracTickets for help on using tickets.