Opened 6 years ago

Last modified 5 years ago

#18555 closed enhancement

Pickling and otherwise enhancing global options — at Version 2

Reported by: andrew.mathas Owned by:
Priority: major Milestone: sage-7.3
Component: interfaces Keywords: days78, options
Cc: ncohen, tscrim Merged in:
Authors: Andrew Mathas Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by andrew.mathas)

Instances of the GlobalOptions class in sage.structure.global_options do not pickle, which is annoying and causes various problems.

In addition, when the GlobalOptions class was introduced it was suggested in sage-dev that it "would be nice" if we could implement the syntax used in the IPython configuration:

    A.options.foobar = 1

in addition to

    A.options(foobar=1)

This (soon to be uploaded) patch will implement both of these features.

Change History (2)

comment:1 Changed 6 years ago by ncohen

  • Cc ncohen added

comment:2 Changed 6 years ago by andrew.mathas

  • Authors set to Andrew Mathas
  • Component changed from PLEASE CHANGE to interfaces
  • Description modified (diff)
  • Keywords options added
  • Summary changed from Pickling global options to Pickling and otherwise enhancing global options
  • Type changed from PLEASE CHANGE to enhancement
Note: See TracTickets for help on using tickets.