Neal Norwitz
5e4a3b86b3
Move comment that goes along with audioop
2004-07-19 16:55:07 +00:00
Martin v. Löwis
8fbefe2874
Patch #993173 : Enable audioop on 64-bit platforms.
2004-07-19 16:42:20 +00:00
Martin v. Löwis
b0c319a905
Patch #993187 : Make rstrip doc similar to lstrip.
...
Backported to 2.3.
2004-07-19 16:34:01 +00:00
Neil Schemenauer
3a313e3655
Check the type of values returned by __int__, __float__, __long__,
...
__oct__, and __hex__. Raise TypeError if an invalid type is
returned. Note that PyNumber_Int and PyNumber_Long can still
return ints or longs. Fixes SF bug #966618 .
2004-07-19 16:29:17 +00:00
Neil Schemenauer
66edb6295f
Don't return spurious empty fields if 'keep_empty_values' is True.
...
Fixes SF bug #990307 .
2004-07-19 15:38:11 +00:00
Thomas Heller
36a0f89c37
The binary layout of cfgdata has changed, so the magic number has to
...
change as well.
Recompiled binaries after this change.
2004-07-19 10:07:28 +00:00
Thomas Heller
876d990ae0
The binary layout of cfgdata has changed, so the magic number has to
...
change as well.
Display an additional message box when a mismatch is detected.
2004-07-19 09:57:58 +00:00
Thomas Heller
b8f134e3c3
The binary layout of cfgdata has changed, so the magic number has to
...
change as well. Add a comment explaining this.
2004-07-19 09:45:46 +00:00
Hye-Shik Chang
5ef601854e
test_codecmaps_hk is also expected to be skipped when a mapping file
...
isn't available. (Spotted by Raymond Hettinger)
2004-07-19 06:39:37 +00:00
Neal Norwitz
76aa2eff4e
Get doc to build (add missing backslash)
2004-07-19 01:39:54 +00:00
Raymond Hettinger
e9c89e8308
Silence a GCC unused variable warning in debug builds.
2004-07-19 00:10:24 +00:00
Neal Norwitz
a0e0cd3013
Don't try to create the directory if it already exists, otherwise the test fails
2004-07-19 00:08:59 +00:00
Tim Peters
90ee7eb18e
Record that FCNTL.py has gone away; remove FCNTL hack in tempfile.py;
...
another hack remains in test___all__.py, but the problem that one
addresses is more general than *just* FCNTL, so leaving it alone.
2004-07-18 23:58:17 +00:00
Andrew M. Kuchling
9516609b6b
Remove FCNTL.py, following python-dev discussion
2004-07-18 23:44:58 +00:00
Tim Peters
beb7c0c434
test_sf_950057's gen1() used an assert statement, which caused the test
...
to fail when running with -O. Changed to raise AssertionError instead.
2004-07-18 17:34:03 +00:00
Tim Peters
68a323c5d8
Whitespace normalization. Had to break guido's lock on rev 1.1 to do
...
this, but I'm sure it wasn't locked intentionally.
2004-07-18 16:56:37 +00:00
Hye-Shik Chang
07e5dc8813
Teach VC6 project file about the new cjkcodecs structure.
2004-07-18 15:36:31 +00:00
Hye-Shik Chang
64a9e38f35
Replace an extern magic to assigning declared pointer from array's.
...
And unifdef(1) compatibility blocks.
2004-07-18 15:02:45 +00:00
Hye-Shik Chang
22118bc0b0
Oops -kb bit had been in my CVS/Entries. Converting it to plain
...
text again. Sorry.
2004-07-18 08:53:18 +00:00
Hye-Shik Chang
3341e384d3
cjkcodecs/mapdata_*.c are removed by the recent import CJKCodecs 1.1.
2004-07-18 08:45:15 +00:00
Hye-Shik Chang
ca455e8bc9
Remove unused CNS-11643 mapping which shouldn't merged into main Python
...
yet.
2004-07-18 08:35:43 +00:00
Tim Peters
4658540ed3
Repair bizarre generated Python.
2004-07-18 06:35:21 +00:00
Tim Peters
56b021a27b
Ignore more encoding input files.
2004-07-18 06:27:59 +00:00
Tim Peters
a44b56540f
Ignore input files for encoding tests (these aren't checked in).
2004-07-18 06:27:12 +00:00
Tim Peters
3d7d372ce3
Whitespace normalization, via reindent.py.
2004-07-18 06:25:50 +00:00
Tim Peters
182b5aca27
Whitespace normalization, via reindent.py.
2004-07-18 06:16:08 +00:00
Tim Peters
e6ddc8b20b
Whitespace normalization. Ran reindent.py over the entire source tree.
2004-07-18 05:56:09 +00:00
Tim Peters
4fba4521e8
WTF is with this script? It contained illegal syntax and illegal
...
indentation -- it could never have been run, under any version of Python.
2004-07-18 05:31:31 +00:00
Tim Peters
6920e49e7e
Woo hoo! All the encoding tests pass on Windows (& I downloaded the
...
14 input files needed to run all of them).
2004-07-18 05:06:31 +00:00
Tim Peters
91380d5f28
Repair MS compiler warning about signed-vs-unsigned mismatch. The plane
...
and width clearly don't need to be signed.
2004-07-18 04:34:33 +00:00
Tim Peters
cc8f997543
More cjkcodecs recovery: Python at least compiles on Window again.
2004-07-18 04:30:37 +00:00
Tim Peters
7c7b3da46e
Added a comment explaining the extern ugliness.
2004-07-18 04:26:10 +00:00
Tim Peters
0f27166e6a
Changed the "predefinitions" of codec_list and mapping_list from static
...
to extern. It's not legal C to say
static whatever[];
because the size isn't given. Presumably this is a gcc extension.
2004-07-18 04:20:15 +00:00
Tim Peters
d0bcf351ff
Teach VC 7.1 about the new cjkcodecs structure. This still doesn't compile
...
on Windows, because of non-standard code in cjkcodes.h, but it's *almost*
there.
2004-07-18 03:48:47 +00:00
Hye-Shik Chang
2bb146f2f4
Bring CJKCodecs 1.1 into trunk. This completely reorganizes source
...
and installed layouts to make maintenance simple and easy. And it
also adds four new codecs; big5hkscs, euc-jis-2004, shift-jis-2004
and iso2022-jp-2004.
2004-07-18 03:06:29 +00:00
Tim Peters
264c659197
Oops! Restored the pickle test to test_pyclbr, but changed types.py so
...
that pyclbr doesn't need to special-case modules that do "from types
import *".
2004-07-18 00:08:11 +00:00
Tim Peters
fa7809df02
The Darwin-specific getproxies_internetconfig() was added to urllib,
...
causing test_pyclbr to fail on all other platforms. Added that routine
to the urllib "ignore" list.
Removed the special case for "g" in the pickle module. types.py deletes
"g" from its namespace; maybe it didn't always. Whatever, the special
case isn't needed today.
2004-07-18 00:00:03 +00:00
Tim Peters
1d64fb3461
Temporarily add the Tcl/Tk bin directory to PATH, so that test_tcl can
...
actually run. When it fails, it pops up a dialog box, and the test run
hangs waiting for you to click OK -- that sucks too much to bear.
2004-07-17 23:44:32 +00:00
Raymond Hettinger
11a70c79b9
Upgrade None assignment SyntaxWarning to a SyntaxError.
2004-07-17 21:46:25 +00:00
Hye-Shik Chang
910d8f1e89
Change CJK encoding aliases to their most popular variation of
...
hyphen and underscores in consistency of non-CJK aliases.
(Spotted by Mike Brown at SF #969415 )
2004-07-17 14:44:43 +00:00
Andrew M. Kuchling
0ec0b725ae
Fix comment typo
2004-07-17 14:44:17 +00:00
Andrew M. Kuchling
e970d2a310
Add a definition (found in the Debian patches for 2.3.4)
2004-07-17 14:43:32 +00:00
Hye-Shik Chang
2b05248e8b
SF #990497 : Fix a trivial typo in sorted() example.
...
(Submitted by Daniel Pezely)
2004-07-17 13:53:48 +00:00
Andrew M. Kuchling
872dc5c457
Minor edits
2004-07-17 13:35:43 +00:00
Tim Peters
db5860b7c7
optimize_code(): Repaired gross error in new special-casing for None.
...
The preceding case statement was missing a terminating "break" stmt,
so fell into the new code by mistake. This caused uncaught out-of-bounds
accesses to the "names" tuple, leading to a variety of insane behaviors.
2004-07-17 05:00:52 +00:00
Tim Peters
8ff9f9f4aa
Supply missing word in new datetime docs, aggravated by copy-paste-edit.
2004-07-17 01:42:26 +00:00
Thomas Heller
040d6d02b7
The new distutils features justify a new version number, imo.
...
If someone has other ideas for the numbering scheme, please change to
something else (1.1.0 ?).
2004-07-16 18:14:37 +00:00
Jack Jansen
122f87fa04
The interpreter popup was never filled with any data, fixed.
...
Fixes #775878 .
2004-07-16 12:36:02 +00:00
Jack Jansen
6e3b425f3f
Made preference window resizable (and do the most logical thing on resize)
2004-07-16 12:35:06 +00:00
Jack Jansen
31bca4ef12
Cleaned up list of interpreters.
2004-07-16 12:34:23 +00:00