]>
granicus.if.org Git - python/log
Skip Montanaro [Wed, 21 Jul 2004 02:47:10 +0000 (02:47 +0000)]
fix typo, highlight True/False correctly
Brett Cannon [Wed, 21 Jul 2004 02:21:58 +0000 (02:21 +0000)]
Fix bug where a KeyError was raised if -O was being used for the interpreter
and Thread.__delete() was called after a Thread instance was created. Problem
resulted from a currentThread() call in an 'assert' statement being optimized
out and dummy_thread.get_ident() always returning -1 and thus overwriting the
entry for the _MainThread() instance created in 'threading' at import time.
Closes bug #993394.
Neal Norwitz [Wed, 21 Jul 2004 01:41:14 +0000 (01:41 +0000)]
SF #994605, fcntl example is broken
The last call to fcntl (which wasn't changed) doesn't work for me, but
the first part works now.
Backport candidate.
Neal Norwitz [Tue, 20 Jul 2004 22:34:37 +0000 (22:34 +0000)]
Fix SF #994580, typo in time.tzsets docstring. Backport candidate
Neal Norwitz [Tue, 20 Jul 2004 22:31:34 +0000 (22:31 +0000)]
Remove unused variables
Neal Norwitz [Tue, 20 Jul 2004 22:23:02 +0000 (22:23 +0000)]
SF #918101, allow files >= 8 GB using GNU extension
Neal Norwitz [Tue, 20 Jul 2004 22:07:44 +0000 (22:07 +0000)]
SF #857297 and 916874, improve handling of hard links when extracting
Neal Norwitz [Tue, 20 Jul 2004 21:54:18 +0000 (21:54 +0000)]
SF #846659, fix bufsize violation and GNU longname/longlink extensions
Martin v. Löwis [Tue, 20 Jul 2004 14:37:48 +0000 (14:37 +0000)]
Add Itanium targets.
Brett Cannon [Tue, 20 Jul 2004 02:28:28 +0000 (02:28 +0000)]
Fix bug in addsitedir() to properly handle the lack of a second argument.
Fixed to keep backwards-compatibility for the undocumented function.
Closes bug #986795.
Hye-Shik Chang [Tue, 20 Jul 2004 01:42:06 +0000 (01:42 +0000)]
ossaudiodev is available on FreeBSD 5 too.
Martin v. Löwis [Mon, 19 Jul 2004 17:01:20 +0000 (17:01 +0000)]
Patch #984654: Add more address family constants.
Neal Norwitz [Mon, 19 Jul 2004 16:55:07 +0000 (16:55 +0000)]
Move comment that goes along with audioop
Martin v. Löwis [Mon, 19 Jul 2004 16:42:20 +0000 (16:42 +0000)]
Patch #993173: Enable audioop on 64-bit platforms.
Martin v. Löwis [Mon, 19 Jul 2004 16:34:01 +0000 (16:34 +0000)]
Patch #993187: Make rstrip doc similar to lstrip.
Backported to 2.3.
Neil Schemenauer [Mon, 19 Jul 2004 16:29:17 +0000 (16:29 +0000)]
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.
Neil Schemenauer [Mon, 19 Jul 2004 15:38:11 +0000 (15:38 +0000)]
Don't return spurious empty fields if 'keep_empty_values' is True.
Fixes SF bug #990307.
Thomas Heller [Mon, 19 Jul 2004 10:07:28 +0000 (10:07 +0000)]
The binary layout of cfgdata has changed, so the magic number has to
change as well.
Recompiled binaries after this change.
Thomas Heller [Mon, 19 Jul 2004 09:57:58 +0000 (09:57 +0000)]
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.
Thomas Heller [Mon, 19 Jul 2004 09:45:46 +0000 (09:45 +0000)]
The binary layout of cfgdata has changed, so the magic number has to
change as well. Add a comment explaining this.
Hye-Shik Chang [Mon, 19 Jul 2004 06:39:37 +0000 (06:39 +0000)]
test_codecmaps_hk is also expected to be skipped when a mapping file
isn't available. (Spotted by Raymond Hettinger)
Neal Norwitz [Mon, 19 Jul 2004 01:39:54 +0000 (01:39 +0000)]
Get doc to build (add missing backslash)
Raymond Hettinger [Mon, 19 Jul 2004 00:10:24 +0000 (00:10 +0000)]
Silence a GCC unused variable warning in debug builds.
Neal Norwitz [Mon, 19 Jul 2004 00:08:59 +0000 (00:08 +0000)]
Don't try to create the directory if it already exists, otherwise the test fails
Tim Peters [Sun, 18 Jul 2004 23:58:17 +0000 (23:58 +0000)]
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.
Andrew M. Kuchling [Sun, 18 Jul 2004 23:44:58 +0000 (23:44 +0000)]
Remove FCNTL.py, following python-dev discussion
Tim Peters [Sun, 18 Jul 2004 17:34:03 +0000 (17:34 +0000)]
test_sf_950057's gen1() used an assert statement, which caused the test
to fail when running with -O. Changed to raise AssertionError instead.
Tim Peters [Sun, 18 Jul 2004 16:56:37 +0000 (16:56 +0000)]
Whitespace normalization. Had to break guido's lock on rev 1.1 to do
this, but I'm sure it wasn't locked intentionally.
Hye-Shik Chang [Sun, 18 Jul 2004 15:36:31 +0000 (15:36 +0000)]
Teach VC6 project file about the new cjkcodecs structure.
Hye-Shik Chang [Sun, 18 Jul 2004 15:02:45 +0000 (15:02 +0000)]
Replace an extern magic to assigning declared pointer from array's.
And unifdef(1) compatibility blocks.
Hye-Shik Chang [Sun, 18 Jul 2004 08:53:18 +0000 (08:53 +0000)]
Oops -kb bit had been in my CVS/Entries. Converting it to plain
text again. Sorry.
Hye-Shik Chang [Sun, 18 Jul 2004 08:45:15 +0000 (08:45 +0000)]
cjkcodecs/mapdata_*.c are removed by the recent import CJKCodecs 1.1.
Hye-Shik Chang [Sun, 18 Jul 2004 08:35:43 +0000 (08:35 +0000)]
Remove unused CNS-11643 mapping which shouldn't merged into main Python
yet.
Tim Peters [Sun, 18 Jul 2004 06:35:21 +0000 (06:35 +0000)]
Repair bizarre generated Python.
Tim Peters [Sun, 18 Jul 2004 06:27:59 +0000 (06:27 +0000)]
Ignore more encoding input files.
Tim Peters [Sun, 18 Jul 2004 06:27:12 +0000 (06:27 +0000)]
Ignore input files for encoding tests (these aren't checked in).
Tim Peters [Sun, 18 Jul 2004 06:25:50 +0000 (06:25 +0000)]
Whitespace normalization, via reindent.py.
Tim Peters [Sun, 18 Jul 2004 06:16:08 +0000 (06:16 +0000)]
Whitespace normalization, via reindent.py.
Tim Peters [Sun, 18 Jul 2004 05:56:09 +0000 (05:56 +0000)]
Whitespace normalization. Ran reindent.py over the entire source tree.
Tim Peters [Sun, 18 Jul 2004 05:31:31 +0000 (05:31 +0000)]
WTF is with this script? It contained illegal syntax and illegal
indentation -- it could never have been run, under any version of Python.
Tim Peters [Sun, 18 Jul 2004 05:06:31 +0000 (05:06 +0000)]
Woo hoo! All the encoding tests pass on Windows (& I downloaded the
14 input files needed to run all of them).
Tim Peters [Sun, 18 Jul 2004 04:34:33 +0000 (04:34 +0000)]
Repair MS compiler warning about signed-vs-unsigned mismatch. The plane
and width clearly don't need to be signed.
Tim Peters [Sun, 18 Jul 2004 04:30:37 +0000 (04:30 +0000)]
More cjkcodecs recovery: Python at least compiles on Window again.
Tim Peters [Sun, 18 Jul 2004 04:26:10 +0000 (04:26 +0000)]
Added a comment explaining the extern ugliness.
Tim Peters [Sun, 18 Jul 2004 04:20:15 +0000 (04:20 +0000)]
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.
Tim Peters [Sun, 18 Jul 2004 03:48:47 +0000 (03:48 +0000)]
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.
Hye-Shik Chang [Sun, 18 Jul 2004 03:06:29 +0000 (03:06 +0000)]
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.
Tim Peters [Sun, 18 Jul 2004 00:08:11 +0000 (00:08 +0000)]
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 *".
Tim Peters [Sun, 18 Jul 2004 00:00:03 +0000 (00:00 +0000)]
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.
Tim Peters [Sat, 17 Jul 2004 23:44:32 +0000 (23:44 +0000)]
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.
Raymond Hettinger [Sat, 17 Jul 2004 21:46:25 +0000 (21:46 +0000)]
Upgrade None assignment SyntaxWarning to a SyntaxError.
Hye-Shik Chang [Sat, 17 Jul 2004 14:44:43 +0000 (14:44 +0000)]
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)
Andrew M. Kuchling [Sat, 17 Jul 2004 14:44:17 +0000 (14:44 +0000)]
Fix comment typo
Andrew M. Kuchling [Sat, 17 Jul 2004 14:43:32 +0000 (14:43 +0000)]
Add a definition (found in the Debian patches for 2.3.4)
Hye-Shik Chang [Sat, 17 Jul 2004 13:53:48 +0000 (13:53 +0000)]
SF #990497: Fix a trivial typo in sorted() example.
(Submitted by Daniel Pezely)
Andrew M. Kuchling [Sat, 17 Jul 2004 13:35:43 +0000 (13:35 +0000)]
Minor edits
Tim Peters [Sat, 17 Jul 2004 05:00:52 +0000 (05:00 +0000)]
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.
Tim Peters [Sat, 17 Jul 2004 01:42:26 +0000 (01:42 +0000)]
Supply missing word in new datetime docs, aggravated by copy-paste-edit.
Thomas Heller [Fri, 16 Jul 2004 18:14:37 +0000 (18:14 +0000)]
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 ?).
Jack Jansen [Fri, 16 Jul 2004 12:36:02 +0000 (12:36 +0000)]
The interpreter popup was never filled with any data, fixed.
Fixes #775878.
Jack Jansen [Fri, 16 Jul 2004 12:35:06 +0000 (12:35 +0000)]
Made preference window resizable (and do the most logical thing on resize)
Jack Jansen [Fri, 16 Jul 2004 12:34:23 +0000 (12:34 +0000)]
Cleaned up list of interpreters.
Raymond Hettinger [Fri, 16 Jul 2004 12:16:48 +0000 (12:16 +0000)]
Treat None as a constant.
Jack Jansen [Fri, 16 Jul 2004 11:45:00 +0000 (11:45 +0000)]
Fix for #779167: use InternetConfig proxy settings on MacOSX (in addition
to unix-style).
Jack Jansen [Fri, 16 Jul 2004 08:43:47 +0000 (08:43 +0000)]
Don't hardcode "Python" as the framework name, we have a variable for it:
$PYTHONFRAMEWORK.
Jack Jansen [Thu, 15 Jul 2004 22:38:06 +0000 (22:38 +0000)]
Fix for #795649: explain how to use TextEdit for editing Python code.
Jack Jansen [Thu, 15 Jul 2004 22:28:48 +0000 (22:28 +0000)]
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.
Jack Jansen [Thu, 15 Jul 2004 22:08:33 +0000 (22:08 +0000)]
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.
Raymond Hettinger [Thu, 15 Jul 2004 21:32:18 +0000 (21:32 +0000)]
Apply VISIT macro.
Jack Jansen [Thu, 15 Jul 2004 21:30:41 +0000 (21:30 +0000)]
- Added a note about fixversions.py
- Ran it.
Jack Jansen [Thu, 15 Jul 2004 21:24:07 +0000 (21:24 +0000)]
Call the correct tp_dealloc.
Jack Jansen [Thu, 15 Jul 2004 19:56:25 +0000 (19:56 +0000)]
_localemodule now needs to be linked with CoreFoundation on darwin.
Andrew M. Kuchling [Thu, 15 Jul 2004 16:17:07 +0000 (16:17 +0000)]
[Patch #982681] Apply this patch correctly; makes set_reuse_addr() work on Windows
Jack Jansen [Thu, 15 Jul 2004 16:03:55 +0000 (16:03 +0000)]
A script to fix version strings in .plist files.
Nicholas Bastin [Thu, 15 Jul 2004 15:54:05 +0000 (15:54 +0000)]
Moved SunPro warning suppression into pyport.h and out of individual
modules and objects.
Jack Jansen [Thu, 15 Jul 2004 15:06:07 +0000 (15:06 +0000)]
Allow overriding of bgen pathnames in an optional module bgenlocationcustomize.
Editing of bgenlocations.py isn't easy if your Python was supplied by Apple.
Jack Jansen [Thu, 15 Jul 2004 14:25:48 +0000 (14:25 +0000)]
The CF inheritance could cause double frees of the underlying objects.
Fixed.
Jack Jansen [Thu, 15 Jul 2004 14:11:30 +0000 (14:11 +0000)]
CFStringGetUnicode() returned an extra null character at the end of the string.
fixed.
Jack Jansen [Thu, 15 Jul 2004 13:42:06 +0000 (13:42 +0000)]
Make CF module PEP253 based (finally).
Jack Jansen [Thu, 15 Jul 2004 13:31:39 +0000 (13:31 +0000)]
Moved PyMac_GetScript() to _localemodule, which is the only place where
it is used, and made it private. Should fix #978662.
Jack Jansen [Thu, 15 Jul 2004 13:21:16 +0000 (13:21 +0000)]
Get rid of incorrect use of OSAGetCurrentDialect. Fixes #884085.
Andrew M. Kuchling [Thu, 15 Jul 2004 12:17:26 +0000 (12:17 +0000)]
Typo fixes
Andrew M. Kuchling [Thu, 15 Jul 2004 11:52:40 +0000 (11:52 +0000)]
Add thread-local feature
Andrew M. Kuchling [Thu, 15 Jul 2004 11:44:42 +0000 (11:44 +0000)]
Correct a paragraph: basicConfig() isn't actually new
Tim Peters [Thu, 15 Jul 2004 05:46:37 +0000 (05:46 +0000)]
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.
Raymond Hettinger [Thu, 15 Jul 2004 05:32:47 +0000 (05:32 +0000)]
Exercise Jim's VISIT macro.
Kurt B. Kaiser [Thu, 15 Jul 2004 04:54:57 +0000 (04:54 +0000)]
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
Hye-Shik Chang [Thu, 15 Jul 2004 04:30:25 +0000 (04:30 +0000)]
Fix typo.
Tim Peters [Thu, 15 Jul 2004 04:23:13 +0000 (04:23 +0000)]
s/it's/its/, s/NULL/NULL{}/, where appropriate.
Tim Peters [Thu, 15 Jul 2004 04:05:59 +0000 (04:05 +0000)]
Formalize that the Py_VISIT macro requires that the tp_traverse
implementation it's used in must give its arguments specific names.
Andrew M. Kuchling [Wed, 14 Jul 2004 21:56:19 +0000 (21:56 +0000)]
Bump version; update date
Raymond Hettinger [Wed, 14 Jul 2004 21:06:55 +0000 (21:06 +0000)]
Improve examples for working with the context API.
Raymond Hettinger [Wed, 14 Jul 2004 21:04:27 +0000 (21:04 +0000)]
Use threading.local() instead of threading.currentThread().
Raymond Hettinger [Wed, 14 Jul 2004 19:56:56 +0000 (19:56 +0000)]
Factor out two unnecessary global variables.
Jim Fulton [Wed, 14 Jul 2004 19:11:50 +0000 (19:11 +0000)]
Implemented thread-local data as proposed on python-dev:
http://mail.python.org/pipermail/python-dev/2004-June/045785.html
Jim Fulton [Wed, 14 Jul 2004 19:08:28 +0000 (19:08 +0000)]
Summarized changes: threading.local, Py_CLEAR, Py_VISIT, improved type
tutorial.
Jim Fulton [Wed, 14 Jul 2004 19:08:17 +0000 (19:08 +0000)]
Documented the new Py_VISIT macro to simplify implementation of
tp_traverse handlers. (Tim made me do it. ;)
Jim Fulton [Wed, 14 Jul 2004 19:07:35 +0000 (19:07 +0000)]
Implemented a new Py_CLEAR macro. This macro should be used when
decrementing the refcount of variables that might be accessed as a
result of calling Python
Jim Fulton [Wed, 14 Jul 2004 19:07:24 +0000 (19:07 +0000)]
Updated documentation to:
- point out the importance of reassigning data members before
assigning thier values
- correct my missconception about return values from visitprocs. Sigh.
- mention the labor saving Py_VISIT and Py_CLEAR macros.
Jim Fulton [Wed, 14 Jul 2004 19:06:50 +0000 (19:06 +0000)]
Ported some features from zope:
- Fixed the display of tests in verbose output
- Allow setUp and tearDown functions to be provided for DocTestSuites.