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).
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.
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).
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.
Add missing Py_PROTO macro for backward compatibility with old extensions
(sources) which may still use it and now fail to compile.
Reported by M-A Lemburg. Closes [ Bug #113576 ].
Fred Drake [Thu, 7 Sep 2000 18:55:08 +0000 (18:55 +0000)]
\file is not allowed in section titles -- converting to PDF fails due to
weird macro-expansion issues. A better solution may be available in the
future, but this will do for now.
Add an index entry. More should probably be added as well.
Thomas Heller [Thu, 7 Sep 2000 15:59:22 +0000 (15:59 +0000)]
Changes:
distutils/command/bdist_wininst.py:
- the windows installer is again able to compile after installing
the files. Note: The default has changed, the packager has to
give --no-target-compile/--no-target-optimize to NOT compile
on the target system. (Another note: install_lib's --compile
--optimize options have the same semantics to switch off
the compilation. Shouldn't the names change?)
- All references to specific python versions are gone.
- A small bug:
raise DistutilsPlatformError ("...")
instead of
raise DistutilsPlatformError, ("...")
- When bdist_wininst creates an installer for one specific python
version, this is reflected in the name:
Distutils-0.9.2.win32-py15.exe instead of
Distutils-0.9.2.win32.exe
- bdist_wininst, when run as script, reads the wininst.exe file
and rewrites itself. Previously this was done by hand.
misc/install.c
- All the changes needed for compilation
- Deleted a lot of debug/dead code
Tim Peters [Thu, 7 Sep 2000 08:34:01 +0000 (08:34 +0000)]
Windows installer, reflecting changes that went into a replacement 2.0b1
.exe that will show up on PythonLabs.com later today:
Include the Lib\xml\ package (directory + subdirectories).
Include the Lib\lib-old\ directory.
Include the Lib\test\*.xml test cases (well, just one now).
Remove the redundant install of Lib\*.py (looks like a stray duplicate
line that's been there a long time). Because of this, the new
installer is a little smaller despite having more stuff in it.
Bullet-proofing of 'make_release_tree()':
- 'mkpath()' the distribution dir in case of empty manifest
- warn if empty manifest
- detect, warn about, and skip non-regular files in manifest
Reorganized logic in 'get_file_list()' so it's easier to read, and fixed a
bug to boot: now works even if both MANIFEST and MANIFEST.in don't exist.
Don't hardcode setup.py, use 'self.distribution.script_name'.
Tim Peters [Tue, 5 Sep 2000 20:15:25 +0000 (20:15 +0000)]
Added Windows news. Also repeated 1.6 Windows news since most people getting
2.0b1 for Windows will not have bothered getting 1.6. Also changed
"Changed, New, Obsolete Tools" to say "None" since nobody had put an entry
there.
Jeremy Hylton [Tue, 5 Sep 2000 19:36:26 +0000 (19:36 +0000)]
All the NEWS that I could finish in 15 minutes (and then some)
Removed some attributions from the shorter entries in Changed Modules,
because that section is so long.
Many changes suggested by Bob Weiner, mostly small grammatical fixes
or other clarifications, with the occasional plug for BeOpen
PythonLabs thrown in. Also added a trademarks disclaimer.
Fred Drake [Tue, 5 Sep 2000 15:19:56 +0000 (15:19 +0000)]
Fix PDF generation.
The \\ introduced in the \author in boilerplate.tex broke the PDF
generation because line breaks are not allowed in the "Document Info"
metadata stored in the PDF file. This changes the line break to
a ", " (comma-space) in that context.
Since it looks like the dual license clause may be neither necessary
nor sufficient to make Python 2.0 compatible with the GPL, we won't
bother with it now.
In other words, we're still where we were weeks ago -- CNRI believes
that its license is GPL-compatible, Stallman says it's not. I'm
trying to arrange a meeting between their lawyers so they can work it
out. Whether dual licensing is the solution is open at this point.
If it is the (only!) solution, we'll add that to the BeOpen license
for 2.0 final.
Tim Peters: "Audun S. Runde mailto:audun@mindspring.com wins a
Fabulous Prize for being our first Windows ME tester! Also our only,
and I think he should get another prize just for that."
Tim Peters [Mon, 4 Sep 2000 07:34:06 +0000 (07:34 +0000)]
test_mmap wrote null bytes into its expected-output file; this caused me to
waste an hour tracking down an illusion; repaired it; writing/reading non-
printable characters (except \t\r\n) into/outof text-mode files ain't
defined x-platform, and at least some Windows text editors do surprising
things in their presence.
Also added a by-hand "build humber" to the Windows build, in an approximation
of Python's inexplicable BUILD-number Unix scheme. I'll try to remember to
increment it each time I make a Windows installer available. It's starting
at 2, cuz I've put 2 installers out so far (both with BUILD #0).
Fixes bug in --with-libdb. If --with-libdb was not specified (default is to
enable it), but db.h was not found, the WITH_LIBDB macros was still being
defined, resulting in compilation errors. Also added a short explain when
bsddb support wasn't enabled (because db.h wasn't found) when the user
explicitly used --with-libdb on the configure command line.