[ python-Bugs-1393109 ] cannot build SVN trunk on old systems

SourceForge.net noreply at sourceforge.net
Mon Feb 20 09:21:13 CET 2006


Bugs item #1393109, was opened at 2005-12-29 21:25
Message generated for change (Settings changed) made by birkenfeld
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1393109&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.5
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Fredrik Lundh (effbot)
Assigned to: Nobody/Anonymous (nobody)
Summary: cannot build SVN trunk on old systems

Initial Comment:
Parser/asdl_c.py uses "/usr/bin/env python" to
find a proper python, but the script don't work
on old Pythons (at least it fails on 2.1 and
older).

iirc, various solutions to this were discussed on
python-dev, but nobody seems to have done anything
about it.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-01-11 23:47

Message:
Logged In: YES 
user_id=21627

Is this still a problem? Parser/asdl_c.py should not
normally be invoked, unless you edit the grammar

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2006-01-02 05:31

Message:
Logged In: YES 
user_id=33168

One issue I see in asdl.py is that new-style classes are
used.  I don't know if they are really necessary.  You could
try adding something like this to the top of asdl.py and see
if that fixes things:

try:
  object
except NameError:
  class object: pass

Or maybe we just shouldn't make them new-style if that does
fix things.  I don't have an old version of python around.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1393109&group_id=5470


More information about the Python-bugs-list mailing list