William S Fulton
747c3ff18a
Fix for STL containers static member and global variables
...
For UTL languages. Previously a copy of the
STL container was made into a target language container when reading the
variable. Changes, such as adjusting an element or adding/erasing
elements, were made to the copy of the container rather the actual
underlying C++ container. Also applies to const reference STL static
members.
Issue #2745
2024-02-18 14:21:17 +00:00
William S Fulton
d4ffa46f41
Convert python tests using 2to3
...
These tests were converted using 2to3 and should be valid using
Python 2.7 and Python 3+.
2020-08-15 00:16:04 +01:00
William S Fulton
365d4961d4
Remove print statements from Python tests
...
Use exceptions instead of printing to stdout.
Part of an effort to convert Python tests to python 3 syntax.
2020-08-13 21:22:47 +01:00
William S Fulton
dcbccc6f6f
Test non-default compare template argument in std::map
2018-10-09 22:43:19 +01:00
William S Fulton
72ccea5080
Python std::unordered_map std::unordered_multimap improvements
...
- Fixes for -builtin
- Fix missing iterator support
2018-09-23 19:10:00 +01:00
Jon Schlueter
b77f3afafb
autopep8 cleanup of Examples/test-suite/python
...
automated cleanup of python pep8 whitespace compliance
2015-05-08 21:35:52 -04:00
William S Fulton
30335a0198
std::map improvements based on patch from Yuval Baror
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-22 06:10:52 +00:00
Marcelo Matus
856e304379
fix bug #1480074
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9086 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-04 06:47:31 +00:00
Marcelo Matus
40a65ea681
add swig::PyItem and all the helper code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7787 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 14:24:36 +00:00
Marcelo Matus
ea0c2ca342
adding more missing typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 11:11:21 +00:00
Marcelo Matus
a3424e36e1
add 'iterator'(sequences) and 'key_iterator'(maps). The first returns allways the C++ iterator. In sequences __iter__ returns 'iterator()', in maps, __iter__ returns 'key_iterator()'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7775 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 15:58:58 +00:00
Marcelo Matus
1799ddf592
fixes and more cases, as usual
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 10:11:29 +00:00
William S Fulton
a56d3a46bf
lib_xxx renamed to li_xxx
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6599 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 23:35:08 +00:00
William S Fulton
dc903c677a
lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses - libraries wont be loaded if they start with lib
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:56:31 +00:00