- 19 Sep, 2000 14 commits
-
-
Fred Drake authored
off an existing anchor tag if available (I think it always is, but am not completely sure).
-
Fred Drake authored
discussion on python-dev.
-
Barry Warsaw authored
zip(None) tests. Found by Finn Bock a while ago.
-
Guido van Rossum authored
-
Martin v. Löwis authored
-
Thomas Heller authored
on other systems, so that data, headers, scripts are included in the installer.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Tim Peters authored
When reading a short, sign-extend on platforms where shorts are bigger than 16 bits. When reading a long, repair the unportable sign extension that was being done for 64-bit machines (it assumed that signed right shift sign-extends).
-
Guido van Rossum authored
style conventions. (Ping has checkin privileges but apparently ignores them at the moment.) Ping improves a few doc strings and fixes style violations like foo ( bar ). An addition of my own: rearrange the printing of various items in test() so that the (long) environment comes at the end. This avoids having to scroll if you want to see the current directory or command line arguments.
-
Guido van Rossum authored
Macintosh (the latter untested). This closes Bug #110839.
-
Guido van Rossum authored
(This avoids defining non-working versions of these on the Mac.)
-
Guido van Rossum authored
I can't test this, so I'm just checking it in with blind faith in Andy. I've tested that it doesn't broeak a non-Pth build on Linux. Changes include: - There's a --with-pth configure option. - Instead of _GNU_PTH, we test for HAVE_PTH. - Better signal handling. - (The config.h.in file is regenerated in a slightly different order.)
-
Tim Peters authored
-
- 18 Sep, 2000 17 commits
-
-
Jeremy Hylton authored
interface consistent: The client is responsible for closing the socket, regardless of the amount of data received. Restore suport for set_debuglevel call.
-
Paul Prescod authored
-
Fred Drake authored
Add the new constants to the module docstring.
-
Paul Prescod authored
checks.
-
Fred Drake authored
compatibility layer as well as "classic" ndbm.
-
Fred Drake authored
Make the code conform better to the Python style guide.
-
Fred Drake authored
module.
-
Fred Drake authored
Add the constants "printable" and "punctuation" to the string module.
-
Fred Drake authored
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 authored
this module is "import *" safe.
-
Marc-André Lemburg authored
PyObject_Set/GetAttr() calls. This patch fixes bug #113829.
-
Fred Drake authored
-
Marc-André Lemburg authored
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 authored
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 authored
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 authored
-
Greg Ward authored
-
- 17 Sep, 2000 6 commits
-
-
Fred Drake authored
Deprecated sequenceIncludes(). Based on patch by Denis S. Otkidach <ods@users.sourceforge.net>, this closes SourceForge patch #101390.
-
Fred Drake authored
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 authored
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 authored
-
Greg Ward authored
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 authored
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 Sep, 2000 3 commits
-
-
Tim Peters authored
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 authored
__name__ == '__main__'. Closes SF bug #110844.
-
Fred Drake authored
sheet instead of encoding anything there.
-