Vladimir Prus
04e54d670c
Remove V1 Jamfiles
...
[SVN r38516]
2007-08-08 19:02:26 +00:00
Ralf W. Grosse-Kunstleve
9de994c0d1
Hans Meine's extra new-line for epydoc with reST compatibility
...
[SVN r37906]
2007-06-06 00:00:57 +00:00
Stefan Seefeld
fe23d9885f
Add new eval() function.
...
[SVN r37560]
2007-05-02 13:11:20 +00:00
Dave Abrahams
16d975ba5c
Bringing forward BBv2/Python support and a few other things that were
...
obviously more up-to-date on the RC branch.
Removed the Boost.Python v1 zip archive.
[SVN r37346]
2007-04-03 17:10:53 +00:00
Stefan Seefeld
0f91872518
Fix import_ failure.
...
[SVN r37142]
2007-03-05 18:51:04 +00:00
Stefan Seefeld
dc6b2979e4
Add copyright notice.
...
[SVN r37132]
2007-03-02 17:16:51 +00:00
Stefan Seefeld
50034140c4
Fix boost::python::import.
...
[SVN r37120]
2007-03-01 15:17:29 +00:00
Dave Abrahams
08a6f35ec2
Correct testing bugs:
...
either changing assert(...) or BOOST_ASSERT(...) to BOOST_TEST
(in my code only)
or adding "return boost::report_errors();" where it was clearly
missing (and a pure bug, in anyone's code).
[SVN r37057]
2007-02-24 22:40:59 +00:00
Ralf W. Grosse-Kunstleve
d67b040683
fixes to support pickling of enums (by Shashank Bapat)
...
[SVN r36256]
2006-12-03 20:43:48 +00:00
Ralf W. Grosse-Kunstleve
9f4d39d9fe
correct trivial, obvious accident: stray line removed
...
[SVN r35599]
2006-10-13 22:06:17 +00:00
Dave Abrahams
31c19644ed
make numpy tests portable to Darwin with older docutils
...
[SVN r35597]
2006-10-13 21:34:26 +00:00
Dave Abrahams
600d444136
Fix some problems with testing on old docutils installations
...
[SVN r35594]
2006-10-13 19:35:28 +00:00
Dave Abrahams
c3bd0fcbad
Make object comparison operators return object instead of bool, to
...
accomodate strange beasts like numarray arrays that return arrays that
can't be used as truth values from their comparison ops.
Fix numpy test for portability with old doctest (again!)
[SVN r35572]
2006-10-12 09:07:07 +00:00
Dave Abrahams
991a7c198a
Workaround vc6 bugs
...
[SVN r35568]
2006-10-12 06:41:55 +00:00
Dave Abrahams
b714f6cc23
Adjust tests to account for numarray behavior differences
...
[SVN r35539]
2006-10-10 22:44:09 +00:00
Dave Abrahams
479a6ba4fc
Try for backward compatibility with older versions of doctest
...
[SVN r35535]
2006-10-10 18:12:43 +00:00
Dave Abrahams
d78836b828
Fix lots of bugs in the numeric interface and tests.
...
Tests:
* Coerce a result to bool to deal with Python's new Bool type
* Better reporting of mismatches in expected and received results
* Remove bogus nullary y.astype() call
* Fix all uses of trace and diagonal so they don't cause errors
* Use appropriate typecodes
* Use doctest detailed API to run just the relevant tests
* Factor out error handling from macro
API:
* Added get_module_name() function to get current numeric module
* new_(x) now returns an array instead of object
* Fixed the signatures of the factory() family of functions
* Updated docs accordingly.
[SVN r35528]
2006-10-09 04:05:25 +00:00
Dave Abrahams
5ab00bc9c8
Fix long-standing misnaming of "factory" method as "array"
...
[SVN r35428]
2006-09-29 22:24:12 +00:00
Dave Abrahams
94500ae36d
Tests and fixes for a bad interaction between wrapper<> and operators
...
support. "self" arguments weren't getting unwrapped properly.
[SVN r35365]
2006-09-28 14:41:01 +00:00
Dave Abrahams
e00a88ff49
Fix inspection issues
...
[SVN r35239]
2006-09-21 02:40:19 +00:00
Stefan Seefeld
e527bc860f
Fix copyright issues.
...
[SVN r35236]
2006-09-20 22:30:39 +00:00
Dave Abrahams
921e306b9a
Fix license/copyright
...
[SVN r35234]
2006-09-20 21:59:03 +00:00
Dave Abrahams
bed1d26904
Return an int, not a string, on success from
...
check_numeric_array_rich_slice, since that's what the tests expect.
[SVN r35184]
2006-09-18 22:21:50 +00:00
Dave Abrahams
41a342f026
vc6/7 workaround
...
[SVN r35164]
2006-09-18 18:25:12 +00:00
Dave Abrahams
0806e89964
More informative error messages
...
Better autoconfiguration
[SVN r35140]
2006-09-17 02:41:20 +00:00
Ralf W. Grosse-Kunstleve
eea7697175
if __name__ == '__main__'
...
[SVN r35114]
2006-09-14 21:57:56 +00:00
Ralf W. Grosse-Kunstleve
777ce7b561
magic coding: iso-latin1 comment added to avoid Python SyntaxError
...
[SVN r35113]
2006-09-14 21:53:00 +00:00
Gottfried Ganßauge
864ece5539
cross module compatibility test for opaque
...
[SVN r35111]
2006-09-14 19:06:33 +00:00
Gottfried Ganßauge
2610eb9acb
Type object for opaque initialized with PyType_Clear.
...
opaque is registered only if not another module has already registered
a conversion for that pointer type.
Doc update.
[SVN r35104]
2006-09-14 05:59:29 +00:00
Dave Abrahams
05070faf12
Attempt to capture better debugging info in output
...
[SVN r35079]
2006-09-12 23:58:40 +00:00
Dave Abrahams
ad8069314d
Move definition of BOOST_PYTHON_SUPPRESS_REGISTRY_INITIALIZATION back
...
where it belongs.
[SVN r35076]
2006-09-12 22:37:09 +00:00
Dave Abrahams
5a14319753
SunPro workarounds
...
[SVN r35067]
2006-09-11 10:38:14 +00:00
Dave Abrahams
d3418d494c
Restort BOOST_PYTHON_STATIC_LIB. We don't want to create exported symbols.
...
[SVN r34942]
2006-08-24 19:03:35 +00:00
Dave Abrahams
c839427246
Sun workaround
...
[SVN r34939]
2006-08-24 13:04:59 +00:00
Dave Abrahams
dd3a136b18
Attempted Sun workaround
...
[SVN r34914]
2006-08-22 11:50:35 +00:00
Dave Abrahams
48696918de
Try not specifying static link, to see if it makes Darwin happy
...
[SVN r34871]
2006-08-11 15:50:21 +00:00
Dave Abrahams
88be35ddc2
Attempt Sun-5.8 workaround
...
[SVN r34864]
2006-08-11 00:47:48 +00:00
Gennaro Prota
9ee0d36a1d
removed tabs (inspect tool)
...
[SVN r34722]
2006-07-24 22:25:35 +00:00
Vladimir Prus
a1e865061c
Don't link Boost.Python to python library, and don't require
...
<threading>multi for embedding applications.
* libs/python/build/Jamfile.v2: (boost_python): Don't link
to /python//python. Use /python//python_for_extensions.
* libs/python/test/Jamfile.v2: Remove <threading>multi project
requirements.
(py-run): Link to /python//python.
(exec): Likewise.
* tools/build/v2/tools/python.jam: (pthread): Declare.
(init-unix): Add 'pthread' to extra-libs.
(
[SVN r34662]
2006-07-22 07:12:10 +00:00
Joel de Guzman
0605e9fdcf
minor tweak
...
[SVN r34375]
2006-06-22 13:43:09 +00:00
Joel de Guzman
cf68da0b19
added test for vector<string>
...
[SVN r34374]
2006-06-22 13:33:46 +00:00
Joel de Guzman
c9300e07c2
added custom converter test for map indexing suite
...
[SVN r34359]
2006-06-20 00:33:22 +00:00
Ralf W. Grosse-Kunstleve
59f81def56
Python include must appear before any system include
...
[SVN r34010]
2006-05-18 18:47:12 +00:00
Ralf W. Grosse-Kunstleve
b0ba7dfc50
also exercise OVERLOADS with docstring
...
[SVN r34006]
2006-05-18 16:15:59 +00:00
Ralf W. Grosse-Kunstleve
fe3abeda9f
much more informative pickle error messages if pickling is not enabled
...
[SVN r34004]
2006-05-18 15:49:41 +00:00
Markus Schöpflin
3fdfb30e33
Include python first, fixes error on Tru64/CXX.
...
[SVN r33454]
2006-03-23 09:38:03 +00:00
Vladimir Prus
cdcf8633bb
Force multithreading for Python test.
...
Workaround for problem described in
http://thread.gmane.org/gmane.comp.lib.boost.devel/139601
[SVN r33434]
2006-03-22 09:53:34 +00:00
Vladimir Prus
136587c96f
Make select_from_python_test have Python includes when compiling.
...
[SVN r33281]
2006-03-09 15:27:01 +00:00
Vladimir Prus
23664ec448
Specify <define>BOOST_PYTHON_STATIC_LIB for the select_from_python_test,
...
just like V1 does.
[SVN r33246]
2006-03-07 07:37:45 +00:00
Vladimir Prus
6b1a3c4489
Change Jamfile.v2 to use static linking to Boost.Python for 'exec' test.
...
V1 uses static linking, so let's do the same.
[SVN r33226]
2006-03-06 08:10:38 +00:00