[Rivet] python2 change

Andy Buckley andy.buckley at cern.ch
Mon May 12 12:56:43 BST 2014


On 12/05/14 12:41, David Grellscheid wrote:
> 
>> But on Hannes' Mac, as mentioned above, this symlink does exist (in
>> /usr/bin).
> 
> His was in /sw/bin as far as I remember. That's a Fink installation.
> OS X system python so far has never shipped a v3 flavour.

Ah, yes, I misread it as /usr/bin. Damn Macs...

Any ideas how we "move forward"? Frank? As long as OS X doesn't provide
a straightforward migration route I think we more or less have to stay
as we are, assuming that there are no HEP systems with a Python3
executable called "python". Or at least that the people using such
systems know what they are doing, and will a) understand, and b) work
around it without much trouble.

Actually porting the code to Python3 seems a bit premature to me, but if
it can be done (has already been done... Frank?) without breaking the
more common Python2 operation or populating the code with oodles of "if
PYTHONVERSION > 2", then I'd be happy to see that go into Rivet 2.2.0 in
the next month or so (before Boost, so we can show off new jet-related
features). Maybe you could upload your hacks as a new feature
development branch in the "private" hg area, Frank?

Andy

-- 
Dr Andy Buckley, Royal Society University Research Fellow
Particle Physics Expt Group, University of Glasgow / PH Dept, CERN


More information about the Rivet mailing list