summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - fixed code generation error in multiline modeFredrik Lundh2000-06-302-7/+8
| | | | - fixed parser flag propagation (of all stupid bugs...)
* Only include <basetsd.h> for VC 6.0 and higher.Guido van Rossum2000-06-301-0/+2
|
* replaced <some suitable mail address> with something slightlyFredrik Lundh2000-06-301-4/+25
| | | | more suitable.
* -- changed $ to match before a trailing newline, evenFredrik Lundh2000-06-301-1/+3
| | | | if the multiline flag isn't given.
* As Neil Schemenauer points out, WITH_CYCLE_GC should be uncommented ifGuido van Rossum2000-06-301-1/+1
| | | | we want to have GC enabled in the beta.
* Ooops! I didn't finish all the renaming needed here, so this wasFred Drake2000-06-301-36/+36
| | | | attempting a recursive import and causing a fatal error.
* Add back a missing CRLF line ending.Guido van Rossum2000-06-301-1/+1
|
* s/REGENTS/COPYRIGHT HOLDERS/ followed by paragraph reflow.Guido van Rossum2000-06-301-8/+9
|
* Output for test_winreg2.Fred Drake2000-06-301-0/+1
| | | | | Someone who knows what they are doing needs to replace this with something that makes sense -- I'm not running Windows right now.
* Simplify the registry-module-finding code: _winreg or win32api/win32con.Greg Ward2000-06-301-4/+1
| | | | | | This'll work fine with 2.0 or 1.5.2, but is less than ideal for 1.6a1/a2. But the code to accomodate 1.6a1/a2 was released with Distutils 0.9, so it can go away now.
* Paul Prescod <paul@prescod.net>:Fred Drake2000-06-301-0/+341
| | | | | | Regression test for the new winreg.py module. [Could a Windows person someone please review this?]
* Line-wrap and properly indent a couple of docstrings.Fred Drake2000-06-301-3/+6
|
* Ignore the generated api.tex.Fred Drake2000-06-301-0/+1
|
* The new copyright / license.Fred Drake2000-06-301-23/+27
|
* - reverted to "\x is binary byte"Fredrik Lundh2000-06-303-6/+6
| | | | - removed evil tabs from sre_parse and sre_compile
* Small grammatical correction from Frank Stajano. Added comment withFred Drake2000-06-301-2/+9
| | | | suggestion from Frank for an example and further explanation.
* Try to make sure \code always uses roman (non-italic) text.Fred Drake2000-06-301-2/+2
| | | | Change a 1.6 version number used in a an example in a comment to 2.0.
* [*** 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)