Fred Drake
2b9e180ec3
Added memory-reference information to the description of Py_BuildValue(),
...
based on comments from Frank Stajano <fstajano@uk.research.att.com>.
2000-06-28 15:32:29 +00:00
Fred Drake
c19425d520
Added the atexit module and documentation from Skip Montanaro
...
<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 .
2000-06-28 15:07:31 +00:00
Jeremy Hylton
a05e293a21
typos fixed by Rob Hooft
2000-06-28 14:48:01 +00:00
Marc-André Lemburg
7c014684c2
Marc-Andre Lemburg <mal@lemburg.com>:
...
Better error message for "1 in unicodestring". Submitted
by Andrew Kuchling.
2000-06-28 08:11:47 +00:00
Fred Drake
e39607f27e
Changed the #error to a #warning when checking gcc versions, and
...
noted the minimum recommended version in the message.
2000-06-28 03:54:48 +00:00
Andrew M. Kuchling
69db0e4a0b
Added section on cycle GC
...
Various minor fixes
2000-06-28 02:16:00 +00:00
Greg Ward
cc623a2574
Lyle Johnson: pass in temp directory as 'build_temp' argument when calling
...
'link_shared_object()'.
2000-06-28 01:29:37 +00:00
Greg Ward
bfc79d644a
Lyle Johnson: added 'build_temp' parameter to 'link_shared_{lib,object}()'
...
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()'.
2000-06-28 01:29:09 +00:00
Greg Ward
7d9c705b23
Typo fix.
2000-06-28 01:25:27 +00:00
Greg Ward
fe9b818b7d
Lyle Johnson's interface to Borland C++, with a few editorial comments by me.
...
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)
2000-06-28 01:20:35 +00:00
Greg Ward
b0b98a5ee5
Fixed to use 'reinitialize_command()' to fetch "install" and "install_lib"
...
command objects.
Various formatting tweaks, typo fixes in comments.
2000-06-28 00:56:20 +00:00
Greg Ward
edc6a519dc
Fixed to use 'reinitialize_command()' to fetch the "install" command object.
2000-06-28 00:36:40 +00:00
Andrew M. Kuchling
a1e4b05ac4
Fixes for compiling on Tru64.
...
Define a STRICT_SYSV_CURSES macro on SGI, Sun, and Tru64, to mark systems
that don't support some features.
2000-06-27 21:49:47 +00:00
Andrew M. Kuchling
b6e468796a
Fix two typos (, instead of ;)
2000-06-27 15:01:10 +00:00
Andrew M. Kuchling
8628157026
Fix comment typo noticed by Rob Hooft
2000-06-27 14:15:29 +00:00
Andrew M. Kuchling
af5b76677f
Changed obsolete e-mail alias
2000-06-27 03:16:04 +00:00
Andrew M. Kuchling
8e9d23b250
Added support for mouse functions: mousemask(), mouseinterval(),
...
getmouse(), ungetmouse(), and window.enclose(). wmouse_trafo() seems
of marginal importance at the moment.
2000-06-27 03:10:38 +00:00
Greg Ward
b231e1ae18
Oops, only do that AIX hack on AIX.
2000-06-27 01:59:43 +00:00
Greg Ward
4f880280c2
Fixed LDSHARED for AIX, based on a patch by Rene Liebscher.
...
Ditched my old code that fixed relative paths in the Makefile -- didn't work,
doomed to failure, etc.
2000-06-27 01:59:06 +00:00
Greg Ward
b593793fce
A-ha! Read Thomas' patch a little more carefully and figured it out:
...
the 'implib_dir' attribute is back (only on NT, of course).
2000-06-27 01:43:24 +00:00
Greg Ward
f3bd747c4e
Thomas Heller: added --swig-cpp option and fixed silly typos in SWIG support.
...
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.
2000-06-27 01:37:10 +00:00
Greg Ward
27199e8029
Thomas Heller's "bdist_wininst" command (unreviewed, untested).
2000-06-27 01:24:38 +00:00
Greg Ward
1f9b73b575
Infrastructure support for the "bdist_wininst" command.
2000-06-27 01:24:07 +00:00
Greg Ward
855dab9987
Added 'include_dirs' parameters all over the place.
...
Added 'check_lib()', which provides a subset of the functionality of
'check_func()' with a simpler interface and implementation.
2000-06-27 01:21:22 +00:00
Andrew M. Kuchling
e8d7dbfe42
Sync to ESR's current version
2000-06-27 00:53:12 +00:00
Andrew M. Kuchling
8f790fe459
Drop back to old version of wrapper(); ESR reports that it broke things,
...
and I lack the time to track down the cause.
2000-06-27 00:50:40 +00:00
Andrew M. Kuchling
7fd7e36b08
Change pyexpat test suite to exercise the .returns_unicode attribute,
...
parsing the sample data once with 8-bit strings and once with Unicode.
2000-06-27 00:37:25 +00:00
Andrew M. Kuchling
beba056cd7
Added support for passing Unicode strings to Expat handlers by default.
...
This version still includes #ifdef hackery to compile with 1.5.2.
2000-06-27 00:33:30 +00:00
Andrew M. Kuchling
f57d7b9e30
Dcoumentation for ascii.py. I've changed two references from ascii to
...
curses.ascii.
2000-06-26 23:59:24 +00:00
Andrew M. Kuchling
2b9d0bcf83
Added two modules for ASCII characters and a simple editing form (ESR)
2000-06-26 23:55:42 +00:00
Andrew M. Kuchling
289d9d4227
Add wrapper for initscr() to copy the ACS_ and LINES,COLS bindings
2000-06-26 23:54:03 +00:00
Greg Stein
99a5621f3f
now that imputil is in the main Python repository, clean up the header
2000-06-26 17:31:49 +00:00
Guido van Rossum
5e3c632a90
Fredrik Lundh: get rid of warning in pythonrun.c
2000-06-26 14:37:53 +00:00
Greg Stein
5e0fa4065f
initial commit of a new HTTP library, supporting HTTP/1.1 and persistent
...
connections.
2000-06-26 08:28:01 +00:00
Andrew M. Kuchling
662d76ee7b
Fix typos and errors noticed by Skip Montanaro
2000-06-25 14:32:48 +00:00
Jeremy Hylton
c380466762
update output file to reflect new test of exception object str-ness
2000-06-25 10:44:57 +00:00
Greg Ward
1bbe32982d
Minor wording tweaks.
...
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...).
2000-06-25 03:14:13 +00:00
Greg Ward
992c8f9dab
Define the 'executables' class attribute so the CCompiler constructor
...
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.
2000-06-25 02:31:16 +00:00
Greg Ward
e401e15d18
Removed some debugging code that slipped into the last checkin.
...
Ensure that 'extra_args' (whether compile or link args) is never None.
2000-06-25 02:30:15 +00:00
Greg Ward
f46a688e84
Fixed the "pre-link hook" so it actually works, mainly by renaming it
...
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()'.
2000-06-25 02:23:11 +00:00
Greg Ward
68ff615c79
Added PreprocessError and UnknownFileError (both used by CCompiler).
2000-06-25 02:12:14 +00:00
Greg Ward
eab969d700
Call 'customize_compiler()' after getting CCompiler object.
2000-06-25 02:10:58 +00:00
Greg Ward
5ca84b83c7
Fixed a few silly bugs in my SWIG support code. (Hey, I said it was
...
experimental and untested.)
Call 'customize_compiler()' after getting CCompiler object.
2000-06-25 02:10:46 +00:00
Greg Ward
bb7baa793d
Added the 'customize_compiler()' function, which plugs in the essential
...
information about building Python extensions that we discovered in
Python's makefile. Currently only needed on Unix, so does nothing on
other systems.
2000-06-25 02:09:14 +00:00
Greg Ward
e5c62bf6e8
Introduced some bureaucracy for setting and tracking the executables
...
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.
2000-06-25 02:08:18 +00:00
Greg Ward
73076ff754
Got rid of direct dependence on the sysconfig module. Mainly, this
...
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).
2000-06-25 02:05:29 +00:00
Greg Ward
6a2a3dbec5
Added 'split_quoted()' function to deal with strings that are quoted in
...
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.
2000-06-24 20:40:02 +00:00
Greg Ward
c3a43b4f9b
Docstring reformatting/tweaking binge.
...
Fixed a few comments.
2000-06-24 18:10:48 +00:00
Greg Ward
c3f364462f
Print a warning if we install a data file right in install_dir.
...
Tweaked help text.
2000-06-24 17:36:24 +00:00
Greg Ward
fa2f4b6d8e
Changed the default installation directory for data files (used by
...
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.)
2000-06-24 17:22:39 +00:00