summaryrefslogtreecommitdiffstats
path: root/Tools/bgen
Commit message (Collapse)AuthorAgeFilesLines
* remove old mac scripts including bgenBenjamin Peterson2008-06-0115-3244/+0
|
* More 2to3 fixes in the Tools directory. Fixes #2893.Georg Brandl2008-05-163-12/+9
|
* Merged revisions 62021,62029,62035-62038,62043-62044,62052-62053 via ↵Benjamin Peterson2008-03-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r62021 | benjamin.peterson | 2008-03-28 18:11:01 -0500 (Fri, 28 Mar 2008) | 2 lines NIL => NULL ........ r62029 | amaury.forgeotdarc | 2008-03-28 20:42:31 -0500 (Fri, 28 Mar 2008) | 3 lines Correctly call the base class tearDown(); otherwise running test_logging twice produce the errors we see on all buildbots ........ r62035 | raymond.hettinger | 2008-03-29 05:42:07 -0500 (Sat, 29 Mar 2008) | 1 line Be explicit about what efficient means. ........ r62036 | georg.brandl | 2008-03-29 06:46:18 -0500 (Sat, 29 Mar 2008) | 2 lines Fix capitalization. ........ r62037 | amaury.forgeotdarc | 2008-03-29 07:42:54 -0500 (Sat, 29 Mar 2008) | 5 lines lib2to3 should install a logging handler only when run as a main program, not when used as a library. This may please the buildbots, which fail when test_lib2to3 is run before test_logging. ........ r62043 | benjamin.peterson | 2008-03-29 10:24:25 -0500 (Sat, 29 Mar 2008) | 3 lines #2503 make singletons compared with "is" not == or != Thanks to Wummel for the patch ........ r62044 | gerhard.haering | 2008-03-29 14:11:52 -0500 (Sat, 29 Mar 2008) | 2 lines Documented the lastrowid attribute. ........ r62052 | benjamin.peterson | 2008-03-30 14:35:10 -0500 (Sun, 30 Mar 2008) | 2 lines Updated README regarding doc formats ........ r62053 | georg.brandl | 2008-03-30 14:41:39 -0500 (Sun, 30 Mar 2008) | 2 lines The other download formats will be available for 2.6 too. ........
* Futher update docs after unbound method removal.Georg Brandl2007-11-271-2/+2
|
* Use symbolic name for METH_VARAGS.Georg Brandl2007-09-011-1/+1
|
* Convert raise statements in Tools/.Collin Winter2007-08-226-11/+11
|
* Convert print statements to function calls in Tools/.Collin Winter2007-08-033-29/+29
|
* SF patch 1631942 by Collin Winter:Guido van Rossum2007-01-101-3/+3
| | | | | | (a) "except E, V" -> "except E as V" (b) V is now limited to a simple name (local variable) (c) V is now deleted at the end of the except block
* Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters2006-04-211-2/+3
| | | | | | | | | | | | | | | | | | | | number of tests, all because of the codecs/_multibytecodecs issue described here (it's not a Py3K issue, just something Py3K discovers): http://mail.python.org/pipermail/python-dev/2006-April/064051.html Hye-Shik Chang promised to look for a fix, so no need to fix it here. The tests that are expected to break are: test_codecencodings_cn test_codecencodings_hk test_codecencodings_jp test_codecencodings_kr test_codecencodings_tw test_codecs test_multibytecodec This merge fixes an actual test failure (test_weakref) in this branch, though, so I believe merging is the right thing to do anyway.
* Whitespace normalization.Tim Peters2006-02-111-1/+1
|
* One more mod for support of C++ classes.Jack Jansen2006-02-101-1/+1
|
* For overriding C++ methods we also need to know whether a parameterJack Jansen2006-02-104-22/+45
| | | | is an output parameter or not. Added support for that.
* Fixed an oversight and a misunderstanding of PEP253:Jack Jansen2006-02-071-2/+20
| | | | | | | | | - Call tp_dealloc on the static baseclass, not dynamic (which leads to infinite loops with more than one baseclass) - Call tp_new and tp_init on baseclasses (overridable) -This line, and those below, will be ignored-- M bgen/bgenObjectDefinition.py
* Whitespace normalization.Tim Peters2005-12-252-8/+7
|
* Enable optional "const" argument to _New routines.Jack Jansen2005-11-211-2/+3
|
* Added a class MallocHeapOutputBufferType for types that are passedJack Jansen2005-09-201-0/+29
| | | | as &buffer, &size and allocated by the called function.
* Added support for (optionally) bracketing calls withJack Jansen2005-09-201-0/+8
| | | | Py_{BEGIN,END}_ALLOW_THREADS.
* Whitespace normalization.Tim Peters2005-07-171-5/+5
|
* Added an option to the scanner to generated marked-up HTML from the inputJack Jansen2005-07-171-6/+161
| | | | | file. This should make it a lot easier (I hope) to get the regular expressions right.
* Whitespace normalization.Tim Peters2005-07-107-29/+29
|
* Handle argref so it can be overridden more easily in a subclass.Jack Jansen2005-07-081-1/+1
|
* Allow for (optional) const declaration.Jack Jansen2005-07-054-20/+43
|
* Factored out the code that creates argument lists and formats for PyArg_ParseJack Jansen2005-07-031-19/+26
| | | | and Py_BuildValue.
* Sigh, changed the argument names in the tp_init function: to make them beJack Jansen2005-07-031-7/+7
| | | | | more in line with other methods "self" and "args" had to be renamed "_self" and "_args". Did "_kwds" too, for consistency.
* Added methods mkvaluePreCheck and getargsPreCheck, which are called (forJack Jansen2005-07-013-1/+22
| | | | each variable) before calling Py_BuildValue and PyArg_Parse.
* More factorization: added a method getrvforcallit(). This allows a C++Jack Jansen2005-06-301-8/+8
| | | | | bridge to combine declaration and assignment to the return value temporary, allowing us to handle functions returning const values.
* Added optional suppport for storage modifiers (virtual/static/inline/etc)Jack Jansen2005-06-293-2/+20
| | | | and conditional generation of objects and methods.
* More factorization to help C++ support.Jack Jansen2005-06-286-18/+51
|
* Normalize whitespace to avoid offending Bug Day volunteers.Tim Peters2005-06-245-13/+13
|
* Added a missing newline Output().Jack Jansen2005-06-231-0/+1
|
* Revamped type declaration so the basic routines return a list of strings.Jack Jansen2005-06-226-44/+47
| | | | | | This allows variables to be declared as formal arguments. The bgenType.declare method now simply outputs all declarations on separate lines ending in semicolons.
* Added support for optional modifiers to functions/methods (such as C++ const,Jack Jansen2005-06-212-6/+19
| | | | static for methods, inline, etc).
* More factorization.Jack Jansen2005-06-162-3/+14
|
* More tweaks for C++ support. Still doesn't seem to break anything:-)Jack Jansen2005-06-143-10/+47
|
* Minor tweaks, to allow some (out-of-tree, until successful) tinkeringJack Jansen2005-06-102-11/+15
| | | | with C++.
* Whitespace normalization, via reindent.py.Tim Peters2004-07-1810-129/+126
|
* Call the correct tp_dealloc.Jack Jansen2004-07-151-2/+2
|
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-32/+32
| | | | From SF patch #852334.
* Got rid of macglue.h, replacing it by pymactoolbox.h where relevant.Jack Jansen2003-11-201-13/+0
| | | | Cleaned up various things in the toolbox modules.
* Fix a bunch of typos in documentation, docstrings and comments.Walter Dörwald2003-10-201-1/+1
| | | | (From SF patch #810751)
* Updated the doc strings to refer to PyArg_Parse and Py_BuildValue in steadJack Jansen2003-01-241-4/+7
| | | | of getargs() and mkvalue().
* Sigh, due to sloppiness on my part bgen has become pretty mixed up wrt. tabsJack Jansen2003-01-1913-2168/+2168
| | | | and spaces. Detabbed the lot.
* Oops, old-style types don't have a tp_free slot. Call PyObject_FreeJack Jansen2002-12-231-2/+6
| | | | directly in that case.
* Always use self->ob_type->tp_free when freeing an object.Jack Jansen2002-12-191-1/+1
|
* Always output an inheritance-aware version of the xxxx_Check() macro. AlsoJack Jansen2002-12-191-5/+1
| | | | fixed that macro to actually work:-)
* Added an optional longname argument to Module, which gives the full,Jack Jansen2002-12-171-2/+7
| | | | | | externally visible name of the module. This is so that type names can be shown as "Carbon.File.FSSpec" even though the real name of the module is "_File".
* Fixed typo.Jack Jansen2002-12-051-1/+1
|
* Added PEP253 support.Jack Jansen2002-12-031-11/+114
|
* Fixed two silly bugs in the PEP252 support code, added an assertJack Jansen2002-11-281-3/+10
| | | | that basechain isn't set, and made the output a bit prettier.
* Added a class PEP252Mixin. By adding this to your ObjectDefinition youJack Jansen2002-11-251-2/+127
| | | | | | | | | | | get PEP-252 style objects in stead of old-fashioned objects. In stead of defining a GetattrHook you declare a class variable getsetlist, which contains tuples (name, getcode, setcode, docstring). Only lightly tested: the code still works if you don't inherit PEP252Mixin and the code works if you inherit it but don't define any getters or setters. Also, this will not work together with the "poor mans inheritance" offered by method chains, so the CF module will remain with old-style objects until PEP253 is supported too.