]> granicus.if.org Git - python/log
python
24 years ago-- whitespace cleanup (real changes coming in next checkin)
Fredrik Lundh [Tue, 8 Aug 2000 16:52:51 +0000 (16:52 +0000)]
-- whitespace cleanup (real changes coming in next checkin)

24 years ago-- whitespace cleanup (more tests to be added in the next commit)
Fredrik Lundh [Tue, 8 Aug 2000 16:47:42 +0000 (16:47 +0000)]
-- whitespace cleanup (more tests to be added in the next commit)

24 years agoBarry's patch to document the new setdefault() method. Slightly
Guido van Rossum [Tue, 8 Aug 2000 16:15:49 +0000 (16:15 +0000)]
Barry's patch to document the new setdefault() method.  Slightly
clarified the summary for default() in the table to indicate the side
effect.

24 years agoBarry's patch to test the new setdefault() method.
Guido van Rossum [Tue, 8 Aug 2000 16:13:23 +0000 (16:13 +0000)]
Barry's patch to test the new setdefault() method.

24 years agoBarry's patch to implement the new setdefault() method.
Guido van Rossum [Tue, 8 Aug 2000 16:12:54 +0000 (16:12 +0000)]
Barry's patch to implement the new setdefault() method.

24 years agoFix so 'split_quoted()' handles any whitespace delimiter (not just space).
Greg Ward [Tue, 8 Aug 2000 14:38:13 +0000 (14:38 +0000)]
Fix so 'split_quoted()' handles any whitespace delimiter (not just space).

24 years agoRemoving UTF-16 aware Unicode comparison code. This kind of compare
Marc-André Lemburg [Tue, 8 Aug 2000 08:04:29 +0000 (08:04 +0000)]
Removing UTF-16 aware Unicode comparison code. This kind of compare
function (together with other locale aware ones) should into a new collation
support module. See python-dev for a discussion of this removal.

Note: This patch should also be applied to the 1.6 branch.

24 years agoMoved PyOS_StackCheck prototype to pythonrun.h
Jack Jansen [Mon, 7 Aug 2000 21:03:33 +0000 (21:03 +0000)]
Moved PyOS_StackCheck prototype to pythonrun.h

24 years agoAdded a missing } in the USE_STACKCHECK code.
Jack Jansen [Mon, 7 Aug 2000 21:02:50 +0000 (21:02 +0000)]
Added a missing } in the USE_STACKCHECK code.

24 years agoAdded a prototype for PyOS_CheckStack (within #ifdef USE_STACKCHECK).
Jack Jansen [Mon, 7 Aug 2000 21:00:42 +0000 (21:00 +0000)]
Added a prototype for PyOS_CheckStack (within #ifdef USE_STACKCHECK).

24 years ago-- reset marks if repeat_one tail doesn't match
Fredrik Lundh [Mon, 7 Aug 2000 20:59:04 +0000 (20:59 +0000)]
-- reset marks if repeat_one tail doesn't match
   (this should fix Sjoerd's xmllib problem)
-- added skip field to INFO header
-- changed compiler to generate charset INFO header
-- changed trace messages to support post-mortem analysis

24 years ago-- from Trent Mick: [Patch #101010] replace use of INT_PTR
Fredrik Lundh [Mon, 7 Aug 2000 20:16:28 +0000 (20:16 +0000)]
-- from Trent Mick: [Patch #101010] replace use of INT_PTR
   with uintptr_t (fix MSVC 5.0 build)

24 years agoWhen returning an error from jcompile() (which is passed through by
Guido van Rossum [Mon, 7 Aug 2000 19:22:43 +0000 (19:22 +0000)]
When returning an error from jcompile() (which is passed through by
PyNode_Compile()), make sure that an exception is actually set --
otherwise someone stomped on our error.  [2.0 checkin of this fix.]

24 years agoAvoid dumping core when PyErr_NormalizeException() is called without
Guido van Rossum [Mon, 7 Aug 2000 19:18:27 +0000 (19:18 +0000)]
Avoid dumping core when PyErr_NormalizeException() is called without
an exception set.  This shouldn't happen, but we see it at times...

24 years ago+ if USE_STACKCHECK is defined, use PyOS_CheckStack to look
Fredrik Lundh [Mon, 7 Aug 2000 17:33:38 +0000 (17:33 +0000)]
+ if USE_STACKCHECK is defined, use PyOS_CheckStack to look
  for excessive recursion.

24 years agoInitialized opcode and oparg to silence a gcc -Wall warning.
Moshe Zadka [Mon, 7 Aug 2000 06:34:45 +0000 (06:34 +0000)]
Initialized opcode and oparg to silence a gcc -Wall warning.

24 years agoFix so the 'install_libbase' directory -- where .pth files are installed --
Greg Ward [Mon, 7 Aug 2000 00:48:04 +0000 (00:48 +0000)]
Fix so the 'install_libbase' directory -- where .pth files are installed --
participates in the "--root" hack, ie. it also has a new root directory
hacked on at the very last minute (essential if the .pth file is to be
included in an RPM or other smart installer!).

24 years agoFix so we clear or reinitialize various data structures before populating
Greg Ward [Mon, 7 Aug 2000 00:45:51 +0000 (00:45 +0000)]
Fix so we clear or reinitialize various data structures before populating
(allows the same FancyGetopt object to be used multiple times with different
option tables).

24 years agoNeil Schemenauer: GC enable(), disable(), isenabled() interface.
Vladimir Marangozov [Sun, 6 Aug 2000 22:45:31 +0000 (22:45 +0000)]
Neil Schemenauer: GC enable(), disable(), isenabled() interface.

Small stylistic changes by VM:
- is_enabled() -> isenabled()
- static ... Py_<func> -> static ... gc_<func>

24 years agoProject for pyexpat module.
Jack Jansen [Sun, 6 Aug 2000 21:55:43 +0000 (21:55 +0000)]
Project for pyexpat module.

24 years agoRewrite of normpath() by Corran Webster, so trailing :s are removed
Jack Jansen [Sun, 6 Aug 2000 21:18:35 +0000 (21:18 +0000)]
Rewrite of normpath() by Corran Webster, so trailing :s are removed
(except for : and volume:, where they are needed).

24 years agoWrote the "Describing extension modules" section.
Greg Ward [Sun, 6 Aug 2000 20:37:24 +0000 (20:37 +0000)]
Wrote the "Describing extension modules" section.

24 years agoCleanup configure.in. Specifically:
Thomas Wouters [Sat, 5 Aug 2000 23:28:51 +0000 (23:28 +0000)]
Cleanup configure.in. Specifically:

- Don't call both AC_CHECK_FUNCS and AC_REPLACE_FUNC for 'hypot', as the
latter already does everything the former does (because it's implemented as
a call to the former.)

- Don't call AC_CHECK_FUNC() without any 'action' clauses or with an action
clause that just defines HAVE_<function>. Instead, call AC_CHECK_FUNCS,
which defines 'HAVE_<function>' of itself, possibly with aditional 'action'
clauses.

No checks are removed by this patch, only moved around, and some duplicates
are removed.

24 years agoFix some strange indentation and grammar that have been bugging me for
Thomas Wouters [Sat, 5 Aug 2000 21:37:50 +0000 (21:37 +0000)]
Fix some strange indentation and grammar that have been bugging me for
weeks.

24 years agoChanged H specifier to mean "bitfield", i.e. any value from
Jack Jansen [Sat, 5 Aug 2000 21:29:58 +0000 (21:29 +0000)]
Changed H specifier to mean "bitfield", i.e. any value from
-32768..65535 is acceptable. Added B specifier (with values from
-128..255). No L added (which would have completed the set) because l
already accepts any value (and the letter L is taken for quadwords).

24 years agoFixed imports from '*util' modules to not just import everything from util.
Greg Ward [Sat, 5 Aug 2000 01:31:54 +0000 (01:31 +0000)]
Fixed imports from '*util' modules to not just import everything from util.

24 years agoDrop the 'extend()' function -- old 1.5.1 compatibility hack that
Greg Ward [Sat, 5 Aug 2000 01:25:24 +0000 (01:25 +0000)]
Drop the 'extend()' function -- old 1.5.1 compatibility hack that
  wasn't actually used anywhere.
Drop the "from xxx_util import*" backwards compability hacks.

24 years agoPragmas that instruct the linker to link against python20.lib (or
Greg Ward [Sat, 5 Aug 2000 00:58:14 +0000 (00:58 +0000)]
Pragmas that instruct the linker to link against python20.lib (or
python20_d.lib) only active on MSVC++; different library formats needed
for different compilers, and it's handled by the Distutils anyways.

24 years agoA bundle of wording improvements, corrections, clarifications, updates,
Greg Ward [Sat, 5 Aug 2000 00:43:11 +0000 (00:43 +0000)]
A bundle of wording improvements, corrections, clarifications, updates,
and so forth.

24 years agoRemoved unnecessary local variable -- gave warning on gcc -Wall
Moshe Zadka [Fri, 4 Aug 2000 22:31:42 +0000 (22:31 +0000)]
Removed unnecessary local variable -- gave warning on gcc -Wall

24 years agoRemoving warnings by gcc -Wall -- cast ugly || to void.
Moshe Zadka [Fri, 4 Aug 2000 21:27:47 +0000 (21:27 +0000)]
Removing warnings by gcc -Wall -- cast ugly || to void.

24 years agoadd note about compiler directory
Jeremy Hylton [Fri, 4 Aug 2000 17:03:58 +0000 (17:03 +0000)]
add note about compiler directory
(is bgen still "still under development"?)

24 years agoreplace most calls to emit 'SET_LINENO' will call to method set_lineno
Jeremy Hylton [Fri, 4 Aug 2000 16:56:51 +0000 (16:56 +0000)]
replace most calls to emit 'SET_LINENO' will call to method set_lineno
based on bug report by Neil Schemenauer

24 years agoupdate my email address
Jeremy Hylton [Fri, 4 Aug 2000 16:54:54 +0000 (16:54 +0000)]
update my email address
fix com_call_function to cope with trailing comma in "f(a, b,)"

24 years agoRemoving warnings discovered by gcc -Wall
Moshe Zadka [Fri, 4 Aug 2000 15:53:06 +0000 (15:53 +0000)]
Removing warnings discovered by gcc -Wall

24 years agoRemoving warnings found by gcc -Wall
Moshe Zadka [Fri, 4 Aug 2000 15:36:13 +0000 (15:36 +0000)]
Removing warnings found by gcc -Wall

24 years agoOooopsss.....tab and space mismatch corrected.
Moshe Zadka [Fri, 4 Aug 2000 15:25:58 +0000 (15:25 +0000)]
Oooopsss.....tab and space mismatch corrected.

24 years agoAdd a test that Py_IsInitialized() in Py_InitModule4(). See
Guido van Rossum [Fri, 4 Aug 2000 14:00:14 +0000 (14:00 +0000)]
Add a test that Py_IsInitialized() in Py_InitModule4().  See
python-dev discussion.

This should catch future version incompatibilities on Windows.  Alas,
this doesn't help for 1.5 vs. 1.6; but it will help for 1.6 vs. 2.0.

24 years agoRaise 'TestSkipped' (from the test_support) module rather than 'ImportError'
Thomas Wouters [Fri, 4 Aug 2000 13:34:43 +0000 (13:34 +0000)]
Raise 'TestSkipped' (from the test_support) module rather than 'ImportError'
to signify a test that should be marked as 'skipped' rather than 'failed'.
Also 'document' it, in README.

24 years agoRaise TestSkipped, not ImportError.
Moshe Zadka [Fri, 4 Aug 2000 13:26:03 +0000 (13:26 +0000)]
Raise TestSkipped, not ImportError.
Honesty's the best policy.

24 years agoMake test_support.TestSkipped errors work the same way as ImportErrors:
Thomas Wouters [Fri, 4 Aug 2000 13:17:51 +0000 (13:17 +0000)]
Make test_support.TestSkipped errors work the same way as ImportErrors:
mark the test as 'skipped', rather than 'failed'.

24 years agoIn case the user isn't allowed to access /dev/dsp or /dev/dsp isn't there
Moshe Zadka [Fri, 4 Aug 2000 12:59:40 +0000 (12:59 +0000)]
In case the user isn't allowed to access /dev/dsp or /dev/dsp isn't there
at all (my computer doesn't have a Sound Blaster), this doesn't mean
there's a bug in linuxaudiodev. The only error the test suite skips
is currently ImportError -- so that's what we raise. If you see a problem
with this patch, say so and I'll retract. If you think raising an ImportError
sucks, you're right -- but I ain't gonna buy a SB and I sure ain't gonna
let the test-suite fail on my machine.

24 years agoMention Include/my*.h cleanup
Andrew M. Kuchling [Fri, 4 Aug 2000 12:40:35 +0000 (12:40 +0000)]
Mention Include/my*.h cleanup

24 years agoAdded zip() builtin
Andrew M. Kuchling [Fri, 4 Aug 2000 12:35:23 +0000 (12:35 +0000)]
Added zip() builtin

24 years agoAdd missing 'try:'. Patch by Rob W. W. Hooft, #101071 (closed.)
Thomas Wouters [Fri, 4 Aug 2000 08:46:59 +0000 (08:46 +0000)]
Add missing 'try:'. Patch by Rob W. W. Hooft, #101071 (closed.)

24 years agoDocumented curses.wrapper and curses.textpad.
Eric S. Raymond [Fri, 4 Aug 2000 07:35:41 +0000 (07:35 +0000)]
Documented curses.wrapper and curses.textpad.

24 years agoCorrected a bug in handling of ^N and ^P with stripspaces on.
Eric S. Raymond [Fri, 4 Aug 2000 07:33:18 +0000 (07:33 +0000)]
Corrected a bug in handling of ^N and ^P with stripspaces on.

24 years agoRemove the outer test for __name__; not necessary.
Fred Drake [Fri, 4 Aug 2000 03:14:55 +0000 (03:14 +0000)]
Remove the outer test for __name__; not necessary.

24 years agoBoost buffer sizes in the absence of snprintf on Windows.
Tim Peters [Fri, 4 Aug 2000 03:05:40 +0000 (03:05 +0000)]
Boost buffer sizes in the absence of snprintf on Windows.
Ensure that # of args to sprintf always matches # of format specifiers.

24 years agosnprintf() is not portable, so continue to use sprintf() until a portable
Fred Drake [Fri, 4 Aug 2000 02:34:41 +0000 (02:34 +0000)]
snprintf() is not portable, so continue to use sprintf() until a portable
snprintf() is available.

24 years agoAdded 'debug_print()'.
Greg Ward [Fri, 4 Aug 2000 01:31:13 +0000 (01:31 +0000)]
Added 'debug_print()'.

24 years agoRewrote 'find_library_file()' much more cleanly (and consistently with
Greg Ward [Fri, 4 Aug 2000 01:30:03 +0000 (01:30 +0000)]
Rewrote 'find_library_file()' much more cleanly (and consistently with
MSVCCompiler's version, to aid in factoring common code out of the two
classes when the time comes).

24 years agoAdded 'debug' flag to 'find_library_file()', and changed code to handle it.
Greg Ward [Fri, 4 Aug 2000 01:29:27 +0000 (01:29 +0000)]
Added 'debug' flag to 'find_library_file()', and changed code to handle it.

24 years agoAdded 'debug' flag to 'find_library_file()'.
Greg Ward [Fri, 4 Aug 2000 01:28:39 +0000 (01:28 +0000)]
Added 'debug' flag to 'find_library_file()'.

24 years agotest the non-multipart sections of the cgi module
Jeremy Hylton [Thu, 3 Aug 2000 22:11:43 +0000 (22:11 +0000)]
test the non-multipart sections of the cgi module

24 years agoBreak the "Python Services" chapter into two: "Python Runtime Services"
Fred Drake [Thu, 3 Aug 2000 21:18:18 +0000 (21:18 +0000)]
Break the "Python Services" chapter into two: "Python Runtime Services"
(still at the start of the manual), and "Python Language Services" (late
in the manual).  Moved "Restricted Execution" to just before "Python
Language Services."

24 years agoRemove very long doc string (it's all in the docs)
Jeremy Hylton [Thu, 3 Aug 2000 20:57:44 +0000 (20:57 +0000)]
Remove very long doc string (it's all in the docs)
Modify parse_qsl to interpret 'a=b=c' as key 'a' and value 'b=c'
(which matches Perl's CGI.pm)

24 years agoAdded descriptions of the new parser markers for PyArg_ParseTuple().
Marc-André Lemburg [Thu, 3 Aug 2000 19:38:07 +0000 (19:38 +0000)]
Added descriptions of the new parser markers for PyArg_ParseTuple().

24 years agoPython code coverage tool by Skip Montanaro and Andrew Dalke
Jeremy Hylton [Thu, 3 Aug 2000 19:26:21 +0000 (19:26 +0000)]
Python code coverage tool by Skip Montanaro and Andrew Dalke

24 years agoThis patch finalizes the move from UTF-8 to a default encoding in
Marc-André Lemburg [Thu, 3 Aug 2000 18:46:08 +0000 (18:46 +0000)]
This patch finalizes the move from UTF-8 to a default encoding in
the Python Unicode implementation.

The internal buffer used for implementing the buffer protocol
is renamed to defenc to make this change visible. It now holds the
default encoded version of the Unicode object and is calculated
on demand (NULL otherwise).

Since the default encoding defaults to ASCII, this will mean that
Unicode objects which hold non-ASCII characters will no longer
work on C APIs using the "s" or "t" parser markers. C APIs must now
explicitly provide Unicode support via the "u", "U" or "es"/"es#"
parser markers in order to work with non-ASCII Unicode strings.

(Note: this patch will also have to be applied to the 1.6 branch
 of the CVS tree.)

24 years agoRemove the tp_print handler.
Fred Drake [Thu, 3 Aug 2000 17:43:02 +0000 (17:43 +0000)]
Remove the tp_print handler.
Revise the tp_repr handler to produce a more "minimal" presentation.
Make the tolist() method use PyArg_ParseTuple() and provide a docstring.

24 years agoadd a bit more legal junk
Greg Stein [Thu, 3 Aug 2000 17:39:13 +0000 (17:39 +0000)]
add a bit more legal junk
(too lazy to paste in the whole BSD license tho; included by ref)

24 years ago\py@varvars: Merge the various definitions to be the simplist one that
Fred Drake [Thu, 3 Aug 2000 17:38:30 +0000 (17:38 +0000)]
\py@varvars:  Merge the various definitions to be the simplist one that
does everything needed, and discard the older stuff that is not
being used.

24 years agoint() description: Fix markup to avoid image generation for math mode.
Fred Drake [Thu, 3 Aug 2000 17:29:13 +0000 (17:29 +0000)]
int() description:  Fix markup to avoid image generation for math mode.

zip() description:  Fix broken markup, three small markup consistency nits,
and one really minor usage nit.  Introduce use of \moreargs instead
of hardcoding "..." with \optional.

24 years agoChecking in empty tests for urlparse, as future place holders
Moshe Zadka [Thu, 3 Aug 2000 17:28:50 +0000 (17:28 +0000)]
Checking in empty tests for urlparse, as future place holders

24 years agodo_cmd_moreargs(),
Fred Drake [Thu, 3 Aug 2000 17:25:44 +0000 (17:25 +0000)]
do_cmd_moreargs(),
do_cmd_unspecified():  New functions to reflect previously unused markup.

do_cmd_file():  Simplified generated markup to only make use of the
existing stylesheet.

do_cmd_makevar():  Make the markup more stylesheet-friendly.

24 years agoRemobe beopen/cnri/cwi copyrights, according to CNRI instructions.
Guido van Rossum [Thu, 3 Aug 2000 16:42:14 +0000 (16:42 +0000)]
Remobe beopen/cnri/cwi copyrights, according to CNRI instructions.
This doesn't change the copyright status for these files -- just the
markings!  Doing it on the main branch for these three files for which
the HEAD revision was pushed back into 1.6.

24 years ago-- added recursion limit (currently ~10,000 levels)
Fredrik Lundh [Thu, 3 Aug 2000 16:29:50 +0000 (16:29 +0000)]
-- added recursion limit (currently ~10,000 levels)
-- improved error messages
-- factored out SRE_COUNT; the same code is used by
   SRE_OP_REPEAT_ONE_TEMPLATE
-- minor cleanups

24 years agoChanging the CNRI copyright notice according to CNRI's instructions.
Guido van Rossum [Thu, 3 Aug 2000 16:24:25 +0000 (16:24 +0000)]
Changing the CNRI copyright notice according to CNRI's instructions.
This is a notice without a date, which apparently is not a claim to
copyright but only advice to the reader.  IANAL. :-)

24 years agoTESTOPTS: Since gc is enabled by default now (this may change for the
Barry Warsaw [Thu, 3 Aug 2000 15:52:30 +0000 (15:52 +0000)]
TESTOPTS: Since gc is enabled by default now (this may change for the
final release), run "make test" with gc's LEAK_DEBUG enabled.  This
uses the new -l flag to regrtest.

24 years agoAdded a -l/--leakdebug option which turns on DEBUG_LEAK if the gc
Barry Warsaw [Thu, 3 Aug 2000 15:50:37 +0000 (15:50 +0000)]
Added a -l/--leakdebug option which turns on DEBUG_LEAK if the gc
module is importable.

24 years agoAdded output for testsuite for new zip() builtin.
Barry Warsaw [Thu, 3 Aug 2000 15:48:31 +0000 (15:48 +0000)]
Added output for testsuite for new zip() builtin.

24 years agoAdded testsuite for new zip() builtin.
Barry Warsaw [Thu, 3 Aug 2000 15:48:07 +0000 (15:48 +0000)]
Added testsuite for new zip() builtin.

24 years agoBoth PEP 201 Lockstep Iteration and SF patch #101030 have been
Barry Warsaw [Thu, 3 Aug 2000 15:46:17 +0000 (15:46 +0000)]
Both PEP 201 Lockstep Iteration and SF patch #101030 have been
accepted by the BDFL.

Added documentation for zip() builtin.

24 years agoBoth PEP 201 Lockstep Iteration and SF patch #101030 have been
Barry Warsaw [Thu, 3 Aug 2000 15:45:29 +0000 (15:45 +0000)]
Both PEP 201 Lockstep Iteration and SF patch #101030 have been
accepted by the BDFL.

builtin_zip(): New function to implement the zip() function described
in the above proposal.

zip_doc[]: Docstring for zip().

builtin_methods[]: added entry for zip()

24 years agoComment out repeated-group test for the moment
Andrew M. Kuchling [Thu, 3 Aug 2000 12:16:29 +0000 (12:16 +0000)]
Comment out repeated-group test for the moment

24 years agoUse METH_OLDARGS instead of numeric constant 0 in method def. tables
Andrew M. Kuchling [Thu, 3 Aug 2000 02:34:44 +0000 (02:34 +0000)]
Use METH_OLDARGS instead of numeric constant 0 in method def. tables

24 years agoAdded #define for oldest version of argument calling
Andrew M. Kuchling [Thu, 3 Aug 2000 02:28:54 +0000 (02:28 +0000)]
Added #define for oldest version of argument calling

24 years agoAdd nasty test case that overflows the stack with a repeated group
Andrew M. Kuchling [Thu, 3 Aug 2000 02:06:45 +0000 (02:06 +0000)]
Add nasty test case that overflows the stack with a repeated group

24 years agoUse METH_VARARGS instead of numeric constant 1 in method def. tables
Andrew M. Kuchling [Thu, 3 Aug 2000 02:06:16 +0000 (02:06 +0000)]
Use METH_VARARGS instead of numeric constant 1 in method def. tables

24 years agoUse METH_VARARGS instead of numeric constant 1
Andrew M. Kuchling [Thu, 3 Aug 2000 02:04:05 +0000 (02:04 +0000)]
Use METH_VARARGS instead of numeric constant 1

24 years agoRob Hooft <rob@hooft.net>:
Fred Drake [Wed, 2 Aug 2000 20:53:51 +0000 (20:53 +0000)]
Rob Hooft <rob@hooft.net>:
Description of fcntl():  Added description of what can go wrong.

24 years agoRob Hooft (Patch #101046): use PyArg_ParseTuple everywhere.
Guido van Rossum [Wed, 2 Aug 2000 20:46:51 +0000 (20:46 +0000)]
Rob Hooft (Patch #101046): use PyArg_ParseTuple everywhere.

24 years agoFix for bug #110651 (Jitterbug PR#343): only use the low 8 bits of an octal
Andrew M. Kuchling [Wed, 2 Aug 2000 13:41:18 +0000 (13:41 +0000)]
Fix for bug #110651 (Jitterbug PR#343): only use the low 8 bits of an octal
escape, as documented in the comment for the check_escape() function

24 years agoAdding a LICENSE file so we can have it in the 1.6 release.
Guido van Rossum [Wed, 2 Aug 2000 02:35:08 +0000 (02:35 +0000)]
Adding a LICENSE file so we can have it in the 1.6 release.

24 years agoTypo fix.
Greg Ward [Wed, 2 Aug 2000 01:49:40 +0000 (01:49 +0000)]
Typo fix.

24 years agoAdded 'wininst' to the 'format_commands' list, so it's included in
Greg Ward [Wed, 2 Aug 2000 01:44:44 +0000 (01:44 +0000)]
Added 'wininst' to the 'format_commands' list, so it's included in
the --help-formats output.  Also moved that list up so it's more obvious
when adding formats.

24 years agoAdded 'execute()' method, a thin wrapper around 'util.execute() (just like
Greg Ward [Wed, 2 Aug 2000 01:38:20 +0000 (01:38 +0000)]
Added 'execute()' method, a thin wrapper around 'util.execute() (just like
the one in cmd.py).

24 years agoReplaced 'execute()' method with a thin wrapper around 'util.execute()'.
Greg Ward [Wed, 2 Aug 2000 01:37:53 +0000 (01:37 +0000)]
Replaced 'execute()' method with a thin wrapper around 'util.execute()'.

24 years agoAdded the 'execute()' function (moved here from cmd.py with minor tweakage).
Greg Ward [Wed, 2 Aug 2000 01:37:30 +0000 (01:37 +0000)]
Added the 'execute()' function (moved here from cmd.py with minor tweakage).

24 years agoRene Liebscher: fix 'skipping byte-compilation' message for grammatical
Greg Ward [Wed, 2 Aug 2000 01:34:18 +0000 (01:34 +0000)]
Rene Liebscher: fix 'skipping byte-compilation' message for grammatical
consistency.

24 years agoLatest version from Rene Liebscher; major changes:
Greg Ward [Wed, 2 Aug 2000 01:31:56 +0000 (01:31 +0000)]
Latest version from Rene Liebscher; major changes:
  - added big comment describing possible problems
  - look for and react to versions of gcc, ld, and dlltool; mainly
    this is done by the 'get_versions()' function and the CygwinCCompiler
    and Mingw32CCompiler constructors
  - move 'check_config_h()' to end of file and defer calling it until
    we need to (ie. in the CygwinCCompiler constructor)
  - lots of changes in 'link_shared_object()' -- mostly seems to be
    library and DLL stuff, but I don't follow it entirely

24 years agoRene Liebscher: deleted unneeded hard-coded assignments of CC, RANLIB, etc.
Greg Ward [Wed, 2 Aug 2000 01:09:11 +0000 (01:09 +0000)]
Rene Liebscher: deleted unneeded hard-coded assignments of CC, RANLIB, etc.
in '_init_nt()' (they were kludges for CygwinCCompiler and no longer needed).

24 years agoRene Liebscher: factor 'find_executable()' out of '_spawn_nt()'.
Greg Ward [Wed, 2 Aug 2000 01:08:02 +0000 (01:08 +0000)]
Rene Liebscher: factor 'find_executable()' out of '_spawn_nt()'.

24 years agoPatch from Rene Liebscher. Some ugly changes, but supposedly this makes
Greg Ward [Wed, 2 Aug 2000 01:03:23 +0000 (01:03 +0000)]
Patch from Rene Liebscher.  Some ugly changes, but supposedly this makes
it so BCPPCompiler actually works, so I'm provisionally accepting it
-- ugly and working is better than not working!  Major changes:
  - normalize paths (apparently BC++ doesn't like slashes)
  - overhauled how we search for and specify libraries on the linker
    command-line
  - hacked up 'find_library_file()' so it knows about "debug" library
    naming convention as well as "bcpp_xxx.lib" -- the question is,
    is this a well-established and sensible convention?
Also:
  - change to use 'util.write_file()' to write the .def file

24 years agoDitched 'abspath()' -- don't need 1.5.1 compatability hacks anymore.
Greg Ward [Wed, 2 Aug 2000 00:37:32 +0000 (00:37 +0000)]
Ditched 'abspath()' -- don't need 1.5.1 compatability hacks anymore.

24 years agoRemoved 'export_symbol_file'.
Greg Ward [Wed, 2 Aug 2000 00:04:13 +0000 (00:04 +0000)]
Removed 'export_symbol_file'.
'export_symbols' can be None (not sure this is a good idea: it's inconsistent
  with every other instance attribute of Extension).

24 years agoDitched some debugging prints.
Greg Ward [Wed, 2 Aug 2000 00:01:56 +0000 (00:01 +0000)]
Ditched some debugging prints.

24 years agoPatch from Rene Liebscher: generate an /IMPLIB: option to ensure that
Greg Ward [Wed, 2 Aug 2000 00:00:30 +0000 (00:00 +0000)]
Patch from Rene Liebscher: generate an /IMPLIB: option to ensure that
the linker leaves the (temporary) .lib file in the temporary dir.  (Moved
from 'msvc_prelink_hack()' method in build_ext.py.)

24 years agoPatch from Rene Liebscher, tweaked by me:
Greg Ward [Tue, 1 Aug 2000 23:54:29 +0000 (23:54 +0000)]
Patch from Rene Liebscher, tweaked by me:
  - 'export_symbol_file' (and corresponding 'def_file' in the old
    "build info" dict) are gone; warn if we see 'def_file' in the
    dict
  - the MSVC "pre-link hack" is gone -- all that stuff is now handled
    elsewhere (eg. by using 'export_symbols', etc.)
  - add 'get_export_symbols()' and 'get_libraries()' methods -- needed
    because on Windows, both of those things are a tad more complicated
    than fetching them from the Extension instance