summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fredrik Lundh: get rid of warning in pythonrun.cGuido van Rossum2000-06-261-0/+1
|
* initial commit of a new HTTP library, supporting HTTP/1.1 and persistentGreg Stein2000-06-261-228/+734
| | | | connections.
* Fix typos and errors noticed by Skip MontanaroAndrew M. Kuchling2000-06-251-14/+19
|
* update output file to reflect new test of exception object str-nessJeremy Hylton2000-06-251-0/+18
|
* Minor wording tweaks.Greg Ward2000-06-251-5/+6
| | | | | | Kludged the extra-wide table that summarizes the manifest template language (works with LaTeX, but is an *evil* kludge and could well break LaTeX2HTML or similar...).
* Define the 'executables' class attribute so the CCompiler constructorGreg Ward2000-06-251-1/+8
| | | | | doesn't blow up. We don't currently use the 'set_executables()' bureaucracy, although it would be nice to do so for consistency with UnixCCompiler.
* Removed some debugging code that slipped into the last checkin.Greg Ward2000-06-251-4/+3
| | | | Ensure that 'extra_args' (whether compile or link args) is never None.
* Fixed the "pre-link hook" so it actually works, mainly by renaming itGreg Ward2000-06-251-41/+33
| | | | | | to 'msvc_prelink_hack()', adding the parameters that it actually needs, and only calling it for MSVC compiler objects. Generally gave up on the idea of a general "hook" mechanism: deleted the empty 'precompile_hook()'.
* Added PreprocessError and UnknownFileError (both used by CCompiler).Greg Ward2000-06-251-1/+5
|
* Call 'customize_compiler()' after getting CCompiler object.Greg Ward2000-06-251-0/+2
|
* Fixed a few silly bugs in my SWIG support code. (Hey, I said it wasGreg Ward2000-06-251-3/+5
| | | | | experimental and untested.) Call 'customize_compiler()' after getting CCompiler object.
* Added the 'customize_compiler()' function, which plugs in the essentialGreg Ward2000-06-251-0/+20
| | | | | | information about building Python extensions that we discovered in Python's makefile. Currently only needed on Unix, so does nothing on other systems.
* Introduced some bureaucracy for setting and tracking the executablesGreg Ward2000-06-251-3/+58
| | | | | | | | | | | that a particular compiler system depends on. This consists of the 'set_executables()' and 'set_executable()' methods, and a few lines in the constructor that expect implementation classes to provide an 'executables' attribute, which we use to initialize several instance attributes. The default implementation is somewhat biased in favour of a Unix/DOS "command-line" view of the world, but it shouldn't be too hard to override this for operating systems with a more sophisticated way of representing programs-to-execute.
* Got rid of direct dependence on the sysconfig module. Mainly, thisGreg Ward2000-06-251-67/+35
| | | | | | | | meant playing along with the new "dictionary of executables" scheme added to CCompiler by adding the 'executables' class attribute, and changing all the compile/link/etc. methods to use the new attributes (which encapsulate both the program to run and its standard arguments, so it was a *little* bit more than just changing some names).
* Added 'split_quoted()' function to deal with strings that are quoted inGreg Ward2000-06-241-0/+67
| | | | | Unix shell-like syntax (eg. in Python's Makefile, for one thing -- now that I have this function, I'll probably allow quoted strings in config files too.
* Docstring reformatting/tweaking binge.Greg Ward2000-06-241-249/+253
| | | | Fixed a few comments.
* Print a warning if we install a data file right in install_dir.Greg Ward2000-06-241-3/+7
| | | | Tweaked help text.
* Changed the default installation directory for data files (used byGreg Ward2000-06-241-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 carryingGreg Ward2000-06-241-1/+3
| | | | on if it sees a filename with unknown extension.
* Some clarifications to the 'A simple example' section.Greg Ward2000-06-241-6/+8
|
* Fixed a grab-bag of typos spotted by Detlef Lannert.Greg Ward2000-06-242-17/+16
|
* Changed so all the help-generating functions are defined, at module-level,Greg Ward2000-06-245-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 Ward2000-06-241-12/+15
|
* Stylistic/formatting changes to Rene Liebscher's '--help-xxx' patch.Greg Ward2000-06-247-42/+72
|
* Experimental, completely untested SWIG support.Greg Ward2000-06-241-5/+74
|
* Revised docstring so 'sources' isn't necessarily all C/C++ files (toGreg Ward2000-06-241-3/+5
| | | | accomodate SWIG interface files, resource files, etc.).
* (py-execute-region): Make sure the new temporary buffer is current forBarry Warsaw2000-06-231-3/+4
| | | | the insertion of the text.
* 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
|