Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changed the default installation directory for data files (used by | Greg Ward | 2000-06-24 | 1 | -4/+4 |
| | | | | | | the "install_data" command to the installation base, which is usually just sys.prefix. (Any setup scripts out there that specify data files will have to set the installation directory, relative to the base, explicitly.) | ||||
* | Changed 'object_filenames()' to raise exception instead of silently carrying | Greg Ward | 2000-06-24 | 1 | -1/+3 |
| | | | | on if it sees a filename with unknown extension. | ||||
* | Some clarifications to the 'A simple example' section. | Greg Ward | 2000-06-24 | 1 | -6/+8 |
| | |||||
* | Fixed a grab-bag of typos spotted by Detlef Lannert. | Greg Ward | 2000-06-24 | 2 | -17/+16 |
| | |||||
* | Changed so all the help-generating functions are defined, at module-level, | Greg Ward | 2000-06-24 | 5 | -41/+56 |
| | | | | | | | in the module of the command classes that have command-specific help options. This lets us keep the principle of lazily importing the ccompiler module, and also gets away from defining non-methods at class level. | ||||
* | More stylistic tweaks to the generic '--help-xxx' code. | Greg Ward | 2000-06-24 | 1 | -12/+15 |
| | |||||
* | Stylistic/formatting changes to Rene Liebscher's '--help-xxx' patch. | Greg Ward | 2000-06-24 | 7 | -42/+72 |
| | |||||
* | Experimental, completely untested SWIG support. | Greg Ward | 2000-06-24 | 1 | -5/+74 |
| | |||||
* | Revised docstring so 'sources' isn't necessarily all C/C++ files (to | Greg Ward | 2000-06-24 | 1 | -3/+5 |
| | | | | accomodate SWIG interface files, resource files, etc.). | ||||
* | (py-execute-region): Make sure the new temporary buffer is current for | Barry Warsaw | 2000-06-23 | 1 | -3/+4 |
| | | | | the insertion of the text. | ||||
* | part 2 of Neil Schemenauer's GC patches: | Jeremy Hylton | 2000-06-23 | 7 | -20/+36 |
| | | | | | | | | This patch modifies the type structures of objects that participate in GC. The object's tp_basicsize is increased when GC is enabled. GC information is prefixed to the object to maintain binary compatibility. GC objects also define the tp_flag Py_TPFLAGS_GC. | ||||
* | traverse functions should return 0 on success | Jeremy Hylton | 2000-06-23 | 1 | -2/+2 |
| | |||||
* | raise TypeError when PyObject_Get/SetAttr called with non-string name | Jeremy Hylton | 2000-06-23 | 1 | -5/+17 |
| | |||||
* | Round 1 of Neil Schemenauer's GC patches: | Jeremy Hylton | 2000-06-23 | 6 | -3/+218 |
| | | | | | This patch adds the type methods traverse and clear necessary for GC implementation. | ||||
* | Bastian Kleineidam: 'copy_file()' now returns the output filename, rather | Greg Ward | 2000-06-23 | 1 | -6/+5 |
| | | | | than a boolean indicating whether it did the copy. | ||||
* | Release the global interpreter lock around the most important | Andrew M. Kuchling | 2000-06-23 | 1 | -12/+45 |
| | | | | functions that might block or pause | ||||
* | All relevant toolbox modules have now been carbonized. | Jack Jansen | 2000-06-21 | 25 | -15/+170 |
| | |||||
* | Marc-Andre Lemburg <mal@lemburg.com>: | Marc-André Lemburg | 2000-06-21 | 1 | -1/+6 |
| | | | | Made codecs.open() default to 'rb' as file mode. | ||||
* | Sjoerd Mullender: | Guido van Rossum | 2000-06-21 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | These two fixes were approved by me. Peter Kropf: There's a problem with the xmllib module when used with JPython. Specifically, the JPython re module has trouble with the () characters in strings passed into re.compile. Spiros Papadimitriou: I just downloaded xmllib.py ver. 0.3 from python.org and there seems to be a slight typo: Line 654 ("tag = self.stack[-1][0]" in parse_endtag), is indented one level more than it should be. I just thought I'd let you know... | ||||
* | Implementation of the CCompiler class for Cygwin and Mingw32, ie. the two | Greg Ward | 2000-06-21 | 1 | -0/+181 |
| | | | | | | major ports of GCC to Windows. Contributed by Rene Liebscher, and quite untested by me. Apparently requires tweaking Python's installed config.h and adding a libpython.a to build extensions. | ||||
* | Fix inspired by Rene Liebscher: if setup script is newer than the | Greg Ward | 2000-06-21 | 1 | -3/+26 |
| | | | | manifest, regenerate the manifest. | ||||
* | Delete spurious comment. | Greg Ward | 2000-06-21 | 1 | -1/+0 |
| | |||||
* | Build the 'outfiles' list so 'get_outputs()' has something to return. | Greg Ward | 2000-06-21 | 2 | -5/+15 |
| | | | | (Bug spotted and originally fixed by Rene Liebscher; fix redone by me.) | ||||
* | Rene Liebscher: when fixing up directories with an alternate root, include | Greg Ward | 2000-06-21 | 1 | -1/+2 |
| | | | | 'install_headers'. | ||||
* | Fleshed out and added a bunch of useful stuff, notably 'check_func()', | Greg Ward | 2000-06-21 | 1 | -32/+176 |
| | | | | | | 'try_cpp()', 'search_cpp()', and 'check_header()'. This is enough that the base config is actually useful for implementing a real config command, specifically one for mxDateTime. | ||||
* | Oops, import 'grok_environment_error()'. | Greg Ward | 2000-06-21 | 1 | -0/+1 |
| | |||||
* | Added 'preprocess()' method to CCompiler interface, and implemented | Greg Ward | 2000-06-21 | 2 | -0/+48 |
| | | | | | | it in UnixCCompiler. Still needs to be implemented in MSVCCompiler (and whatever other compiler classes are lurking out there, waiting to be checked in). | ||||
* | Minor grammatical fix | Andrew M. Kuchling | 2000-06-21 | 1 | -1/+1 |
| | |||||
* | Document .timeout() method and .typeahead() function | Andrew M. Kuchling | 2000-06-21 | 1 | -0/+22 |
| | |||||
* | Added .timeout() method and .typeahead() function | Andrew M. Kuchling | 2000-06-21 | 1 | -0/+19 |
| | |||||
* | Added an optional debug handler that traps and prints all unknown appleevents. | Jack Jansen | 2000-06-20 | 13 | -13/+24 |
| | |||||
* | Replaced OpenResFile calls with FSpOpenResFile calls (which are ↵ | Jack Jansen | 2000-06-20 | 14 | -21/+21 |
| | | | | carbon-compatible). | ||||
* | verify that Python raises SyntaxError for long and deeply-nested expressions | Jeremy Hylton | 2000-06-20 | 2 | -0/+20 |
| | |||||
* | Add new parser error code, E_OVERFLOW. This error is returned when | Jeremy Hylton | 2000-06-20 | 5 | -18/+28 |
| | | | | | | the number of children of a node exceeds the max possible value for the short that is used to count them. The Python runtime converts this parser error into the SyntaxError "expression too long." | ||||
* | add minimal test of exception use. verify that each exception can be | Jeremy Hylton | 2000-06-20 | 1 | -0/+12 |
| | | | | raised, caught, and converted to a string. | ||||
* | mark SyntaxError__str__ as METH_VARARGS | Jeremy Hylton | 2000-06-20 | 1 | -1/+1 |
| | |||||
* | Pekka Pessi <Pekka.Pessi@nokia.com>: | Fred Drake | 2000-06-20 | 1 | -3/+3 |
| | | | | | Patch to add support for sip: (Session Initiation Protocol, RFC2543) URLs. | ||||
* | Fredrik Lundh <effbot@telia.com>: | Fred Drake | 2000-06-20 | 1 | -8/+4 |
| | | | | | Simplify find code; this is a performance improvement on at least some platforms. | ||||
* | Added a new debug method sys.gettotalrefcount(), which returns the total ↵ | Mark Hammond | 2000-06-20 | 1 | -1/+14 |
| | | | | | | number of references on all Python objects. This is only enabled when Py_TRACE_REFS is defined (which includes default debug builds under Windows). Also removed a redundant cast from sys.getrefcount(), as discussed on the patches list. | ||||
* | Made to work under carbon. | Jack Jansen | 2000-06-20 | 3 | -2/+44 |
| | |||||
* | Under carbon use the GetQDGlobalxxx methods to implement Qd.qd.member access. | Jack Jansen | 2000-06-20 | 2 | -0/+84 |
| | |||||
* | Made argc/argv processing work again under carbon. | Jack Jansen | 2000-06-20 | 1 | -2/+2 |
| | |||||
* | Christopher Fandrich <cfandrich@8cs.com>: | Fred Drake | 2000-06-20 | 1 | -3/+6 |
| | | | | Fix memory leak in initializing __debug__. | ||||
* | Patch from Rene Liebscher <R.Liebscher@gmx.de>, slightly modified and | Fred Drake | 2000-06-19 | 1 | -0/+8 |
| | | | | | commented by Fred Drake, to prevent usage of sufficiently broken GCC versions. | ||||
* | Fixed docstring typo, reported by Skip Montanaro <skip@mojam.com>. | Fred Drake | 2000-06-19 | 1 | -1/+1 |
| | |||||
* | Patch from Michael Hudson to fix flatten recursive data structures: | Andrew M. Kuchling | 2000-06-19 | 1 | -5/+8 |
| | | | | | | | | | [mwh21@atrus build]$ ./python >>> import Tkinter >>> l = [] >>> l.append(l) >>> Tkinter._flatten(l) Segmentation fault (core dumped) | ||||
* | Marc-Andre Lemburg <mal@lemburg.com>: | Marc-André Lemburg | 2000-06-18 | 1 | -6/+4 |
| | | | | | | | | Fixed a bug in PyUnicode_Count() which would have caused a core dump in case of substring coercion failure. Synchronized .count() with the string method of the same name to return len(s)+1 for s.count(''). | ||||
* | Marc-Andre Lemburg <mal@lemburg.com>: | Marc-André Lemburg | 2000-06-18 | 1 | -1/+2 |
| | | | | | Added optimization proposed by Andrew Kuchling to the Unicode matching macro. | ||||
* | Fix bug when the replacement template is a callable object | Andrew M. Kuchling | 2000-06-18 | 1 | -1/+1 |
| | |||||
* | Patch from Lorenzo M. Catucci: | Andrew M. Kuchling | 2000-06-18 | 1 | -0/+5 |
| | | | | | | I discovered the [MREMAP_MAYMOVE] symbol is only defined when _GNU_SOURCE is defined; therefore, here is the change: if we are compiling for linux, define _GNU_SOURCE before including mman.h, and all is done. |