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
Raymond Hettinger
76d962d700
Treat None as a constant.
2004-07-16 12:16:48 +00:00
Jack Jansen
11d9b06283
Fix for #779167: use InternetConfig proxy settings on MacOSX (in addition
...
to unix-style).
2004-07-16 11:45:00 +00:00
Jack Jansen
b36687a483
Don't hardcode "Python" as the framework name, we have a variable for it:
...
$PYTHONFRAMEWORK.
2004-07-16 08:43:47 +00:00
Jack Jansen
6c09a21f66
Fix for #795649: explain how to use TextEdit for editing Python code.
2004-07-15 22:38:06 +00:00
Jack Jansen
e497978201
Fix for 838140: don't call NSUnlinkModule when we fail to find our
...
expected entrypoint. The unlinking will crash the application if the
module contained ObjC code. The price of this is small: a little wasted
memory, and only in a case than isn't expected to occur often.
2004-07-15 22:28:48 +00:00
Jack Jansen
ad1654e03a
After more than two years of puzzlement Jurjen Bos found the reason for
...
the double-scroll problem: when you pass a tracker function to TrackControl
you shouldn't call your hit function again afterwards. Fixes #711989.
2004-07-15 22:08:33 +00:00
Raymond Hettinger
67115a2b02
Apply VISIT macro.
2004-07-15 21:32:18 +00:00
Jack Jansen
4f9013759b
- Added a note about fixversions.py
...
- Ran it.
2004-07-15 21:30:41 +00:00
Jack Jansen
c572e42fb4
Call the correct tp_dealloc.
2004-07-15 21:24:07 +00:00
Jack Jansen
84b7447752
_localemodule now needs to be linked with CoreFoundation on darwin.
2004-07-15 19:56:25 +00:00
Andrew M. Kuchling
5336f8caa4
[Patch #982681] Apply this patch correctly; makes set_reuse_addr() work on Windows
2004-07-15 16:17:07 +00:00
Jack Jansen
7323f08422
A script to fix version strings in .plist files.
2004-07-15 16:03:55 +00:00
Nicholas Bastin
9ba301e589
Moved SunPro warning suppression into pyport.h and out of individual
...
modules and objects.
2004-07-15 15:54:05 +00:00
Jack Jansen
95b66f3276
Allow overriding of bgen pathnames in an optional module bgenlocationcustomize.
...
Editing of bgenlocations.py isn't easy if your Python was supplied by Apple.
2004-07-15 15:06:07 +00:00
Jack Jansen
ce17cf6da7
The CF inheritance could cause double frees of the underlying objects.
...
Fixed.
2004-07-15 14:25:48 +00:00
Jack Jansen
d9e50f554f
CFStringGetUnicode() returned an extra null character at the end of the string.
...
fixed.
2004-07-15 14:11:30 +00:00
Jack Jansen
3bfc28c12f
Make CF module PEP253 based (finally).
2004-07-15 13:42:06 +00:00
Jack Jansen
59f072ad7c
Moved PyMac_GetScript() to _localemodule, which is the only place where
...
it is used, and made it private. Should fix #978662.
2004-07-15 13:31:39 +00:00
Jack Jansen
75694501ca
Get rid of incorrect use of OSAGetCurrentDialect. Fixes #884085.
2004-07-15 13:21:16 +00:00
Andrew M. Kuchling
3fc2fde7ff
Typo fixes
2004-07-15 12:17:26 +00:00
Andrew M. Kuchling
0045717090
Add thread-local feature
2004-07-15 11:52:40 +00:00
Andrew M. Kuchling
23406894ea
Correct a paragraph: basicConfig() isn't actually new
2004-07-15 11:44:42 +00:00
Tim Peters
de8332171a
SF bug 990749: os constants missing
...
A LaTeX comment identified the 6 os.O_XXX constants the docs claimed
are available on Windows but aren't. The bug report listed the same 6.
Split these non-Windows constants into a different table with a possibly
correct "Availability:" claim.
2004-07-15 05:46:37 +00:00
Raymond Hettinger
58ed69b402
Exercise Jim's VISIT macro.
2004-07-15 05:32:47 +00:00
Kurt B. Kaiser
8aa23927e3
Checking sys.platform for substring 'win' was breaking IDLE docs on Mac
...
(darwin). Also, Mac Safari browser requires full file:// URIs. SF 900580
M EditorWindow.py
M NEWS.txt
M configHelpSourceEdit.py
M idlever.py
2004-07-15 04:54:57 +00:00