summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* part 2 of Neil Schemenauer's GC patches:Jeremy Hylton2000-06-237-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 successJeremy Hylton2000-06-231-2/+2
|
* raise TypeError when PyObject_Get/SetAttr called with non-string nameJeremy Hylton2000-06-231-5/+17
|
* Round 1 of Neil Schemenauer's GC patches:Jeremy Hylton2000-06-236-3/+218
| | | | | This patch adds the type methods traverse and clear necessary for GC implementation.
* Bastian Kleineidam: 'copy_file()' now returns the output filename, ratherGreg Ward2000-06-231-6/+5
| | | | than a boolean indicating whether it did the copy.
* Release the global interpreter lock around the most importantAndrew M. Kuchling2000-06-231-12/+45
| | | | functions that might block or pause
* All relevant toolbox modules have now been carbonized.Jack Jansen2000-06-2125-15/+170
|
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-211-1/+6
| | | | Made codecs.open() default to 'rb' as file mode.
* Sjoerd Mullender:Guido van Rossum2000-06-211-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 twoGreg Ward2000-06-211-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 theGreg Ward2000-06-211-3/+26
| | | | manifest, regenerate the manifest.
* Delete spurious comment.Greg Ward2000-06-211-1/+0
|
* Build the 'outfiles' list so 'get_outputs()' has something to return.Greg Ward2000-06-212-5/+15
| | | | (Bug spotted and originally fixed by Rene Liebscher; fix redone by me.)
* Rene Liebscher: when fixing up directories with an alternate root, includeGreg Ward2000-06-211-1/+2
| | | | 'install_headers'.
* Fleshed out and added a bunch of useful stuff, notably 'check_func()',Greg Ward2000-06-211-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 Ward2000-06-211-0/+1
|
* Added 'preprocess()' method to CCompiler interface, and implementedGreg Ward2000-06-212-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 fixAndrew M. Kuchling2000-06-211-1/+1
|
* Document .timeout() method and .typeahead() functionAndrew M. Kuchling2000-06-211-0/+22
|
* Added .timeout() method and .typeahead() functionAndrew M. Kuchling2000-06-211-0/+19
|
* Added an optional debug handler that traps and prints all unknown appleevents.Jack Jansen2000-06-2013-13/+24
|
* Replaced OpenResFile calls with FSpOpenResFile calls (which are ↵Jack Jansen2000-06-2014-21/+21
| | | | carbon-compatible).
* verify that Python raises SyntaxError for long and deeply-nested expressionsJeremy Hylton2000-06-202-0/+20
|
* Add new parser error code, E_OVERFLOW. This error is returned whenJeremy Hylton2000-06-205-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 beJeremy Hylton2000-06-201-0/+12
| | | | raised, caught, and converted to a string.
* mark SyntaxError__str__ as METH_VARARGSJeremy Hylton2000-06-201-1/+1
|
* Pekka Pessi <Pekka.Pessi@nokia.com>:Fred Drake2000-06-201-3/+3
| | | | | Patch to add support for sip: (Session Initiation Protocol, RFC2543) URLs.
* Fredrik Lundh <effbot@telia.com>:Fred Drake2000-06-201-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 Hammond2000-06-201-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 Jansen2000-06-203-2/+44
|
* Under carbon use the GetQDGlobalxxx methods to implement Qd.qd.member access.Jack Jansen2000-06-202-0/+84
|
* Made argc/argv processing work again under carbon.Jack Jansen2000-06-201-2/+2
|
* Christopher Fandrich <cfandrich@8cs.com>:Fred Drake2000-06-201-3/+6
| | | | Fix memory leak in initializing __debug__.
* Patch from Rene Liebscher <R.Liebscher@gmx.de>, slightly modified andFred Drake2000-06-191-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 Drake2000-06-191-1/+1
|
* Patch from Michael Hudson to fix flatten recursive data structures:Andrew M. Kuchling2000-06-191-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é Lemburg2000-06-181-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é Lemburg2000-06-181-1/+2
| | | | | Added optimization proposed by Andrew Kuchling to the Unicode matching macro.
* Fix bug when the replacement template is a callable objectAndrew M. Kuchling2000-06-181-1/+1
|
* Patch from Lorenzo M. Catucci:Andrew M. Kuchling2000-06-181-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.
* Patch from /F:Andrew M. Kuchling2000-06-182-0/+106
| | | | | | | | | | this patch adds a fast _flatten function to the _tkinter module, and imports it from Tkinter.py (if available). this speeds up canvas operations like create_line and create_polygon. for example, a create_line with 5000 vertices runs about 50 times faster with this patch in place.
* Patch from /F:Andrew M. Kuchling2000-06-183-22/+56
| | | | | this patch introduces PySequence_Fast and PySequence_Fast_GET_ITEM, and modifies the list.extend method to accept any kind of sequence.
* 'get_platform()' now just returns 'sys.platform' on all platforms.Greg Ward2000-06-181-12/+4
|
* Regenerated autoconf files. There's an extra change to config.h.in beyondAndrew M. Kuchling2000-06-182-127/+134
| | | | | the mremap() change I made; did someone modify configure.in previously without recreating these files?
* Check for existence of mremap()Andrew M. Kuchling2000-06-181-1/+2
|
* Support resizing the mapping depending on whether HAVE_MREMAP is definedAndrew M. Kuchling2000-06-181-4/+6
| | | | Remove two unused variables
* Markup consistency nits.Fred Drake2000-06-181-89/+43
|
* Additional tests for seek() method, written by Trent MickAndrew M. Kuchling2000-06-182-1/+36
|
* Patch from Trent Mick:Andrew M. Kuchling2000-06-181-34/+105
| | | | | | | The seek() method is broken for any 'whence' value (seek from start, current, orend) other than the default. I have a patch that fixes that as well as gets mmap'd files working on Linux64 and Win64.
* Removed MS_INVALIDATE flagsAndrew M. Kuchling2000-06-181-2/+2
|