]> granicus.if.org Git - python/log
python
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

24 years agoAs requested by Fred - mention that in the future a winreg module may make a comeback.
Mark Hammond [Tue, 1 Aug 2000 23:49:50 +0000 (23:49 +0000)]
As requested by Fred - mention that in the future a winreg module may make a comeback.

24 years agofinal 0.9.8 updates:
Fredrik Lundh [Tue, 1 Aug 2000 22:47:49 +0000 (22:47 +0000)]
final 0.9.8 updates:

-- added REPEAT_ONE operator
-- added ANY_ALL operator (used to represent "(?s).")

24 years agoMy fix to the URL accidentally also switched back to the "pre" module.
Guido van Rossum [Tue, 1 Aug 2000 21:22:16 +0000 (21:22 +0000)]
My fix to the URL accidentally also switched back to the "pre" module.
Undo that!

24 years ago-- fixed width calculations for alternations
Fredrik Lundh [Tue, 1 Aug 2000 21:05:41 +0000 (21:05 +0000)]
-- fixed width calculations for alternations
-- fixed literal check in branch operator
   (this broke test_tokenize, as reported by Mark Favas)
-- added REPEAT_ONE operator (still not enabled, though)
-- added some debugging stuff (maxlevel)

24 years agoRemoved decl of unreferenced vrbl.
Tim Peters [Tue, 1 Aug 2000 21:00:58 +0000 (21:00 +0000)]
Removed decl of unreferenced vrbl.

24 years agoReplace the jitterbug page with the SF Bug Tracker page.
Guido van Rossum [Tue, 1 Aug 2000 20:28:33 +0000 (20:28 +0000)]
Replace the jitterbug page with the SF Bug Tracker page.

24 years agoOf course, you meant "#if 0" and not "#ifdef 0". :)
Guido van Rossum [Tue, 1 Aug 2000 18:28:44 +0000 (18:28 +0000)]
Of course, you meant "#if 0" and not "#ifdef 0". :)

24 years agoSRE 0.9.8: passes the entire test suite
Fredrik Lundh [Tue, 1 Aug 2000 18:20:07 +0000 (18:20 +0000)]
SRE 0.9.8: passes the entire test suite

-- reverted REPEAT operator to use "repeat context" strategy
   (from 0.8.X), but done right this time.
-- got rid of backtracking stack; use nested SRE_MATCH calls
   instead (should probably put it back again in 0.9.9 ;-)
-- properly reset state in scanner mode
-- don't use aggressive inlining by default

24 years agoInclude the dependence of sysmodule on the patchlevel.h include, so
Fred Drake [Tue, 1 Aug 2000 17:46:22 +0000 (17:46 +0000)]
Include the dependence of sysmodule on the patchlevel.h include, so
that sys.version_info will be built properly.

24 years agoadd support for HTTPS
Jeremy Hylton [Tue, 1 Aug 2000 17:33:32 +0000 (17:33 +0000)]
add support for HTTPS

Modify HTTP to use delegation instead of inheritance.  The
_connection_class attribute of the class defines what class to
delegate to.  The HTTPS class is a subclass of HTTP that redefines
_connection_class.

24 years agoGuido said this is food for the beta-testers<wink>
Peter Schneider-Kamp [Tue, 1 Aug 2000 16:53:44 +0000 (16:53 +0000)]
Guido said this is food for the beta-testers<wink>

24 years agosomehow the 'Total Keys=1' disappears. No other changes.
Guido van Rossum [Tue, 1 Aug 2000 15:50:09 +0000 (15:50 +0000)]
somehow the 'Total Keys=1' disappears.  No other changes.

24 years ago-- SRE 0.9.8: now that the bug is fixed, I might as well enable
Fredrik Lundh [Tue, 1 Aug 2000 13:16:55 +0000 (13:16 +0000)]
-- SRE 0.9.8: now that the bug is fixed, I might as well enable
   the test again...

24 years ago-- SRE 0.9.8: updated test scripts
Fredrik Lundh [Tue, 1 Aug 2000 13:01:43 +0000 (13:01 +0000)]
-- SRE 0.9.8: updated test scripts

24 years agoUpdate e-mail address
Andrew M. Kuchling [Tue, 1 Aug 2000 01:26:02 +0000 (01:26 +0000)]
Update e-mail address

24 years agoAdded Python function to emulate the ncurses has_key() function.
Andrew M. Kuchling [Tue, 1 Aug 2000 01:21:11 +0000 (01:21 +0000)]
Added Python function to emulate the ncurses has_key() function.

24 years agofixing a minor spelling mistake
Peter Schneider-Kamp [Tue, 1 Aug 2000 00:07:17 +0000 (00:07 +0000)]
fixing a minor spelling mistake

24 years agoAdd magic to replace the xml package with _xmlplus at import time.
Fred Drake [Tue, 1 Aug 2000 00:05:16 +0000 (00:05 +0000)]
Add magic to replace the xml package with _xmlplus at import time.
Update docstring to reflect change of name for the parsers subpackage.

24 years agoRename the "parser" package to "parsers" to be compatible with the PyXML
Fred Drake [Mon, 31 Jul 2000 23:59:54 +0000 (23:59 +0000)]
Rename the "parser" package to "parsers" to be compatible with the PyXML
project.

24 years agoStop lying about [].pop() being experimental! There is no backing it out
Fred Drake [Mon, 31 Jul 2000 23:42:23 +0000 (23:42 +0000)]
Stop lying about [].pop() being experimental!  There is no backing it out
at this point.

24 years agopatch from Vladimir (move Py_Mem* interface to Include/pymem.h)
Peter Schneider-Kamp [Mon, 31 Jul 2000 22:19:30 +0000 (22:19 +0000)]
patch from Vladimir (move Py_Mem* interface to Include/pymem.h)

24 years agoANSIfied.
Jack Jansen [Mon, 31 Jul 2000 22:07:49 +0000 (22:07 +0000)]
ANSIfied.

24 years agoTwo more cases of GUSI2 include access paths not being correct (reveiled by the new...
Jack Jansen [Mon, 31 Jul 2000 22:07:21 +0000 (22:07 +0000)]
Two more cases of GUSI2 include access paths not being correct (reveiled by the new pyport.h).

24 years agoreplaced PyArgs_Parse by PyArgs_ParseTuple
Peter Schneider-Kamp [Mon, 31 Jul 2000 21:57:30 +0000 (21:57 +0000)]
replaced PyArgs_Parse by PyArgs_ParseTuple

changed error messages for extend method from "append" to "extend"

24 years agoadded count, extend, index, pop and remove to arraymodule
Peter Schneider-Kamp [Mon, 31 Jul 2000 20:52:21 +0000 (20:52 +0000)]
added count, extend, index, pop and remove to arraymodule

24 years agoChange as suggested by Peter Funk <pf@artcom-gmbh.de>:
Fred Drake [Mon, 31 Jul 2000 20:13:23 +0000 (20:13 +0000)]
Change as suggested by Peter Funk <pf@artcom-gmbh.de>:
Move around the navigational links on the left-hand side of the navigation
bar to be more like the cursor keys.

24 years agoChange as suggested by Peter Funk <pf@artcom-gmbh.de>:
Fred Drake [Mon, 31 Jul 2000 20:08:23 +0000 (20:08 +0000)]
Change as suggested by Peter Funk <pf@artcom-gmbh.de>:
Create a hyperlink between the language reference and documentation for
the built in functions.

24 years agoA different solution for Patch #100979: support for out-of-tree "make TAGS"
Guido van Rossum [Mon, 31 Jul 2000 18:26:35 +0000 (18:26 +0000)]
A different solution for Patch #100979: support for out-of-tree "make TAGS"

The version there built the tags and TAGS files in the build
directory.  I like them in the source directory.  The simplest
solution is to cd to the source directory before running ctags or
etags.

Tested both superficially and they work for me, on Linux Red Hat 6.1.

24 years agoOrganized a little bit; merged in some items from the 1.5.2p2 branch that
Fred Drake [Mon, 31 Jul 2000 18:18:27 +0000 (18:18 +0000)]
Organized a little bit; merged in some items from the 1.5.2p2 branch that
did not get handled.

24 years agoUpdate to indicate the appropriate version of LaTeX2HTML. Update pointer
Fred Drake [Mon, 31 Jul 2000 17:56:58 +0000 (17:56 +0000)]
Update to indicate the appropriate version of LaTeX2HTML.  Update pointer
for retrieving new versions.

24 years agoMany changes to work with newer versions of LaTeX2HTML. This has been
Fred Drake [Mon, 31 Jul 2000 17:53:45 +0000 (17:53 +0000)]
Many changes to work with newer versions of LaTeX2HTML.  This has been
tested with version 99.2beta8.

24 years agoSmall changes to reflect changes in LaTeX2HTML support for newer versions
Fred Drake [Mon, 31 Jul 2000 17:47:49 +0000 (17:47 +0000)]
Small changes to reflect changes in LaTeX2HTML support for newer versions
of LaTeX2HTML.

24 years agoTwo minor nits from Gerry Weiner (no working email address) about
Fred Drake [Mon, 31 Jul 2000 16:34:46 +0000 (16:34 +0000)]
Two minor nits from Gerry Weiner (no working email address) about
describing the methods of dictionaries.

24 years agoAlways pass the split level to LaTeX2HTML as a command line option since
Fred Drake [Mon, 31 Jul 2000 15:55:22 +0000 (15:55 +0000)]
Always pass the split level to LaTeX2HTML as a command line option since
newer versions only process one initialization file, and do so at a
different time than previous versions.

24 years agoMoshe Zadka <mzadka@geocities.com>:
Fred Drake [Mon, 31 Jul 2000 15:45:46 +0000 (15:45 +0000)]
Moshe Zadka <mzadka@geocities.com>:
Document new method in shutil (copyfileobj).
Minor clarification by Fred.

24 years agomerge Include/my*.h into Include/pyport.h
Peter Schneider-Kamp [Mon, 31 Jul 2000 15:28:04 +0000 (15:28 +0000)]
merge Include/my*.h into Include/pyport.h

marked my*.h as obsolete

24 years agoUpdate, 'cause Guido said it should be this way.
Fred Drake [Mon, 31 Jul 2000 14:31:28 +0000 (14:31 +0000)]
Update, 'cause Guido said it should be this way.

24 years agoFix inconsistent use of tab/space in indentation.
Thomas Wouters [Sun, 30 Jul 2000 15:38:35 +0000 (15:38 +0000)]
Fix inconsistent use of tab/space in indentation.

24 years agoMore Windows changes.
Mark Hammond [Sun, 30 Jul 2000 02:46:26 +0000 (02:46 +0000)]
More Windows changes.

* After discussion with Trent, all INT_PTR references have been removed in favour of the HANDLE it should always have been.  Trent can see no 64bit issues here.

* In this process, I noticed that the close operation was dangerous, in that we could end up passing bogus results to the Win32 API.  These result of the API functions passed the bogus values were never (and still are not) checked, but this is closer to "the right thing" (tm) than before.

Tested on Windows and Linux.

24 years agoFixes for Windows (but also tested on Linux). Test suite now completes, and this...
Mark Hammond [Sun, 30 Jul 2000 02:22:43 +0000 (02:22 +0000)]
Fixes for Windows (but also tested on Linux).  Test suite now completes, and this module should not leak in the face of errors.

Checkin that replaces the INT_PTR types with HANDLEs still TBD (but as that is a "spelling" patch, rather than a functional one, I will commit it seperately.

24 years agoTest that after resizing the mmap'd file, we can't seek beyond the new size.
Mark Hammond [Sun, 30 Jul 2000 02:20:38 +0000 (02:20 +0000)]
Test that after resizing the mmap'd file, we can't seek beyond the new size.

24 years agoCatch syntax errors from processing template lines and turn them into
Greg Ward [Sun, 30 Jul 2000 01:47:16 +0000 (01:47 +0000)]
Catch syntax errors from processing template lines and turn them into
  mere warnings.
Call 'findall()' on our FileList object before we start using it seriously.

24 years agoAdded list-like methods: 'append()', 'extend()', 'sort()'.
Greg Ward [Sun, 30 Jul 2000 01:45:42 +0000 (01:45 +0000)]
Added list-like methods: 'append()', 'extend()', 'sort()'.
Added 'remove_duplicates()'.
Simplified constructor: no longer take 'files' or 'allfiles' as args,
  and no longer have 'dir' attribute at all.
Added 'set_allfiles()' and 'findall()' so the client does have a
  way to set the list of all files.
Changed 'include_pattern()' to use the 'findall()' method instead of
  the external function.  (Of course, the method is just a trivial
  wrapper around the function.)

24 years agoReplaced 'self.files' with 'self.filelist': now we carry around a FileList
Greg Ward [Sun, 30 Jul 2000 01:30:31 +0000 (01:30 +0000)]
Replaced 'self.files' with 'self.filelist': now we carry around a FileList
instance instead of a list of filenames.  Simplifies the "sdist" command
only a bit, but should allow greater simplification of FileList.

24 years agoThe other half of Rene Liebscher's patch to add the Template class,
Greg Ward [Sun, 30 Jul 2000 01:05:02 +0000 (01:05 +0000)]
The other half of Rene Liebscher's patch to add the Template class,
which I renamed to FileList: remove all the file-list-generation code from
the sdist command and adapt it to use the new FileList class instead.

24 years agoTypo fix.
Greg Ward [Sun, 30 Jul 2000 01:04:22 +0000 (01:04 +0000)]
Typo fix.

24 years agoAdded DistutilsTemplateError.
Greg Ward [Sun, 30 Jul 2000 01:03:31 +0000 (01:03 +0000)]
Added DistutilsTemplateError.