Wei-Ming Yang
03adaee6d2
Implement str::endswith()
2016-09-29 08:08:46 -04:00
Stefan Seefeld
57cd933240
Add SCons-based build system.
2016-06-17 22:23:47 -04:00
Stefan Seefeld
99022d2eb8
Merge branch 'develop'
2015-06-30 18:09:40 -04:00
Andrey Semashev
eefc434bae
Use _Py_fopen instead of fopen
...
A followup fix for the previous commit 36f8f69411 .
2015-05-06 15:29:42 +03:00
Andrey Semashev
36f8f69411
Fix compilation with python 3.0-3.3
...
Backport commit 3e405b6fd5 to develop branch: Fix exec_file for Python 3 < 3.4. Also fix version check to actually fix compilation with python 3.4.
2015-05-06 15:06:29 +03:00
Stefan Seefeld
3e405b6fd5
Fix exec_file for Python 3 < 3.4.
2015-04-09 08:57:08 -04:00
Mikhail Matrosov
fe24ab9dd5
[ #8058 ] Close file handle before exec_file() routine returns.
2015-03-11 01:11:54 +03:00
Mikhail Matrosov
a911c17fd6
[ #11100 ] Fix binary incompatibilities with fopen() in exec_file() routine.
2015-03-11 01:11:54 +03:00
Ralf W. Grosse-Kunstleve
a3f478e9af
boost.python: merging trunk to release
...
[SVN r81773]
2012-12-07 19:51:06 +00:00
Ralf W. Grosse-Kunstleve
303885fefa
applying patch from trac ticket 4609
...
[SVN r79774]
2012-07-27 22:43:32 +00:00
Ralf W. Grosse-Kunstleve
49e8699b9f
merging current boost/python and libs/python from trunk into release branch
...
[SVN r74931]
2011-10-12 21:38:53 +00:00
Ralf W. Grosse-Kunstleve
8449c34948
libs/python/src/object/function.cpp: apply patch by Matthew Bradbury (trac #4259 )
...
[SVN r74321]
2011-09-08 21:27:10 +00:00
Ralf W. Grosse-Kunstleve
cfa2baf8c9
merging current boost/python and libs/python from trunk into release branch
...
[SVN r72464]
2011-06-07 04:15:33 +00:00
Ralf W. Grosse-Kunstleve
8e703e9569
libs/python/src: patches by Bogdan Opanchuk (trac #5590 )
...
[SVN r72349]
2011-06-02 17:04:43 +00:00
Ralf W. Grosse-Kunstleve
a5e564be83
merging current boost/python and libs/python from trunk into release branch
...
[SVN r71226]
2011-04-13 17:34:35 +00:00
Ralf W. Grosse-Kunstleve
a11a3f9f76
libs/python/src/converter/builtin_converters.cpp: Python 3.2 compatibility, based on patch by Matthew Bradbury, fixes issue #4994
...
[SVN r71050]
2011-04-06 21:32:59 +00:00
Ralf W. Grosse-Kunstleve
e28f0509d8
merging current boost/python and libs/python from trunk into release branch
...
[SVN r71002]
2011-04-05 16:31:51 +00:00
Ralf W. Grosse-Kunstleve
a8fb9f7746
libs/python/src/module.cpp: bug fix: adding missing BOOST_PYTHON_DECL that should have been in rev. 67462, fixes trac issue #5283
...
[SVN r70493]
2011-03-24 04:10:59 +00:00
Ralf W. Grosse-Kunstleve
0a211a746d
merging current boost/python and libs/python from trunk into release branch
...
[SVN r70448]
2011-03-23 00:14:55 +00:00
Ralf W. Grosse-Kunstleve
2a20884e78
libs/python/src/object/class.cpp: metaclass fixes by James Emerton: james at emdata dot net
...
[SVN r69551]
2011-03-04 17:32:41 +00:00
Ralf W. Grosse-Kunstleve
ba213663b6
merging current boost/python and libs/python from trunk into release branch
...
[SVN r67483]
2010-12-28 20:38:29 +00:00
Ralf W. Grosse-Kunstleve
b5336f36d6
Boost.Python: Python 3 module initialization fixes (using PyModuleDef), based on patches provided by Austin Bingham
...
[SVN r67462]
2010-12-26 22:42:32 +00:00
Ralf W. Grosse-Kunstleve
f759e9eb0e
merging current boost/python and libs/python from trunk into release branch
...
[SVN r66066]
2010-10-18 04:04:52 +00:00
Ralf W. Grosse-Kunstleve
76af2cfc6b
libs/python/src/object/function.cpp: support __module__ attribute (to help certain doc generation systems)
...
[SVN r65555]
2010-09-23 19:22:12 +00:00
Ralf W. Grosse-Kunstleve
65b3aadc63
merging current boost/python and libs/python from trunk into release branch
...
[SVN r63937]
2010-07-12 22:29:41 +00:00
Steven Watanabe
52d7dfffdf
Use the convertible_function typedef instead of the raw function pointer type. Fixes #903
...
[SVN r62808]
2010-06-11 18:06:25 +00:00
Ralf W. Grosse-Kunstleve
37b45d2baf
merging current boost/python and libs/python from trunk into release branch
...
[SVN r61033]
2010-04-04 05:19:57 +00:00
Ralf W. Grosse-Kunstleve
65e74ccf1e
boost/python/object_core.hpp: new .is_none() member function
...
[SVN r60625]
2010-03-15 22:00:30 +00:00
Ralf W. Grosse-Kunstleve
471be524f4
boost.python: merging from trunk to release (gcc 4.4 -std=c++0x compatibility)
...
[SVN r57837]
2009-11-21 14:41:51 +00:00
Ralf W. Grosse-Kunstleve
4f6a37f80d
boost.python: some make_tuple changed to boost::python::make_tuple for gcc 4.4 -std=c++0x compatibility; https://svn.boost.org/trac/boost/ticket/3584
...
[SVN r57641]
2009-11-13 20:48:25 +00:00
Ralf W. Grosse-Kunstleve
e485244886
boost.python: merging from trunk to release (Troy Straszheim's fix for a long-standing bug)
...
[SVN r57621]
2009-11-13 00:40:01 +00:00
Troy D. Straszheim
338732793a
Don't use type_is_gc... type_is_gc expects a PyTypeObject, which is not what will get passed to it if we pass it to the tp_is_gc fields of static_data_object
...
[SVN r57590]
2009-11-12 00:46:46 +00:00
Troy D. Straszheim
36d24b9f8b
rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
...
[SVN r56942]
2009-10-17 02:07:38 +00:00
Troy D. Straszheim
d804f1250e
rm cmake from the release branch before it goes out broken. Policy dictates that you never commit to release, you commit to trunk and merge to release.
...
[SVN r56941]
2009-10-17 01:10:45 +00:00
Ralf W. Grosse-Kunstleve
89100353db
boost/python, libs/python: all changes from trunk merged into branches/release
...
[SVN r56806]
2009-10-13 22:37:59 +00:00
Ralf W. Grosse-Kunstleve
35ff0adf2b
boost/python: some Py_ssize_t replaced with boost::python::ssize_t to restore compatibility with Python 2.3 and 2.4
...
[SVN r56491]
2009-09-30 12:35:54 +00:00
Stefan Seefeld
ef2a02c396
Merged 2009 GSoC work from sandbox-branches/bhy/py3k branch back into trunk.
...
[SVN r56305]
2009-09-19 02:32:41 +00:00
Ralf W. Grosse-Kunstleve
d685a5e8c5
python library: sync with trunk to adopt recent exec.cpp fixes
...
[SVN r55642]
2009-08-18 01:08:46 +00:00
Ralf W. Grosse-Kunstleve
8d2ca93e98
libs/python/src/exec.cpp: bug fixes
...
Remark:
operator!() for boost::python::object invokes PyObject_IsTrue()
and is therefore not equivalent to "is None".
In this particular case !global or !local returns true for an
empty dict.
(Changes to libs/python/test/exec.cpp just helped in debugging.)
[SVN r55639]
2009-08-18 00:24:54 +00:00
Ralf W. Grosse-Kunstleve
e80224b1ad
boost/python, libs/python: all changes from trunk merged into branches/release (without any manual modifications)
...
Commands used:
svn merge https://svn.boost.org/svn/boost/branches/release/boost/python https://svn.boost.org/svn/boost/trunk/boost/python /net/chevy/raid1/rwgk/boost_release/merge_attempt/boost/boost/python
svn merge https://svn.boost.org/svn/boost/branches/release/libs/python https://svn.boost.org/svn/boost/trunk/libs/python /net/chevy/raid1/rwgk/boost_release/merge_attempt/boost/libs/python
svn, version 1.6.4 (r38063)
compiled Aug 17 2009, 13:31:03
[SVN r55629]
2009-08-17 21:01:18 +00:00
Troy D. Straszheim
d47e3b2a15
Copyrights on CMakeLists.txt to keep them from clogging up the inspect
...
reports. This is essentially the same commit as r55095 on the release
branch.
[SVN r55159]
2009-07-26 00:49:56 +00:00
Troy D. Straszheim
03fdf5b992
Add basic copyright/license to keep cmake out of the inspection report
...
[SVN r55095]
2009-07-22 21:51:01 +00:00
Ralf W. Grosse-Kunstleve
1a204046c7
boost::python: unsigned converter fix by Anderson Lizardo ( https://svn.boost.org/trac/boost/ticket/3189 )
...
[SVN r54919]
2009-07-13 05:16:34 +00:00
Stefan Seefeld
3c98a72153
Use appropriate default values for global and local dicts.
...
[SVN r53936]
2009-06-15 14:53:48 +00:00
Dave Abrahams
a4f028246a
Allow duplicate enum values. Fixes #2744
...
Thanks to hugo.lima@openbossa.org
[SVN r53660]
2009-06-05 21:18:14 +00:00
Dave Abrahams
6ffeca641c
GCC Warning Suppression
...
[SVN r53659]
2009-06-05 20:15:01 +00:00
Ralf W. Grosse-Kunstleve
e312047405
libs/python/src/converter/builtin_converters.cpp: Troy Straszheim's bool/int patch with additional BOOST_PYTHON_BOOL_INT_STRICT condition; see also: http://mail.python.org/pipermail/cplusplus-sig/2009-March/014354.html
...
[SVN r52299]
2009-04-09 17:30:13 +00:00
Jeremiah Willcock
0b7333f854
Moved property map library into property_map/ directory; made old files into stubs with #warnings; converted uses and docs of property map library to use new names
...
[SVN r52226]
2009-04-07 01:28:38 +00:00
Troy D. Straszheim
29152af56c
merge of cmake build files from trunk per beman
...
[SVN r50756]
2009-01-24 18:57:20 +00:00
Michael A. Jackson
5cda75ebe7
Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
...
[SVN r49510]
2008-11-01 13:15:41 +00:00