Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Patch from /F: | Andrew M. Kuchling | 2000-06-18 | 2 | -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. Kuchling | 2000-06-18 | 3 | -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 Ward | 2000-06-18 | 1 | -12/+4 |
| | |||||
* | Regenerated autoconf files. There's an extra change to config.h.in beyond | Andrew M. Kuchling | 2000-06-18 | 2 | -127/+134 |
| | | | | | the mremap() change I made; did someone modify configure.in previously without recreating these files? | ||||
* | Check for existence of mremap() | Andrew M. Kuchling | 2000-06-18 | 1 | -1/+2 |
| | |||||
* | Support resizing the mapping depending on whether HAVE_MREMAP is defined | Andrew M. Kuchling | 2000-06-18 | 1 | -4/+6 |
| | | | | Remove two unused variables | ||||
* | Markup consistency nits. | Fred Drake | 2000-06-18 | 1 | -89/+43 |
| | |||||
* | Additional tests for seek() method, written by Trent Mick | Andrew M. Kuchling | 2000-06-18 | 2 | -1/+36 |
| | |||||
* | Patch from Trent Mick: | Andrew M. Kuchling | 2000-06-18 | 1 | -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 flags | Andrew M. Kuchling | 2000-06-18 | 1 | -2/+2 |
| | |||||
* | Make changes and clarifications suggested by Mark Hammond | Andrew M. Kuchling | 2000-06-18 | 1 | -14/+23 |
| | |||||
* | Pulled the MSVC++-specific hackery out to a new method, 'prelink_hook()', | Greg Ward | 2000-06-17 | 1 | -36/+63 |
| | | | | | | and added (empty) 'precompile_hook()' for symmetry. One can envision a much more elaborate hook mechanism, but this looks like it'll do for now. | ||||
* | Fix the size() method to return the size of the file on Unix, not the | Andrew M. Kuchling | 2000-06-17 | 1 | -3/+12 |
| | | | | | size of the mapped area. This seems to be what the Windows version does. This change requires keeping around the fd of the mapped file. | ||||
* | Documentation for the mmap module: proofreaders welcomed | Andrew M. Kuchling | 2000-06-17 | 1 | -0/+120 |
| | |||||
* | Vladimir MARANGOZOV <Vladimir.Marangozov@inrialpes.fr>: | Marc-André Lemburg | 2000-06-17 | 1 | -3/+4 |
| | | | | | This patch fixes an optimisation mystery in _PyUnicodeNew causing segfaults on AIX when the interpreter is compiled with -O. | ||||
* | Renamed PATH_CREATED to _path_created, on the grounds that it's private and | Greg Ward | 2000-06-17 | 1 | -8/+8 |
| | | | | mutable, rather than public and constant. |