summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Trent Mick <trentm@activestate.com>:Fred Drake2000-06-281-2/+54
| | | | | | | | Testing: test_array.py was also extended to check that one can set the full range of values for each of the integral signed and unsigned array types. This closes SourceForge patch #100506.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-281-0/+3
| | | | Updated test output.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-281-0/+75
| | | | | Added tests for the new Unicode character name support in the standard unicode-escape codec.
* Thomas Wouters <thomas@xs4all.net>:Fred Drake2000-06-281-16/+57
| | | | | | | | | | | | | This patch adds the openpty() and forkpty() library calls to posixmodule.c, when they are available on the target system. (glibc-2.1-based Linux systems, FreeBSD and BSDI at least, probably the other BSD-based systems as well.) Lib/pty.py is also rewritten to use openpty when available, but falls back to the old SGI method or the "manual" BSD open-a-pty code. Openpty() is necessary to use the Unix98 ptys under Linux 2.2, or when using non-standard tty names under (at least) BSDI, which is why I needed it, myself ;-) forkpty() is included for symmetry.
* Added the atexit module and documentation from Skip MontanaroFred Drake2000-06-283-0/+82
| | | | | | | <skip@mojam.com>. Revisions to the markup to make it pass LaTeX, added an index entry and a reference from the sys.exitfunc documentation. This closes SourceForge patch #100620.
* typos fixed by Rob HooftJeremy Hylton2000-06-2829-38/+38
|
* Lyle Johnson: pass in temp directory as 'build_temp' argument when callingGreg Ward2000-06-281-1/+2
| | | | 'link_shared_object()'.
* Lyle Johnson: added 'build_temp' parameter to 'link_shared_{lib,object}()'Greg Ward2000-06-283-11/+21
| | | | | | | methods (but not 'link_executable()', hmmm). Currently only used by BCPPCompiler; it's a dummy parameter for UnixCCompiler and MSVCCompiler. Also added 'bcpp' to compiler table used by 'new_compiler()'.
* Typo fix.Greg Ward2000-06-281-1/+1
|
* Lyle Johnson's interface to Borland C++, with a few editorial comments by me.Greg Ward2000-06-281-0/+344
| | | | | | | | Two major points: * lots of overlap with MSVCCompiler; the common code really should be factored out into a base class, say WindowsCCompiler * it doesn't work: weird problem spawning the linker (see comment for details)
* Fixed to use 'reinitialize_command()' to fetch "install" and "install_lib"Greg Ward2000-06-281-28/+20
| | | | | command objects. Various formatting tweaks, typo fixes in comments.
* Fixed to use 'reinitialize_command()' to fetch the "install" command object.Greg Ward2000-06-281-6/+1
|
* Fix comment typo noticed by Rob HooftAndrew M. Kuchling2000-06-271-1/+1
|
* Oops, only do that AIX hack on AIX.Greg Ward2000-06-271-1/+1
|
* Fixed LDSHARED for AIX, based on a patch by Rene Liebscher.Greg Ward2000-06-271-15/+12
| | | | | Ditched my old code that fixed relative paths in the Makefile -- didn't work, doomed to failure, etc.
* A-ha! Read Thomas' patch a little more carefully and figured it out:Greg Ward2000-06-271-1/+2
| | | | the 'implib_dir' attribute is back (only on NT, of course).
* Thomas Heller: added --swig-cpp option and fixed silly typos in SWIG support.Greg Ward2000-06-271-9/+21
| | | | | | Also supposedly made some change to where .lib files wind up under MSVC++, but I don't understand how to code is doing what Thomas says it's doing.
* Thomas Heller's "bdist_wininst" command (unreviewed, untested).Greg Ward2000-06-271-0/+448
|
* Infrastructure support for the "bdist_wininst" command.Greg Ward2000-06-272-0/+3
|
* Added 'include_dirs' parameters all over the place.Greg Ward2000-06-271-19/+39
| | | | | Added 'check_lib()', which provides a subset of the functionality of 'check_func()' with a simpler interface and implementation.
* Sync to ESR's current versionAndrew M. Kuchling2000-06-271-22/+28
|
* Drop back to old version of wrapper(); ESR reports that it broke things,Andrew M. Kuchling2000-06-271-4/+16
| | | | and I lack the time to track down the cause.
* Change pyexpat test suite to exercise the .returns_unicode attribute,Andrew M. Kuchling2000-06-272-20/+121
| | | | parsing the sample data once with 8-bit strings and once with Unicode.
* Added two modules for ASCII characters and a simple editing form (ESR)Andrew M. Kuchling2000-06-262-0/+261
|
* Add wrapper for initscr() to copy the ACS_ and LINES,COLS bindingsAndrew M. Kuchling2000-06-261-0/+16
|
* now that imputil is in the main Python repository, clean up the headerGreg Stein2000-06-261-16/+3
|
* initial commit of a new HTTP library, supporting HTTP/1.1 and persistentGreg Stein2000-06-261-228/+734
| | | | connections.
* update output file to reflect new test of exception object str-nessJeremy Hylton2000-06-251-0/+18
|
* 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.
* 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.).
* Bastian Kleineidam: 'copy_file()' now returns the output filename, ratherGreg Ward2000-06-231-6/+5
| | | | than a boolean indicating whether it did the copy.
* 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...