Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make private functions static so we don't pollute the namespace | Neal Norwitz | 2002-11-10 | 2 | -2/+3 |
| | |||||
* | Allow both string and Unicode objects in levels. | Martin v. Löwis | 2002-11-09 | 1 | -2/+2 |
| | |||||
* | Don't try to convert the test filename to Unicode with -U. | Martin v. Löwis | 2002-11-09 | 1 | -1/+6 |
| | |||||
* | Fix typo. | Martin v. Löwis | 2002-11-09 | 1 | -1/+1 |
| | |||||
* | Look in db4 directories when checking for db4. | Martin v. Löwis | 2002-11-09 | 1 | -4/+4 |
| | |||||
* | Search for tix subdirectories. Fixes #564729. Will backport to 2.2. | Martin v. Löwis | 2002-11-09 | 1 | -9/+14 |
| | |||||
* | Restore to ANSI C. | Michael W. Hudson | 2002-11-09 | 1 | -2/+2 |
| | |||||
* | Install the bz2 DLL on Windows. | Tim Peters | 2002-11-09 | 1 | -0/+10 |
| | |||||
* | I already forgot what I changed -- it wasn't important <wink>. | Tim Peters | 2002-11-09 | 1 | -2/+0 |
| | |||||
* | OK -- all tests pass on Windows now. The rest were due to 3 more | Tim Peters | 2002-11-09 | 1 | -22/+5 |
| | | | | binary-vs-text-mode screwups. | ||||
* | More tests run on Windows now. Something is still wrong here, but no | Tim Peters | 2002-11-09 | 1 | -27/+34 |
| | | | | idea what. Added liberal XXX explanations for the next guy. | ||||
* | Many changes to get this to pass on Windows, and to make it easier to | Tim Peters | 2002-11-09 | 1 | -11/+45 |
| | | | | | | | | figure out what the code was doing. The fixes were a combination of closing open files before deletion, opening files in binary mode, and plain skipping things that can't work on Windows (BaseTest.decompress uses a process gimmick that doesn't exist on Windows, and, even if it did, assumes a "bunzip2" executable is on PATH). | ||||
* | Whitespace normalization. | Tim Peters | 2002-11-09 | 7 | -296/+296 |
| | |||||
* | Comment out the test docstrings so we can at least tell which tests are | Tim Peters | 2002-11-09 | 1 | -28/+28 |
| | | | | failing. | ||||
* | Whitespace normalization. | Tim Peters | 2002-11-09 | 7 | -28/+27 |
| | |||||
* | Start building the bz2 module on Windows. | Tim Peters | 2002-11-09 | 4 | -0/+140 |
| | | | | | | | | | | CAUTION: The Python test still has many failures, but I'm out of time for this now (already took much longer than hoped to get this far). The base bz2 library does pass its own tests (see next). CAUTION: People building on Windows have to download and build tne bz2 compression libraries now. See PCbuild\readme.txt for complete instructions. | ||||
* | Open at least one binary file in binary mode. This allows a few of the | Tim Peters | 2002-11-09 | 1 | -1/+1 |
| | | | | bz2 tests to pass on Windows; most are still failing. | ||||
* | bz2_compress/bz2_decompress: more casting away LONG_LONG for | Tim Peters | 2002-11-09 | 1 | -2/+2 |
| | | | | _PyString_Resize calls. | ||||
* | BZ2Decomp_decompress(): Fixed more long vs LONG_LONG confusions. | Tim Peters | 2002-11-09 | 1 | -2/+2 |
| | |||||
* | BZ2Comp_flush(): Fixed more int vs LONG_LONG confusions. | Tim Peters | 2002-11-09 | 1 | -2/+2 |
| | |||||
* | BZ2Comp_compress(): Explicitly cast the LONG_LONG size argument to | Tim Peters | 2002-11-09 | 1 | -1/+1 |
| | | | | _PyString_Resize to int. | ||||
* | BZ2Comp_compress(): changed decl of totalout to LONG_LONG, since it's | Tim Peters | 2002-11-09 | 1 | -1/+1 |
| | | | | | solely used to hold LONG_LONG values, and the compiler rightfully warns about potential data loss otherwise. | ||||
* | Repaired signed-vs-unsigned mismatch. | Tim Peters | 2002-11-09 | 1 | -1/+1 |
| | |||||
* | This couldn't compile on WIndows, due to hardcoded "long long". Repaired. | Tim Peters | 2002-11-09 | 1 | -23/+23 |
| | |||||
* | Another attempt at making the set constructor both safe and fast. [SF | Guido van Rossum | 2002-11-08 | 1 | -18/+24 |
| | | | | bug 628246] | ||||
* | [Bug #233259] Ugly traceback for DistutilsPlatformError | Andrew M. Kuchling | 2002-11-08 | 1 | -3/+1 |
| | | | | | | Fixed by catching all exceptions that are subclasses of DistutilsError, so only the error message will be printed. You can still get the whole traceback by enabling the Distutils debugging mode. | ||||
* | Fix comment typo | Andrew M. Kuchling | 2002-11-08 | 1 | -1/+1 |
| | |||||
* | * Modules/bz2module.c | Gustavo Niemeyer | 2002-11-08 | 1 | -12/+21 |
| | | | | | (BZ2File_dealloc): Call Util_DropReadAhead(). (*): Included aesthetic changes by Neal Norwitz. | ||||
* | Simply delete the fpectl module, instead of leaving it commented out; | Andrew M. Kuchling | 2002-11-08 | 1 | -22/+0 |
| | | | | if people want to compile it, they should edit Modules/Setup, not setup.py | ||||
* | Richie Hindle | Michael W. Hudson | 2002-11-08 | 1 | -0/+1 |
| | |||||
* | This is Richie Hindle's patch: | Michael W. Hudson | 2002-11-08 | 2 | -13/+47 |
| | | | | | | | [ 631276 ] Exceptions raised by line trace function It conflicted with the patches from Armin I just checked it, so I had to so some bits by hand. | ||||
* | Assorted patches from Armin Rigo: | Michael W. Hudson | 2002-11-08 | 4 | -43/+65 |
| | | | | | | | | [ 617309 ] getframe hook (Psyco #1) [ 617311 ] Tiny profiling info (Psyco #2) [ 617312 ] debugger-controlled jumps (Psyco #3) These are forward ports from 2.2.2. | ||||
* | Make strip behave as documented. Will backport to 2.2.3. | Martin v. Löwis | 2002-11-08 | 1 | -2/+2 |
| | |||||
* | Clarify the meaning of "requires Python 1.5.2". | Raymond Hettinger | 2002-11-08 | 1 | -3/+4 |
| | |||||
* | Closes SF bug #634069 reporting the docs on the ** operator were out | Raymond Hettinger | 2002-11-08 | 1 | -4/+14 |
| | | | | of date and did not reflect the current CPython implementation. | ||||
* | _update(): Commented the new obscurity. Materialized into a tuple | Tim Peters | 2002-11-08 | 1 | -2/+8 |
| | | | | | | instead of into a list for a bit of speed/space savings. Reopened the bug report too (628246), as I'm unclear on why we don't sort out the cause of the TypeError instead. | ||||
* | Closes SF bug #628246. | Raymond Hettinger | 2002-11-08 | 2 | -0/+27 |
| | | | | | | | | The _update method detected mutable elements by trapping TypeErrors. Unfortunately, this masked useful TypeErrors raised by the iterable itself. For cases where it is possible for an iterable to raise a TypeError, the iterable is pre-converted to a list outside the try/except so that any TypeErrors propagate through. | ||||
* | Got rid of the python.rsrc resource file. The error message strings and | Jack Jansen | 2002-11-07 | 7 | -76/+74 |
| | | | | | | | | | | dialogs are now stored in Mac/Lib, and loaded on demand through macresource. Not only does this simplify a MacPython based on Apple's Python, but it also makes Mac error codes come out symbolically when running command line python (if you have Mac/Lib in your path). The resource files are copied from Mac/Resources. The old ones will disappear after the OS9 build procedure has been adjusted. | ||||
* | Add documentation for the PEP 293 functionality: | Walter Dörwald | 2002-11-07 | 1 | -3/+29 |
| | | | | | | | | | | The errors attribute can be changed after the reader/writer is created. For encoding there are two additional errors values: "xmlcharrefreplace" and "backslashreplace". These values can be extended via register_error(). | ||||
* | Minor markup adjustments. | Fred Drake | 2002-11-07 | 1 | -2/+2 |
| | |||||
* | Restore attribute access so that the following work again: | Raymond Hettinger | 2002-11-07 | 1 | -1/+1 |
| | | | | | dir(xrange(10)) xrange(10).__getitem__(4) | ||||
* | Use dynamic linking for the SHGetSpecialFolderPath function, it is not | Thomas Heller | 2002-11-07 | 1 | -331/+331 |
| | | | | | | | always available on Windows NT. When the function cannot be loaded, get_special_folder_path raises OSError, "function not available". Compiled the exe, and rebuilt bdist_wininst.py. | ||||
* | Fix a small bug when sys.argv[0] has an absolute path. | Thomas Heller | 2002-11-07 | 1 | -1/+1 |
| | | | | See http://mail.python.org/pipermail/distutils-sig/2002-November/003039.html | ||||
* | Document the changed fdopen behaviour. | Thomas Heller | 2002-11-07 | 1 | -0/+4 |
| | | | | (Hope the markup is ok). | ||||
* | NEWS entry for the changed fdopen function. | Thomas Heller | 2002-11-07 | 1 | -0/+4 |
| | |||||
* | Enforce valid filemode. Fixes SF Bug #623464. | Thomas Heller | 2002-11-07 | 1 | -0/+6 |
| | |||||
* | Try linking the major/minor test program. Fixes #634444. | Martin v. Löwis | 2002-11-07 | 2 | -9/+9 |
| | |||||
* | Fixed sre bug "[#581080] Provoking infinite scanner loops". | Gustavo Niemeyer | 2002-11-07 | 2 | -4/+11 |
| | | | | | | | | | | | | | | | | This bug happened because: 1) the scanner_search and scanner_match methods were not checking the buffer limits before increasing the current pointer; and 2) SRE_SEARCH was using "if (ptr == end)" as a loop break, instead of "if (ptr >= end)". * Modules/_sre.c (SRE_SEARCH): Check for "ptr >= end" to break loops, so that we don't hang forever if a pointer passing the buffer limit is used. (scanner_search,scanner_match): Don't increment the current pointer if we're going to pass the buffer limit. * Misc/NEWS Mention the fix. | ||||
* | Script to create .app bundles. Largely untested. | Jack Jansen | 2002-11-06 | 1 | -0/+160 |
| | |||||
* | Add --check-tkinter to setup.py. Install IDLE. Fixes #634078. | Martin v. Löwis | 2002-11-06 | 3 | -6/+31 |
| |