]> granicus.if.org Git - python/log
python
24 years agoSupport \r in source files. Closes bug #101425.
Martin v. Löwis [Fri, 15 Sep 2000 06:57:26 +0000 (06:57 +0000)]
Support \r in source files. Closes bug #101425.

24 years agoRemoved some debugging prints: When running user configuration code
Fred Drake [Fri, 15 Sep 2000 04:41:22 +0000 (04:41 +0000)]
Removed some debugging prints:  When running user configuration code
from Tk.readprofile(), do not print anything extra to stdout, just run
the code.

24 years agomain(): Move hackery of sys.argv until after the Tk instance has been
Fred Drake [Fri, 15 Sep 2000 04:32:56 +0000 (04:32 +0000)]
main():  Move hackery of sys.argv until after the Tk instance has been
         created.  This allows the application-specific Tkinter
         initialization to be executed if present.  Also pass an explicit
         className parameter to the Tk() constructor.

This closes SourceForge bug #110618.

24 years agoAdd item to the list of limitations that points out the lack of support
Fred Drake [Fri, 15 Sep 2000 04:12:56 +0000 (04:12 +0000)]
Add item to the list of limitations that points out the lack of support
for authenticated proxies.  This is noted elsewhere, but this makes it
easier to find.

Fix typo where it was already mentioned.

This closes SourceForge bug #110619.

24 years agoTrent Mick points out that the BSD DB also provides an ndbm compatibility
Fred Drake [Fri, 15 Sep 2000 03:38:12 +0000 (03:38 +0000)]
Trent Mick points out that the BSD DB also provides an ndbm compatibility
layer.  If that is available, consider that as an option as well.

24 years agoAdded 'warn_dir' option so other code can sneak in and disable
Greg Ward [Fri, 15 Sep 2000 01:21:07 +0000 (01:21 +0000)]
Added 'warn_dir' option so other code can sneak in and disable
the sometimes inappropriate warning about where we're installing data files.

24 years agoAdjust to the new sysconfig regime: use 'get_config_vars()' instead
Greg Ward [Fri, 15 Sep 2000 01:20:10 +0000 (01:20 +0000)]
Adjust to the new sysconfig regime: use 'get_config_vars()' instead
  of globals from sysconfig.
Added 'prefix' and 'exec_prefix' to the list of variables that can be
  expanded in installation directories (preserving the stupid old names
  of 'sys_prefix' and 'sys_exec_prefix, though).

24 years agoAdjust to the new sysconfig regime: use 'get_config_var()' instead
Greg Ward [Fri, 15 Sep 2000 01:19:03 +0000 (01:19 +0000)]
Adjust to the new sysconfig regime: use 'get_config_var()' instead
of globals from sysconfig.

24 years agoRevamped 'get_platform()' to try and do something reasonably smart on
Greg Ward [Fri, 15 Sep 2000 01:16:14 +0000 (01:16 +0000)]
Revamped 'get_platform()' to try and do something reasonably smart on
POSIX platforms, ie. get a little more detail than 'sys.platform' gives.

24 years agoChanged from eager parsing of Makefile (at import time) to lazy: only do
Greg Ward [Fri, 15 Sep 2000 01:15:08 +0000 (01:15 +0000)]
Changed from eager parsing of Makefile (at import time) to lazy: only do
all that work when someone asks for a "configuration variable" from the
Makefile.  Details:
  - added 'get_config_vars()': responsible for calling one of the
    '_init_*()' functions to figure things out for this platform,
    and to provide an interface to the resulting dictionary
  - added 'get_config_var()' as a simple interface to the dictionary
    loaded by 'get_config_vars()'
  - changed the '_init_*()' functions so they load the global dictionary
    '_config_vars', rather than spewing their findings all over
    the module namespace
  - don't delete the '_init_*()' functions when done importing
  - adjusted 'customize_compiler()' to the new regime

24 years agoFixed so 'parse_makefile()' uses the TextFile class to ensure that
Greg Ward [Fri, 15 Sep 2000 00:03:13 +0000 (00:03 +0000)]
Fixed so 'parse_makefile()' uses the TextFile class to ensure that
comments are stripped and lines are joined according to the backslash
convention.

24 years agoBefore running LaTeX2HTML, remove all the HTML files from the output
Fred Drake [Thu, 14 Sep 2000 22:25:47 +0000 (22:25 +0000)]
Before running LaTeX2HTML, remove all the HTML files from the output
directory.  This avoids acretion of HTML from previous runs which may
have a new name; this would have avoided a lot of the packaging problems
related to changing labels from the old distutils documentation.

24 years agoWhen there is a Module Index, make sure the icon actually links to it.
Fred Drake [Thu, 14 Sep 2000 22:20:41 +0000 (22:20 +0000)]
When there is a Module Index, make sure the icon actually links to it.

24 years agoAdd a reference to the sha module, noting that SHA is considered more
Fred Drake [Thu, 14 Sep 2000 21:47:32 +0000 (21:47 +0000)]
Add a reference to the sha module, noting that SHA is considered more
secure.  Suggested by Erno Kuusela <erno@iki.fi>.

24 years agoConvert "See also" section to use \seetitle.
Fred Drake [Thu, 14 Sep 2000 21:46:22 +0000 (21:46 +0000)]
Convert "See also" section to use \seetitle.

24 years agoDid not include the sha module documentation dependency.
Fred Drake [Thu, 14 Sep 2000 21:42:38 +0000 (21:42 +0000)]
Did not include the sha module documentation dependency.

24 years agoAdded a note about gdbm.
Jack Jansen [Thu, 14 Sep 2000 21:02:22 +0000 (21:02 +0000)]
Added a note about gdbm.
Changed the stackless note.

24 years agoAdded a note about getting CarbonLib as a way to get a new Appearance/NavServices...
Jack Jansen [Thu, 14 Sep 2000 20:58:24 +0000 (20:58 +0000)]
Added a note about getting CarbonLib as a way to get a new Appearance/NavServices. Added Luc Lefebvre to the thanks-list.

24 years agoFixes that should make it possible to run Python on machines without NavServices...
Jack Jansen [Thu, 14 Sep 2000 20:47:00 +0000 (20:47 +0000)]
Fixes that should make it possible to run Python on machines without NavServices installed.

24 years agoFixes that should make it possible to run Python on machines without NavServices...
Jack Jansen [Thu, 14 Sep 2000 20:46:19 +0000 (20:46 +0000)]
Fixes that should make it possible to run Python on machines without NavServices installed. Also weak-linked OT libraries so Python can run with extensions disabled.

24 years agoDenis S. Otkidach <ods@users.sourceforge.net>:
Fred Drake [Thu, 14 Sep 2000 20:42:53 +0000 (20:42 +0000)]
Denis S. Otkidach <ods@users.sourceforge.net>:
Minor fix in documentation of code module.
(Clarifies output destination for default implementation of the write()
method.)

24 years agocope with weird Content-Length values returned from servers by
Jeremy Hylton [Thu, 14 Sep 2000 20:34:27 +0000 (20:34 +0000)]
cope with weird Content-Length values returned from servers by
ignoring them; e.g. Zope sometimes returns 13497L

24 years agoRemove reference to the stdwin-based windowed debugger, since stdwin
Fred Drake [Thu, 14 Sep 2000 20:32:17 +0000 (20:32 +0000)]
Remove reference to the stdwin-based windowed debugger, since stdwin
is gone.

Make a module reference into a hyperlink.

24 years agoUse the \setshortversion macro to specify the abbreviated version number.
Fred Drake [Thu, 14 Sep 2000 20:28:26 +0000 (20:28 +0000)]
Use the \setshortversion macro to specify the abbreviated version number.
This partially addresses SourceForge bug #114318.

Fix the release number -- this is supposed to be the *Python* release,
not the documentation release!  The later is given by the combination of
the Python release number and the date.  Add a comment so I can keep it
straight.

24 years agoUse \shortversion in a number of places.
Fred Drake [Thu, 14 Sep 2000 20:24:17 +0000 (20:24 +0000)]
Use \shortversion in a number of places.
This partially addresses SourceForge bug #114318.

24 years agodo_cmd_shortversion(),
Fred Drake [Thu, 14 Sep 2000 20:17:23 +0000 (20:17 +0000)]
do_cmd_shortversion(),
do_cmd_setshortversion():  Implementation for new markup.

convert_args():  New helper function.

do_cmd_optional():  Modified to understand when it is called from within
                    a convert_args() invocation.

do_env_funcdesc(),
do_env_funcdescni(),
do_cmd_funcline(),
do_cmd_funclineni(),
handle_classlike_descriptor(),
do_env_methoddesc(),
do_end_methoddescni(),
do_cmd_methodline(),
do_cmd_methodlineni():  Modified to use helper convert_args().

The convert_args() helper and related changes fix the generation of HTML
for the \optional markup, so that bogus </var>...<var> is not generated.
This closes SourceForge bug #113800.

24 years ago\shortversion,
Fred Drake [Thu, 14 Sep 2000 20:11:05 +0000 (20:11 +0000)]
\shortversion,
\setshortversion:  New markup to help deal with Python having a "real"
                   version number and an abbreviated version number
                   used to create pathnames to the library installation.

24 years agoAvoid reference to specific versions of Python where possible.
Fred Drake [Thu, 14 Sep 2000 18:25:41 +0000 (18:25 +0000)]
Avoid reference to specific versions of Python where possible.
This partially addresses SourceForge bug #114318.

24 years agoAvoid reference to specific versions of Python where possible.
Fred Drake [Thu, 14 Sep 2000 18:12:48 +0000 (18:12 +0000)]
Avoid reference to specific versions of Python where possible.
This partially addresses SourceForge bug #114318.

24 years agoAdd some index entries to make it easier to find information on
Fred Drake [Thu, 14 Sep 2000 17:57:42 +0000 (17:57 +0000)]
Add some index entries to make it easier to find information on
%-formatting of strings.

24 years agoRemove "," from the list of always_safe characters. It is a reserved
Jeremy Hylton [Thu, 14 Sep 2000 16:59:07 +0000 (16:59 +0000)]
Remove "," from the list of always_safe characters.  It is a reserved
character according to RFC 2396. Add some text to quote doc string
that explains the quoting rules better.

This closes SF Bug #114427.

Add _fast_quote operation that uses a dictionary instead of a list
when the standard set of safe characters is used.

24 years agoUse the configure support to determine which ndbm.h header to include.
Fred Drake [Thu, 14 Sep 2000 15:48:06 +0000 (15:48 +0000)]
Use the configure support to determine which ndbm.h header to include.

24 years agoAllow configure to detect whether ndbm.h or gdbm/ndbm.h is installed.
Fred Drake [Thu, 14 Sep 2000 15:47:06 +0000 (15:47 +0000)]
Allow configure to detect whether ndbm.h or gdbm/ndbm.h is installed.
This allows dbmmodule.c to use either without having to add additional
options to the Modules/Setup file or make source changes.

(At least some Linux systems use gdbm to emulate ndbm, but only install
the ndbm.h header as /usr/include/gdbm/ndbm.h.)

24 years agoDetlef Lannert <lannert@uni-duesseldorf.de>:
Fred Drake [Thu, 14 Sep 2000 14:44:43 +0000 (14:44 +0000)]
Detlef Lannert <lannert@uni-duesseldorf.de>:
mailbox.py (from the CVS tree) doesn't work with qmail Maildirs:
Filenames are completed when the directories are scanned, and
the directory name is prepended again in the next() method.

Another suggestion: Change the print statement in the _test()
driver to show two more date characters (probably the length
has increased due to the recent Y2K hype ;). Now it shows the
complete date, including the seconds -- at least for me. (I've
also made the sender field left justified, in case it is ever
shorter than the field width).

24 years agoRemoved exceptions from the required modules (it's builtin nowadays)
Jack Jansen [Thu, 14 Sep 2000 13:36:06 +0000 (13:36 +0000)]
Removed exceptions from the required modules (it's builtin nowadays)
Added _winreg to the non-required modules.

24 years agoAdded Qdoffs and (optionally) icglue modules.
Jack Jansen [Thu, 14 Sep 2000 13:34:20 +0000 (13:34 +0000)]
Added Qdoffs and (optionally) icglue modules.

24 years agoAdded USE_IC and USE_PYEXPAT
Jack Jansen [Thu, 14 Sep 2000 13:33:01 +0000 (13:33 +0000)]
Added USE_IC and USE_PYEXPAT

24 years agoNot relevant anymore, as pyexpat has moved to another maintainer.
Jack Jansen [Wed, 13 Sep 2000 19:59:49 +0000 (19:59 +0000)]
Not relevant anymore, as pyexpat has moved to another maintainer.

24 years agoInclude Numerical header files in developer distribution.
Jack Jansen [Wed, 13 Sep 2000 19:58:40 +0000 (19:58 +0000)]
Include Numerical header files in developer distribution.

24 years agoAdd several dl.RTLD_ constants. Closes bug 110842.
Martin v. Löwis [Wed, 13 Sep 2000 16:26:10 +0000 (16:26 +0000)]
Add several dl.RTLD_ constants. Closes bug 110842.

24 years agoInclude a link to Francois's po-utils.
Barry Warsaw [Wed, 13 Sep 2000 12:04:47 +0000 (12:04 +0000)]
Include a link to Francois's po-utils.

24 years agoAdded --force (-f) option to force installation (including bytecode
Greg Ward [Wed, 13 Sep 2000 01:02:25 +0000 (01:02 +0000)]
Added --force (-f) option to force installation (including bytecode
compilation).

24 years agoBump version to 0.9.3pre.
Greg Ward [Wed, 13 Sep 2000 00:44:09 +0000 (00:44 +0000)]
Bump version to 0.9.3pre.

24 years agoFix install directories on Mac OS (now that the "install" command
Greg Ward [Wed, 13 Sep 2000 00:12:37 +0000 (00:12 +0000)]
Fix install directories on Mac OS (now that the "install" command
does the right thing).

24 years agoFix install directories on Mac OS: now everything goes to
Greg Ward [Wed, 13 Sep 2000 00:12:11 +0000 (00:12 +0000)]
Fix install directories on Mac OS: now everything goes to
<prefix>:Lib:site-packages.

24 years agoChanged/added a bunch of section labels so HTML files will be named nicely.
Greg Ward [Wed, 13 Sep 2000 00:00:58 +0000 (00:00 +0000)]
Changed/added a bunch of section labels so HTML files will be named nicely.

24 years agoImprove Windows and Mac OS-specific instructions for running the
Greg Ward [Tue, 12 Sep 2000 23:55:19 +0000 (23:55 +0000)]
Improve Windows and Mac OS-specific instructions for running the
setup script.  Also added a comment about how it *should* work on Mac OS.

24 years agoTypo fix -- it's 'ext_modules', not 'extensions'.
Greg Ward [Tue, 12 Sep 2000 23:08:53 +0000 (23:08 +0000)]
Typo fix -- it's 'ext_modules', not 'extensions'.

24 years agoSimplify some of the code. Use PyErr_Format() instead of sprintf(), etc.
Fred Drake [Tue, 12 Sep 2000 21:58:06 +0000 (21:58 +0000)]
Simplify some of the code.  Use PyErr_Format() instead of sprintf(), etc.
Reduces lines of code and compiled object size.

24 years agoDocumentation is good. Let's release more.
Fred Drake [Tue, 12 Sep 2000 21:08:55 +0000 (21:08 +0000)]
Documentation is good.  Let's release more.

24 years agoMake this script handle PyVarObject* functions as well as PyObject*
Fred Drake [Tue, 12 Sep 2000 20:47:29 +0000 (20:47 +0000)]
Make this script handle PyVarObject* functions as well as PyObject*
functions.

24 years agoAdded a note that multiple threads breaks command-.
Jack Jansen [Tue, 12 Sep 2000 20:40:55 +0000 (20:40 +0000)]
Added a note that multiple threads breaks command-.

24 years agoThomas Wouters <thomas@xs4all.net>:
Fred Drake [Tue, 12 Sep 2000 20:32:18 +0000 (20:32 +0000)]
Thomas Wouters <thomas@xs4all.net>:

Reference manual docs for augmented assignment.

This closes SourceForge patch #101418.

24 years agoThomas Wouters <thomas@xs4all.net>:
Fred Drake [Tue, 12 Sep 2000 20:27:05 +0000 (20:27 +0000)]
Thomas Wouters <thomas@xs4all.net>:
Fix up some of the PyNumber_*() documentation.
Add documentation for the InPlace API calls.

24 years agoMoved to Unsupported.
Jack Jansen [Tue, 12 Sep 2000 20:24:50 +0000 (20:24 +0000)]
Moved to Unsupported.

24 years agoVladimir Marangozov <Vladimir.Marangozov@inrialpes.fr>:
Fred Drake [Tue, 12 Sep 2000 20:17:17 +0000 (20:17 +0000)]
Vladimir Marangozov <Vladimir.Marangozov@inrialpes.fr>:
Here are some changes to the C API docs. The memory examples & API have
been updated because one malloc family is gone (Py_Malloc).
You'll see other small additions to the "building new types" section
for completeness and some cleanup at the end of the memory section.

24 years agoRe-wrapped some wide comments.
Fred Drake [Tue, 12 Sep 2000 20:13:04 +0000 (20:13 +0000)]
Re-wrapped some wide comments.

Fixed Module Index generation.

24 years agoAdd note that the various \see* macros are only defined in the context
Fred Drake [Tue, 12 Sep 2000 19:58:10 +0000 (19:58 +0000)]
Add note that the various \see* macros are only defined in the context
of a seealso environment.

24 years agoChange the title of the link to the document index to be more specific.
Fred Drake [Tue, 12 Sep 2000 19:53:18 +0000 (19:53 +0000)]
Change the title of the link to the document index to be more specific.

24 years agoAdd a reference item pointing to the Namespaces in XML recommendation.
Fred Drake [Tue, 12 Sep 2000 17:53:48 +0000 (17:53 +0000)]
Add a reference item pointing to the Namespaces in XML recommendation.

Convert the existing reference items to \seetitle markup.

24 years ago\seetitle: New macro for building reference list content.
Fred Drake [Tue, 12 Sep 2000 17:52:33 +0000 (17:52 +0000)]
\seetitle:  New macro for building reference list content.

24 years agoWhen referring to namespaces, always say "namespaces" instead of
Fred Drake [Tue, 12 Sep 2000 16:23:48 +0000 (16:23 +0000)]
When referring to namespaces, always say "namespaces" instead of
"name spaces".

Inconsistency noted by Keith Briggs <keith.briggs@bt.com>.

24 years agoAdded documentation for PySequence_Fast() and PySequence_Fast_GET_ITEM().
Fred Drake [Tue, 12 Sep 2000 15:22:05 +0000 (15:22 +0000)]
Added documentation for PySequence_Fast() and PySequence_Fast_GET_ITEM().

24 years agoWhen formatting the API manual, use the generated api.tex rather than
Fred Drake [Tue, 12 Sep 2000 15:20:54 +0000 (15:20 +0000)]
When formatting the API manual, use the generated api.tex rather than
the original, since the refcount information has been added there.

24 years agoBastian Kleineidam: fix so it cleans up the temporary script-building
Greg Ward [Tue, 12 Sep 2000 00:07:49 +0000 (00:07 +0000)]
Bastian Kleineidam: fix so it cleans up the temporary script-building
directory too.  Also generally cleaned up the code.

24 years agoUpped SIZE to 16MB so IDE can run test.autotest (sigh).
Jack Jansen [Mon, 11 Sep 2000 22:47:48 +0000 (22:47 +0000)]
Upped SIZE to 16MB so IDE can run test.autotest (sigh).

24 years agoFinal tweaks for 2.0b1
Jack Jansen [Mon, 11 Sep 2000 22:47:12 +0000 (22:47 +0000)]
Final tweaks for 2.0b1

24 years agoDeleted ancient file.
Guido van Rossum [Mon, 11 Sep 2000 22:08:27 +0000 (22:08 +0000)]
Deleted ancient file.

24 years agoadd index entries for list comprehensions
Skip Montanaro [Mon, 11 Sep 2000 16:31:55 +0000 (16:31 +0000)]
add index entries for list comprehensions

24 years agoWindows installer: In the Start menu IDLE shortcut, explictly invoke the
Tim Peters [Mon, 11 Sep 2000 07:55:40 +0000 (07:55 +0000)]
Windows installer:  In the Start menu IDLE shortcut, explictly invoke the
pythonw.exe we just installed.  Making Windows key off the .pyw extension
instead screws people with multiple Python installations (reported more
than once on c.l.py).

24 years agoSome updates and fix a bunch of really small consistency nits.
Fred Drake [Mon, 11 Sep 2000 05:23:25 +0000 (05:23 +0000)]
Some updates and fix a bunch of really small consistency nits.

24 years agoAdd documentation for the \pep and \seepep macros.
Fred Drake [Mon, 11 Sep 2000 05:22:30 +0000 (05:22 +0000)]
Add documentation for the \pep and \seepep macros.

24 years agoUntabify. When compiling in -tt mode, an inconsistent Tab use error
Fred Drake [Mon, 11 Sep 2000 04:00:46 +0000 (04:00 +0000)]
Untabify.  When compiling in -tt mode, an inconsistent Tab use error
was raised.  This occurred during installation.

24 years agoDelete some debugging prints.
Greg Ward [Mon, 11 Sep 2000 00:50:37 +0000 (00:50 +0000)]
Delete some debugging prints.

24 years agoAdded --plat-name option to override sysconfig.get_platform() in
Greg Ward [Mon, 11 Sep 2000 00:47:35 +0000 (00:47 +0000)]
Added --plat-name option to override sysconfig.get_platform() in
generated filenames.

24 years agoMinor tweaks to get rid of some '\XXX' remarks.
Greg Ward [Mon, 11 Sep 2000 00:33:15 +0000 (00:33 +0000)]
Minor tweaks to get rid of some '\XXX' remarks.

24 years agoThis shouldn't have been here in the first place.
Jack Jansen [Sun, 10 Sep 2000 20:45:10 +0000 (20:45 +0000)]
This shouldn't have been here in the first place.

24 years agoRelease notes for 2.0b1. It is not much, but I can't find all the info back:-(
Jack Jansen [Sun, 10 Sep 2000 12:17:31 +0000 (12:17 +0000)]
Release notes for 2.0b1. It is not much, but I can't find all the info back:-(

24 years agoDon't include various of the Lib:plat-* folders.
Jack Jansen [Sun, 10 Sep 2000 12:03:57 +0000 (12:03 +0000)]
Don't include various of the Lib:plat-* folders.

24 years agoThe logic for finding long matches before short ones was wrong (why did I never notic...
Jack Jansen [Sun, 10 Sep 2000 12:03:06 +0000 (12:03 +0000)]
The logic for finding long matches before short ones was wrong (why did I never notice this??!?), fixed.

24 years agoUpdated for 2.0b1
Jack Jansen [Sun, 10 Sep 2000 12:02:28 +0000 (12:02 +0000)]
Updated for 2.0b1

24 years agoPatch for [ Bug #113828 ] getpythonregpath with null data in registry key
Mark Hammond [Sun, 10 Sep 2000 09:14:53 +0000 (09:14 +0000)]
Patch for [ Bug #113828 ] getpythonregpath with null data in registry key
If there was a NULL registry key, Python could barf.

Also wraps some surrounding lines to 80 chars.

24 years agoGeneral cleanup in preparation for a bugfix: removed unused code, useless
Tim Peters [Sun, 10 Sep 2000 05:22:54 +0000 (05:22 +0000)]
General cleanup in preparation for a bugfix:  removed unused code, useless
declarations, added some comments where I had to think too hard to
understand what was happening, and changed the primary internal get/set
functions to assert they're passed objects of the correct type instead of
doing runtime tests for that (it's an internal error that "should never
happen", so it's good enough to check it only in the debug build).

24 years agoAdded --python and --fix-python options for better control over what
Greg Ward [Sun, 10 Sep 2000 01:21:27 +0000 (01:21 +0000)]
Added --python and --fix-python options for better control over what
  interpreter the .spec file refers to.
Cosmetic tweaks.

24 years agoClose SF bug 110826: a complaint about the way Python #define'd NULL.
Tim Peters [Sun, 10 Sep 2000 01:02:41 +0000 (01:02 +0000)]
Close SF bug 110826:  a complaint about the way Python #define'd NULL.
It's hard to sort out what the bug was, exactly.  So, Big Hammer:

1. Python shouldn't be in the business of #define'ing NULL, period.
2. Users of the Python C API shouldn't be in the business of not including
   Python.h, period.

Hence:

1. Removed all #define's of NULL in Python source code (pyport.h and
   object.h).
2. Since we're *relying* on stdio.h defining NULL, put an #error in
   Python.h after its #include of stdio.h if NULL isn't defined then.

24 years agoThe installer now displays info about version of distutils
Thomas Heller [Sat, 9 Sep 2000 21:15:12 +0000 (21:15 +0000)]
The installer now displays info about version of distutils
used to create the distribution and the creation date.

Takes care of the extra_path argument to the setup function,
installs the modules into <prefix>/extra_path and creates
a -pth file (like install_lib does).

24 years agoThe windows installer must also look under the HKEY_CURRENT_USER key
Thomas Heller [Sat, 9 Sep 2000 19:52:49 +0000 (19:52 +0000)]
The windows installer must also look under the HKEY_CURRENT_USER key
for python installations, not only under HKEY_LOCAL_MACHINE.

24 years agoDo not try to fix bugs while sleeping.
Fred Drake [Sat, 9 Sep 2000 06:29:35 +0000 (06:29 +0000)]
Do not try to fix bugs while sleeping.

Paid more attention to the comments on the report; Martin suggested just
not having a __del__() method, which makes more sense in this case.  So
I have removed it.

This closes SourceForge bug #113850.  Again.

24 years agoKevin Jacobs <jacobs@darwin.cwru.edu>:
Fred Drake [Sat, 9 Sep 2000 06:26:40 +0000 (06:26 +0000)]
Kevin Jacobs <jacobs@darwin.cwru.edu>:
The posixfile __del__ method attempts to close the file (_file_) it
contains. However, if the open() method fails, then _file_ is never
assigned.

This closes SourceForge bug #113850.

24 years agoFix for bug 113934. string*n and unicode*n did no overflow checking at
Tim Peters [Sat, 9 Sep 2000 06:13:41 +0000 (06:13 +0000)]
Fix for bug 113934.  string*n and unicode*n did no overflow checking at
all, either to see whether the # of chars fit in an int, or that the
amount of memory needed fit in a size_t.  Checking these is expensive, but
the alternative is silently wrong answers (as in the bug report) or
core dumps (which were easy to provoke using Unicode strings).

24 years agoAdd support for new \pep, \seepep, excclassdesc markup.
Fred Drake [Sat, 9 Sep 2000 06:07:37 +0000 (06:07 +0000)]
Add support for new \pep, \seepep, excclassdesc markup.

Update processing of module synopsis tables (found at the beginning of
most chapters of the library reference) to reflect changes in the
processing pattern of recent versions LaTeX2HMTL.  Requires most
recent change to SynopsisTable.pm.

This does not fix the module index problem.

24 years agoexcclassdesc: New environment. For use in documenting class-based
Fred Drake [Sat, 9 Sep 2000 06:01:25 +0000 (06:01 +0000)]
excclassdesc:  New environment.  For use in documenting class-based
        exceptions which have interesting constructor signatures.

\pep, \seepep:  New macros.  Equivalent to \rfc and \seerfc, but
        referring to the PEP series instead of the Internet RFC
        series of documents.

24 years agoAdd support for a filename to record the name of the node in which the
Fred Drake [Sat, 9 Sep 2000 05:53:41 +0000 (05:53 +0000)]
Add support for a filename to record the name of the node in which the
table will be presented.  Accessor methods are used to access the
attribute.

24 years agoAdd a reference to the material on string methods.
Fred Drake [Sat, 9 Sep 2000 05:34:06 +0000 (05:34 +0000)]
Add a reference to the material on string methods.

24 years agoVarious clarifications and minor nits fixed. Affected descriptions of
Fred Drake [Sat, 9 Sep 2000 03:33:42 +0000 (03:33 +0000)]
Various clarifications and minor nits fixed.  Affected descriptions of
input(), locals(), reload(), unicode(), and zip().

24 years agoReally minor consistency nit.
Fred Drake [Sat, 9 Sep 2000 03:31:17 +0000 (03:31 +0000)]
Really minor consistency nit.

24 years agoImprove a couple of references to the language reference, making them
Fred Drake [Sat, 9 Sep 2000 03:30:34 +0000 (03:30 +0000)]
Improve a couple of references to the language reference, making them
hyperlinks to relevant sections.

Clarify the conditions under which the "softspace" attribute of file-like
objects can "just work" (with relation to overriding of attribute access
in user-defined classes).

24 years agoMinor clarifications in the introductory paragraph.
Fred Drake [Sat, 9 Sep 2000 03:28:00 +0000 (03:28 +0000)]
Minor clarifications in the introductory paragraph.

24 years agoAdd \modulesynopsis for inclusion in the list of modules at the beginning
Fred Drake [Sat, 9 Sep 2000 03:26:51 +0000 (03:26 +0000)]
Add \modulesynopsis for inclusion in the list of modules at the beginning
of the chapter.

Add explanation that this is only available when the cycle detector is
enabled at build time.

24 years agoMove the "See also" section to a location more consistent with other
Fred Drake [Sat, 9 Sep 2000 03:25:11 +0000 (03:25 +0000)]
Move the "See also" section to a location more consistent with other
module sections.  Properly mark the name of the module in the content
of the reference there.