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.
Jack Jansen [Fri, 15 Sep 2000 22:44:08 +0000 (22:44 +0000)]
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.
Jeremy Hylton [Fri, 15 Sep 2000 20:06:57 +0000 (20:06 +0000)]
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
Fred Drake [Fri, 15 Sep 2000 15:19:35 +0000 (15:19 +0000)]
Update comments in the second paragraph, discussing versioning issues
related to the BSD DB library. Based on comments from Mark Summerfield
<summer@netcraft.com>.
Jeremy Hylton [Fri, 15 Sep 2000 15:14:51 +0000 (15:14 +0000)]
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
Tim Peters [Fri, 15 Sep 2000 07:44:49 +0000 (07:44 +0000)]
Closes SF bug 113894: on Windows, things like os.listdir("k:") and
glob.glob("k:*py") (i.e., a raw drive letter + colon at the start) were
using the root of the drive rather than the expected Windows behavior
of using the drive's "current directory".
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.
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.
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).
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
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.
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.
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.)
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.
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.
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.
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.
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.)
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).
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.