On Jul 9, 2009, at 1:57 PM, Kevin Horton wrote: > > On 9 Jul 2009, at 15:02, William Stein wrote: > >> On Thu, Jul 9, 2009 at 11:31 AM, Mikie<thephantom6...@hotmail.com> >> wrote: >>> >>> Robert, how do I update my sage installation when you create a >>> patch. Do I have to reinstall Sage? >>> Thanx >> >> I just did >> >> sage: hg_sage.apply('http://trac.sagemath.org/sage_trac/attachment/ >> ticket/5081/5081-numpy-types.patch') >> >> sage: quit >> >> sage -br >> >> ... >> >> sage: import numpy >> sage: numpy.array([1,2,3]).dtype >> dtype('int64') >> >> w00t! > > Wow! I tried it, and it solves all the problems I was having with > sage <-> numpy. I am very impressed.
Well, I figured it's about time someone did it :). I thought I was going to have to patch the numpy c sources myself, but shortly after diving into them I saw the much simpler solution. > Kudos and thanks to Robert > Bradshaw. If I ever meet you, I'd be happy to buy you a beer, or > other beverage of your liking. > > Will this change make it in sage 4.1, or will it slip to 4.1.1? Looks like 4.1 is already "out," so 4.1.1. Also, http:// trac.sagemath.org/sage_trac/ticket/6506 is up. - Robert --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---