| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
size of the mapped area. This seems to be what the Windows version does.
This change requires keeping around the fd of the mapped file.
|
| |
|
|
|
|
|
| |
This patch fixes an optimisation mystery in _PyUnicodeNew causing segfaults
on AIX when the interpreter is compiled with -O.
|
|
|
|
| |
mutable, rather than public and constant.
|
|
|
|
| |
instead of muddling through IOError and OSError exception objects itself.
|
|
|
|
| |
muddling through IOError and OSError exception objects right here.
|
|
|
|
| |
forms that IOError and OSError can take (taken from core.py).
|
|
|
|
|
|
|
|
|
| |
'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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Added a bit more documentation in the chapter on building extension types,
including Py_FindMethod() documentation.
Several minor consistency nits were fixed.
|
|
|
|
|
| |
The error message refers to "append", yet the operation in
question is "concat".
|
| |
|
|
|
|
| |
Carl Feynman <carlf@abinitio.com>.
|
|
|
|
|
|
| |
This patch corrects a little glitch and two outright errors.
(Including one reported earlier by Thomas Wouters.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Added code so that .isXXX() testing returns 0 for emtpy strings.
|
|
|
|
|
| |
Removed a test which can fail when the default locale setting
uses a Latin-1 encoding. The test case is not applicable anymore.
|
| |
|
| |
|
|
|
|
|
| |
Documentation for the unicodedata module (massaged by Fred for minor
consistency issues).
|
|
|
|
| |
Thanks to Hubert Hoegl <hubert.hoegl@dlr.de> for finding this bug.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Removed import of string module -- use string methods directly.
Thanks to Finn Bock.
|
| |
|
| |
|
|
|
|
| |
(The SourceForge admins have been asked to rename the ,v file.)
|
| |
|
| |
|
|
|
|
| |
Add IDLE section from MZ
|
|
|
|
|
| |
Fixed a typo and removed a debug printf(). Thanks to Finn Bock
for finding these.
|
|
|
|
|
| |
test. Someone with more Linux audio knowledge should at least take a
brief look at it.
|
|
|
|
| |
Add request for feedback.
|
|
|
|
| |
Bumped version number.
|
| |
|
|
|
|
| |
reported by Mark Hammon
|
|
|
|
| |
latest public snapshot.""
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
| |
Updated to version 1.5. Includes typo fixes by Andrew Kuchling
and a new section on the default encoding.
|
|
|
|
|
| |
Updated to the fix in %c formatting: it now always checks for
a one character argument.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
passed None.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
Deleted old, commented-out 'exclude_pattern()' method.
|