Greg Ward
b248b7f848
Renamed PATH_CREATED to _path_created, on the grounds that it's private and
...
mutable, rather than public and constant.
2000-06-17 02:19:30 +00:00
Greg Ward
fcd4f87397
Changed 'remove_tree()' to use the new 'grok_environment_error()' function
...
instead of muddling through IOError and OSError exception objects itself.
2000-06-17 02:18:19 +00:00
Greg Ward
cf0e2dde6d
Changed to use the new 'grok_environment_error()' function instead of
...
muddling through IOError and OSError exception objects right here.
2000-06-17 02:17:45 +00:00
Greg Ward
e905513be0
Added 'grok_environment_error()' function to deal with the various
...
forms that IOError and OSError can take (taken from core.py).
2000-06-17 02:16:46 +00:00
Greg Ward
039accfb2c
Bastian Kleineidam: added 'remove_tree()' function. Needed so that
...
'remove_tree()' can cooperate with 'mkpath()' in the maintenance of
the PATH_CREATED cache: specifically, if a directory is created
with 'mkpath()', later removed with 'remove_tree()', and 'mkpath()'
is again requested to create it, then it would erroneously think
the directory already existed, because it was in the PATH_CREATED
cache. The patch (slightly tweaked by me) fixes that.
2000-06-17 01:58:14 +00:00
Greg Ward
c566232c4d
Fixed install directory for header files on Unix.
2000-06-17 01:34:45 +00:00
Fred Drake
992fe5a83e
Updates from Marc-Andre Lemburg <mal@leburg.com> for the Unicode support.
2000-06-16 21:04:15 +00:00
Fred Drake
1c2d06acaf
Added reference count information for PySequence_List().
2000-06-16 20:00:04 +00:00
Fred Drake
a8455abcf8
Documented PySequence_List() and PySequence_Tuple().
...
Added a bit more documentation in the chapter on building extension types,
including Py_FindMethod() documentation.
Several minor consistency nits were fixed.
2000-06-16 19:58:42 +00:00
Marc-André Lemburg
29dc381ce0
Michael Hudson <mwh21@cam.ac.uk>:
...
The error message refers to "append", yet the operation in
question is "concat".
2000-06-16 17:05:57 +00:00
Fred Drake
c3fd45fe80
do_cmd_textasciitilde(): New function.
2000-06-15 22:41:48 +00:00
Fred Drake
e57a11441e
Fix markup error that hid a tilde character; reported long ago by
...
Carl Feynman <carlf@abinitio.com>.
2000-06-15 20:07:25 +00:00
Fred Drake
9e759dfc31
Michael Hudson <mwh21@cam.ac.uk>:
...
This patch corrects a little glitch and two outright errors.
(Including one reported earlier by Thomas Wouters.)
2000-06-15 18:44:30 +00:00
Fred Drake
56780257c6
Thomas Wouters <thomas@xs4all.net>:
...
The following patch adds "sq_contains" support to rangeobject, and enables
the already-written support for sq_contains in listobject and tupleobject.
The rangeobject "contains" code should be a bit more efficient than the
current default "in" implementation ;-) It might not get used much, but it's
not that much to add.
listobject.c and tupleobject.c already had code for sq_contains, and the
proper struct member was set, but the PyType structure was not extended to
include tp_flags, so the object-specific code was not getting called (Go
ahead, test it ;-). I also did this for the immutable_list_type in
listobject.c, eventhough it is probably never used. Symmetry and all that.
2000-06-15 14:50:20 +00:00
Marc-André Lemburg
60bc809d9a
Marc-Andre Lemburg <mal@lemburg.com>:
...
Added code so that .isXXX() testing returns 0 for emtpy strings.
2000-06-14 09:18:32 +00:00
Marc-André Lemburg
bddf502a1f
Marc-Andre Lemburg <mal@lemburg.com>:
...
Removed a test which can fail when the default locale setting
uses a Latin-1 encoding. The test case is not applicable anymore.
2000-06-14 09:17:25 +00:00
Jack Jansen
868f0c7155
Oops, default type and creator were reversed.
2000-06-14 09:12:44 +00:00
Fred Drake
fb79ffae4d
Hook in the documentation for the unicodedata module.
2000-06-13 20:51:29 +00:00
Fred Drake
28b294459d
Marc-Andre Lemburg <mal@lemburg.com>:
...
Documentation for the unicodedata module (massaged by Fred for minor
consistency issues).
2000-06-13 20:50:50 +00:00
Fred Drake
414ca6666c
James C. Ahlstron <jim@interet.com>:
...
Thanks to Hubert Hoegl <hubert.hoegl@dlr.de> for finding this bug.
2000-06-13 18:49:53 +00:00
Jack Jansen
f6b5374ecf
Also add a one-line description of the "optional" directive.
2000-06-13 13:39:17 +00:00
Marc-André Lemburg
8462573826
Marc-Andre Lemburg <mal@lemburg.com>:
...
Fixed some tests to not cause the script to fail, but rather
output a warning (which then is caught by regrtest.py as wrong
output). This is needed to make test_unicode.py run through
on JPython.
Thanks to Finn Bock.
2000-06-13 12:05:36 +00:00
Marc-André Lemburg
7ebb92ea66
Marc-Andre Lemburg <mal@lemburg.com>:
...
Removed import of string module -- use string methods directly.
Thanks to Finn Bock.
2000-06-13 12:04:05 +00:00
Andrew M. Kuchling
6b14eebae6
Documentation for the pyexpat module.
2000-06-11 02:42:07 +00:00
Andrew M. Kuchling
5185a084b7
Applied simplifications suggested by Greg Stein.
2000-06-10 23:39:05 +00:00
Andrew M. Kuchling
b7f198e01a
Renamed the C extension for ncurses support from 'curses' to '_curses'.
...
(The SourceForge admins have been asked to rename the ,v file.)
2000-06-10 23:12:32 +00:00
Andrew M. Kuchling
e53903c675
Install the contents of the Lib/curses directory
2000-06-10 23:08:21 +00:00
Andrew M. Kuchling
d0939fa592
Add contents of curses package
2000-06-10 23:06:53 +00:00
Andrew M. Kuchling
c0328f014b
Mention setting the default encoding
...
Add IDLE section from MZ
2000-06-10 15:11:20 +00:00
Marc-André Lemburg
07ceb67d9c
Marc-Andre Lemburg <mal@lemburg.com>:
...
Fixed a typo and removed a debug printf(). Thanks to Finn Bock
for finding these.
2000-06-10 09:32:51 +00:00
Fred Drake
1f2d4640b8
Added test for linnuxaudiodev module; directly adapted from sunaudiodev
...
test. Someone with more Linux audio knowledge should at least take a
brief look at it.
2000-06-10 04:22:57 +00:00
Andrew M. Kuchling
a5bbb0089a
List more deleted modules.
...
Add request for feedback.
2000-06-10 02:41:46 +00:00
Andrew M. Kuchling
6c3cd8dd6a
Filled in the sections on new and deleted modules.
...
Bumped version number.
2000-06-10 02:24:31 +00:00
Andrew M. Kuchling
7ad4792307
Comment out an apparent debug print
2000-06-10 01:41:48 +00:00
Jeremy Hylton
a251ea0680
the PyDict_SetItem does not borrow a reference, so we need to decref
...
reported by Mark Hammon
2000-06-09 16:20:39 +00:00
Andrew M. Kuchling
815d5b934b
Patch from /F: this patch brings the CVS version of SRE in sync with the
...
latest public snapshot.""
2000-06-09 14:08:07 +00:00
Andrew M. Kuchling
cb95a1470a
Patch from Michael Hudson: improve unclear error message
2000-06-09 14:04:53 +00:00
Mark Hammond
b422f95db0
Cleanup a few docstrings.
2000-06-09 06:01:47 +00:00
Andrew M. Kuchling
7f6270d97e
Minor fixes, additions to notes
2000-06-09 02:48:18 +00:00
Marc-André Lemburg
d4ab4a5905
Marc-Andre Lemburg <mal@lemburg.com>:
...
Fixed %c formatting to check for one character arguments. Thanks
to Finn Bock for finding this bug.
Added a fix for bug PR#348 which originated from not resetting
the globals correctly in _PyUnicode_Fini().
2000-06-08 17:54:00 +00:00
Marc-André Lemburg
bfa36f5407
Marc-Andre Lemburg <mal@lemburg.com>:
...
Updated to version 1.5. Includes typo fixes by Andrew Kuchling
and a new section on the default encoding.
2000-06-08 17:51:33 +00:00
Marc-André Lemburg
59a044b7d2
Marc-Andre Lemburg <mal@lemburg.com>:
...
Updated to the fix in %c formatting: it now always checks for
a one character argument.
2000-06-08 17:50:55 +00:00
Marc-André Lemburg
2348114ba8
Marc-Andre Lemburg <mal@lemburg.com>:
...
Added emulations of the C APIs in _locale to be used when the
_locale module is not enabled. They return the correct values
assuming the 'C' locale.
2000-06-08 17:49:41 +00:00
Greg Ward
d2412a35b1
Harry Henry Gebel: fix '_format_changelog()' so it doesn't bomb if
...
passed None.
2000-06-08 14:21:23 +00:00
Greg Ward
14c8d05a7a
Include setup.cfg in the list of default files to distribute.
2000-06-08 01:22:48 +00:00
Greg Ward
ce15c6ce8d
Moved the code that prunes the file list after reading the manifest
...
template into a new method 'prune_file_list()', called from
'get_file_list()' rather than 'read_manifest()' -- this keeps
'read_manifest()' more general.
Deleted the redundant call to 'exclude_pattern()' in 'make_distribution()'
-- this had the same intention as 'prune_file_list()', but was incomplete
(only pruned the release tree, not the build tree) and in the wrong
place (the prune wouldn't be reflected in the manifest file).
2000-06-08 01:06:02 +00:00
Greg Ward
4a7319ca28
Renamed 'find_defaults()' to 'add_defaults()'.
...
Deleted old, commented-out 'exclude_pattern()' method.
2000-06-08 00:52:52 +00:00
Greg Ward
c3c8c6edbb
Docstring addition binge.
2000-06-08 00:46:45 +00:00
Greg Ward
373dbfa723
Fixed so we print more than just the first line of help for options with
...
a short form and text that wraps onto multiple lines.
2000-06-08 00:35:33 +00:00
Greg Ward
e0c8c2fd16
Docstring reformatting binge.
2000-06-08 00:24:01 +00:00