summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [*** Not tested as I don't have Windows running right now! ***]Fred Drake2000-06-302-4/+24
| | | | | | | | | | | | | | | Trent Mick <trentm@activestate.com>: Fix PC/msvcrtmodule.c and PC/winreg.c for Win64. Basically: - sizeof(HKEY) > sizeof(long) on Win64, so use PyLong_FromVoidPtr() instead of PyInt_FromLong() to return HKEY values on Win64 - Check for string overflow of an arbitrary registry value (I know that ensuring that a registry value does not overflow 2**31 characters seems ridiculous but it is *possible*). Closes SourceForge patch #100517.
* add note about what happened to Python 1.6Jeremy Hylton2000-06-301-1/+5
| | | | also, fix type (not caught by Rob Hooft, but could have been :-)
* Document --with-thread as deprecated. This gets rid of the annoyingBarry Warsaw2000-06-302-181/+184
| | | | newline in configure --help.
* * added a randomize flag and corresponding -r command line argument thatSkip Montanaro2000-06-301-8/+13
| | | | | | | | | allows the caller to execute the various tests in pseudo-random order - default is still to execute tests in the order returned by findtests(). * moved initialization of the various flag variables to the main() function definition, making it possible to execute regrtest.main() interactively and still override default behavior.
* Switch to sre for regular expression matching (the new mini-re moduleGuido van Rossum2000-06-303-654/+665
| | | | | is actually by Fredrik Lundh). This will break the re tests -- Fredrik will fix this before the final release.
* Enable the garbage collection module by default. --without-cycle-gcBarry Warsaw2000-06-302-212/+224
| | | | | | | | | disables it. The gc test is moved to just after the thread test, as is the wctype-functions test. Modules/Setup.config is generated instead of Modules/Setup.thread. Applied SF patch #100684 (loewis) to fix help alignment bug.
* Trent Mick <trentm@activestate.com>:Fred Drake2000-06-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | The common technique for printing out a pointer has been to cast to a long and use the "%lx" printf modifier. This is incorrect on Win64 where casting to a long truncates the pointer. The "%p" formatter should be used instead. The problem as stated by Tim: > Unfortunately, the C committee refused to define what %p conversion "looks > like" -- they explicitly allowed it to be implementation-defined. Older > versions of Microsoft C even stuck a colon in the middle of the address (in > the days of segment+offset addressing)! The result is that the hex value of a pointer will maybe/maybe not have a 0x prepended to it. Notes on the patch: There are two main classes of changes: - in the various repr() functions that print out pointers - debugging printf's in the various thread_*.h files (these are why the patch is large) Closes SourceForge patch #100505.
* Trent Mick <trentm@activestate.com>:Fred Drake2000-06-302-14/+33
| | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes possible overflow in the use of PyOS_GetLastModificationTime in getmtime.c and Python/import.c. Currently PyOS_GetLastModificationTime returns a C long. This can overflow on Win64 where sizeof(time_t) > sizeof(long). Besides it should logically return a time_t anyway (this patch changes this). As well, import.c uses PyOS_GetLastModificationTime for .pyc timestamping. There has been recent discussion about the .pyc header format on python-dev. This patch adds oveflow checking to import.c so that an exception will be raised if the modification time overflows. There are a few other minor 64-bit readiness changes made to the module as well: - size_t instead of int or long for function-local buffer and string length variables - one buffer overflow check was added (raises an exception on possible overflow, this overflow chance exists on 32-bit platforms as well), no other possible buffer overflows existed (from my analysis anyway) Closes SourceForge patch #100509.
* the usualGuido van Rossum2000-06-304-572/+713
|
* Setup.thread.in was misnamed so it has been replaced byBarry Warsaw2000-06-301-5/+4
| | | | | Setup.config.in. The latter contains all configure-time selectable modules; currently thread and gc.
* Add Setup.configBarry Warsaw2000-06-301-0/+1
|
* Update version numbering from 1.6 to 2.0.Fred Drake2000-06-3011-16/+16
|
* Removed the comment about the thread module.Barry Warsaw2000-06-301-2/+0
|
* Setup.thread => Setup.configBarry Warsaw2000-06-303-4/+4
|
* Added #undef of WITH_CYCLE_GC for autoconf's delight.Barry Warsaw2000-06-302-3/+6
|
* Update authors email address and corporate affiliation.Fred Drake2000-06-301-3/+2
|
* Uncomment some additions from Vladimir pertinent to 2.0 but not 1.5.2.Fred Drake2000-06-301-8/+7
|
* Python's .lib is now named Python20.libMark Hammond2000-06-301-2/+2
|
* Martin von Löwis <loewis@informatik.hu-berlin.de>:Fred Drake2000-06-301-1/+2
| | | | Do not forget to install the xml packages!
* Update the release number & date, Guido's employer.Fred Drake2000-06-301-4/+3
|
* Document randrange().Fred Drake2000-06-301-0/+8
|
* Fix an icon width; a "32" became a "3" somehow, and that did not lookFred Drake2000-06-301-1/+1
| | | | as nice. ;)
* remove all prints (since the prints where of memory locations)Jeremy Hylton2000-06-302-23/+0
|
* Trent Mick <trentm@activestate.com>:Fred Drake2000-06-3022-153/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | The common technique for printing out a pointer has been to cast to a long and use the "%lx" printf modifier. This is incorrect on Win64 where casting to a long truncates the pointer. The "%p" formatter should be used instead. The problem as stated by Tim: > Unfortunately, the C committee refused to define what %p conversion "looks > like" -- they explicitly allowed it to be implementation-defined. Older > versions of Microsoft C even stuck a colon in the middle of the address (in > the days of segment+offset addressing)! The result is that the hex value of a pointer will maybe/maybe not have a 0x prepended to it. Notes on the patch: There are two main classes of changes: - in the various repr() functions that print out pointers - debugging printf's in the various thread_*.h files (these are why the patch is large) Closes SourceForge patch #100505.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-301-1/+1
| | | | A previous patch by Jack Jansen was accidently reverted.
* Oops.Guido van Rossum2000-06-301-2/+2
| | | | | | | - The Tcl minor version should be 3 -- we're now using 8.3.1. - Remove the version number from yet another Tcl source file. Note that Tcl should be installed in C:\src\tcl for this to work.
* Poke and hope for Tcl version: now settable through _TCLMINOR_Guido van Rossum2000-06-301-4/+8
| | | | variable...
* add gcmoduleJeremy Hylton2000-06-301-0/+14
|
* Change the include etc paths to Tcl 8.3.1.Guido van Rossum2000-06-301-4/+4
|
* Move Wise install dir consistently to C:\Wise. Don't use %_WISE_% inGuido van Rossum2000-06-301-3/+3
| | | | include, it doesn't seem to work.
* Poke and hope for Tim...Guido van Rossum2000-06-301-6/+6
| | | | (Change title to beta 1, change a few paths for typical Win98 setup.)
* More 2.0 stuff -- fix workspace, remove 1.6 filesGuido van Rossum2000-06-303-3009/+16
|
* the mad patcher strikes again:Fredrik Lundh2000-06-305-66/+73
| | | | | | | | | | | | | | | -- added pickling support (only works if sre is imported) -- fixed wordsize problems in engine (instead of casting literals down to the character size, cast characters up to the literal size (same as the code word size). this prevents false hits when you're matching a unicode pattern against an 8-bit string. (unfortunately, this broke another test, but I think the test should be changed in this case; more on that on python-dev) -- added sre.purge function (unofficial, clears the cache)
* Trivial commit to test Windows CVS capabilities.Guido van Rossum2000-06-301-2/+2
|
* Credit /F in a few placesAndrew M. Kuchling2000-06-301-14/+33
| | | | | | Mention the GC module Add MH's explanation of the Windows crash Add atexit.py
* - fixed lookahead assertions (#10, #11, #12)Fredrik Lundh2000-06-306-90/+146
| | | | - untabified sre_constants.py
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-301-1/+1
| | | | Fixed a quote bug. Thanks to Fredrik Lundh.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-302-49/+129
| | | | | | New buffer overflow checks for formatting strings. By Trent Mick.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-301-0/+1
| | | | Added test output.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-301-0/+52
| | | | | | | New test for huge formatting strings (these could cause core dumps in previous versions). By Trent Mick.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-301-60/+1
| | | | | Include <> -> "". Removed some left over code at the end of the file. Patch by Bill Tutt.
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-301-1/+1
| | | | Include <> -> "". Patch by Bill Tutt.
* New test for the ucnhash module.Marc-André Lemburg2000-06-301-0/+82
|
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-301-3/+0
| | | | Updated test output (the ucn tests are now in test_ucn).
* Marc-Andre Lemburg <mal@lemburg.com>:Marc-André Lemburg2000-06-301-74/+0
| | | | Moved tests of new Unicode Char Name support to a separate test.
* - added support for (?P=name)Fredrik Lundh2000-06-302-6/+17
| | | | (closes #3 and #7 from the status report)
* Making a tiny change to figure out what I'm going to screw upTim Peters2000-06-301-1/+2
| | | | by trying to use CVS under Windows at all ...
* - pedantic: make sure "python -t" doesn't complain...Fredrik Lundh2000-06-304-587/+587
|
* - fixed default value handling in group/groupdictFredrik Lundh2000-06-304-19/+423
| | | | - added test suite
* Describe a bit about writing test cases for Python...Skip Montanaro2000-06-301-0/+77
|