Michael W. Hudson
5f26dda25d
Restore to ANSI C.
2002-11-09 14:47:18 +00:00
Tim Peters
84fcd92461
Install the bz2 DLL on Windows.
2002-11-09 08:24:58 +00:00
Tim Peters
44a7910873
I already forgot what I changed -- it wasn't important <wink>.
2002-11-09 06:51:30 +00:00
Tim Peters
63c1081ae3
OK -- all tests pass on Windows now. The rest were due to 3 more
...
binary-vs-text-mode screwups.
2002-11-09 06:49:43 +00:00
Tim Peters
9de06bd605
More tests run on Windows now. Something is still wrong here, but no
...
idea what. Added liberal XXX explanations for the next guy.
2002-11-09 06:45:31 +00:00
Tim Peters
499d09af92
Many changes to get this to pass on Windows, and to make it easier to
...
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).
2002-11-09 06:31:56 +00:00
Tim Peters
3de75266aa
Whitespace normalization.
2002-11-09 05:26:15 +00:00
Tim Peters
e7130315a5
Comment out the test docstrings so we can at least tell which tests are
...
failing.
2002-11-09 05:22:41 +00:00
Tim Peters
230a60c6ec
Whitespace normalization.
2002-11-09 05:08:07 +00:00
Tim Peters
b0ead4ea4a
Start building the bz2 module on Windows.
...
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.
2002-11-09 04:48:58 +00:00
Tim Peters
ae9cbee4da
Open at least one binary file in binary mode. This allows a few of the
...
bz2 tests to pass on Windows; most are still failing.
2002-11-09 04:44:30 +00:00
Tim Peters
6ee6db81c2
bz2_compress/bz2_decompress: more casting away LONG_LONG for
...
_PyString_Resize calls.
2002-11-09 04:33:36 +00:00
Tim Peters
39185d622d
BZ2Decomp_decompress(): Fixed more long vs LONG_LONG confusions.
2002-11-09 04:31:38 +00:00
Tim Peters
2858e5e84b
BZ2Comp_flush(): Fixed more int vs LONG_LONG confusions.
2002-11-09 04:30:08 +00:00
Tim Peters
f29f0c6a78
BZ2Comp_compress(): Explicitly cast the LONG_LONG size argument to
...
_PyString_Resize to int.
2002-11-09 04:28:17 +00:00
Tim Peters
07f075cebb
BZ2Comp_compress(): changed decl of totalout to LONG_LONG, since it's
...
solely used to hold LONG_LONG values, and the compiler rightfully warns
about potential data loss otherwise.
2002-11-09 04:26:02 +00:00
Tim Peters
a17c0c4509
Repaired signed-vs-unsigned mismatch.
2002-11-09 04:23:31 +00:00
Tim Peters
e32280987c
This couldn't compile on WIndows, due to hardcoded "long long". Repaired.
2002-11-09 04:21:44 +00:00
Guido van Rossum
7cd83ca9ad
Another attempt at making the set constructor both safe and fast. [SF
...
bug 628246]
2002-11-08 17:03:36 +00:00
Andrew M. Kuchling
91e77536e8
[Bug #233259 ] Ugly traceback for DistutilsPlatformError
...
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.
2002-11-08 16:18:24 +00:00
Andrew M. Kuchling
706867c20c
Fix comment typo
2002-11-08 15:11:42 +00:00
Gustavo Niemeyer
49ea7be7e9
* Modules/bz2module.c
...
(BZ2File_dealloc): Call Util_DropReadAhead().
(*): Included aesthetic changes by Neal Norwitz.
2002-11-08 14:31:49 +00:00
Andrew M. Kuchling
15628fe7bc
Simply delete the fpectl module, instead of leaving it commented out;
...
if people want to compile it, they should edit Modules/Setup, not setup.py
2002-11-08 13:11:50 +00:00
Michael W. Hudson
d5c124af25
Richie Hindle
2002-11-08 13:09:39 +00:00
Michael W. Hudson
006c75265f
This is Richie Hindle's patch:
...
[ 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.
2002-11-08 13:08:46 +00:00