[sage-devel] Re: NumberField's with embeddings

2019-02-07 Thread Nils Bruin
On Thursday, February 7, 2019 at 10:11:06 AM UTC-8, Brent W. Baccala wrote: > > > Q1: Shouldn't `number_field_elements_from_algebraics` return a NumberField > with an embedding attached? > Doesn't https://trac.sagemath.org/ticket/23808 address this? [answering my own question: no it doesn't! Th

Re: [sage-devel] AlarmInterrupt causes Sage to crash hard

2019-02-07 Thread E. Madison Bray
On Thu, Feb 7, 2019 at 5:05 PM E. Madison Bray wrote: > > On Thu, Feb 7, 2019 at 4:53 PM Jeroen Demeyer wrote: > > > > On 2019-02-07 16:45, E. Madison Bray wrote: > > > Apparently Jeroen argued about this with the IPython developers some > > > time ago: https://github.com/ipython/ipython/pull/986

Re: [sage-devel] AlarmInterrupt causes Sage to crash hard

2019-02-07 Thread E. Madison Bray
On Thu, Feb 7, 2019 at 4:53 PM Jeroen Demeyer wrote: > > On 2019-02-07 16:45, E. Madison Bray wrote: > > Apparently Jeroen argued about this with the IPython developers some > > time ago: https://github.com/ipython/ipython/pull/9867 > > Indeed. Your post did seem familiar to me, but I actually for

Re: [sage-devel] AlarmInterrupt causes Sage to crash hard

2019-02-07 Thread Jeroen Demeyer
On 2019-02-06 20:52, Nils Bruin wrote: This is the same as in python: >>> import signal >>> signal.alarm(1) 0 >>> Alarm clock It looks like this is just the default signal handler for python (the one that just prints the signal name and exits) For the record, that message "Alarm clock" is

Re: [sage-devel] AlarmInterrupt causes Sage to crash hard

2019-02-07 Thread Jeroen Demeyer
On 2019-02-07 16:45, E. Madison Bray wrote: Apparently Jeroen argued about this with the IPython developers some time ago: https://github.com/ipython/ipython/pull/9867 Indeed. Your post did seem familiar to me, but I actually forgot about that discussion. -- You received this message because

Re: [sage-devel] AlarmInterrupt causes Sage to crash hard

2019-02-07 Thread E. Madison Bray
On Thu, Feb 7, 2019 at 4:14 PM E. Madison Bray wrote: > > On Thu, Feb 7, 2019 at 4:13 PM E. Madison Bray wrote: > > > > On Wed, Feb 6, 2019 at 8:52 PM Nils Bruin wrote: > > > > > > On Wednesday, February 6, 2019 at 6:35:27 AM UTC-8, E. Madison Bray wrote: > > >> > > >> > > >> Which is being reac

Re: [sage-devel] AlarmInterrupt causes Sage to crash hard

2019-02-07 Thread E. Madison Bray
On Thu, Feb 7, 2019 at 4:13 PM E. Madison Bray wrote: > > On Wed, Feb 6, 2019 at 8:52 PM Nils Bruin wrote: > > > > On Wednesday, February 6, 2019 at 6:35:27 AM UTC-8, E. Madison Bray wrote: > >> > >> > >> Which is being reached because AlarmInterrupt is a subclass of > >> KeyboardInterrupt . I

Re: [sage-devel] AlarmInterrupt causes Sage to crash hard

2019-02-07 Thread E. Madison Bray
On Wed, Feb 6, 2019 at 8:52 PM Nils Bruin wrote: > > On Wednesday, February 6, 2019 at 6:35:27 AM UTC-8, E. Madison Bray wrote: >> >> >> Which is being reached because AlarmInterrupt is a subclass of >> KeyboardInterrupt . I don't know why this doesn't happen then when, >> say, mashing Ctrl-C.