Andrew M. Kuchling [Sat, 1 Jul 2000 12:33:43 +0000 (12:33 +0000)]
Changes from Moshe:
- distutils: Windows installers are already working
- string methods: .join() seems to be the concensus, so it should probably
be docommented
- filecmp.py supersedes cmp, cmpcache and dircmp
- winreg is completely new: _winreg is an adaptation of what used to be in
win32api, and winreg is a Python implementation which adds OO syntax.
Perhaps you know that, but the text is misleading.
Guido van Rossum [Sat, 1 Jul 2000 10:52:49 +0000 (10:52 +0000)]
getatime() returned the mtime instead of the atime.
Similar to an old bug in ntpath.py.
Fred Drake [Sat, 1 Jul 2000 07:03:30 +0000 (07:03 +0000)]
Fix bug #314, reported by Craig Allen <cba@mediaone.net>:
splittype(): Always lower-case the URL scheme; these are supposed to be
normalized according to RFC 1738 anyway.
Fred Drake [Sat, 1 Jul 2000 06:36:51 +0000 (06:36 +0000)]
Fix bug #345 reported by David Bolen <db3l@fitlinxx.com>:
getatime() returned the mtime instead of the atime.
Similar to an old bug in posixpath.py.
Fred Drake [Sat, 1 Jul 2000 06:26:44 +0000 (06:26 +0000)]
Martin von Loewis <loewis@informatik.hu-berlin.de>:
Correct typo that caused a well-formedness failure.
Paul Prescod [Sat, 1 Jul 2000 04:58:47 +0000 (04:58 +0000)]
Reference cycle fixes
Barry Warsaw [Sat, 1 Jul 2000 04:45:52 +0000 (04:45 +0000)]
init_exceptions(): Decref `doc' so it doesn't leak.
Guido van Rossum [Sat, 1 Jul 2000 04:23:47 +0000 (04:23 +0000)]
the usual
Guido van Rossum [Sat, 1 Jul 2000 04:03:32 +0000 (04:03 +0000)]
A bunch of project files were checked in as text files.
They should all be binary (cvs admin -kv has now been applied).
Guido van Rossum [Sat, 1 Jul 2000 03:46:38 +0000 (03:46 +0000)]
Add ucnhash (new subproject).
Mark Hammond [Sat, 1 Jul 2000 03:43:33 +0000 (03:43 +0000)]
The Python include paths were not specified.
Fred Drake [Sat, 1 Jul 2000 03:40:12 +0000 (03:40 +0000)]
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.
Guido van Rossum [Sat, 1 Jul 2000 03:34:14 +0000 (03:34 +0000)]
output for openpty test
Guido van Rossum [Sat, 1 Jul 2000 03:27:22 +0000 (03:27 +0000)]
Define a magical symbol and magic include path so it will compile without
changes to the bsddb source.
Mark Hammond [Sat, 1 Jul 2000 03:15:37 +0000 (03:15 +0000)]
Add ucnhash to the workspace, as a dependency of python20.
Mark Hammond [Sat, 1 Jul 2000 03:14:51 +0000 (03:14 +0000)]
ucnhash now correctly builds for Windows.
Mark Hammond [Sat, 1 Jul 2000 03:12:59 +0000 (03:12 +0000)]
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!
Tim Peters [Sat, 1 Jul 2000 02:51:23 +0000 (02:51 +0000)]
Repaired two URLs.
Fred Drake [Sat, 1 Jul 2000 02:37:37 +0000 (02:37 +0000)]
Do not build the "longhtml" version for pre-release versions.
Fred Drake [Sat, 1 Jul 2000 01:41:55 +0000 (01:41 +0000)]
The new copyright / license.
Guido van Rossum [Sat, 1 Jul 2000 01:13:31 +0000 (01:13 +0000)]
Thomas Wouters: Test script for openpty()
Guido van Rossum [Sat, 1 Jul 2000 01:09:43 +0000 (01:09 +0000)]
Jack Jansen, Mac patch:
Include limits.h if we have it.
Guido van Rossum [Sat, 1 Jul 2000 01:08:11 +0000 (01:08 +0000)]
Jack Jansen, Mac patch:
If we have stat.h include it if we don't have sys/stat.h
Guido van Rossum [Sat, 1 Jul 2000 01:06:56 +0000 (01:06 +0000)]
Jack Jansen, Mac patch:
Include stat.h if needed; different Mac filename compare
Guido van Rossum [Sat, 1 Jul 2000 01:00:38 +0000 (01:00 +0000)]
Neil Schemenauer: small fixes for GC
Guido van Rossum [Sat, 1 Jul 2000 00:51:51 +0000 (00:51 +0000)]
clean up warnings in Win32 build of mmapmodule.c
Guido van Rossum [Sat, 1 Jul 2000 00:38:19 +0000 (00:38 +0000)]
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!
Guido van Rossum [Sat, 1 Jul 2000 00:34:39 +0000 (00:34 +0000)]
Update a bunch of URLs. No longer suggests to join PSA or Consortium.
Andrew M. Kuchling [Sat, 1 Jul 2000 00:23:02 +0000 (00:23 +0000)]
Refer to "Authors", plural
Guido van Rossum [Sat, 1 Jul 2000 00:16:13 +0000 (00:16 +0000)]
Change copyright notice.
Andrew M. Kuchling [Sat, 1 Jul 2000 00:14:43 +0000 (00:14 +0000)]
Update the version number in an example
Andrew M. Kuchling [Sat, 1 Jul 2000 00:13:30 +0000 (00:13 +0000)]
Updated the URL for Python 2.0
Tim Peters [Sat, 1 Jul 2000 00:03:43 +0000 (00:03 +0000)]
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>.
Guido van Rossum [Fri, 30 Jun 2000 23:58:06 +0000 (23:58 +0000)]
Change copyright notice - 2nd try.
Guido van Rossum [Fri, 30 Jun 2000 23:50:40 +0000 (23:50 +0000)]
Change copyright notice.
Fred Drake [Fri, 30 Jun 2000 23:22:35 +0000 (23:22 +0000)]
Thomas Wouters <thomas@xs4all.net>:
Test case for the pty module.
Guido van Rossum [Fri, 30 Jun 2000 23:04:18 +0000 (23:04 +0000)]
Fix another error on AIX by using a proper cast.
Guido van Rossum [Fri, 30 Jun 2000 22:46:04 +0000 (22:46 +0000)]
Fix an error on AIX by using a proper cast.
Guido van Rossum [Fri, 30 Jun 2000 22:45:12 +0000 (22:45 +0000)]
Crude way to fix a problem on AIX: #undef STAT before defining it.
Fredrik Lundh [Fri, 30 Jun 2000 22:37:31 +0000 (22:37 +0000)]
- fixed code generation error in multiline mode
- fixed parser flag propagation (of all stupid bugs...)
Guido van Rossum [Fri, 30 Jun 2000 22:17:53 +0000 (22:17 +0000)]
Only include <basetsd.h> for VC 6.0 and higher.
Fredrik Lundh [Fri, 30 Jun 2000 22:01:36 +0000 (22:01 +0000)]
replaced <some suitable mail address> with something slightly
more suitable.
Fredrik Lundh [Fri, 30 Jun 2000 21:40:20 +0000 (21:40 +0000)]
-- changed $ to match before a trailing newline, even
if the multiline flag isn't given.
Guido van Rossum [Fri, 30 Jun 2000 20:31:50 +0000 (20:31 +0000)]
As Neil Schemenauer points out, WITH_CYCLE_GC should be uncommented if
we want to have GC enabled in the beta.
Fred Drake [Fri, 30 Jun 2000 20:31:39 +0000 (20:31 +0000)]
Ooops! I didn't finish all the renaming needed here, so this was
attempting a recursive import and causing a fatal error.
Guido van Rossum [Fri, 30 Jun 2000 20:30:03 +0000 (20:30 +0000)]
Add back a missing CRLF line ending.
Guido van Rossum [Fri, 30 Jun 2000 20:22:36 +0000 (20:22 +0000)]
s/REGENTS/COPYRIGHT HOLDERS/ followed by paragraph reflow.
Fred Drake [Fri, 30 Jun 2000 19:38:16 +0000 (19:38 +0000)]
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.
Greg Ward [Fri, 30 Jun 2000 19:37:59 +0000 (19:37 +0000)]
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.
Fred Drake [Fri, 30 Jun 2000 19:36:23 +0000 (19:36 +0000)]
Paul Prescod <paul@prescod.net>:
Regression test for the new winreg.py module.
[Could a Windows person someone please review this?]
Fred Drake [Fri, 30 Jun 2000 19:33:35 +0000 (19:33 +0000)]
Line-wrap and properly indent a couple of docstrings.
Fred Drake [Fri, 30 Jun 2000 19:25:41 +0000 (19:25 +0000)]
Ignore the generated api.tex.
Fred Drake [Fri, 30 Jun 2000 18:41:01 +0000 (18:41 +0000)]
The new copyright / license.
Fredrik Lundh [Fri, 30 Jun 2000 18:39:20 +0000 (18:39 +0000)]
- reverted to "\x is binary byte"
- removed evil tabs from sre_parse and sre_compile
Fred Drake [Fri, 30 Jun 2000 17:58:34 +0000 (17:58 +0000)]
Small grammatical correction from Frank Stajano. Added comment with
suggestion from Frank for an example and further explanation.
Fred Drake [Fri, 30 Jun 2000 17:57:05 +0000 (17:57 +0000)]
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.
Fred Drake [Fri, 30 Jun 2000 17:48:51 +0000 (17:48 +0000)]
[*** 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.
Jeremy Hylton [Fri, 30 Jun 2000 17:30:18 +0000 (17:30 +0000)]
add note about what happened to Python 1.6
also, fix type (not caught by Rob Hooft, but could have been :-)
Barry Warsaw [Fri, 30 Jun 2000 16:39:35 +0000 (16:39 +0000)]
Document --with-thread as deprecated. This gets rid of the annoying
newline in configure --help.
Skip Montanaro [Fri, 30 Jun 2000 16:39:27 +0000 (16:39 +0000)]
* 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.
Guido van Rossum [Fri, 30 Jun 2000 16:25:20 +0000 (16:25 +0000)]
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.
Barry Warsaw [Fri, 30 Jun 2000 16:21:01 +0000 (16:21 +0000)]
Enable the garbage collection module by default. --without-cycle-gc
disables it. The gc test is moved to just after the thread test, as
is the wctype-functions test.
Modules/Setup.config is generated instead of Modules/Setup.thread.
Applied SF patch #100684 (loewis) to fix help alignment bug.
Fred Drake [Fri, 30 Jun 2000 16:20:13 +0000 (16:20 +0000)]
Trent Mick <trentm@activestate.com>:
The common technique for printing out a pointer has been to cast to a long
and use the "%lx" printf modifier. This is incorrect on Win64 where casting
to a long truncates the pointer. The "%p" formatter should be used instead.
The problem as stated by Tim:
> Unfortunately, the C committee refused to define what %p conversion "looks
> like" -- they explicitly allowed it to be implementation-defined. Older
> versions of Microsoft C even stuck a colon in the middle of the address (in
> the days of segment+offset addressing)!
The result is that the hex value of a pointer will maybe/maybe not have a 0x
prepended to it.
Notes on the patch:
There are two main classes of changes:
- in the various repr() functions that print out pointers
- debugging printf's in the various thread_*.h files (these are why the
patch is large)
Closes SourceForge patch #100505.
Fred Drake [Fri, 30 Jun 2000 16:18:57 +0000 (16:18 +0000)]
Trent Mick <trentm@activestate.com>:
This patch fixes possible overflow in the use of
PyOS_GetLastModificationTime in getmtime.c and Python/import.c.
Currently PyOS_GetLastModificationTime returns a C long. This can
overflow on Win64 where sizeof(time_t) > sizeof(long). Besides it
should logically return a time_t anyway (this patch changes this).
As well, import.c uses PyOS_GetLastModificationTime for .pyc
timestamping. There has been recent discussion about the .pyc header
format on python-dev. This patch adds oveflow checking to import.c so
that an exception will be raised if the modification time
overflows. There are a few other minor 64-bit readiness changes made
to the module as well:
- size_t instead of int or long for function-local buffer and string
length variables
- one buffer overflow check was added (raises an exception on possible
overflow, this overflow chance exists on 32-bit platforms as well), no
other possible buffer overflows existed (from my analysis anyway)
Closes SourceForge patch #100509.
Guido van Rossum [Fri, 30 Jun 2000 16:13:37 +0000 (16:13 +0000)]
the usual
Barry Warsaw [Fri, 30 Jun 2000 16:12:15 +0000 (16:12 +0000)]
Setup.thread.in was misnamed so it has been replaced by
Setup.config.in. The latter contains all configure-time selectable
modules; currently thread and gc.
Barry Warsaw [Fri, 30 Jun 2000 16:09:01 +0000 (16:09 +0000)]
Add Setup.config
Fred Drake [Fri, 30 Jun 2000 16:06:19 +0000 (16:06 +0000)]
Update version numbering from 1.6 to 2.0.
Barry Warsaw [Fri, 30 Jun 2000 16:05:22 +0000 (16:05 +0000)]
Removed the comment about the thread module.
Barry Warsaw [Fri, 30 Jun 2000 16:04:18 +0000 (16:04 +0000)]
Setup.thread => Setup.config
Barry Warsaw [Fri, 30 Jun 2000 16:02:58 +0000 (16:02 +0000)]
Added #undef of WITH_CYCLE_GC for autoconf's delight.
Fred Drake [Fri, 30 Jun 2000 15:54:18 +0000 (15:54 +0000)]
Update authors email address and corporate affiliation.
Fred Drake [Fri, 30 Jun 2000 15:52:39 +0000 (15:52 +0000)]
Uncomment some additions from Vladimir pertinent to 2.0 but not 1.5.2.
Mark Hammond [Fri, 30 Jun 2000 15:47:02 +0000 (15:47 +0000)]
Python's .lib is now named Python20.lib
Fred Drake [Fri, 30 Jun 2000 15:46:08 +0000 (15:46 +0000)]
Martin von Löwis <loewis@informatik.hu-berlin.de>:
Do not forget to install the xml packages!
Fred Drake [Fri, 30 Jun 2000 15:35:16 +0000 (15:35 +0000)]
Update the release number & date, Guido's employer.
Fred Drake [Fri, 30 Jun 2000 15:32:31 +0000 (15:32 +0000)]
Document randrange().
Fred Drake [Fri, 30 Jun 2000 15:30:33 +0000 (15:30 +0000)]
Fix an icon width; a "32" became a "3" somehow, and that did not look
as nice. ;)
Jeremy Hylton [Fri, 30 Jun 2000 15:13:15 +0000 (15:13 +0000)]
remove all prints (since the prints where of memory locations)
Fred Drake [Fri, 30 Jun 2000 15:01:00 +0000 (15:01 +0000)]
Trent Mick <trentm@activestate.com>:
The common technique for printing out a pointer has been to cast to a long
and use the "%lx" printf modifier. This is incorrect on Win64 where casting
to a long truncates the pointer. The "%p" formatter should be used instead.
The problem as stated by Tim:
> Unfortunately, the C committee refused to define what %p conversion "looks
> like" -- they explicitly allowed it to be implementation-defined. Older
> versions of Microsoft C even stuck a colon in the middle of the address (in
> the days of segment+offset addressing)!
The result is that the hex value of a pointer will maybe/maybe not have a 0x
prepended to it.
Notes on the patch:
There are two main classes of changes:
- in the various repr() functions that print out pointers
- debugging printf's in the various thread_*.h files (these are why the
patch is large)
Closes SourceForge patch #100505.
Marc-André Lemburg [Fri, 30 Jun 2000 14:58:20 +0000 (14:58 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
A previous patch by Jack Jansen was accidently reverted.
Guido van Rossum [Fri, 30 Jun 2000 14:55:26 +0000 (14:55 +0000)]
Oops.
- The Tcl minor version should be 3 -- we're now using 8.3.1.
- Remove the version number from yet another Tcl source file.
Note that Tcl should be installed in C:\src\tcl for this to work.
Guido van Rossum [Fri, 30 Jun 2000 14:50:52 +0000 (14:50 +0000)]
Poke and hope for Tcl version: now settable through _TCLMINOR_
variable...
Jeremy Hylton [Fri, 30 Jun 2000 14:38:41 +0000 (14:38 +0000)]
add gcmodule
Guido van Rossum [Fri, 30 Jun 2000 14:33:47 +0000 (14:33 +0000)]
Change the include etc paths to Tcl 8.3.1.
Guido van Rossum [Fri, 30 Jun 2000 14:30:28 +0000 (14:30 +0000)]
Move Wise install dir consistently to C:\Wise. Don't use %_WISE_% in
include, it doesn't seem to work.
Guido van Rossum [Fri, 30 Jun 2000 14:20:19 +0000 (14:20 +0000)]
Poke and hope for Tim...
(Change title to beta 1, change a few paths for typical Win98 setup.)
Guido van Rossum [Fri, 30 Jun 2000 14:04:10 +0000 (14:04 +0000)]
More 2.0 stuff -- fix workspace, remove 1.6 files
Fredrik Lundh [Fri, 30 Jun 2000 13:55:15 +0000 (13:55 +0000)]
the mad patcher strikes again:
-- added pickling support (only works if sre is imported)
-- fixed wordsize problems in engine
(instead of casting literals down to the character size,
cast characters up to the literal size (same as the code
word size). this prevents false hits when you're matching
a unicode pattern against an 8-bit string. (unfortunately,
this broke another test, but I think the test should be
changed in this case; more on that on python-dev)
-- added sre.purge function
(unofficial, clears the cache)
Guido van Rossum [Fri, 30 Jun 2000 13:00:32 +0000 (13:00 +0000)]
Trivial commit to test Windows CVS capabilities.
Andrew M. Kuchling [Fri, 30 Jun 2000 12:46:41 +0000 (12:46 +0000)]
Credit /F in a few places
Mention the GC module
Add MH's explanation of the Windows crash
Add atexit.py
Fredrik Lundh [Fri, 30 Jun 2000 10:41:31 +0000 (10:41 +0000)]
- fixed lookahead assertions (#10, #11, #12)
- untabified sre_constants.py
Marc-André Lemburg [Fri, 30 Jun 2000 10:30:35 +0000 (10:30 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Fixed a quote bug. Thanks to Fredrik Lundh.
Marc-André Lemburg [Fri, 30 Jun 2000 10:29:57 +0000 (10:29 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
New buffer overflow checks for formatting strings.
By Trent Mick.
Marc-André Lemburg [Fri, 30 Jun 2000 10:28:32 +0000 (10:28 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Added test output.
Marc-André Lemburg [Fri, 30 Jun 2000 10:26:29 +0000 (10:26 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
New test for huge formatting strings (these could cause core
dumps in previous versions).
By Trent Mick.
Marc-André Lemburg [Fri, 30 Jun 2000 09:56:00 +0000 (09:56 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Include <> -> "". Removed some left over code at the end of the file.
Patch by Bill Tutt.
Marc-André Lemburg [Fri, 30 Jun 2000 09:53:22 +0000 (09:53 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Include <> -> "". Patch by Bill Tutt.
Marc-André Lemburg [Fri, 30 Jun 2000 09:45:20 +0000 (09:45 +0000)]
New test for the ucnhash module.
Marc-André Lemburg [Fri, 30 Jun 2000 09:14:13 +0000 (09:14 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Updated test output (the ucn tests are now in test_ucn).