2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 05:22:45 +00:00
Commit Graph

196 Commits

Author SHA1 Message Date
Dave Abrahams
580fa52a33 Corrected a translation error
[SVN r8298]
2000-11-22 14:46:54 +00:00
Ullrich Köthe
33ae3a8bae updated
[SVN r8297]
2000-11-22 12:26:03 +00:00
Ullrich Köthe
0f0cf4b8b8 added comments for new functionality
[SVN r8296]
2000-11-22 12:25:32 +00:00
Ullrich Köthe
3f3dfcaaab changed two forgooten class names into lower case
[SVN r8295]
2000-11-22 11:21:21 +00:00
Ullrich Köthe
0e8bb9aa45 fixed bug in define_operator<op_long>
[SVN r8294]
2000-11-22 09:32:42 +00:00
Dave Abrahams
0f04631513 lowercase type names
[SVN r8284]
2000-11-22 00:54:46 +00:00
Ullrich Köthe
511a6e84db updated documentation of special name support, added documentation of automatic operator export and coercion
[SVN r8283]
2000-11-21 23:12:22 +00:00
Dave Abrahams
caae49861f detail-ified the gen_*.py scripts
changed defaults to handle up to 10 arguments


[SVN r8274]
2000-11-21 15:00:54 +00:00
Ullrich Köthe
b7805af02c Renamed ExtensionClass::register_coerce() into ExtensionClass::def_standard_coerce() and made it public.
Added ClassWrapper::def_standard_coerce().


[SVN r8272]
2000-11-21 11:15:30 +00:00
Dave Abrahams
9e376229d8 detail-ification
[SVN r8270]
2000-11-21 06:54:33 +00:00
Ullrich Köthe
b34a2a3754 updated Ullrich's changes
[SVN r8269]
2000-11-20 20:07:08 +00:00
Ullrich Köthe
987df9cab0 TypeObjectBase: always try sharing of method table automatically (thus, share_method_tables() is no longer needed and was removed)
[SVN r8267]
2000-11-20 11:16:18 +00:00
Dave Abrahams
6b3af7fe7b Never should have been here!
[SVN r8266]
2000-11-20 04:38:58 +00:00
Dave Abrahams
7039643c40 no message
[SVN r8265]
2000-11-20 03:45:33 +00:00
Dave Abrahams
bbe5829935 Make POD reference-counting absolutely portable
[SVN r8264]
2000-11-20 03:44:25 +00:00
Dave Abrahams
5e4da6a9e0 Expend less energy on fancy error messages for internal errors which might as
well be asserts() because they can never happen.


[SVN r8263]
2000-11-20 03:28:00 +00:00
Dave Abrahams
c15c9f4236 A fix for Python 2.0 compatibility
[SVN r8256]
2000-11-19 16:40:25 +00:00
Dave Abrahams
3221939c1f added missing #include <exception>
[SVN r8255]
2000-11-19 16:34:37 +00:00
Dave Abrahams
2bb9bbbaa9 Changed non-type template parameter int to long in operators declaration
[SVN r8253]
2000-11-18 14:50:04 +00:00
Dave Abrahams
b9fc4f2384 Pickling support
[SVN r8248]
2000-11-17 20:34:02 +00:00
Dave Abrahams
7aa5e4ae35 MSVC compatibility
[SVN r8247]
2000-11-17 20:25:15 +00:00
Dave Abrahams
a3fa57d58f Added module name retrieval for pickling support
[SVN r8246]
2000-11-17 20:22:30 +00:00
Dave Abrahams
12cdb1d2c7 Removed const char* return values from virtual functions in tests; that usage was unsafe.
[SVN r8245]
2000-11-17 20:18:06 +00:00
Dave Abrahams
a5428be795 Added tests for pickling support from Ralf
Changed wrapped virtual functions from const char* return values for safety reasons.
Fixed up formatting


[SVN r8244]
2000-11-17 20:16:44 +00:00
Dave Abrahams
70219b1800 Removed operator_dispatcher instance counting
Fixed Ullrich's operator_dispatcher refcount bug


[SVN r8243]
2000-11-17 20:07:11 +00:00
Dave Abrahams
559f1c04a6 Add specialization to prevent use of Callback<char*>.
[SVN r8242]
2000-11-17 19:58:31 +00:00
Ullrich Köthe
2a266510fe added operator_dispatcher::free_list optimization
[SVN r8241]
2000-11-17 13:45:00 +00:00
Ullrich Köthe
1ce6d582c9 added forced method sharing
[SVN r8240]
2000-11-17 12:54:52 +00:00
Ullrich Köthe
056b0e63fb implemented the shared method table optimization
[SVN r8239]
2000-11-17 12:38:46 +00:00
Dave Abrahams
0d1255ecdf no message
[SVN r8236]
2000-11-16 22:22:58 +00:00
Ullrich Köthe
ac520ac2b8 new implementation of code to enable special methods
[SVN r8234]
2000-11-16 19:55:21 +00:00
Ullrich Köthe
da5f39917a forced null-termination of string generated in __str__
[SVN r8233]
2000-11-16 19:54:27 +00:00
Ullrich Köthe
7a9e15dcdc small changes in implementation of operator_dispatcher
[SVN r8232]
2000-11-16 19:51:34 +00:00
Dave Abrahams
ab3ae444df removed expect_and_absorb_non_null
[SVN r8231]
2000-11-16 17:14:55 +00:00
Dave Abrahams
bc922755f3 remove sole use of expect_and_absorb_non_null
[SVN r8229]
2000-11-16 17:14:04 +00:00
Dave Abrahams
b84e3a7983 Added a little crude leak-checking code
[SVN r8228]
2000-11-16 17:13:11 +00:00
Dave Abrahams
595797b290 Handled some reference-counting problems and added some sequence points for exception-safety
[SVN r8227]
2000-11-16 17:06:37 +00:00
Dave Abrahams
b33887aa57 *** empty log message ***
[SVN r8224]
2000-11-15 17:35:50 +00:00
Dave Abrahams
5cd59a471e Updated to use BoundFunction::create() optimization
[SVN r8223]
2000-11-15 17:30:45 +00:00
Dave Abrahams
f055f9e602 Added commentary, numerous formatting tweaks
[SVN r8222]
2000-11-15 17:29:37 +00:00
Dave Abrahams
eb1a1e84cc removed obsolete UNTESTED comment from String::intern()
[SVN r8221]
2000-11-15 17:27:45 +00:00
Dave Abrahams
f78c2f7ba6 Moved operator_dispatcher into extclass.cpp
Fixed Ullrich's refcount bug
Numerous formatting tweaks


[SVN r8220]
2000-11-15 17:26:35 +00:00
Dave Abrahams
bb97494737 Updated the BoundFunction::create() optimization and enabled it so it could actually be used!
[SVN r8219]
2000-11-15 17:25:19 +00:00
Dave Abrahams
8f121914d6 Moved operator_dispatcher into extclass.cpp
Fixed Ullrich's refcount bug
Numerous formatting tweaks


[SVN r8218]
2000-11-15 17:16:28 +00:00
Dave Abrahams
331e9e9c22 Moved operator_dispatcher into extclass.cpp
Gave it shared ownership of the objects it wraps

Fixed Ullrich's refcount bug

Introduced sequence points in extension_class_coerce for exception-safety

UPPER_CASE_MACRO_NAMES

MixedCase template type argument names

Changed internal error reporting to use Python exceptions so we don't force the
user to link in iostreams code

Changed error return value of call_cmp to -1

Moved unwrap_* functions out of operator_dispatcher. This was transitional: when
I realized they didn't need to be declared in extclass.h I moved them out, but
now that operator_dispatcher itself is in extclass.cpp they could go back in.


[SVN r8217]
2000-11-15 17:12:10 +00:00
Dave Abrahams
11faaf7492 *** empty log message ***
[SVN r8214]
2000-11-15 05:59:16 +00:00
Dave Abrahams
4eff7ba8a9 Support a more minimal interface
UPPERCASE_MACRO_NAMES


[SVN r8213]
2000-11-15 05:58:53 +00:00
Dave Abrahams
65dce1d510 Add missing static_cast<>s
[SVN r8212]
2000-11-15 05:57:12 +00:00
Dave Abrahams
8765cf016c Support for minimalist add_operator interface
Support for MSVC
Formatting fixups
More inlining


[SVN r8211]
2000-11-15 05:55:56 +00:00
Dave Abrahams
db210129f2 Added missing const_cast, PyNumberMethods initializers, and explicit constructor
[SVN r8210]
2000-11-15 05:40:07 +00:00