From 714b5dc26e0cb24aee02c3ff38cfcaa722aa6174 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Mon, 4 Aug 2003 17:36:49 +0000 Subject: [PATCH] missing checkin [SVN r19439] --- doc/news.html | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/doc/news.html b/doc/news.html index b0e4667b..7b033554 100644 --- a/doc/news.html +++ b/doc/news.html @@ -29,6 +29,30 @@
+
1 August 2003
+ +
Added the new arg class Nikolay Mladenov which supplies + the ability to wrap functions that can be called with ommitted + arguments in the middle: +
+void f(int x = 0, double y = 3.14, std::string z = std::string("foo"));
+
+BOOST_PYTHON_MODULE(test)
+{
+   def("f", f
+       , (arg("x", 0), arg("y", 3.14), arg("z", "foo")));
+}
+  
+And in Python: +
+>>> import test
+>>> f(0, z = "bar")
+>>> f(z = "bar", y = 0.0)
+
+ + Thanks, Nikolay!
+
22 July 2003
Killed the dreaded "bad argument type for builtin operation" error. @@ -36,7 +60,9 @@
19 July 2003
-
Added the new return_arg policy from Added the new return_arg policy from Nikolay Mladenov. Thanks, Nikolay!
@@ -117,7 +143,7 @@

Revised - 18 March, 2003 + 1 August 2003

© Copyright Dave