]> granicus.if.org Git - python/log
python
24 years agoPython's .lib is now named Python20.lib
Mark Hammond [Fri, 30 Jun 2000 15:47:02 +0000 (15:47 +0000)]
Python's .lib is now named Python20.lib

24 years agoMartin von Löwis <loewis@informatik.hu-berlin.de>:
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!

24 years agoUpdate the release number & date, Guido's employer.
Fred Drake [Fri, 30 Jun 2000 15:35:16 +0000 (15:35 +0000)]
Update the release number & date, Guido's employer.

24 years agoDocument randrange().
Fred Drake [Fri, 30 Jun 2000 15:32:31 +0000 (15:32 +0000)]
Document randrange().

24 years agoFix an icon width; a "32" became a "3" somehow, and that did not look
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. ;)

24 years agoremove all prints (since the prints where of memory locations)
Jeremy Hylton [Fri, 30 Jun 2000 15:13:15 +0000 (15:13 +0000)]
remove all prints (since the prints where of memory locations)

24 years agoTrent Mick <trentm@activestate.com>:
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.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
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.

24 years agoOops.
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.

24 years agoPoke and hope for Tcl version: now settable through _TCLMINOR_
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...

24 years agoadd gcmodule
Jeremy Hylton [Fri, 30 Jun 2000 14:38:41 +0000 (14:38 +0000)]
add gcmodule

24 years agoChange the include etc paths to Tcl 8.3.1.
Guido van Rossum [Fri, 30 Jun 2000 14:33:47 +0000 (14:33 +0000)]
Change the include etc paths to Tcl 8.3.1.

24 years agoMove Wise install dir consistently to C:\Wise. Don't use %_WISE_% in
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.

24 years agoPoke and hope for Tim...
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.)

24 years agoMore 2.0 stuff -- fix workspace, remove 1.6 files
Guido van Rossum [Fri, 30 Jun 2000 14:04:10 +0000 (14:04 +0000)]
More 2.0 stuff -- fix workspace, remove 1.6 files

24 years agothe mad patcher strikes again:
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)

24 years agoTrivial commit to test Windows CVS capabilities.
Guido van Rossum [Fri, 30 Jun 2000 13:00:32 +0000 (13:00 +0000)]
Trivial commit to test Windows CVS capabilities.

24 years agoCredit /F in a few places
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

24 years ago- fixed lookahead assertions (#10, #11, #12)
Fredrik Lundh [Fri, 30 Jun 2000 10:41:31 +0000 (10:41 +0000)]
- fixed lookahead assertions (#10, #11, #12)

- untabified sre_constants.py

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
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.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
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.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Fri, 30 Jun 2000 10:28:32 +0000 (10:28 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Added test output.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
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.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
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.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
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.

24 years agoNew test for the ucnhash module.
Marc-André Lemburg [Fri, 30 Jun 2000 09:45:20 +0000 (09:45 +0000)]
New test for the ucnhash module.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
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).

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Fri, 30 Jun 2000 09:13:35 +0000 (09:13 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Moved tests of new Unicode Char Name support to a separate test.

24 years ago- added support for (?P=name)
Fredrik Lundh [Fri, 30 Jun 2000 09:13:06 +0000 (09:13 +0000)]
- added support for (?P=name)
  (closes #3 and #7 from the status report)

24 years agoMaking a tiny change to figure out what I'm going to screw up
Tim Peters [Fri, 30 Jun 2000 09:04:35 +0000 (09:04 +0000)]
Making a tiny change to figure out what I'm going to screw up
by trying to use CVS under Windows at all ...

24 years ago- pedantic: make sure "python -t" doesn't complain...
Fredrik Lundh [Fri, 30 Jun 2000 07:50:59 +0000 (07:50 +0000)]
- pedantic: make sure "python -t" doesn't complain...

24 years ago- fixed default value handling in group/groupdict
Fredrik Lundh [Fri, 30 Jun 2000 07:08:20 +0000 (07:08 +0000)]
- fixed default value handling in group/groupdict

- added test suite

24 years agoDescribe a bit about writing test cases for Python...
Skip Montanaro [Fri, 30 Jun 2000 06:08:35 +0000 (06:08 +0000)]
Describe a bit about writing test cases for Python...

24 years agofinal patches from Neil Schemenauer for garbage collection
Jeremy Hylton [Fri, 30 Jun 2000 05:02:53 +0000 (05:02 +0000)]
final patches from Neil Schemenauer for garbage collection

24 years agoreplace constant 1 with symbolic constant METH_VARARGS
Jeremy Hylton [Fri, 30 Jun 2000 04:59:59 +0000 (04:59 +0000)]
replace constant 1 with symbolic constant METH_VARARGS
another typo caught by Rob Hooft

24 years agoanother typo caught by Rob Hooft
Jeremy Hylton [Fri, 30 Jun 2000 04:59:17 +0000 (04:59 +0000)]
another typo caught by Rob Hooft

24 years agopenultimate phase of Neil Schemenauer's GC patches
Jeremy Hylton [Fri, 30 Jun 2000 04:57:55 +0000 (04:57 +0000)]
penultimate phase of Neil Schemenauer's GC patches
update configure files (turn --with-cycle-gc on for beta release?)

24 years agoChange description of altzone to not refer to the "0th meridian".
Fred Drake [Fri, 30 Jun 2000 04:24:52 +0000 (04:24 +0000)]
Change description of altzone to not refer to the "0th meridian".

24 years agoSay "manual page", not "man page", when referring to the Unix manual.
Fred Drake [Fri, 30 Jun 2000 04:21:41 +0000 (04:21 +0000)]
Say "manual page", not "man page", when referring to the Unix manual.

24 years agoAdd a comment about needing to change a #include if using a version of
Fred Drake [Fri, 30 Jun 2000 04:17:11 +0000 (04:17 +0000)]
Add a comment about needing to change a #include if using a version of
Berkeley DB 2.0 or newer; most Linux distros will include a more recent
version than 1.85.

24 years agoMake sure to note that this module was added for Python 2.0!
Fred Drake [Fri, 30 Jun 2000 03:50:06 +0000 (03:50 +0000)]
Make sure to note that this module was added for Python 2.0!

24 years agoReflect the name change to _winreg; we still need documentation for the
Fred Drake [Fri, 30 Jun 2000 03:45:40 +0000 (03:45 +0000)]
Reflect the name change to _winreg; we still need documentation for the
new winreg module.

24 years agoUpdate Python version numbers from 1.6 to 2.0 where appropriate.
Fred Drake [Fri, 30 Jun 2000 03:36:41 +0000 (03:36 +0000)]
Update Python version numbers from 1.6 to 2.0 where appropriate.

Make some references between the distutils documents hyperlinks using
the \citetitle markup.

24 years agoBump version to 0.9.
Greg Ward [Fri, 30 Jun 2000 02:54:36 +0000 (02:54 +0000)]
Bump version to 0.9.

24 years agoBump version to 2.0.
Guido van Rossum [Fri, 30 Jun 2000 02:48:53 +0000 (02:48 +0000)]
Bump version to 2.0.

Note that configure hadn't been checked in a few times so it has more
changes, catching up with the last few changes to congifure.in as
well.

24 years agoTrent Mick <trentm@activestate.com>:
Fred Drake [Fri, 30 Jun 2000 02:46:07 +0000 (02:46 +0000)]
Trent Mick <trentm@activestate.com>:
This patch fixes possible overflows in the socket module for 64-bit
platforms (mainly Win64). The changes are:

- abstract the socket type to SOCKET_T (this is SOCKET on Windows, int
on Un*x), this is necessary because sizeof(SOCKET) > sizeof(int) on
Win64

- use INVALID_SOCKET on Win32/64 for an error return value for
accept()

- ensure no overflow of the socket variable for: (1) a PyObject return
value (use PyLong_FromLongLong if necessary); and (2) printf
formatting in repr().

Closes SourceForge patch #100516.

24 years agoSomehow this had HAVE_SYS_SOCKET_H twice. Once is enough. Rerunning
Guido van Rossum [Fri, 30 Jun 2000 02:44:41 +0000 (02:44 +0000)]
Somehow this had HAVE_SYS_SOCKET_H twice.  Once is enough.  Rerunning
autoheader revealed this.

24 years agoPatch by Nadav Horesh to make acosh and asinh better.
Guido van Rossum [Fri, 30 Jun 2000 02:29:22 +0000 (02:29 +0000)]
Patch by Nadav Horesh to make acosh and asinh better.

Tim posted a long comment to python-dev (subject: "Controversial patch
(cmath)"; date: 6/29/00).  The conclusion is that this whole module
stinks and this patch isn't perfect, but it's better than the acosh
and asinh we had, so let's check it in.

24 years agoFinished the GC section.
Andrew M. Kuchling [Fri, 30 Jun 2000 01:44:05 +0000 (01:44 +0000)]
Finished the GC section.
Removed all but one XXX.
Replaced 1.6 with 2.0.
Various minor corrections and additions.

24 years agoDocument recently-added mouse-related functions
Andrew M. Kuchling [Fri, 30 Jun 2000 01:05:39 +0000 (01:05 +0000)]
Document recently-added mouse-related functions

24 years ago- fixed split behaviour on empty matches
Fredrik Lundh [Fri, 30 Jun 2000 00:27:46 +0000 (00:27 +0000)]
- fixed split behaviour on empty matches

- fixed compiler problems when using locale/unicode flags

- fixed group/octal code parsing in sub/subn templates

24 years agoAllow 2.0 on the list of target versions. NB. this isn't enough: the GUI part,
Greg Ward [Thu, 29 Jun 2000 23:50:19 +0000 (23:50 +0000)]
Allow 2.0 on the list of target versions.  NB. this isn't enough: the GUI part,
misc/install.c, still needs to be updated, and it looks like a non-trivial
change.

24 years agostill trying to figure out how to fix the remaining
Fredrik Lundh [Thu, 29 Jun 2000 23:33:12 +0000 (23:33 +0000)]
still trying to figure out how to fix the remaining
group reset problem.  in the meantime, I added some
optimizations:

- added "inline" directive to LOCAL

  (this assumes that AC_C_INLINE does what it's
  supposed to do).  to compile SRE on a non-unix
  platform that doesn't support inline, you have
  to add a "#define inline" somewhere...

- added code to generate a SRE_OP_INFO primitive

- added code to do fast prefix search

  (enabled by the USE_FAST_SEARCH define; default
  is on, in this release)

24 years agoDon't try to guess the name of a .def file -- if one is supplied, use it,
Greg Ward [Thu, 29 Jun 2000 23:09:20 +0000 (23:09 +0000)]
Don't try to guess the name of a .def file -- if one is supplied, use it,
otherwise just generate an '/export:' option.

24 years agoOn second thought, first try for _winreg, and then winreg. Only if both
Greg Ward [Thu, 29 Jun 2000 23:04:59 +0000 (23:04 +0000)]
On second thought, first try for _winreg, and then winreg.  Only if both
fail do we try for win32api/win32con.  If *those* both fail, then we don't
have registry access.  Phew!

24 years agoRemoved --l2h-config option; it introduced unnecessary complexity and
Fred Drake [Thu, 29 Jun 2000 23:01:40 +0000 (23:01 +0000)]
Removed --l2h-config option; it introduced unnecessary complexity and
is not needed anywhere.

24 years agoChanged to use _winreg module instead of winreg.
Greg Ward [Thu, 29 Jun 2000 22:59:10 +0000 (22:59 +0000)]
Changed to use _winreg module instead of winreg.

24 years agoCleaned up and reformatted by Rene Liebscher.
Greg Ward [Thu, 29 Jun 2000 22:57:55 +0000 (22:57 +0000)]
Cleaned up and reformatted by Rene Liebscher.
More reformatting by me.
Also added some editorial comments.

24 years agoBump version to 2.0.
Guido van Rossum [Thu, 29 Jun 2000 22:32:08 +0000 (22:32 +0000)]
Bump version to 2.0.

24 years agoBump version to 2.0b1. Change copyright to BeOpen, CNRI, SMC.
Guido van Rossum [Thu, 29 Jun 2000 22:30:37 +0000 (22:30 +0000)]
Bump version to 2.0b1.  Change copyright to BeOpen, CNRI, SMC.

24 years agoBump version to 2.0b1.
Guido van Rossum [Thu, 29 Jun 2000 22:29:24 +0000 (22:29 +0000)]
Bump version to 2.0b1.

24 years agoTentative 2.0 and BeOpen upgrade.
Guido van Rossum [Thu, 29 Jun 2000 22:28:44 +0000 (22:28 +0000)]
Tentative 2.0 and BeOpen upgrade.

24 years agoTrent Mick <trentm@activestate.com>:
Fred Drake [Thu, 29 Jun 2000 21:31:02 +0000 (21:31 +0000)]
Trent Mick <trentm@activestate.com>:
This patch fixes a possible overflow in the Sleep system call on
Win32/64 in the time_sleep() function in the time module. For very
large values of the give time to sleep the number of milliseconds can
overflow and give unexpected sleep intervals. THis patch raises an
OverflowError if the value overflows.

Closes SourceForge patch #100514.

24 years agoTrent Mick <trentm@activestate.com>:
Fred Drake [Thu, 29 Jun 2000 21:12:41 +0000 (21:12 +0000)]
Trent Mick <trentm@activestate.com>:
This patch fixes the posix module for large file support mainly on
Win64, although some general cleanup is done as well.

The changes are:

- abstract stat->STAT, fstat->FSTAT, and struct stat->STRUCT_STAT
This is because stat() etc. are not the correct functions to use on
Win64 (nor maybe on other platforms?, if not then it is now trivial to
select the appropriate one). On Win64 the appropriate system functions
are _stati64(), etc.

- add _pystat_fromstructstat(), it builds the return tuple for the
fstat system call. This functionality was being duplicated. As well
the construction of the tuple was modified to ensure no overflow of
the time_t elements (sizeof(time_t) > sizeof(long) on Win64).

- add overflow protection for the return values of posix_spawnv and
posix_spawnve

- use the proper 64-bit capable lseek() on Win64

- use intptr_t instead of long where appropriate from Win32/64 blocks
(sizeof(void*) > sizeof(long) on Win64)

This closes SourceForge patch #100513.

24 years agoTrent Mick <trentm@activestate.com>:
Fred Drake [Thu, 29 Jun 2000 20:56:28 +0000 (20:56 +0000)]
Trent Mick <trentm@activestate.com>:
Mark Hammond provided (a long time ago) a better Win32 specific
time_clock implementation in timemodule.c. The library for this
implementation does not exist on Win64 (yet, at least). This patch
makes Win64 fall back on the system's clock() function for
time_clock().

This closes SourceForge patch #100512.

24 years agoThis patch extends PC/config.h and configure.in as appropriate for
Fred Drake [Thu, 29 Jun 2000 20:44:47 +0000 (20:44 +0000)]
This patch extends PC/config.h and configure.in as appropriate for
64-bit readiness (the config values are needed for patches that I will
be submitting later today. The changes are as follows:

- add SIZEOF_OFF_T #define's to PC/config.h (it was already in configure.in)

- add SIZEOF_TIME_T #define to PC/config.h and configure
Needed for some buffer overflow checking because sizeof(time_t) is
different on Win64.

- add SIZEOF_FPOS_T #define
Needed for the Win64 large file support implementation.

- add SIZEOF_HKEY in PC/config.h only
Needed for proper Win32 vs. Win64 handling in PC/winreg.c

- #define HAVE_LARGEFILE_SUPPORT for Win64

- typedef long intptr_t; for all Windows except Win64 (which defines it
itself)
This is a new ANSI (I think) type that is useful (and used by me) for
proper handling in msvcrtmodule.c and posixmodule.c

- indent the nested #ifdef's and #defines in PC/config.h
This is *so* much more readable. There cannot be a compiler
compatibilty issue here can there? Perl uses indented #defines and it
compiles with everything.

24 years agoUpdate comments relating to the removal of the -X option and of string
Fred Drake [Thu, 29 Jun 2000 20:15:14 +0000 (20:15 +0000)]
Update comments relating to the removal of the -X option and of string
exceptions in the interpreter and standard library.

24 years agoTypo.
Fred Drake [Thu, 29 Jun 2000 20:02:38 +0000 (20:02 +0000)]
Typo.

24 years agoThe low-level interface is now in _winreg; update the import here.
Fred Drake [Thu, 29 Jun 2000 19:42:00 +0000 (19:42 +0000)]
The low-level interface is now in _winreg; update the import here.

24 years agoPaul Prescod <paul@prescod.net>:
Fred Drake [Thu, 29 Jun 2000 19:39:57 +0000 (19:39 +0000)]
Paul Prescod <paul@prescod.net>:
W3C DOM implementation for Python.

24 years agoPackage docstring.
Fred Drake [Thu, 29 Jun 2000 19:36:27 +0000 (19:36 +0000)]
Package docstring.

24 years agoThe usual :)
Guido van Rossum [Thu, 29 Jun 2000 19:35:29 +0000 (19:35 +0000)]
The usual :)

24 years agoPaul Prescod <paul@prescod.net>:
Fred Drake [Thu, 29 Jun 2000 19:34:54 +0000 (19:34 +0000)]
Paul Prescod <paul@prescod.net>:
SAX interfaces for Python.

24 years agoPackage docstring and initialization.
Fred Drake [Thu, 29 Jun 2000 19:33:43 +0000 (19:33 +0000)]
Package docstring and initialization.

24 years agoPackage docstring.
Fred Drake [Thu, 29 Jun 2000 19:28:01 +0000 (19:28 +0000)]
Package docstring.

24 years agoThis patch addresses two main issues: (1) There exist some non-fatal
Fred Drake [Thu, 29 Jun 2000 19:17:04 +0000 (19:17 +0000)]
This patch addresses two main issues: (1) There exist some non-fatal
errors in some of the hash algorithms. For exmaple, in float_hash and
complex_hash a certain part of the value is not included in the hash
calculation. See Tim's, Guido's, and my discussion of this on
python-dev in May under the title "fix float_hash and complex_hash for
64-bit *nix"

(2) The hash algorithms that use pointers (e.g. func_hash, code_hash)
are universally not correct on Win64 (they assume that sizeof(long) ==
sizeof(void*))

As well, this patch significantly cleans up the hash code. It adds the
two function _Py_HashDouble and _PyHash_VoidPtr that the various
hashing routine are changed to use.

These help maintain the hash function invariant: (a==b) =>
(hash(a)==hash(b))) I have added Lib/test/test_hash.py and
Lib/test/output/test_hash to test this for some cases.

24 years ago[Old patch that hadn't been checked in.]
Fred Drake [Thu, 29 Jun 2000 18:50:59 +0000 (18:50 +0000)]
[Old patch that hadn't been checked in.]

get_starttag_text():  New method.
        Return the text of the most recently parsed start tag, from
        the '<' to the '>' or '/'.  Not really useful for structure
        processing, but requested for Web-related use.  May also be
        useful for being able to re-generate the input from the parse
        events, but there's no equivalent for end tags.

attrfind:  Be a little more forgiving of unquoted attribute values.

24 years ago- fixed another split problem
Fredrik Lundh [Thu, 29 Jun 2000 18:03:25 +0000 (18:03 +0000)]
- fixed another split problem
  (those semantics are weird...)

- got rid of $Id$'s (for the moment, at least).  in other
  words, there should be no more "empty" checkins.

- internal: some minor cleanups.

24 years ago- workaround to make 1.6 build under MSVC 5.0. hopefully,
Fredrik Lundh [Thu, 29 Jun 2000 17:25:30 +0000 (17:25 +0000)]
- workaround to make 1.6 build under MSVC 5.0.  hopefully,
  trent (who broke it in the first place ;-) will come up
  with a cleaner solution.

24 years agoSkip Montanaro: modify test_socket.py to listen/connect using loopback addr
Guido van Rossum [Thu, 29 Jun 2000 17:00:54 +0000 (17:00 +0000)]
Skip Montanaro: modify test_socket.py to listen/connect using loopback addr

24 years ago- fixed split
Fredrik Lundh [Thu, 29 Jun 2000 16:57:40 +0000 (16:57 +0000)]
- fixed split
  (test_sre still complains about split, but that's caused by
  the group reset bug, not split itself)

- added more mark slots
  (should be dynamically allocated, but 100 is better than 32.
  and checking for the upper limit is better than overwriting
  the memory ;-)

- internal: renamed the cursor helper class

- internal: removed some bloat from sre_compile

24 years agoPaul Prescod <paul@prescod.net>:
Fred Drake [Thu, 29 Jun 2000 16:53:06 +0000 (16:53 +0000)]
Paul Prescod <paul@prescod.net>:
OO wrapper for _winreg; blessed by Mark Hammond.

24 years agoFinish converting the winreg extension to _winreg.
Fred Drake [Thu, 29 Jun 2000 16:43:49 +0000 (16:43 +0000)]
Finish converting the winreg extension to _winreg.

24 years agoNils Fischbeck: added doc strings to everything. Martin von Loewis
Guido van Rossum [Thu, 29 Jun 2000 16:30:50 +0000 (16:30 +0000)]
Nils Fischbeck: added doc strings to everything.  Martin von Loewis
has reviewed this, too.

24 years agoChange string exceptions to class exceptions.
Guido van Rossum [Thu, 29 Jun 2000 16:15:52 +0000 (16:15 +0000)]
Change string exceptions to class exceptions.

24 years agoUpdate the module name to _winreg, pending checkin of Paul Prescod's
Fred Drake [Thu, 29 Jun 2000 16:14:14 +0000 (16:14 +0000)]
Update the module name to _winreg, pending checkin of Paul Prescod's
OO wrapper for this module.

24 years agoThread support is turned on my default now. To disable building
Barry Warsaw [Thu, 29 Jun 2000 16:12:00 +0000 (16:12 +0000)]
Thread support is turned on my default now.  To disable building
threads use --without-threads.  No extra tests of thread/compiler
combinations have been added.

--with(out)-thread and --with(out)-threads are completely
interchangeable.

--with-threads still supports the =DIRECTORY option for specifying
where to find thread libraries.

24 years agoUpdated the comment in this file to reflect the new defaults. Threads
Barry Warsaw [Thu, 29 Jun 2000 16:08:28 +0000 (16:08 +0000)]
Updated the comment in this file to reflect the new defaults.  Threads
are enabled by default now unless --without-threads is given to
configure.

24 years agoChange the loop index in normalizestring() to size_t too, to avoid a
Guido van Rossum [Thu, 29 Jun 2000 14:50:15 +0000 (14:50 +0000)]
Change the loop index in normalizestring() to size_t too, to avoid a
warning on Windows.

24 years agopyexpat notes: add the name of the archive to the ar command
Jeremy Hylton [Thu, 29 Jun 2000 14:40:45 +0000 (14:40 +0000)]
pyexpat notes: add the name of the archive to the ar command

24 years agoWhoops! We just discovered that Gordon's revamp of this module was
Guido van Rossum [Thu, 29 Jun 2000 14:13:28 +0000 (14:13 +0000)]
Whoops!  We just discovered that Gordon's revamp of this module was
accidentally wiped out by Ping's patch (which shouldn't have affected
this file at all, had Ping done a cvs update).

This checkin restores Gordon's version, with Fredrik's change merged
back in.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Marc-André Lemburg [Thu, 29 Jun 2000 13:31:10 +0000 (13:31 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
New test output

24 years ago- renamed "tolower" hook (it happened to work with
Fredrik Lundh [Thu, 29 Jun 2000 12:48:37 +0000 (12:48 +0000)]
- renamed "tolower" hook (it happened to work with
  my compiler, but not on guido's box...)

24 years agoTypo fix.
Greg Ward [Thu, 29 Jun 2000 12:45:50 +0000 (12:45 +0000)]
Typo fix.

24 years ago- make sure group names are valid identifiers
Fredrik Lundh [Thu, 29 Jun 2000 12:38:45 +0000 (12:38 +0000)]
- make sure group names are valid identifiers
  (closes the "SRE: symbolic reference" bug)

24 years ago- last patch broke parse_template; fixed by changing some
Fredrik Lundh [Thu, 29 Jun 2000 11:34:28 +0000 (11:34 +0000)]
- last patch broke parse_template; fixed by changing some
  tests in sre_patch back to previous version

- fixed return value from findall

- renamed a bunch of functions inside _sre (way too
  many leading underscores...)

</F>

24 years agodemonstration importers
Greg Stein [Thu, 29 Jun 2000 11:05:30 +0000 (11:05 +0000)]
demonstration importers

24 years ago- removed "alpha only" licensing restriction
Fredrik Lundh [Thu, 29 Jun 2000 10:34:56 +0000 (10:34 +0000)]
- removed "alpha only" licensing restriction
- removed some hacks that worked around 1.6 alpha bugs
- removed bogus test code from sre_parse

24 years agotowards 1.6b1
Fredrik Lundh [Thu, 29 Jun 2000 08:58:44 +0000 (08:58 +0000)]
towards 1.6b1

24 years agotowards 1.6b1
Fredrik Lundh [Thu, 29 Jun 2000 08:55:54 +0000 (08:55 +0000)]
towards 1.6b1