- 29 Jun, 2000 40 commits
-
-
Fred Drake authored
Mark Hammond provided (a long time ago) a better Win32 specific time_clock implementation in timemodule.c. The library for this implementation does not exist on Win64 (yet, at least). This patch makes Win64 fall back on the system's clock() function for time_clock(). This closes SourceForge patch #100512.
-
Fred Drake authored
64-bit readiness (the config values are needed for patches that I will be submitting later today. The changes are as follows: - add SIZEOF_OFF_T #define's to PC/config.h (it was already in configure.in) - add SIZEOF_TIME_T #define to PC/config.h and configure Needed for some buffer overflow checking because sizeof(time_t) is different on Win64. - add SIZEOF_FPOS_T #define Needed for the Win64 large file support implementation. - add SIZEOF_HKEY in PC/config.h only Needed for proper Win32 vs. Win64 handling in PC/winreg.c - #define HAVE_LARGEFILE_SUPPORT for Win64 - typedef long intptr_t; for all Windows except Win64 (which defines it itself) This is a new ANSI (I think) type that is useful (and used by me) for proper handling in msvcrtmodule.c and posixmodule.c - indent the nested #ifdef's and #defines in PC/config.h This is *so* much more readable. There cannot be a compiler compatibilty issue here can there? Perl uses indented #defines and it compiles with everything.
-
Fred Drake authored
exceptions in the interpreter and standard library.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
W3C DOM implementation for Python.
-
Fred Drake authored
-
Guido van Rossum authored
-
Fred Drake authored
SAX interfaces for Python.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
errors in some of the hash algorithms. For exmaple, in float_hash and complex_hash a certain part of the value is not included in the hash calculation. See Tim's, Guido's, and my discussion of this on python-dev in May under the title "fix float_hash and complex_hash for 64-bit *nix" (2) The hash algorithms that use pointers (e.g. func_hash, code_hash) are universally not correct on Win64 (they assume that sizeof(long) == sizeof(void*)) As well, this patch significantly cleans up the hash code. It adds the two function _Py_HashDouble and _PyHash_VoidPtr that the various hashing routine are changed to use. These help maintain the hash function invariant: (a==b) => (hash(a)==hash(b))) I have added Lib/test/test_hash.py and Lib/test/output/test_hash to test this for some cases.
-
Fred Drake authored
get_starttag_text(): New method. Return the text of the most recently parsed start tag, from the '<' to the '>' or '/'. Not really useful for structure processing, but requested for Web-related use. May also be useful for being able to re-generate the input from the parse events, but there's no equivalent for end tags. attrfind: Be a little more forgiving of unquoted attribute values.
-
Fredrik Lundh authored
(those semantics are weird...) - got rid of $Id$'s (for the moment, at least). in other words, there should be no more "empty" checkins. - internal: some minor cleanups.
-
Fredrik Lundh authored
trent (who broke it in the first place ;-) will come up with a cleaner solution.
-
Guido van Rossum authored
-
Fredrik Lundh authored
(test_sre still complains about split, but that's caused by the group reset bug, not split itself) - added more mark slots (should be dynamically allocated, but 100 is better than 32. and checking for the upper limit is better than overwriting the memory ;-) - internal: renamed the cursor helper class - internal: removed some bloat from sre_compile
-
Fred Drake authored
OO wrapper for _winreg; blessed by Mark Hammond.
-
Fred Drake authored
-
Guido van Rossum authored
has reviewed this, too.
-
Guido van Rossum authored
-
Fred Drake authored
OO wrapper for this module.
-
Barry Warsaw authored
threads use --without-threads. No extra tests of thread/compiler combinations have been added. --with(out)-thread and --with(out)-threads are completely interchangeable. --with-threads still supports the =DIRECTORY option for specifying where to find thread libraries.
-
Barry Warsaw authored
are enabled by default now unless --without-threads is given to configure.
-
Guido van Rossum authored
warning on Windows.
-
Jeremy Hylton authored
-
Guido van Rossum authored
accidentally wiped out by Ping's patch (which shouldn't have affected this file at all, had Ping done a cvs update). This checkin restores Gordon's version, with Fredrik's change merged back in.
-
Marc-André Lemburg authored
New test output
-
Fredrik Lundh authored
my compiler, but not on guido's box...)
-
Greg Ward authored
-
Fredrik Lundh authored
(closes the "SRE: symbolic reference" bug)
-
Fredrik Lundh authored
tests in sre_patch back to previous version - fixed return value from findall - renamed a bunch of functions inside _sre (way too many leading underscores...) </F>
-
Greg Stein authored
-
Fredrik Lundh authored
- removed some hacks that worked around 1.6 alpha bugs - removed bogus test code from sre_parse
-
Fredrik Lundh authored
-
Fredrik Lundh authored
-
Fred Drake authored
-
Fred Drake authored
Correct exception information in one docstring.
-
Fred Drake authored
-
Fred Drake authored
Greg, this is yours!
-