Boost logo

Boost Users :

From: Xavier WARIN(Compte LOCAL) - I23 (xavier.warin_at_[hidden])
Date: 2002-10-18 06:07:25


Hi ,

I'm trying to move from boost 1.26 to boost 1.28 and i want to change
the number of arguments of the functions i can connect to python.
Therefore i modified the gen_all.py in libs/python/src (as i did for
the 1.26 version) but i get the following error :

 python gen_all.py

Traceback (most recent call last):
  File "gen_all.py", line 24, in ?
    print gen_all(args)
  File "gen_all.py", line 9, in gen_all
    open('callback.hpp', 'w').write(gen_callback(args))
  File "gen_callback.py", line 5, in gen_callback
    return (
  File "gen_function.py", line 237, in gen_functions
    result = result + apply(gen_function, (template, x) + args,
keywords)
  File "gen_function.py", line 216, in gen_function
    result = result + expand(_gen_common_key(key, n, args, fill))
  File "gen_function.py", line 170, in <lambda>
    expand = (lambda s, n = n:
NameError: global name 'args' is not defined

Has somebody done a patch for this problem ?

Besides i'd like if there is a maximum number of arguments for the
function i want to connect to python with boost 1.29. (i can't move to
boost 1.29 now but i plan to do it later).

Thank you everybody


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net