- 30 Jun, 2000 20 commits
-
-
Fredrik Lundh authored
- added test suite
-
Skip Montanaro authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
another typo caught by Rob Hooft
-
Jeremy Hylton authored
-
Jeremy Hylton authored
update configure files (turn --with-cycle-gc on for beta release?)
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
Berkeley DB 2.0 or newer; most Linux distros will include a more recent version than 1.85.
-
Fred Drake authored
-
Fred Drake authored
new winreg module.
-
Fred Drake authored
Make some references between the distutils documents hyperlinks using the \citetitle markup.
-
Greg Ward authored
-
Guido van Rossum authored
Note that configure hadn't been checked in a few times so it has more changes, catching up with the last few changes to congifure.in as well.
-
Fred Drake authored
This patch fixes possible overflows in the socket module for 64-bit platforms (mainly Win64). The changes are: - abstract the socket type to SOCKET_T (this is SOCKET on Windows, int on Un*x), this is necessary because sizeof(SOCKET) > sizeof(int) on Win64 - use INVALID_SOCKET on Win32/64 for an error return value for accept() - ensure no overflow of the socket variable for: (1) a PyObject return value (use PyLong_FromLongLong if necessary); and (2) printf formatting in repr(). Closes SourceForge patch #100516.
-
Guido van Rossum authored
autoheader revealed this.
-
Guido van Rossum authored
Tim posted a long comment to python-dev (subject: "Controversial patch (cmath)"; date: 6/29/00). The conclusion is that this whole module stinks and this patch isn't perfect, but it's better than the acosh and asinh we had, so let's check it in.
-
Andrew M. Kuchling authored
Removed all but one XXX. Replaced 1.6 with 2.0. Various minor corrections and additions.
-
Andrew M. Kuchling authored
-
Fredrik Lundh authored
- fixed compiler problems when using locale/unicode flags - fixed group/octal code parsing in sub/subn templates
-
- 29 Jun, 2000 20 commits
-
-
Greg Ward authored
misc/install.c, still needs to be updated, and it looks like a non-trivial change.
-
Fredrik Lundh authored
group reset problem. in the meantime, I added some optimizations: - added "inline" directive to LOCAL (this assumes that AC_C_INLINE does what it's supposed to do). to compile SRE on a non-unix platform that doesn't support inline, you have to add a "#define inline" somewhere... - added code to generate a SRE_OP_INFO primitive - added code to do fast prefix search (enabled by the USE_FAST_SEARCH define; default is on, in this release)
-
Greg Ward authored
otherwise just generate an '/export:' option.
-
Greg Ward authored
fail do we try for win32api/win32con. If *those* both fail, then we don't have registry access. Phew!
-
Fred Drake authored
is not needed anywhere.
-
Greg Ward authored
-
Greg Ward authored
More reformatting by me. Also added some editorial comments.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Fred Drake authored
This patch fixes a possible overflow in the Sleep system call on Win32/64 in the time_sleep() function in the time module. For very large values of the give time to sleep the number of milliseconds can overflow and give unexpected sleep intervals. THis patch raises an OverflowError if the value overflows. Closes SourceForge patch #100514.
-
Fred Drake authored
This patch fixes the posix module for large file support mainly on Win64, although some general cleanup is done as well. The changes are: - abstract stat->STAT, fstat->FSTAT, and struct stat->STRUCT_STAT This is because stat() etc. are not the correct functions to use on Win64 (nor maybe on other platforms?, if not then it is now trivial to select the appropriate one). On Win64 the appropriate system functions are _stati64(), etc. - add _pystat_fromstructstat(), it builds the return tuple for the fstat system call. This functionality was being duplicated. As well the construction of the tuple was modified to ensure no overflow of the time_t elements (sizeof(time_t) > sizeof(long) on Win64). - add overflow protection for the return values of posix_spawnv and posix_spawnve - use the proper 64-bit capable lseek() on Win64 - use intptr_t instead of long where appropriate from Win32/64 blocks (sizeof(void*) > sizeof(long) on Win64) This closes SourceForge patch #100513.
-
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
-