Fred Drake
e4dbb86ab8
New module webbrowser. Easy-to-use controller objects to make using a
...
Web browser as a help/information browser easy across platforms.
2000-07-07 03:36:12 +00:00
Marc-André Lemburg
449c325303
Fixed some code that used 'short' to use 'long' instead.
2000-07-06 20:13:23 +00:00
Marc-André Lemburg
85cc4d8940
Fixed a couple of places where 'int' was used where 'long'
...
should have been used.
2000-07-06 19:43:31 +00:00
Fred Drake
49b0c3bafe
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().
2000-07-06 19:42:19 +00:00
Fred Drake
589c35bcc7
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.
2000-07-06 19:38:49 +00:00
Skip Montanaro
28067821e2
added read_history_file and write_history_file
...
XXX should perhaps support history truncation as well
2000-07-06 18:55:12 +00:00
Fred Drake
aa7524cf1f
Clean up markup to be more like recommended practice; only small changes
...
needed.
2000-07-06 18:37:08 +00:00
Andrew M. Kuchling
1a10400692
Removed unused variables.
...
Added two functions that were left out of the method definition table.
2000-07-06 18:14:03 +00:00
Fred Drake
29fa30ea6b
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>.
2000-07-06 18:09:02 +00:00
Skip Montanaro
fd022672a0
don't prepend "$(srcdir)/" to paths beginning with "$" since they are likely
...
to be absolute.
2000-07-06 17:58:06 +00:00
Fred Drake
e1a85f5e4a
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.
2000-07-06 16:12:47 +00:00
Jack Jansen
e3889da076
Make a distinction between shorts and unsigned shorts.
2000-07-06 15:17:52 +00:00
Jack Jansen
56cdce3070
Conditionally (currently on ifdef macintosh) break the large switch up
...
into 1000-case smaller ones.
2000-07-06 13:57:38 +00:00
Skip Montanaro
8968a8292f
modified template to demonstrate subsection for examples.
2000-07-06 13:43:37 +00:00
Jack Jansen
d50338fbd9
Added support for H (unsigned short) specifier in PyArg_ParseTuple and
...
Py_BuildValue.
2000-07-06 12:22:00 +00:00
Marc-André Lemburg
63f3d17418
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.
2000-07-06 11:29:01 +00:00
Marc-André Lemburg
3d1a1d7f0c
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.
2000-07-06 11:25:40 +00:00
Guido van Rossum
0a3f7978c4
Change whitespace in two places to silence tabnanny.
...
Also fix spelling tupel -> tuple.
2000-07-06 05:34:14 +00:00
Fred Drake
5802e48033
Added some further description to the usage of the seealso environment.
...
Documented the \seerfc and \seeurl macros used in that environment as well.
2000-07-06 05:24:41 +00:00
Fred Drake
3c62d9e656
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.).
2000-07-06 04:51:04 +00:00
Fred Drake
14ea85f325
Add entry for readline documentation.
2000-07-06 04:47:25 +00:00
Fred Drake
011028cf74
Sjoerd Mullender <sjoerd@oratrix.nl>:
...
Updates for recent changes in xmllib.
2000-07-06 04:45:14 +00:00
Fred Drake
d14423abe2
Correct typo in description of the machine name parameter to the
...
ConnectRegistry() function; there is no trailing period!
2000-07-06 04:38:37 +00:00
Skip Montanaro
63099f911f
added seealso pointing reader at readline example which uses atexit.
2000-07-06 03:26:39 +00:00
Skip Montanaro
510ca1d338
simple-minded readline section doc based upon module's doc strings.
2000-07-06 03:25:26 +00:00
Skip Montanaro
f9059ebede
fixed indentation in several places
2000-07-06 03:01:40 +00:00
Skip Montanaro
26a7983f08
fix indentation in one docstring
2000-07-06 02:56:36 +00:00
Skip Montanaro
a2dccfbc09
fix indentation in three docstrings
2000-07-06 02:55:41 +00:00
Fred Drake
191a28218f
Typo: "This table table" -> "This table is"
...
Noted by Nicholas Spies <ns11@voicenet.com>.
2000-07-06 00:50:42 +00:00
Skip Montanaro
0915165096
added warning about incompatibility with other codes' use of sys.exitfunc.
2000-07-05 23:11:26 +00:00
Tim Peters
54925f98d3
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.
2000-07-05 22:56:52 +00:00
Fredrik Lundh
2855290b84
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).
2000-07-05 21:14:16 +00:00
Marc-André Lemburg
1f46860a29
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)
2000-07-05 15:32:40 +00:00
Andrew M. Kuchling
da13f89fee
Remove definition of _GNU_SOURCE, since Python.h now does it for us
2000-07-05 12:22:14 +00:00
Marc-André Lemburg
5f0e29eb45
Modified the encode interfaces of all builtin codecs to accept
...
any object which can be converted to Unicode by means of
PyUnicode_FromObject().
2000-07-05 11:24:13 +00:00
Greg Stein
adf63d6c24
check for Pth *after* the standard system threading libraries. Pth should
...
not override those.
Submitted by: flight@users.sourceforge.net
2000-07-05 10:38:09 +00:00
Marc-André Lemburg
a7acf425f6
Added new .isalpha() and .isalnum() methods which provide interfaces
...
to the new alphabetic lookup APIs in unicodectype.c.
2000-07-05 09:49:44 +00:00
Marc-André Lemburg
f3938f55c7
Added new lookup API which matches all alphabetic Unicode characters,
...
i.e the ones with category 'Ll','Lu','Lt','Lo','Lm'.
2000-07-05 09:48:59 +00:00
Marc-André Lemburg
4027f8f4b3
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().
2000-07-05 09:47:46 +00:00
Marc-André Lemburg
9d4674168f
Added tests for the new .isalpha() and .isalnum() methods.
2000-07-05 09:46:40 +00:00
Marc-André Lemburg
f03e74126e
Modified the ISALPHA and ISALNUM macros to use the new lookup APIs
...
from unicodectype.c
2000-07-05 09:45:59 +00:00
Marc-André Lemburg
82249c8389
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.
2000-07-05 08:53:18 +00:00
Greg Ward
fd9f168bcf
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.
2000-07-05 03:08:55 +00:00
Greg Ward
c4eb84accb
Added --dist-dir option to control where output archive(s) go.
2000-07-05 03:07:37 +00:00
Greg Ward
040dc0b691
Added the --dist-dir option that the "bdist_*" will use to control where
...
they place their output files.
2000-07-05 03:07:18 +00:00
Greg Ward
c0614105aa
Added the --dist-dir option to control where the archive(s) are put;
...
defaults to 'dist' (ie. no longer in the distribution root).
2000-07-05 03:06:46 +00:00
Fred Drake
b5316188ee
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.
2000-07-05 02:24:39 +00:00
Fred Drake
c05cbb0527
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.
2000-07-05 02:03:34 +00:00
Fred Drake
7bd9f41c65
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.
2000-07-04 23:51:31 +00:00
Jack Jansen
f93cb1875c
Evt moved to the core toolbox modules.
2000-07-04 21:12:30 +00:00