summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* replace constant 1 with symbolic constant METH_VARARGSJeremy Hylton2000-06-301-9/+9
| | | | another typo caught by Rob Hooft
* another typo caught by Rob HooftJeremy Hylton2000-06-301-1/+1
|
* penultimate phase of Neil Schemenauer's GC patchesJeremy Hylton2000-06-303-314/+352
| | | | update configure files (turn --with-cycle-gc on for beta release?)
* Change description of altzone to not refer to the "0th meridian".Fred Drake2000-06-301-2/+2
|
* Say "manual page", not "man page", when referring to the Unix manual.Fred Drake2000-06-301-1/+1
|
* Add a comment about needing to change a #include if using a version ofFred Drake2000-06-301-0/+1
| | | | | Berkeley DB 2.0 or newer; most Linux distros will include a more recent version than 1.85.
* Make sure to note that this module was added for Python 2.0!Fred Drake2000-06-301-0/+2
|
* Reflect the name change to _winreg; we still need documentation for theFred Drake2000-06-301-2/+6
| | | | new winreg module.
* Update Python version numbers from 1.6 to 2.0 where appropriate.Fred Drake2000-06-302-17/+19
| | | | | Make some references between the distutils documents hyperlinks using the \citetitle markup.
* Bump version to 0.9.Greg Ward2000-06-301-1/+1
|
* Bump version to 2.0.Guido van Rossum2000-06-302-217/+299
| | | | | | 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.
* Trent Mick <trentm@activestate.com>:Fred Drake2000-06-301-13/+46
| | | | | | | | | | | | | | | | | | 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.
* Somehow this had HAVE_SYS_SOCKET_H twice. Once is enough. RerunningGuido van Rossum2000-06-301-3/+0
| | | | autoheader revealed this.
* Patch by Nadav Horesh to make acosh and asinh better.Guido van Rossum2000-06-301-7/+12
| | | | | | | 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.
* Finished the GC section.Andrew M. Kuchling2000-06-301-71/+67
| | | | | | Removed all but one XXX. Replaced 1.6 with 2.0. Various minor corrections and additions.
* Document recently-added mouse-related functionsAndrew M. Kuchling2000-06-301-0/+50
|
* - fixed split behaviour on empty matchesFredrik Lundh2000-06-304-42/+55
| | | | | | - fixed compiler problems when using locale/unicode flags - fixed group/octal code parsing in sub/subn templates
* Allow 2.0 on the list of target versions. NB. this isn't enough: the GUI part,Greg Ward2000-06-291-5/+5
| | | | | misc/install.c, still needs to be updated, and it looks like a non-trivial change.
* still trying to figure out how to fix the remainingFredrik Lundh2000-06-292-13/+134
| | | | | | | | | | | | | | | | | | | 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)
* Don't try to guess the name of a .def file -- if one is supplied, use it,Greg Ward2000-06-291-6/+0
| | | | otherwise just generate an '/export:' option.
* On second thought, first try for _winreg, and then winreg. Only if bothGreg Ward2000-06-291-1/+5
| | | | | fail do we try for win32api/win32con. If *those* both fail, then we don't have registry access. Phew!
* Removed --l2h-config option; it introduced unnecessary complexity andFred Drake2000-06-291-10/+1
| | | | is not needed anywhere.
* Changed to use _winreg module instead of winreg.Greg Ward2000-06-291-6/+6
|
* Cleaned up and reformatted by Rene Liebscher.Greg Ward2000-06-291-95/+113
| | | | | More reformatting by me. Also added some editorial comments.
* Bump version to 2.0.Guido van Rossum2000-06-292-0/+2920
|
* Bump version to 2.0b1. Change copyright to BeOpen, CNRI, SMC.Guido van Rossum2000-06-291-4/+4
|
* Bump version to 2.0b1.Guido van Rossum2000-06-291-6/+6
|
* Tentative 2.0 and BeOpen upgrade.Guido van Rossum2000-06-291-50/+38
|
* Trent Mick <trentm@activestate.com>:Fred Drake2000-06-291-4/+11
| | | | | | | | | | 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.
* Trent Mick <trentm@activestate.com>:Fred Drake2000-06-291-67/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Trent Mick <trentm@activestate.com>:Fred Drake2000-06-291-5/+6
| | | | | | | | | | 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.
* This patch extends PC/config.h and configure.in as appropriate forFred Drake2000-06-294-10/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update comments relating to the removal of the -X option and of stringFred Drake2000-06-291-16/+11
| | | | exceptions in the interpreter and standard library.
* Typo.Fred Drake2000-06-291-1/+1
|
* The low-level interface is now in _winreg; update the import here.Fred Drake2000-06-291-1/+1
|
* Paul Prescod <paul@prescod.net>:Fred Drake2000-06-292-0/+652
| | | | W3C DOM implementation for Python.
* Package docstring.Fred Drake2000-06-291-0/+8
|
* The usual :)Guido van Rossum2000-06-2927-1113/+1252
|
* Paul Prescod <paul@prescod.net>:Fred Drake2000-06-295-0/+960
| | | | SAX interfaces for Python.
* Package docstring and initialization.Fred Drake2000-06-291-0/+25
|
* Package docstring.Fred Drake2000-06-292-0/+23
|
* This patch addresses two main issues: (1) There exist some non-fatalFred Drake2000-06-2910-49/+126
| | | | | | | | | | | | | | | | | | | | 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.
* [Old patch that hadn't been checked in.]Fred Drake2000-06-291-2/+11
| | | | | | | | | | | 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.
* - fixed another split problemFredrik Lundh2000-06-296-15/+22
| | | | | | | | | (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.
* - workaround to make 1.6 build under MSVC 5.0. hopefully,Fredrik Lundh2000-06-291-0/+4
| | | | | trent (who broke it in the first place ;-) will come up with a cleaner solution.
* Skip Montanaro: modify test_socket.py to listen/connect using loopback addrGuido van Rossum2000-06-291-2/+2
|
* - fixed splitFredrik Lundh2000-06-294-130/+116
| | | | | | | | | | | | | | (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
* Paul Prescod <paul@prescod.net>:Fred Drake2000-06-291-0/+318
| | | | OO wrapper for _winreg; blessed by Mark Hammond.
* Finish converting the winreg extension to _winreg.Fred Drake2000-06-292-1477/+3
|
* Nils Fischbeck: added doc strings to everything. Martin von LoewisGuido van Rossum2000-06-291-9/+1087
| | | | has reviewed this, too.