Ticket #2569 (closed defect: fixed)

Opened 9 months ago

Last modified 3 months ago

[with patch, positive review] Add XOR to preparser

Reported by: vgermrk Assigned to: cwitty
Priority: minor Milestone: sage-3.1.2
Component: misc Keywords:
Cc:

Description (Last modified by robertwb)

Since the preparser replaces "" with "**", there should be a way to access the python-buildin-XOR again.

The discussion is here: http://groups.google.com/group/sage-devel/browse_thread/thread/a7aaccd2081098bc/de225692ee38f0a5

The conclusion is:

Unless somebody thinks of something better, I like ^^ as well.

William


So the preparser should replace ^^ with ^.

Attachments

trac2569-preparse-xor.patch (1.2 kB) - added by cwitty on 08/23/2008 11:48:20 AM.

Change History

03/17/2008 10:58:32 AM changed by robertwb

  • description changed.

08/23/2008 11:48:20 AM changed by cwitty

  • attachment trac2569-preparse-xor.patch added.

08/23/2008 11:48:48 AM changed by cwitty

  • summary changed from Add XOR to preparser to [with patch, needs review] Add XOR to preparser.

08/24/2008 04:55:19 PM changed by mhansen

  • summary changed from [with patch, needs review] Add XOR to preparser to [with patch, positive review] Add XOR to preparser.

Looks good to me.

08/24/2008 06:13:54 PM changed by mabshoff

  • status changed from new to closed.
  • resolution set to fixed.

Merged all three patches in Sage 3.1.2.alpha1

08/24/2008 06:22:00 PM changed by mabshoff

Oops, merged the one and only patch attached to this ticket. Damn copy & paste ;)

Cheers,

Michael