Commit graph

13629 commits

Author SHA1 Message Date
Fred Drake
728819af5d Restore strict checking of socket address values; addresses passed to
the bind(), connect(), and connect_ex() methods must be a single
parameter.

Originally part of 1.98, reverted in 1.100.
2000-07-01 03:40:12 +00:00
Guido van Rossum
54610f31cc output for openpty test 2000-07-01 03:34:14 +00:00
Guido van Rossum
3e4d2f6dcf Define a magical symbol and magic include path so it will compile without
changes to the bsddb source.
2000-07-01 03:27:22 +00:00
Mark Hammond
2c62154e98 Add ucnhash to the workspace, as a dependency of python20. 2000-07-01 03:15:37 +00:00
Mark Hammond
5824f373d4 ucnhash now correctly builds for Windows. 2000-07-01 03:14:51 +00:00
Mark Hammond
9802255444 Update all projects so Debug builds use "/Zi" instead of "/ZI", which means everything should still build under MSVC5
NOTE:  All these projects had messed-up line endings (but MSVC didnt mind).  Executing a diff with "--ignore-all-space" will show the specific changes, but I made a complete checkin with correct line endiings as it is the correct thing to do!
2000-07-01 03:12:59 +00:00
Tim Peters
610a827b13 Repaired two URLs. 2000-07-01 02:51:23 +00:00
Fred Drake
b906d2ee66 Do not build the "longhtml" version for pre-release versions. 2000-07-01 02:37:37 +00:00
Fred Drake
1cd3c14034 The new copyright / license. 2000-07-01 01:41:55 +00:00
Guido van Rossum
a0f7e8574c Thomas Wouters: Test script for openpty() 2000-07-01 01:13:31 +00:00
Guido van Rossum
db67739d4f Jack Jansen, Mac patch:
Include limits.h if we have it.
2000-07-01 01:09:43 +00:00
Guido van Rossum
f12d7a02a0 Jack Jansen, Mac patch:
If we have stat.h include it if we don't have sys/stat.h
2000-07-01 01:08:11 +00:00
Guido van Rossum
63e97ad4ea Jack Jansen, Mac patch:
Include stat.h if needed; different Mac filename compare
2000-07-01 01:06:56 +00:00
Guido van Rossum
4cc6ac7b87 Neil Schemenauer: small fixes for GC 2000-07-01 01:00:38 +00:00
Guido van Rossum
ce8e1dc395 clean up warnings in Win32 build of mmapmodule.c 2000-07-01 00:51:51 +00:00
Guido van Rossum
9f754e0e2d In b_setitem(), instead of the platform dependent CHAR_MIN and
CHAR_MAX, use hardcoded -128 and 127.  This may seem strange, unless
you realize that we're talking about signed bytes here!  Bytes are
always 8 bits and 2's complement.  CHAR_MIN and CHAR_MAX are
properties of the char data type, which is guaranteed to hold at least
8 bits anyway.

Otherwise you'd get failing tests on platforms where unsigned char is
the default (e.g. AIX).

Thanks, Vladimir Marangozov, for finding this nit!
2000-07-01 00:38:19 +00:00
Guido van Rossum
973e4dcaff Update a bunch of URLs. No longer suggests to join PSA or Consortium. 2000-07-01 00:34:39 +00:00
Andrew M. Kuchling
a6161edf02 Refer to "Authors", plural 2000-07-01 00:23:02 +00:00
Guido van Rossum
ef4bb5ffe1 Change copyright notice. 2000-07-01 00:16:13 +00:00
Andrew M. Kuchling
8357c4c9c6 Update the version number in an example 2000-07-01 00:14:43 +00:00
Andrew M. Kuchling
70ba382788 Updated the URL for Python 2.0 2000-07-01 00:13:30 +00:00
Tim Peters
4b5fb0772e Update for 2.0b1. Also add more text, to be more explicit about
what the dozen+ subprojects are for, which are and aren't
expected to build out of the box, and what else is needed to get
them all to build.  Also explained that Alpha configurations
don't refer to pre-beta, but to the Alpha processor!  That's
baffled me for years <0.7 wink>.
2000-07-01 00:03:43 +00:00
Guido van Rossum
ffcc3813d8 Change copyright notice - 2nd try. 2000-06-30 23:58:06 +00:00
Guido van Rossum
fd71b9e9d4 Change copyright notice. 2000-06-30 23:50:40 +00:00
Fred Drake
4c136eefab Thomas Wouters <thomas@xs4all.net>:
Test case for the pty module.
2000-06-30 23:22:35 +00:00
Guido van Rossum
276fa43faf Fix another error on AIX by using a proper cast. 2000-06-30 23:04:18 +00:00
Guido van Rossum
9a15c211cf Fix an error on AIX by using a proper cast. 2000-06-30 22:46:04 +00:00
Guido van Rossum
64529cd7ce Crude way to fix a problem on AIX: #undef STAT before defining it. 2000-06-30 22:45:12 +00:00
Fredrik Lundh
55a4f4a528 - fixed code generation error in multiline mode
- fixed parser flag propagation (of all stupid bugs...)
2000-06-30 22:37:31 +00:00
Guido van Rossum
361b583e88 Only include <basetsd.h> for VC 6.0 and higher. 2000-06-30 22:17:53 +00:00
Fredrik Lundh
ef7bae6b2f replaced <some suitable mail address> with something slightly
more suitable.
2000-06-30 22:01:36 +00:00
Fredrik Lundh
ef34bd2c0d -- changed $ to match before a trailing newline, even
if the multiline flag isn't given.
2000-06-30 21:40:20 +00:00
Guido van Rossum
47674029e1 As Neil Schemenauer points out, WITH_CYCLE_GC should be uncommented if
we want to have GC enabled in the beta.
2000-06-30 20:31:50 +00:00
Fred Drake
b6e54adb1a Ooops! I didn't finish all the renaming needed here, so this was
attempting a recursive import and causing a fatal error.
2000-06-30 20:31:39 +00:00
Guido van Rossum
8173d99eec Add back a missing CRLF line ending. 2000-06-30 20:30:03 +00:00
Guido van Rossum
8f8e2428f7 s/REGENTS/COPYRIGHT HOLDERS/ followed by paragraph reflow. 2000-06-30 20:22:36 +00:00
Fred Drake
96fee02917 Output for test_winreg2.
Someone who knows what they are doing needs to replace this with something
that makes sense -- I'm not running Windows right now.
2000-06-30 19:38:16 +00:00
Greg Ward
1b5ec76190 Simplify the registry-module-finding code: _winreg or win32api/win32con.
This'll work fine with 2.0 or 1.5.2, but is less than ideal for
1.6a1/a2.  But the code to accomodate 1.6a1/a2 was released with
Distutils 0.9, so it can go away now.
2000-06-30 19:37:59 +00:00
Fred Drake
2658d15d45 Paul Prescod <paul@prescod.net>:
Regression test for the new winreg.py module.

[Could a Windows person someone please review this?]
2000-06-30 19:36:23 +00:00
Fred Drake
0412e494b8 Line-wrap and properly indent a couple of docstrings. 2000-06-30 19:33:35 +00:00
Fred Drake
f857ac97e9 Ignore the generated api.tex. 2000-06-30 19:25:41 +00:00
Fred Drake
1d758b0108 The new copyright / license. 2000-06-30 18:41:01 +00:00
Fredrik Lundh
4ccea94152 - reverted to "\x is binary byte"
- removed evil tabs from sre_parse and sre_compile
2000-06-30 18:39:20 +00:00
Fred Drake
1739be50cb Small grammatical correction from Frank Stajano. Added comment with
suggestion from Frank for an example and further explanation.
2000-06-30 17:58:34 +00:00
Fred Drake
46346ec14e Try to make sure \code always uses roman (non-italic) text.
Change a 1.6 version number used in a an example in a comment to 2.0.
2000-06-30 17:57:05 +00:00
Fred Drake
25e1726d31 [*** Not tested as I don't have Windows running right now! ***]
Trent Mick <trentm@activestate.com>:

Fix PC/msvcrtmodule.c and PC/winreg.c for Win64. Basically:

- sizeof(HKEY) > sizeof(long) on Win64, so use PyLong_FromVoidPtr()
instead of PyInt_FromLong() to return HKEY values on Win64

- Check for string overflow of an arbitrary registry value (I know
that ensuring that a registry value does not overflow 2**31 characters
seems ridiculous but it is *possible*).

Closes SourceForge patch #100517.
2000-06-30 17:48:51 +00:00
Jeremy Hylton
7efcafb994 add note about what happened to Python 1.6
also, fix type (not caught by Rob Hooft, but could have been :-)
2000-06-30 17:30:18 +00:00
Barry Warsaw
a0f3c5c8d5 Document --with-thread as deprecated. This gets rid of the annoying
newline in configure --help.
2000-06-30 16:39:35 +00:00
Skip Montanaro
ab1c7918f6 * added a randomize flag and corresponding -r command line argument that
allows the caller to execute the various tests in pseudo-random order -
  default is still to execute tests in the order returned by findtests().

* moved initialization of the various flag variables to the main() function
  definition, making it possible to execute regrtest.main() interactively
  and still override default behavior.
2000-06-30 16:39:27 +00:00
Guido van Rossum
2850d18615 Switch to sre for regular expression matching (the new mini-re module
is actually by Fredrik Lundh).  This will break the re tests --
Fredrik will fix this before the final release.
2000-06-30 16:25:20 +00:00