Opened 5 years ago

Closed 5 years ago

#15684 closed (needsinfo)

Template won't express a numpy matrix 'sum' attribute

Reported by: subsume Owned by: nobody
Component: Template system Version: 1.3-rc
Severity: Keywords: numpy
Cc: subsume@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Apollo13 did some digging and says: reason is that template.base catches only TypeError, AttributeError, KeyError in current = current[bit] where numpy raises a ValueError

Change History (1)

comment:1 Changed 5 years ago by lukeplant

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to needsinfo
  • Status changed from new to closed

We really need more information to determine if this is a bug in Django:

  • some example code/template
  • some rationale about why numpy is correct to raise ValueError when doing this lookup operation.

Please re-open if you can provide this. Thanks!

Note: See TracTickets for help on using tickets.
Back to Top