Commit Graph

14419 Commits

Author SHA1 Message Date
Fred Drake
8ff4cd7512 Minor markup revisions for consistency with the rest of the documentation. 2000-09-05 13:50:21 +00:00
Fred Drake
0d83f68fc9 Added entry for mmap module. 2000-09-05 13:49:30 +00:00
Guido van Rossum
e905e95721 Barry Warsaw: Fixed -+ operator. Added some new sections. Leave some
XXX notes for now.

I could use help here!!!!  Please mail me patches ASAP.  We may have
to put some of this off to 2.0final, but it's best to have it in shape
now...
2000-09-05 12:42:46 +00:00
Tim Peters
87106b58cf Now that I've got real docs, redirect _DOC_ out of the Python 1.6 tree and
to the new docs.
Added a description to the Tcl/Tk file copies.
2000-09-05 06:23:16 +00:00
Guido van Rossum
e2ab1451cf The usual. 2000-09-05 04:49:50 +00:00
Guido van Rossum
10912854a2 Sh*t! Should use $(srcdir)/LICENSE of course. 2000-09-05 04:46:32 +00:00
Guido van Rossum
cd28b0210f Install LICENSE as LICENSE.txt in the <prefix>/lib/python<version>
directory.
2000-09-05 04:44:48 +00:00
Guido van Rossum
a22865ec44 Instead of printing all 9 lines of copyright info, print
"Type \"copyright\", \"credits\" or \"license\" for more information."
2000-09-05 04:41:18 +00:00
Guido van Rossum
f26cda62b6 The GCC version is loooooooooong; put it on a new line. 2000-09-05 04:40:39 +00:00
Guido van Rossum
d1252395bd Add new builtin commands "copyright", "license", "credits" which
display the information you would expect them to display.
2000-09-05 04:39:55 +00:00
Guido van Rossum
f2ffce0518 Added the 2.0b1 news. 2000-09-05 04:38:34 +00:00
Fred Drake
c28425f4c6 Update license according to the LICENSE file in the source tree. 2000-09-05 04:32:26 +00:00
Fred Drake
05e4ef01a2 Set the date. 2000-09-05 03:13:38 +00:00
Guido van Rossum
82271161cc 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.
2000-09-05 03:05:07 +00:00
Greg Ward
47f99a6174 Fleshed out the section on the setup config file, setup.cfg.
Added a few clarifying footnotes and cross-references.
Various minor tweaks.
2000-09-04 20:07:15 +00:00
Andrew M. Kuchling
5e08a01a98 Various corrections pointed out by Detlef Lannert 2000-09-04 17:59:27 +00:00
Guido van Rossum
f2eac99a4f Added release dates (in some cases detemined by looking at the mtime
of distribution files in ftp://ftp.python.org/pub/python/src/).
2000-09-04 17:24:24 +00:00
Guido van Rossum
a598c93b11 1.6 is history. 2000-09-04 16:26:03 +00:00
Guido van Rossum
1d105d15d3 For this server to work on Windows, directories should use "/" as the
separator in the href, not os.sep.

Added a <title> tag to directory listings.

Bumped version to 0.5.
2000-09-04 15:55:31 +00:00
Guido van Rossum
410a84441d 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."
2000-09-04 12:11:50 +00:00
Tim Peters
50699215f8 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).
2000-09-04 07:34:06 +00:00
Skip Montanaro
b89f41efbc 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.
2000-09-04 04:06:05 +00:00
Andrew M. Kuchling
2cb176f327 Correct docstring about return value when group didn't participate in match
(pointed out by /F)
2000-09-04 03:19:48 +00:00
Guido van Rossum
f4d189f70b All right. More uniformity, and extra blank lines. 2000-09-04 01:27:04 +00:00
Guido van Rossum
7ca7b5ac93 Use periods, not semicolons between Copyright and All Rights Reserved. 2000-09-04 01:22:12 +00:00
Guido van Rossum
2e0d3311f7 Changes in license names by BobW. 2000-09-04 00:58:48 +00:00
Vladimir Marangozov
547936c86f Fix the char* vs. const char* mismatch for the argument of aix_loaderror() 2000-09-04 00:54:56 +00:00
Vladimir Marangozov
58e64a82ee Move down the INT_MAX logic, because HAVE_LIMITS_H was always undefined
and this breaks the AIX build with an INT_MAX redefinition error.
"config.h" is included in pgenheaders.h, so moving this down fixes the
problem.
2000-09-03 23:47:08 +00:00
Guido van Rossum
1d62f492b0 Hack the Windows code to use os.popen().
The returned file is assigned to an instance variable;
otherwise the implied close hangs for a long time.
2000-09-03 17:12:50 +00:00
Guido van Rossum
ac1c818f13 Properly name and number the BEOPEN OPEN SOURCE PYTHON LICENSE
AGREEMENT VERSION 1.

trade name -> trade names.

Note: depending on community feedback, we may end up taking the dual
licensing clause out for 2.0b1, and put it back into 2.0final, if
there's no other solution for assuring GPL compatibility by then.

See my message to python-dev and license-py20.
2000-09-03 13:21:38 +00:00
Fredrik Lundh
df84675f93 changed \x to consume exactly two hex digits, also for unicode
strings.  closes PEP-223.

also added \U escape (eight hex digits).
2000-09-03 11:29:49 +00:00
Fredrik Lundh
03dd010b4f updated SRE test suite (fixes PEP223 problem, shows syntax errors) 2000-09-03 10:43:16 +00:00
Tim Peters
acee48628d Repair failing test_sre.py.
This was a funny one!  The test very subtly relied on 1.5.2's
behavior of treating "\x%" as "\x%", i.e. ignoring that was an
\x escape that didn't make sense.  But /F implemented PEP 223,
which causes 2.0 to raise an exception on the bad escape.
Fixed by merely making the 3 such strings of this kind into
raw strings.
2000-09-03 08:15:19 +00:00
Guido van Rossum
6ebd299cee Remove a comma from CWI's copyright notice. 2000-09-03 04:47:47 +00:00
Guido van Rossum
76ad68ae6e Change the copyright notice according to CNRI's wishes, with
BeOpen.com added to the front.

(Even if maybe we won't print this long banner at startup, the string
must still be defined for sys.copyright.)
2000-09-03 03:35:50 +00:00
Guido van Rossum
028d06938d Various edits. Most importantly, added dual licensing. Also some
changes suggested by BobW.
2000-09-03 03:13:44 +00:00
Fredrik Lundh
1fa0b895ec changed \x to consume exactly two hex digits. implements PEP-223
for 8-bit strings.
2000-09-02 20:11:27 +00:00
Fredrik Lundh
510c97ba2f return -1 for undefined groups (as implemented in 1.5.2) instead of
None (as documented) from start/end/span.  closes bug #113254
2000-09-02 16:36:57 +00:00
Guido van Rossum
ff07f8c7ea Patch by Martin von Löwis to give him his umlaut, to remove Christian
Tismer's clone, and to list Hajime Saitou's real name.

Added a note that the file uses Latin-1 (as distributed).
2000-09-02 15:01:50 +00:00
Fredrik Lundh
143328ba63 -- tightened up parsing of octal numbers
-- improved the SRE test harness: don't use asserts, test a few more
   things (including more boundary conditions)
2000-09-02 11:03:34 +00:00
Tim Peters
412f246024 PyInterpreterState_New is not thread-safe, and the recent fix to _PyPclose
can cause it to get called by multiple threads simultaneously.

Ditto for PyInterpreterState_Delete.

Of the former, the docs say "The interpreter lock need not be held, but may
be held if it is necessary to serialize calls to this function".  This
kinda implies it both is and isn't thread-safe.

Of the latter, the docs merely say "The interpreter lock need not be
held.", and the clause about serializing is absent.

I expect it was *believed* these are both thread-safe, and the bit about
serializing via the global lock was meant as a permission rather than a
caution.

I also expect we've never seen a problem here because the Python core
(prior to the _PyPclose fix) only calls these functions once per run.
The Py_NewInterpreter subsystem exposed by the C API (but not used by
Python itself) also calls them, but that subsystem appears to be very
rarely used.

Whatever, they're both thread-safe now.
2000-09-02 09:16:15 +00:00
Thomas Wouters
f2b332dc7e Cosmetic cleanup by Vladimir. 2000-09-02 08:34:40 +00:00
Tim Peters
17289426e2 SourceForge patch 101396, by an anonymous friend.
"sre_parse.py missing '7' in DIGITS"
2000-09-02 07:44:32 +00:00
Guido van Rossum
8586991099 REMOVED all CWI, CNRI and BeOpen copyright markings.
This should match the situation in the 1.6b1 tree.
2000-09-01 23:29:29 +00:00
Guido van Rossum
bb8be93a50 Rewritten some pieces of PyNumber_InPlaceAdd() for clarity. 2000-09-01 23:27:32 +00:00
Guido van Rossum
46981de633 Updated to include all files here. 2000-09-01 23:22:12 +00:00
Guido van Rossum
752435773b Delete too. 2000-09-01 23:21:04 +00:00
Guido van Rossum
73eec6360b Deleted. Long obsolete. 2000-09-01 23:18:22 +00:00
Guido van Rossum
0fdd3dcc45 Deleted. We no longer require disclaimers on contributions. 2000-09-01 23:16:41 +00:00
Guido van Rossum
2d721e2506 Deleted; this is ancient info. 2000-09-01 23:15:38 +00:00