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

90 Commits

Author SHA1 Message Date
Dave Abrahams
6eecea6d1f Removed the need for the phantom base class that screwed up inheritance
hierarchies, introduced error-prone ordering dependencies, and complexified
logic in many places!


[SVN r8121]
2000-11-04 05:39:31 +00:00
Dave Abrahams
67a97f1b9b Worked around MSVC optimizer bug by writing to_python(double) and
to_python(float) out-of-line


[SVN r8115]
2000-11-03 16:45:16 +00:00
Dave Abrahams
39c3c45157 no message
[SVN r8114]
2000-11-03 16:10:28 +00:00
Dave Abrahams
6277023215 Worked around MSVC optimizer bug by writing to_python(double) and
to_python(float) out-of-line


[SVN r8113]
2000-11-03 16:08:54 +00:00
Dave Abrahams
82e59c6d5f Add proof-of-concept for one technique of wrapping function that return a
pointer


[SVN r8112]
2000-11-03 16:06:45 +00:00
Dave Abrahams
7230b5886f Fix friend function instantiation bug caught by Metrowerks (thanks
Metrowerks!)


[SVN r8111]
2000-11-03 15:59:49 +00:00
Dave Abrahams
acf1fda727 *** empty log message ***
[SVN r8110]
2000-11-03 05:03:24 +00:00
Dave Abrahams
acb0a41bfd Add /Zm200 option to vc6_prj to deal with MSVC resource limitations
Remove conflicting /Ot option from vc6_prj release build


[SVN r8109]
2000-11-03 05:02:19 +00:00
Dave Abrahams
b6f3fda729 Update link to .zip for new release
[SVN r8105]
2000-11-02 23:55:51 +00:00
Dave Abrahams
103af23fd5 Add missing std:: qualifications
Add regression test for const double& parameters


[SVN r8104]
2000-11-02 19:39:37 +00:00
Dave Abrahams
5b8e8c54d8 Added:
to_python(float)
    from_python(const char* const&)
    from_python(const double&)
    from_python(const float&)


[SVN r8103]
2000-11-02 19:36:12 +00:00
Dave Abrahams
b69f998c2c Add a regression test for const double& parameters
[SVN r8102]
2000-11-02 19:32:21 +00:00
Dave Abrahams
f65959fadc *** empty log message ***
[SVN r8101]
2000-11-02 19:30:39 +00:00
Ullrich Köthe
48315568c4 *** empty log message ***
[SVN r8099]
2000-11-02 17:39:01 +00:00
Dave Abrahams
312f7a9703 Initial Checkin
[SVN r8096]
2000-11-01 19:21:24 +00:00
Dave Abrahams
cdaaedd3fa Remove extra ';' thanks to "Ralf W. Grosse-Kunstleve" <rwgk@cci.lbl.gov>
[SVN r8095]
2000-11-01 19:17:05 +00:00
Dave Abrahams
2ba0b22831 const-ify ClassBase::getattr()
Add repr() function to Class<T>
Add to_python/from_python conversions for PyPtr<T>
Standardize set_item/get_item interfaces (instead of proxies) for Dict and List
Add Reprable<> template to newtypes.h
Fix a bug wherein the __module__ attribute would be lost for classes that have a default virtual function implementation.


[SVN r8091]
2000-11-01 02:30:37 +00:00
Dave Abrahams
7cf495874d Regression test for a reference-counting bug thanks to Mark Evans (<mark.evans@clarisay.com>)
[SVN r8090]
2000-10-31 23:47:28 +00:00
Dave Abrahams
d472c7b789 Add a regression test for a reference-counting bug thanks to Mark Evans (<mark.evans@clarisay.com>)
[SVN r8089]
2000-10-31 23:46:10 +00:00
Dave Abrahams
bfa255afa4 Reference-counting bug fix, thanks to Mark Evans <mark.evans@clarisay.com>
[SVN r8088]
2000-10-31 23:43:18 +00:00
Dave Abrahams
b2d0dbd291 initial checkin
[SVN r8087]
2000-10-31 22:21:10 +00:00
Dave Abrahams
de34ef3e9d Initial checkin
[SVN r8086]
2000-10-31 22:19:58 +00:00
Dave Abrahams
d6514ffe73 Address STL compatibility claims of CXX
Add Paul Dubois quote
Add cross-reference link from Prabhu's [sic]
Add a write-up of GRAD
Remove defunct caveats about multiple-inheritance from extension classes and Python classes, and special attribute names
Document Zope reliance on inheritedAttribute
Remove anti-Zope slander regarding multiple inheritance


[SVN r8085]
2000-10-31 22:17:51 +00:00
Dave Abrahams
c7cb46d5bb Fix bug in example
[SVN r8084]
2000-10-31 22:11:51 +00:00
Dave Abrahams
397e7a7bb8 Kill extra line at end
[SVN r8083]
2000-10-31 22:10:31 +00:00
Dave Abrahams
6a236ab362 Improve explanation of overload resolution
[SVN r8082]
2000-10-31 22:05:42 +00:00
Dave Abrahams
f66cd06361 Fix bug in example
Add explanatory text
Fix links to Next chapter


[SVN r8081]
2000-10-31 22:03:56 +00:00
Dave Abrahams
cfad828b24 Correct promises about working with Pro6.
Add links to chapters on building and inheritance
Add new name suggestions


[SVN r8080]
2000-10-31 22:01:30 +00:00
Dave Abrahams
b3b0eb96b3 Remove __del__ caveats as they no longer apply.
update links


[SVN r8079]
2000-10-31 21:20:30 +00:00
Dave Abrahams
349da66a52 *** empty log message ***
[SVN r8078]
2000-10-31 21:19:11 +00:00
Dave Abrahams
b12f08dfff Update links
[SVN r8077]
2000-10-31 21:18:35 +00:00
Dave Abrahams
5083505524 formatting fixes
[SVN r8060]
2000-10-28 23:05:51 +00:00
Dave Abrahams
fabefe8272 bug fix
[SVN r8059]
2000-10-28 23:03:12 +00:00
Dave Abrahams
bc3fb27b6a Enable multiple-inheritance from Python Classes and ExtensionClasses.
[SVN r8058]
2000-10-28 22:48:25 +00:00
Dave Abrahams
966534e709 Bug fix
[SVN r8057]
2000-10-28 22:34:29 +00:00
Dave Abrahams
67935e2e93 Use Runtime DLL instead of statically linking
[SVN r8056]
2000-10-28 22:17:55 +00:00
Dave Abrahams
30bb75553b *** empty log message ***
[SVN r8055]
2000-10-28 22:15:53 +00:00
Dave Abrahams
72deb5224e tests for special attributes __del__, __doc__, and __dict__ (still need __class__ and __bases__)
tests for multiple-inheritance from Python Classes and ExtensionClasses
tests for passing non-const references to constructors


[SVN r8054]
2000-10-28 22:14:21 +00:00
Dave Abrahams
9d2b4574af Factor common Class functionality into ClassBase
Support for __del__, __bases__, __dict__, __class__, and __name__
Support for multiple-inheritance from Python Classes and ExtensionClasses.


[SVN r8053]
2000-10-28 22:03:15 +00:00
Dave Abrahams
9d7947920d Support for __del__, __dict__, __name__, __class__
Support for multiple-inheritance from Python Classes and ExtensionClasses.


[SVN r8052]
2000-10-28 21:59:42 +00:00
Dave Abrahams
c636a00ea1 minor cleanup
[SVN r8051]
2000-10-28 21:54:19 +00:00
Dave Abrahams
582b8a5646 Overloaded constructors reduce the number of type_info objects we should have to link in.
Support for multiple-inheritance from Python types and Extension classes.


[SVN r8050]
2000-10-28 21:51:58 +00:00
Dave Abrahams
70045ce8f3 Handle non-const reference parameters to constructors.
Correct error-reporting for mismatch in overloaded constructors.


[SVN r8049]
2000-10-28 21:47:41 +00:00
Dave Abrahams
ce2e4cb0b3 Handle non-const reference parameters in constructors
[SVN r8048]
2000-10-28 21:45:46 +00:00
Dave Abrahams
f5f3277507 Factorization
[SVN r8047]
2000-10-28 21:44:22 +00:00
Dave Abrahams
3f988be052 Add missing const qualifier
[SVN r8046]
2000-10-28 21:31:06 +00:00
Dave Abrahams
239b177815 add missing const qualifier.
[SVN r8045]
2000-10-28 21:29:49 +00:00
Dave Abrahams
ced23849a2 Add getattr forwarding to BoundFunction so docstrings can be read.
[SVN r8044]
2000-10-28 21:28:23 +00:00
Dave Abrahams
b0e3e0c062 Handle __doc__ attributes by forwarding all attribute accesses on BoundFunction
objects to the target function.


[SVN r8042]
2000-10-28 17:40:29 +00:00
Dave Abrahams
fafd76ee51 Test that we can now pass non-const reference parameters to constructors
[SVN r8041]
2000-10-28 17:24:32 +00:00