]> granicus.if.org Git - python/log
python
24 years agoAdd an entry for the KDE File Manager support from Peter Funk.
Fred Drake [Fri, 7 Jul 2000 17:08:40 +0000 (17:08 +0000)]
Add an entry for the KDE File Manager support from Peter Funk.

24 years agoThomas Wouters <thomas@xs4all.net>:
Fred Drake [Fri, 7 Jul 2000 16:21:31 +0000 (16:21 +0000)]
Thomas Wouters <thomas@xs4all.net>:
Allow -f* parameters to be passed to the compiler from Setup files.

24 years agoSome cleanup of longs in prepartion for Cray J90 fixes: got
Tim Peters [Fri, 7 Jul 2000 15:53:28 +0000 (15:53 +0000)]
Some cleanup of longs in prepartion for Cray J90 fixes:  got
rid of Py_PROTO, switched to ANSI function decls, and did some
minor fiddling.

24 years agoAdded new APIs and fixed some other Unicode ones (missing * or
Marc-André Lemburg [Fri, 7 Jul 2000 15:48:54 +0000 (15:48 +0000)]
Added new APIs and fixed some other Unicode ones (missing * or
extra ' ').

24 years agoAdded docs for the new Unicode and string APIs.
Marc-André Lemburg [Fri, 7 Jul 2000 15:47:06 +0000 (15:47 +0000)]
Added docs for the new Unicode and string APIs.

24 years agoRemoved a prototype which is not used in socketmodule.c
Marc-André Lemburg [Fri, 7 Jul 2000 14:13:29 +0000 (14:13 +0000)]
Removed a prototype which is not used in socketmodule.c

Patch by T. Wouters.

24 years agoFixed unicode() to use the new API PyUnicode_FromEncodedObject().
Marc-André Lemburg [Fri, 7 Jul 2000 13:48:25 +0000 (13:48 +0000)]
Fixed unicode() to use the new API PyUnicode_FromEncodedObject().
This adds support for instance to the constructor (instances
have to define __str__ and can return Unicode objects via that
hook; string return values are decoded into Unicode using the
current default encoding).

24 years agoAdded new API PyUnicode_FromEncodedObject() which supports decoding
Marc-André Lemburg [Fri, 7 Jul 2000 13:46:42 +0000 (13:46 +0000)]
Added new API PyUnicode_FromEncodedObject() which supports decoding
objects including instance objects.

The old API PyUnicode_FromObject() is still available as shortcut.

24 years agoTests for new instance support in unicode().
Marc-André Lemburg [Fri, 7 Jul 2000 13:46:19 +0000 (13:46 +0000)]
Tests for new instance support in unicode().

24 years agoSo many things have changed over the last few weeks that it's probably a good idea...
Jack Jansen [Fri, 7 Jul 2000 13:15:36 +0000 (13:15 +0000)]
So many things have changed over the last few weeks that it's probably a good idea to check the project files in again.

24 years agoChanged all (hopefully) uses of unsigned 16 bit value to use H format specifier,...
Jack Jansen [Fri, 7 Jul 2000 13:09:35 +0000 (13:09 +0000)]
Changed all (hopefully) uses of unsigned 16 bit value to use H format specifier, now that h is signed-only.

24 years agoAdded the unchash module.
Jack Jansen [Fri, 7 Jul 2000 13:08:09 +0000 (13:08 +0000)]
Added the unchash module.

24 years agoFix to bug #393 (UTF16 codec didn't like empty strings) and
Marc-André Lemburg [Fri, 7 Jul 2000 11:27:45 +0000 (11:27 +0000)]
Fix to bug #393 (UTF16 codec didn't like empty strings) and
corrected some usage of 'unsigned long' where Py_UNICODE
should have been used.

24 years agoDefunct the _XOPEN_SOURCE define for now. Suggested by Fredrik
Marc-André Lemburg [Fri, 7 Jul 2000 11:24:49 +0000 (11:24 +0000)]
Defunct the _XOPEN_SOURCE define for now. Suggested by Fredrik
Lundh as response to bug reports on True64 and IRIX.

24 years agoTwo more places where long should be used instead of int. Especially
Sjoerd Mullender [Fri, 7 Jul 2000 09:47:24 +0000 (09:47 +0000)]
Two more places where long should be used instead of int.  Especially
true after revision 2.36 was checked in...

24 years agoBill Tutt: Added Py_UCS4 typedef to hold UCS4 values (these need
Marc-André Lemburg [Fri, 7 Jul 2000 09:01:41 +0000 (09:01 +0000)]
Bill Tutt: Added Py_UCS4 typedef to hold UCS4 values (these need
at least 32 bits as opposed to Py_UNICODE which rely on having
16 bits).

24 years agoNew module webbrowser. Easy-to-use controller objects to make using a
Fred Drake [Fri, 7 Jul 2000 03:36:12 +0000 (03:36 +0000)]
New module webbrowser.  Easy-to-use controller objects to make using a
Web browser as a help/information browser easy across platforms.

24 years agoFixed some code that used 'short' to use 'long' instead.
Marc-André Lemburg [Thu, 6 Jul 2000 20:13:23 +0000 (20:13 +0000)]
Fixed some code that used 'short' to use 'long' instead.

24 years agoFixed a couple of places where 'int' was used where 'long'
Marc-André Lemburg [Thu, 6 Jul 2000 19:43:31 +0000 (19:43 +0000)]
Fixed a couple of places where 'int' was used where 'long'
should have been used.

24 years agoFix bug #392, reported by Jonathan Giddy <jon@dstc.edu.au>:
Fred Drake [Thu, 6 Jul 2000 19:42:19 +0000 (19:42 +0000)]
Fix bug #392, reported by Jonathan Giddy <jon@dstc.edu.au>:
In posixmodule.c:posix_fork, the function PyOS_AfterFork is called for
both the parent and the child, despite the docs stating that it should
be called in the new (child) process.

This causes problems in the parent since the forking thread becomes the
main thread according to the signal module.

Calling PyOS_AfterFork() only in the child fixes this.  Changed for both
fork() and forkpty().

24 years agoPython 2.0 is not supposed to use string exceptions in the standard library
Fred Drake [Thu, 6 Jul 2000 19:38:49 +0000 (19:38 +0000)]
Python 2.0 is not supposed to use string exceptions in the standard library
& extensions, so create exceptions in extension modules using the
PyErr_NewException() API.

24 years agoadded read_history_file and write_history_file
Skip Montanaro [Thu, 6 Jul 2000 18:55:12 +0000 (18:55 +0000)]
added read_history_file and write_history_file
XXX should perhaps support history truncation as well

24 years agoClean up markup to be more like recommended practice; only small changes
Fred Drake [Thu, 6 Jul 2000 18:37:08 +0000 (18:37 +0000)]
Clean up markup to be more like recommended practice; only small changes
needed.

24 years agoRemoved unused variables.
Andrew M. Kuchling [Thu, 6 Jul 2000 18:14:03 +0000 (18:14 +0000)]
Removed unused variables.
Added two functions that were left out of the method definition table.

24 years agoCorrect a markup nit that caused a space to be dropped from the HTML
Fred Drake [Thu, 6 Jul 2000 18:09:02 +0000 (18:09 +0000)]
Correct a markup nit that caused a space to be dropped from the HTML
version (actually a LaTeX2HTML bug), and clarified a sentence in the
mktime() description based entirely on comments from Grant Griffin
<grant.griffin@honeywell.com>.

24 years agodon't prepend "$(srcdir)/" to paths beginning with "$" since they are likely
Skip Montanaro [Thu, 6 Jul 2000 17:58:06 +0000 (17:58 +0000)]
don't prepend "$(srcdir)/" to paths beginning with "$" since they are likely
to be absolute.

24 years agoMinor changes. Explain that for class exceptions, use excdesc but do not
Fred Drake [Thu, 6 Jul 2000 16:12:47 +0000 (16:12 +0000)]
Minor changes.  Explain that for class exceptions, use excdesc but do not
document the constructor parameters.  Need a better way, but this will do
for now.

24 years agoMake a distinction between shorts and unsigned shorts.
Jack Jansen [Thu, 6 Jul 2000 15:17:52 +0000 (15:17 +0000)]
Make a distinction between shorts and unsigned shorts.

24 years agoConditionally (currently on ifdef macintosh) break the large switch up
Jack Jansen [Thu, 6 Jul 2000 13:57:38 +0000 (13:57 +0000)]
Conditionally (currently on ifdef macintosh) break the large switch up
into 1000-case smaller ones.

24 years agomodified template to demonstrate subsection for examples.
Skip Montanaro [Thu, 6 Jul 2000 13:43:37 +0000 (13:43 +0000)]
modified template to demonstrate subsection for examples.

24 years agoAdded support for H (unsigned short) specifier in PyArg_ParseTuple and
Jack Jansen [Thu, 6 Jul 2000 12:22:00 +0000 (12:22 +0000)]
Added support for H (unsigned short) specifier in PyArg_ParseTuple and
Py_BuildValue.

24 years agoAdded new codec APIs and a new interface method .encode() which
Marc-André Lemburg [Thu, 6 Jul 2000 11:29:01 +0000 (11:29 +0000)]
Added new codec APIs and a new interface method .encode() which
works just like the Unicode one. The C APIs match the ones in the Unicode
implementation, but were extended to be able to reuse the existing
Unicode codecs for string purposes too.

Conversions from string to Unicode and back are done using the
default encoding.

24 years agoAdded prototypes for the new codec APIs for strings. These APIs
Marc-André Lemburg [Thu, 6 Jul 2000 11:25:40 +0000 (11:25 +0000)]
Added prototypes for the new codec APIs for strings. These APIs
match the ones in the Unicode implementation, but were extended
to be able to reuse the existing Unicode codecs for string
purposes too.

Conversion from string to Unicode and back are done using the
default encoding.

24 years agoChange whitespace in two places to silence tabnanny.
Guido van Rossum [Thu, 6 Jul 2000 05:34:14 +0000 (05:34 +0000)]
Change whitespace in two places to silence tabnanny.
Also fix spelling tupel -> tuple.

24 years agoAdded some further description to the usage of the seealso environment.
Fred Drake [Thu, 6 Jul 2000 05:24:41 +0000 (05:24 +0000)]
Added some further description to the usage of the seealso environment.

Documented the \seerfc and \seeurl macros used in that environment as well.

24 years agoSeveral small changes, mostly to the markup, to improve consistency and
Fred Drake [Thu, 6 Jul 2000 04:51:04 +0000 (04:51 +0000)]
Several small changes, mostly to the markup, to improve consistency and
internal hyperlinking.  Move some things around, also for consistency
with other modules ("See also" stuff tends to live at the \section level,
before sub-sections, etc.).

24 years agoAdd entry for readline documentation.
Fred Drake [Thu, 6 Jul 2000 04:47:25 +0000 (04:47 +0000)]
Add entry for readline documentation.

24 years agoSjoerd Mullender <sjoerd@oratrix.nl>:
Fred Drake [Thu, 6 Jul 2000 04:45:14 +0000 (04:45 +0000)]
Sjoerd Mullender <sjoerd@oratrix.nl>:
Updates for recent changes in xmllib.

24 years agoCorrect typo in description of the machine name parameter to the
Fred Drake [Thu, 6 Jul 2000 04:38:37 +0000 (04:38 +0000)]
Correct typo in description of the machine name parameter to the
ConnectRegistry() function; there is no trailing period!

24 years agoadded seealso pointing reader at readline example which uses atexit.
Skip Montanaro [Thu, 6 Jul 2000 03:26:39 +0000 (03:26 +0000)]
added seealso pointing reader at readline example which uses atexit.

24 years agosimple-minded readline section doc based upon module's doc strings.
Skip Montanaro [Thu, 6 Jul 2000 03:25:26 +0000 (03:25 +0000)]
simple-minded readline section doc based upon module's doc strings.

24 years agofixed indentation in several places
Skip Montanaro [Thu, 6 Jul 2000 03:01:40 +0000 (03:01 +0000)]
fixed indentation in several places

24 years agofix indentation in one docstring
Skip Montanaro [Thu, 6 Jul 2000 02:56:36 +0000 (02:56 +0000)]
fix indentation in one docstring

24 years agofix indentation in three docstrings
Skip Montanaro [Thu, 6 Jul 2000 02:55:41 +0000 (02:55 +0000)]
fix indentation in three docstrings

24 years agoTypo: "This table table" -> "This table is"
Fred Drake [Thu, 6 Jul 2000 00:50:42 +0000 (00:50 +0000)]
Typo: "This table table" -> "This table is"
Noted by Nicholas Spies <ns11@voicenet.com>.

24 years agoadded warning about incompatibility with other codes' use of sys.exitfunc.
Skip Montanaro [Wed, 5 Jul 2000 23:11:26 +0000 (23:11 +0000)]
added warning about incompatibility with other codes' use of sys.exitfunc.

24 years agoAdd more "volatile" decls to stop gcc -Wall warnings.
Tim Peters [Wed, 5 Jul 2000 22:56:52 +0000 (22:56 +0000)]
Add more "volatile" decls to stop gcc -Wall warnings.
Somebody w/ gcc please check that the wngs are gone!
There are cheaper (at runtime) ways to prevent the wngs, but
they're obscure and delicate.  I'm going for the easy Big
Hammer here under the theory that PCRE will be replaced by
SRE anyway.

24 years agomaintenance release:
Fredrik Lundh [Wed, 5 Jul 2000 21:14:16 +0000 (21:14 +0000)]
maintenance release:

- reorganized some code to get rid of -Wall and -W4
  warnings

- fixed default argument handling for sub/subn/split
  methods (reported by Peter Schneider-Kamp).

24 years agoFix to bug #389:
Marc-André Lemburg [Wed, 5 Jul 2000 15:32:40 +0000 (15:32 +0000)]
Fix to bug #389:

Full_Name: Bastian Kleineidam
Version: 2.0b1 CVS 5.7.2000
OS: Debian Linux 2.2
Submission from: earth.cs.uni-sb.de (134.96.252.92)

24 years agoRemove definition of _GNU_SOURCE, since Python.h now does it for us
Andrew M. Kuchling [Wed, 5 Jul 2000 12:22:14 +0000 (12:22 +0000)]
Remove definition of _GNU_SOURCE, since Python.h now does it for us

24 years agoModified the encode interfaces of all builtin codecs to accept
Marc-André Lemburg [Wed, 5 Jul 2000 11:24:13 +0000 (11:24 +0000)]
Modified the encode interfaces of all builtin codecs to accept
any object which can be converted to Unicode by means of
PyUnicode_FromObject().

24 years agocheck for Pth *after* the standard system threading libraries. Pth should
Greg Stein [Wed, 5 Jul 2000 10:38:09 +0000 (10:38 +0000)]
check for Pth *after* the standard system threading libraries. Pth should
not override those.

Submitted by: flight@users.sourceforge.net

24 years agoAdded new .isalpha() and .isalnum() methods which provide interfaces
Marc-André Lemburg [Wed, 5 Jul 2000 09:49:44 +0000 (09:49 +0000)]
Added new .isalpha() and .isalnum() methods which provide interfaces
to the new alphabetic lookup APIs in unicodectype.c.

24 years agoAdded new lookup API which matches all alphabetic Unicode characters,
Marc-André Lemburg [Wed, 5 Jul 2000 09:48:59 +0000 (09:48 +0000)]
Added new lookup API which matches all alphabetic Unicode characters,
i.e the ones with category 'Ll','Lu','Lt','Lo','Lm'.

24 years agoAdded new .isalpha() and .isalnum() methods to match the same
Marc-André Lemburg [Wed, 5 Jul 2000 09:47:46 +0000 (09:47 +0000)]
Added new .isalpha() and .isalnum() methods to match the same
ones on the Unicode objects. Note that the string versions use
the (locale aware) C lib APIs isalpha() and isalnum().

24 years agoAdded tests for the new .isalpha() and .isalnum() methods.
Marc-André Lemburg [Wed, 5 Jul 2000 09:46:40 +0000 (09:46 +0000)]
Added tests for the new .isalpha() and .isalnum() methods.

24 years agoModified the ISALPHA and ISALNUM macros to use the new lookup APIs
Marc-André Lemburg [Wed, 5 Jul 2000 09:45:59 +0000 (09:45 +0000)]
Modified the ISALPHA and ISALNUM macros to use the new lookup APIs
from unicodectype.c

24 years agoAdded #defines to enable SUSv2 compatibility where available and
Marc-André Lemburg [Wed, 5 Jul 2000 08:53:18 +0000 (08:53 +0000)]
Added #defines to enable SUSv2 compatibility where available and
to switch on support for BSD and SysV on platforms which use glibc
such as Linux.

These #defines are documented in e.g. the file /usr/include/features.h
on Linux platforms and the SUSv2 docs.

24 years agoFixed so the ZIP file (which is bundled into an executable) goes in the
Greg Ward [Wed, 5 Jul 2000 03:08:55 +0000 (03:08 +0000)]
Fixed so the ZIP file (which is bundled into an executable) goes in the
  temporary directory ('bdist_base').
Added --dist-dir option to control where the executable is put.

24 years agoAdded --dist-dir option to control where output archive(s) go.
Greg Ward [Wed, 5 Jul 2000 03:07:37 +0000 (03:07 +0000)]
Added --dist-dir option to control where output archive(s) go.

24 years agoAdded the --dist-dir option that the "bdist_*" will use to control where
Greg Ward [Wed, 5 Jul 2000 03:07:18 +0000 (03:07 +0000)]
Added the --dist-dir option that the "bdist_*" will use to control where
they place their output files.

24 years agoAdded the --dist-dir option to control where the archive(s) are put;
Greg Ward [Wed, 5 Jul 2000 03:06:46 +0000 (03:06 +0000)]
Added the --dist-dir option to control where the archive(s) are put;
defaults to 'dist' (ie. no longer in the distribution root).

24 years agoCreated a new chapter on structured markup processing, including the
Fred Drake [Wed, 5 Jul 2000 02:24:39 +0000 (02:24 +0000)]
Created a new chapter on structured markup processing, including the
existing SGML, HTML, & XML support, and providing a home for the new
XML support as it becomes documented.

24 years agoWrapped some long lines.
Fred Drake [Wed, 5 Jul 2000 02:03:34 +0000 (02:03 +0000)]
Wrapped some long lines.
Cleaned up the table of error constants defined in pyexpat.errors; an
extra pair of braces had pretty much destroyed the table!  (Not sure why.)
Moved the pyexpat.errors module documentation into a \section with the
proper headers for a module.

24 years agopyexpat.errors is a *strange* module!
Fred Drake [Tue, 4 Jul 2000 23:51:31 +0000 (23:51 +0000)]
pyexpat.errors is a *strange* module!

It gets initialized when pyexpat is imported, and is only accessible as an
attribute of pyexpat; it cannot be imported itself.  This allows it to at
least be importable after pyexpat itself has been imported by adding it
to sys.modules, so it is not quite as strange.

This arrangement needs to be better thought out.

24 years agoEvt moved to the core toolbox modules.
Jack Jansen [Tue, 4 Jul 2000 21:12:30 +0000 (21:12 +0000)]
Evt moved to the core toolbox modules.

24 years agoRemove warning about local variable possibly being using uninitialized;
Fred Drake [Tue, 4 Jul 2000 18:48:46 +0000 (18:48 +0000)]
Remove warning about local variable possibly being using uninitialized;
noted by Marc-Andre Lemburg <mal@lemburg.com>.

24 years agoRemoved Py_PROTO and switched to ANSI C declarations in the dict
Tim Peters [Tue, 4 Jul 2000 17:44:48 +0000 (17:44 +0000)]
Removed Py_PROTO and switched to ANSI C declarations in the dict
implementation.  This was really to test whether my new CVS+SSH
setup is more usable than the old one -- and turns out it is (for
whatever reason, it was impossible to do a commit before that
involved more than one directory).

24 years agoFixes for compilation problems on Tru64 reported by Mark Favas
Andrew M. Kuchling [Tue, 4 Jul 2000 14:53:43 +0000 (14:53 +0000)]
Fixes for compilation problems on Tru64 reported by Mark Favas

24 years ago2 fixes plus one extension:
Sjoerd Mullender [Tue, 4 Jul 2000 14:53:12 +0000 (14:53 +0000)]
2 fixes plus one extension:
- Actually count the linefeeds in a the CDATA content.
- Don't call the endtag handler for an unmatched endtag (this makes
  the base class simpler since it doesn't have to deal with unopened
  endtags).
- If the __init__ method is called with keyword argument
  translate_attribute_references=0, don't attempt to translate
  character and entity references in attribute values.

24 years agoFixed symbol search for defining NSIG. It now also checks _NSIG
Marc-André Lemburg [Tue, 4 Jul 2000 14:17:33 +0000 (14:17 +0000)]
Fixed symbol search for defining NSIG. It now also checks _NSIG
which some C libs define (e.g. glibc).

Added a fallback default value for NSIG which hopefully provides
enough room for signal slots.

24 years agoBill Tutt:
Marc-André Lemburg [Tue, 4 Jul 2000 09:51:07 +0000 (09:51 +0000)]
Bill Tutt:
Make unicode_compare a true UTF-16 compare function (includes
support for surrogates).

24 years agolibinstall: For the first bytecode compilation pass, use -tt instead of
Fred Drake [Tue, 4 Jul 2000 04:15:53 +0000 (04:15 +0000)]
libinstall:  For the first bytecode compilation pass, use -tt instead of
             -t.  This ensures that each installation from source is
             checked for compliance.  This is needed to make sure .py
             files in the various Lib/plat-foo/ directories are tested
             even if the core developers do not have access to the
             corresponding platforms.

24 years agoUsed original SAX handling form.
Paul Prescod [Tue, 4 Jul 2000 03:39:33 +0000 (03:39 +0000)]
Used original SAX handling form.

24 years agoRemoved some tabs.
Paul Prescod [Tue, 4 Jul 2000 03:38:10 +0000 (03:38 +0000)]
Removed some tabs.

24 years agoPyMac_FindModuleExtension now uses a size_t as its size parameter for compatibility.
Jack Jansen [Mon, 3 Jul 2000 23:53:40 +0000 (23:53 +0000)]
PyMac_FindModuleExtension now uses a size_t as its size parameter for compatibility.

24 years agoSquash signed-vs-unsigned warning. Also edits to bring into line
Tim Peters [Mon, 3 Jul 2000 23:51:17 +0000 (23:51 +0000)]
Squash signed-vs-unsigned warning.  Also edits to bring into line
with Python coding stds (max line length, C-style comments).

24 years agoTypo repair in docstring -- my fault.
Tim Peters [Mon, 3 Jul 2000 22:41:34 +0000 (22:41 +0000)]
Typo repair in docstring -- my fault.

24 years agoInclude limits.h if we have it.
Jack Jansen [Mon, 3 Jul 2000 21:39:47 +0000 (21:39 +0000)]
Include limits.h if we have it.

24 years agoMac only: two epoch problem workarounds are no longer needed for GUSI
Jack Jansen [Mon, 3 Jul 2000 21:37:27 +0000 (21:37 +0000)]
Mac only: two epoch problem workarounds are no longer needed for GUSI
>= 2.0.5. One still is:-(

24 years ago- fixed grouping error bug
Fredrik Lundh [Mon, 3 Jul 2000 21:31:48 +0000 (21:31 +0000)]
- fixed grouping error bug

- changed "group" operator to "groupref"

24 years ago- added lookbehind support (?<=pattern), (?<!pattern).
Fredrik Lundh [Mon, 3 Jul 2000 18:44:21 +0000 (18:44 +0000)]
- added lookbehind support (?<=pattern), (?<!pattern).
  the pattern must have a fixed width.

- got rid of array-module dependencies; the match pro-
  gram is now stored inside the pattern object, rather
  than in an extra string buffer.

- cleaned up a various of potential leaks, api abuses,
  and other minors in the engine module.

- use mal's new isalnum macro, rather than my own work-
  around.

- untabified test_sre.py.  seems like I removed a couple
  of trailing spaces in the process...

24 years agoANSI-fication, remove Py_PROTO, etc.
Fred Drake [Mon, 3 Jul 2000 18:11:56 +0000 (18:11 +0000)]
ANSI-fication, remove Py_PROTO, etc.
Revise math_1(), math_2(), stub-generating macros, and function tables to
use PyArg_ParseTuple() and properly provide the function name for error
message generation.
Fix pow() docstring for MPW 3.1; had said "power" instead of "pow".

24 years agoAndrew Kuchling <akuchlin@mems-exchange.org>:
Fred Drake [Mon, 3 Jul 2000 18:07:43 +0000 (18:07 +0000)]
Andrew Kuchling <akuchlin@mems-exchange.org>:
Typo in string literal: execpt --> except

24 years agoCompute the name of the test file so that it can be found both when this
Fred Drake [Mon, 3 Jul 2000 16:37:42 +0000 (16:37 +0000)]
Compute the name of the test file so that it can be found both when this
test is run as a script and when imported via the regression test
framework.

Problem reported by Phillip Porch <root@theporch.com>.

24 years agoget_starttag_text(): Document this method.
Fred Drake [Mon, 3 Jul 2000 14:32:04 +0000 (14:32 +0000)]
get_starttag_text():  Document this method.

24 years agoFix bug #379, reported by Phillip Porch <root@theproch.com>:
Fred Drake [Mon, 3 Jul 2000 13:44:25 +0000 (13:44 +0000)]
Fix bug #379, reported by Phillip Porch <root@theproch.com>:
openpty():  Fallback code when os.openpty() does not exist attempted to
            call _slave_open(), which should have been slave_open().

This bug only showed on platforms which do not provide a working openpty()
in the C library.

24 years agoMarc-Andre Lemburg <mal@lemburg.com>:
Fred Drake [Mon, 3 Jul 2000 13:38:10 +0000 (13:38 +0000)]
Marc-Andre Lemburg <mal@lemburg.com>:
Update the API docs for the new macros Py_UNICODE_ISALPHA() and
Py_UNICODE_ISALNUM().

24 years agoAdded new Py_UNICODE_ISALPHA() and Py_UNICODE_ISALNUM() macros
Marc-André Lemburg [Mon, 3 Jul 2000 10:52:13 +0000 (10:52 +0000)]
Added new Py_UNICODE_ISALPHA() and Py_UNICODE_ISALNUM() macros
which are true for alphabetic and alphanumeric characters resp.

The macros are currently implemented using the existing is* tables
but will have to be updated to meet the Unicode standard definitions
(add tables for non-cased letters and letter modifiers).

24 years agoIf auto-conversion fails, the Unicode codecs will return NULL.
Marc-André Lemburg [Mon, 3 Jul 2000 09:57:53 +0000 (09:57 +0000)]
If auto-conversion fails, the Unicode codecs will return NULL.
This is now checked and the error passed on to the caller.

24 years agoEric S. Raymond <esr@thyrsus.com>:
Fred Drake [Mon, 3 Jul 2000 09:56:23 +0000 (09:56 +0000)]
Eric S. Raymond <esr@thyrsus.com>:
This patch implements relative-path semantics for the "source" facility resembling
those of cpp(1), documents the change, and improves the shlex test main to
make it easier to test this feature.  Along the way, it fixes a name error
in the existing docs.

[Additional documentation markup changes for consistency by FLD.]

24 years agoMoshe Zadka <moshez@math.huji.ac.il>:
Fred Drake [Mon, 3 Jul 2000 08:24:49 +0000 (08:24 +0000)]
Moshe Zadka <moshez@math.huji.ac.il>:
Substantial updates to reflect Moshe's Gordon's enhancements to the
module.

Additional changes from Fred to reflect his changes to the module as well.

24 years agocmpfiles(): Added shallow and use_statcache parameters, with same meanings
Fred Drake [Mon, 3 Jul 2000 08:18:47 +0000 (08:18 +0000)]
cmpfiles():  Added shallow and use_statcache parameters, with same meanings
             and defaults as for filecmp.cmp().  Updated docstring
             accordingly, and formatted it more like others in the standard
             library.

24 years agoMartin von Löwis <martin@loewis.home.cs.tu-berlin.de>:
Fred Drake [Mon, 3 Jul 2000 07:23:13 +0000 (07:23 +0000)]
Martin von Löwis <martin@loewis.home.cs.tu-berlin.de>:
This patch delegates more string functions to string object methods,
uses the varargs delegation syntax, and stops using stringold.

Closes SourceForge patch #100712.

24 years agoTim-blessed documentation for math.frexp().
Fred Drake [Mon, 3 Jul 2000 06:38:17 +0000 (06:38 +0000)]
Tim-blessed documentation for math.frexp().

24 years agoChecked in a wrong version.
Tim Peters [Sun, 2 Jul 2000 23:21:49 +0000 (23:21 +0000)]
Checked in a wrong version.

24 years agoThe example_nt directory was old enough to vote. Frank Stajano
Tim Peters [Sun, 2 Jul 2000 23:18:43 +0000 (23:18 +0000)]
The example_nt directory was old enough to vote.  Frank Stajano
pointed out some of the problems he had following the instructions,
and I stumbled into the others:  MSVC has changed in several
respects, Python has changed the directories into which it builds
its own Windows outputs, and we grew the unusual scheme of
appending "_d" to the names of debug-mode output files.

This should all work with VC6 + CVS Python now.  Some other Windows
geek please confirm!  And the less you know, the better <0.5 wink>.

Explanations and examples for versions of MSVC before 6, and
versions of Python before 2.0b1, have been removed, because
they're too different and so confuse life.  This last step I OK'ed
with Guido first (indeed, 'twas his idea!).

24 years ago- changed sre.Scanner to use lastindex instead of index.
Fredrik Lundh [Sun, 2 Jul 2000 22:59:57 +0000 (22:59 +0000)]
- changed sre.Scanner to use lastindex instead of index.

24 years ago- experimental: added two new attributes to the match object:
Fredrik Lundh [Sun, 2 Jul 2000 22:25:39 +0000 (22:25 +0000)]
- experimental: added two new attributes to the match object:
  "lastgroup" is the name of the last matched capturing group,
  "lastindex" is the index of the same group.  if no group was
  matched, both attributes are set to None.

  the (?P#) feature will be removed in the next relase.

24 years agoRepair docs for math.frexp (they were wrong).
Tim Peters [Sun, 2 Jul 2000 20:17:08 +0000 (20:17 +0000)]
Repair docs for math.frexp (they were wrong).
Reported on c.l.py by Kirill Simonov.