- 18 Eyl, 2000 15 kayıt (commit)
-
-
Fred Drake yazdı
Add the new constants to the module docstring.
-
Paul Prescod yazdı
checks.
-
Fred Drake yazdı
compatibility layer as well as "classic" ndbm.
-
Fred Drake yazdı
Make the code conform better to the Python style guide.
-
Fred Drake yazdı
module.
-
Fred Drake yazdı
Add the constants "printable" and "punctuation" to the string module.
-
Fred Drake yazdı
Update the module docstring to reflect the actual list of modules in the xml.sax package. Make the code better conform to the Python style guide.
-
Fred Drake yazdı
this module is "import *" safe.
-
Marc-André Lemburg yazdı
PyObject_Set/GetAttr() calls. This patch fixes bug #113829.
-
Fred Drake yazdı
-
Marc-André Lemburg yazdı
objects for the attribute name. Unicode objects are converted to a string using the default encoding before trying the lookup. Note that previously it was allowed to pass arbitrary objects as attribute name in case the tp_getattro/setattro slots were defined. This patch fixes this by applying an explicit string check first: all uses of these slots expect string objects and do not check for the type resulting in a core dump. The tp_getattro/setattro are still useful as optimization for lookups using interned string objects though. This patch fixes bug #113829.
-
Tim Peters yazdı
the MD5 methods into the SHA docs (substituting "sha" for "md5", of course, and changing the stuff that depended on digest size accordingly). Fred, don't trust me!
-
Marc-André Lemburg yazdı
default encoding ("ascii") is changed. This safes quite a few cycles during startup since the first call to .setdefaultencoding() will initialize the codec registry and the encodings package. See python-dev for a discussion (Subject: "[Python-Dev] [comp.lang.python] sys.setdefaultencoding (2.0b1)").
-
Jeremy Hylton yazdı
-
Greg Ward yazdı
-
- 17 Eyl, 2000 6 kayıt (commit)
-
-
Fred Drake yazdı
Deprecated sequenceIncludes(). Based on patch by Denis S. Otkidach <ods@users.sourceforge.net>, this closes SourceForge patch #101390.
-
Fred Drake yazdı
Add contains() as alias for __contains__(). Make PyArg_ParseTuple() formats include the function name. Based on patch by Denis S. Otkidach <ods@users.sourceforge.net>, this closes SourceForge patch #101390.
-
Tim Peters yazdı
that Py_INCREF boosts global _Py_RefTotal when Py_REF_DEBUG is defined but Py_TRACE_REFS isn't. There are, IMO, way too many preprocessor gimmicks in use for refcount debugging (at least 3 distinct true/false symbols, but not all 8 combos are supported by the code, etc etc), and no coherent documentation of this stuff -- 'twas too painful to track this one down.
-
Greg Ward yazdı
-
Greg Ward yazdı
in a string (gives you something to do with the dictionary returned by 'parse_makefile()'). Pulled the regexes in 'parse_makefile()' out -- they're now globals, as 'expand_makefile_vars()' needs (two of) them. Cosmetic tweaks to 'parse_makefile()'.
-
Greg Ward yazdı
easier for people porting Makefile.pre.in-based extensions to Distutils. Also loosened argument-checking in Extension constructor to make life easier for 'read_setup_file()'.
-
- 16 Eyl, 2000 19 kayıt (commit)
-
-
Tim Peters yazdı
reverse() didn't work at all due to bad arg check. Fixed that. Added Brad Chapman to ACKS file, as the proud new owner of two implicitly copyrighted lines of Python source code <wink>. Repaired buffer_info's total lack of arg-checking. Replaced memmove by memcpy in reverse() guts, as memmove is often slower and the memory areas are guaranteed disjoint. Replaced poke-and-hope unchecked decl of tmp buffer size by assert-checked larger tmp buffer. Got rid of inconsistent spaces before open paren in docstrings. Added reverse() sanity tests to test_array.py.
-
Barry Warsaw yazdı
__name__ == '__main__'. Closes SF bug #110844.
-
Fred Drake yazdı
sheet instead of encoding anything there.
-
Fred Drake yazdı
-
Guido van Rossum yazdı
-
Fred Drake yazdı
-
Greg Ward yazdı
are completely skipped, rather than being treated as blank lines (and then subject to the 'skip_blanks' flag). This allows us to process old-style Setup files, which rely on hello \\ # boo! there coming out as "hello there".
-
Greg Ward yazdı
Fixed precendence bug that meant setting skip_blanks to false didn't work under some circumstances.
-
Greg Ward yazdı
Factored the guts of 'warn()' out to 'gen_error()', and added the 'error()' method (trivial thanks to the refactoring).
-
Greg Ward yazdı
Dropped the 'collapse_ws' option and replaced it with 'collapse_join' -- it's *much* faster (no 're.sub()') and this is the reason I really added 'collapse_ws', ie. to remove leading whitespace from a line being joined to the previous line.
-
Guido van Rossum yazdı
This fixes the first half of bug #110611: the immediate exit when ^C is hit when readline and threads are configured. Also added a new module variable, readline.library_version.
-
Guido van Rossum yazdı
PyOS_setsig(), instead of directly calling signal() or sigaction(). This fixes the second half of bug #110611: the mysterious ignoring of the first ^C when readline isn't used.
-
Guido van Rossum yazdı
sigaction() (if HAVE_SIGACTION is defined).
-
Guido van Rossum yazdı
PyOS_setsig().
-
Guido van Rossum yazdı
(Is there no macro to document a typedef?) Fred, please check my latex!
-
Greg Ward yazdı
(eg. "bdist_dumb", to generate both ZIP and tar archives in the same run), tell all but the last run to keep temp files -- this just gets rid of the need to pseudo-install the same files multiple times.
-
Greg Ward yazdı
-
Greg Ward yazdı
-
Greg Ward yazdı
-