Opened 3 years ago

Closed 3 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

Attachments (0)

Change History (1)

comment:1 Changed 3 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!

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.