Greg Ward
f11296bdea
[change from 2000/08/11, propagating now to distutils copy]
...
Factored the guts of 'warn()' out to 'gen_error()', and added the
'error()' method (trivial thanks to the refactoring).
2000-09-16 18:06:31 +00:00
Greg Ward
60cd2864fe
[change from 2000/04/17, propagating now to distutils copy]
...
Dropped the 'collapse_ws' option and replaced it with 'collapse_join' --
it's *much* faster (no 're.sub()') and this is the reason I really added
'collapse_ws', ie. to remove leading whitespace from a line being joined
to the previous line.
2000-09-16 18:04:55 +00:00
Guido van Rossum
174efc9cdb
Use PyOS_setsig() instead of directly calling signal() or sigaction().
...
This fixes the first half of bug #110611 : the immediate exit when ^C
is hit when readline and threads are configured.
Also added a new module variable, readline.library_version.
2000-09-16 16:37:53 +00:00
Guido van Rossum
d2cd7adf6f
Use typedef PyOS_sighandler_t and APIs PyOS_getsig() and
...
PyOS_setsig(), instead of directly calling signal() or sigaction().
This fixes the second half of bug #110611 : the mysterious ignoring of
the first ^C when readline isn't used.
2000-09-16 16:35:28 +00:00
Guido van Rossum
6f25618be5
Add PyOS_getsig() and PyOS_setsig() -- wrappers around signal() or
...
sigaction() (if HAVE_SIGACTION is defined).
2000-09-16 16:32:19 +00:00
Guido van Rossum
c7247ce269
Add typedef PyOS_sighandler_t and prototypes for PyOS_getsig() and
...
PyOS_setsig().
2000-09-16 16:31:31 +00:00
Guido van Rossum
c96ec6ef2b
Document new APIs PyOS_getsig() and PyOS_setsig().
...
(Is there no macro to document a typedef?)
Fred, please check my latex!
2000-09-16 16:30:48 +00:00
Greg Ward
beb6d72f31
Rene Liebscher: if we have to run the same sub-command multiple times
...
(eg. "bdist_dumb", to generate both ZIP and tar archives in the same
run), tell all but the last run to keep temp files -- this just gets
rid of the need to pseudo-install the same files multiple times.
2000-09-16 16:04:59 +00:00
Greg Ward
3bfc8c8068
Renamed --keep-tree to --keep-temp.
2000-09-16 15:56:32 +00:00
Greg Ward
8099f0e5fc
Renamed --clean to --no-keep-temp and --noclean to --keep-temp.
2000-09-16 15:54:18 +00:00
Greg Ward
8429036496
Renamed --keep-tree option to --keep-temp.
2000-09-16 15:53:41 +00:00
Greg Ward
24511d2a6e
Ensure sub-commands of "install" are reinitialized too.
...
Run "install" the right way, by calling 'run_command()'.
2000-09-16 15:30:47 +00:00
Greg Ward
47ec20757d
Remove some debugging output from the last change.
2000-09-16 15:27:17 +00:00
Greg Ward
ecce14522c
In 'reinitialize_subcommand()', pass 'reinit_subcommands' flag on to the
...
real implementation in Distribution.
2000-09-16 15:25:55 +00:00
Greg Ward
f449ea51aa
Generalized 'reinitialize_command()' so it can optionally reinitialize
...
the command's sub-commands as well (off by default). This is essential if
we want to be be able to run (eg.) "install" twice in one run, as happens
when generating multiple built distributions in one run.
2000-09-16 15:23:28 +00:00
Greg Ward
b3e0ad9804
Added the "sub-command" machinery to formalize the notion of "command
...
families" -- eg. install and its brood, build and its brood, and so forth.
Specifically: added the 'sub_commands' class attribute (empty list, sub-
classes must override it) and a comment describing it, and the
'get_sub_commands()' method.
2000-09-16 15:09:17 +00:00
Greg Ward
fadefedb89
Factored the "sub-command" machinery out to Command. Mainly, this
...
meant removing 'get_sub_commands()', and moving the 'sub_commands' class
attribute to the end and restructuring it to conform to the new regime.
2000-09-16 15:06:57 +00:00
Fred Drake
634fc574e1
Use a really ugly hack that depends on output processing by LaTeX2HTML.
...
This replaces the tilde character with the string ";SPMtilde;", which
LaTeX2HTML converts to a tilde on output.
2000-09-16 14:16:57 +00:00
Fred Drake
6e1fecc28a
Update URL to unicode.org's FTP site using an HTTP URL to the same
...
document.
2000-09-16 13:46:42 +00:00
Fred Drake
315b9e0ac1
Update *both* uses of the URL to the zlib home page, and use the version
...
advertised as the canonical form.
2000-09-16 06:18:26 +00:00
Fred Drake
ab2f9f766f
Update link to the zlib homepage.
2000-09-16 05:07:03 +00:00
Fred Drake
f29107447a
Update the link to Andrew Kuchling's crypto code.
2000-09-16 05:02:24 +00:00
Fred Drake
91fc9319fa
Update link to the FIPS PUB 180-1 (PDF is available, but not PostScript).
2000-09-16 04:59:33 +00:00
Fred Drake
630d0f0974
Update some stale links.
2000-09-16 04:21:22 +00:00
Tim Peters
c1d65c34cf
Repair senseless random.seed docstring (reported on c.l.py).
2000-09-16 04:02:48 +00:00
Tim Peters
78fc0b57df
Fixed legit gripe from c.l.py that math.fmod docs aren't confusing enough.
...
FRED, please check my monkey-see-monkey-do Tex fiddling!
2000-09-16 03:54:24 +00:00
Greg Ward
53db8154e6
Tweaked the build temp dir names again.
2000-09-16 02:06:45 +00:00
Greg Ward
e918b6fdb5
Typo fix.
2000-09-16 01:59:06 +00:00
Greg Ward
42900941b8
Include the Python version in the platform-specific build directories:
...
with the recent change in 'get_platform()', we now have directory names
like "build/lib-1.5-linux-i586". Idea and original patch by
Rene Liebscher.
2000-09-16 01:54:46 +00:00
Greg Ward
9ae7c3c9a5
Document the directory separatory for include dir and library dir lists.
2000-09-16 01:44:45 +00:00
Jack Jansen
76167fecc1
This will eventually evolve into a package that creates CodeWarrior projects from templates (for distutils, and possibly the standard extensions too). For now it generates a correct xml file based on sources/output/expfile, but that is about all.
2000-09-15 22:44:08 +00:00
Neil Schemenauer
a53cf79275
- add a new test
...
- document some of the tricky tests (hopefully correctly :)
2000-09-15 22:32:29 +00:00
Fred Drake
6a547c7878
Fix a link -- there is no starship.python.org!
2000-09-15 22:11:24 +00:00
Fred Drake
1ac526d7cc
Add a constant "library" to the module which names the library used,
...
based on the available headers.
Update comments on the filename extensions used to reflect library
differences.
Added get() and setdefault() methods to the dbm object.
Added docstrings, convert all methods to PyArg_ParseTuple() so that
error messages will have the method names.
2000-09-15 21:35:14 +00:00
Fred Drake
7c25f3df85
Add some comments on the available implementations that this module can
...
use.
Change the list of flag values for open() to a table.
Markup consistency nits.
2000-09-15 21:31:31 +00:00
Jeremy Hylton
afde7e24b6
fix bug #110661 (PR#356) -- accept either & or ; as separator for CGI
...
query string
also some doc string reformatting and use of string methods instead of
older string.splitfields
2000-09-15 20:06:57 +00:00
Neil Schemenauer
ce20967c2c
Don't remove instance objects from the GC container set until we are
...
they are dead. Fixes bug #113812 .
2000-09-15 18:57:21 +00:00
Fred Drake
e64572bccb
Some systems need -lucb to compile the mmap module. Add a comment to
...
this effect.
This address one aspect of SourceForge bug #113797 .
2000-09-15 18:55:58 +00:00
Barry Warsaw
3b2aedbdc5
Py_Main(), usage(), usage_mid: Add -h and -V flags to print the usage
...
message and Python version number and exit immediately. Closes patch
#101496 .
2000-09-15 18:40:42 +00:00
Barry Warsaw
645693783c
Describe the -h and -V flags. Closes patch #101496
2000-09-15 18:39:09 +00:00
Paul Prescod
5c6bd31319
Fixed some typos. Removed one obsolete comment.
2000-09-15 18:38:47 +00:00
Skip Montanaro
6634b14f3b
add cross reference to mimetools module
2000-09-15 18:20:20 +00:00
Skip Montanaro
682c25a495
RET_SAVE references should be Py_BLOCK_THREADS references
2000-09-15 18:19:27 +00:00
Paul Prescod
ce88db0230
Fixed bug that disallowed processing instructions before and after
...
document element.
2000-09-15 17:09:19 +00:00
Guido van Rossum
8999053326
Fix for bug #113693 : with the changes to the IMPORT_FROM opcodes, this
...
crashed on an assert.
2000-09-15 16:37:42 +00:00
Guido van Rossum
3634112b40
Include the filename in the errror message for F5 without saving.
...
This closes bug #110660 .
2000-09-15 15:45:57 +00:00
Fred Drake
6e5184fe6a
Update comments in the second paragraph, discussing versioning issues
...
related to the BSD DB library. Based on comments from Mark Summerfield
<summer@netcraft.com>.
2000-09-15 15:19:35 +00:00
Jeremy Hylton
be467e5c69
Fix Bug #114293 :
...
Strings are unpickled by calling eval on the string's repr. This
change makes pickle work like cPickle; it checks if the pickled
string is safe to eval and raises ValueError if it is not.
test suite modifications:
Verify that pickle catches a variety of insecure string pickles
Make test_pickle and test_cpickle use exactly the same test suite
Add test for pickling recursive object
2000-09-15 15:14:51 +00:00
Jack Jansen
a647f577f0
Read a QuickTime movie and return the frames.
2000-09-15 13:43:46 +00:00
Jack Jansen
344ecdb249
Before comparing os.uname() to BeOS check that os.uname actually exists:-)
2000-09-15 12:59:46 +00:00