Re: [C++-sig] Implementation of proper overload resolution

2009-12-21 Thread Troy D. Straszheim
Dane Springmeyer writes: > Troy, > > Incidentally, do you know the proper way (or is there a proper way?) > to support None type keyword arguments? > > Cheers, > > Dane > Could you elaborate? What're you trying to do? -t ___ Cplusplus-sig mailin

[C++-sig] ANN: PyBindGen 0.13 released

2009-12-21 Thread Gustavo Carneiro
PyBindGen is a Python module that is geared to generating C/C++ code that binds a C/C++ library for Python. It does so without extensive use of either C++ templates or C pre-processor macros. It has modular handling of C/C++ types, and can be easily extended with Python plugins. The generated code

Re: [C++-sig] Implementation of proper overload resolution

2009-12-21 Thread Troy D. Straszheim
Gustavo Carneiro writes: > Don't you think that when these overloading problems become an issue it is a > sign of a poorly designed API? In this case the intention is to fix bugs in boost.python. The broken example we've been working with is where a parameter is bool in one overload and int in

Re: [C++-sig] Implementation of proper overload resolution

2009-12-21 Thread Hans Meine
Am Freitag, 18. Dezember 2009 16:08:24 schrieb Gustavo Carneiro: > Don't you think that when these overloading problems become an issue it is > a sign of a poorly designed API? I mean, if overloaded functions > parameters are not completely different in type or number, then maybe they > are alread

Re: [C++-sig] what do I need to correctly port boost python extensions

2009-12-21 Thread Hans Meine
Hi Am Montag, 14. Dezember 2009 23:09:31 schrieb Nikolaus Rath: > Alexey Akimov writes: > > However I am still wondering if there is a way to avoid rebuilding the > > extension when one travel from machine to machine. > > The only way is to have exactly the same runtime environment (i.e., > havin