2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 05:22:45 +00:00
Files
python/test
Dave Abrahams d4e06ac436 Preparation for delivering nicely-formatted error messages in
Boost.Python.  The major change is that, instead of being
boost::function2<PyObject*,PyObject*,PyObject*>, py_function is now a
runtime-polymorphic wrapper for compile-time polymorphic
behavior (just like function) of our own which carries more
information/behaviors.  In particular, you can retrieve an array of
c-strings describing the types in the function signature.
Additionally, the minimum and maximum arity are stored in the
py_function object instead of in the 'function' object which wraps it.

* data_members.hpp -

     Adjustments for the new py_function.  Workarounds for CodeWarrior
     Pro 8.3 bugs in function template argument deduction with
     pointers-to-members.

* has_back_reference.hpp, test/back_reference.cpp,
  test/select_holder.cpp -

     Updated to follow the metafunction protocol

* init.hpp, detail/defaults_gen.hpp -

     Make Keywords a more-specific type in function signatures to
     prevent string literals that show up as char[N] from binding to
     the wrong argument (at least Intel 7.1 for Windows does this).

* make_function.hpp -

     Adjustments for the new py_function.  Arities are now computed
     by caller<>.

* opaque_pointer_converter.hpp, type_id.hpp -

     Use BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS facilities;
     generate specializations that all compilers can handle.

* raw_function.hpp -

     Adjustments for the new py_function.

* caller.hpp -

     Added arity and signature type name reporting.

* detail/config.hpp

     Enable __declspec(dllexport) for Cygwin, thereby fixing the
     recent horrible Cygwin linking problems.


* detail/msvc_typeinfo.hpp -

     Always pass boost::type<T>* explicitly, thereby working around
     incompatible notions of how to specialize function templates with
     default arguments on various compilers.

*   object/function.hpp
  , object/function_handle.hpp
  , object/function_object.hpp
  , object/function_object.cpp

     Adjustments for the new py_function.  Arities are carried by
     py_function.

* object/iterator.hpp, object/iterator.cpp

     Adjustments for the new py_function; we have to compute a
     signature of types to construct it with.

* object/py_function.hpp

     Removed dependency on boost::function; see the comment at the
     top of this entry for more details.

* object/select_holder.hpp

     Clean up to more closely follow MPL idioms.

* test/Jamfile -

     Adjust the embedding test for the new Cygwin use of declspec.
     Update bases and pointee tests with missing properties.

* test/input_iterator.cpp -

     Updates for the new iterator adaptors.

* test/opaque.py -

     Add Python encoding comment to suppress PendinDeprecationWarning
     with recent Python builds.

* test/str.cpp

     Pass a Python long instead of a float to string.expandtabs,
     suppressing a PendinDeprecationWarning with recent Python builds.

* libs/utility/counting_iterator_example.cpp

     Borland workaround

* libs/utility/indirect_iterator_example.cpp

     const-correctness fix.

*


[SVN r19247]
2003-07-22 00:06:41 +00:00
..
2003-03-08 03:53:19 +00:00
2003-03-08 03:53:19 +00:00
2002-11-20 03:04:51 +00:00
2003-02-26 13:48:16 +00:00
2003-02-26 13:48:16 +00:00
2003-03-08 03:53:19 +00:00
2002-03-24 15:19:56 +00:00
2003-01-23 04:32:10 +00:00
2003-01-23 04:32:10 +00:00
2002-04-04 22:52:48 +00:00
2003-02-20 21:31:46 +00:00
2002-10-01 14:40:41 +00:00
2002-10-01 14:40:41 +00:00
2002-10-01 14:40:41 +00:00
2002-04-13 04:21:01 +00:00
2002-06-19 02:45:39 +00:00
2002-11-23 22:31:13 +00:00
2002-10-01 14:40:41 +00:00
2001-12-24 19:27:39 +00:00
2003-04-02 12:56:37 +00:00
2002-10-01 14:40:41 +00:00
2002-10-04 13:05:57 +00:00
2003-01-11 00:18:59 +00:00
2003-01-11 00:18:59 +00:00
2002-08-21 18:46:14 +00:00
2002-05-03 21:20:12 +00:00
2002-03-26 17:16:33 +00:00
2002-10-10 15:59:12 +00:00
2002-05-17 05:01:53 +00:00
2002-10-01 14:40:41 +00:00
2002-10-01 14:40:41 +00:00
2002-10-01 14:40:41 +00:00
2002-09-28 13:26:12 +00:00
2002-03-15 14:16:31 +00:00
2002-12-02 14:29:11 +00:00
2002-08-20 00:41:17 +00:00
2002-10-01 14:40:41 +00:00
2002-09-26 12:00:04 +00:00
2002-06-16 20:41:54 +00:00
2002-10-01 14:40:41 +00:00
2002-10-01 14:40:41 +00:00
2002-05-10 15:47:59 +00:00
2002-05-23 22:42:09 +00:00
2001-12-24 19:27:39 +00:00
2002-07-18 15:17:08 +00:00
2002-10-01 14:40:41 +00:00
2002-03-30 01:23:28 +00:00
2002-05-29 13:02:14 +00:00
2002-10-01 14:40:41 +00:00
2002-08-22 13:57:12 +00:00
2002-06-12 21:59:17 +00:00