Steven M. Gava [Mon, 11 Feb 2002 02:51:18 +0000 (02:51 +0000)]
base GetHighlight on GetThemeDict for better defaults
Steven M. Gava [Mon, 11 Feb 2002 02:28:19 +0000 (02:28 +0000)]
further work on config saving
Steven M. Gava [Mon, 11 Feb 2002 02:20:53 +0000 (02:20 +0000)]
further work on config saving
Guido van Rossum [Mon, 11 Feb 2002 01:18:25 +0000 (01:18 +0000)]
Remove stub for unicode.txt. Resort README in dictionary order.
Marc-André Lemburg [Sun, 10 Feb 2002 21:42:47 +0000 (21:42 +0000)]
News about the new alias support.
Marc-André Lemburg [Sun, 10 Feb 2002 21:36:20 +0000 (21:36 +0000)]
Add IANA character set aliases to the encodings alias dictionary
and make alias lookup lazy.
Note that only those IANA character set aliases were added for which
we actually have codecs in the encodings package.
Marc-André Lemburg [Sat, 9 Feb 2002 11:28:43 +0000 (11:28 +0000)]
Add news about PYC magic and changes to UTF-8 codec.
Barry Warsaw [Fri, 8 Feb 2002 23:25:46 +0000 (23:25 +0000)]
Added a module docstring, which doubles as the --help text.
Added a bunch of command line options to make the script more
generic.
Guido van Rossum [Fri, 8 Feb 2002 22:22:35 +0000 (22:22 +0000)]
Updates related to Modules/Setup and setup.py. This addresses SF bug
#512871 (Jon Ribbens): Installation instructions are wrong.
Bugfix candidate.
Fred Drake [Fri, 8 Feb 2002 21:29:22 +0000 (21:29 +0000)]
Added regression test for start()/stop() returning bogus NULL.
Fred Drake [Fri, 8 Feb 2002 21:27:50 +0000 (21:27 +0000)]
start() and stop() methods: return None where there is no exception;
returning NULL causes the interpreter to raise a SystemError.
Noted by Anthony Baxter at Python 10.
Guido van Rossum [Fri, 8 Feb 2002 21:26:07 +0000 (21:26 +0000)]
Declare real and imag as read-only attributes.
This fixes SF bug #514858 (Gregory Smith): complex not entirely
immutable
2.2.1 Bugfix candidate!
Guido van Rossum [Fri, 8 Feb 2002 20:41:34 +0000 (20:41 +0000)]
Whitespace cleanup.
Neal Norwitz [Fri, 8 Feb 2002 20:13:53 +0000 (20:13 +0000)]
Fix typo
Fred Drake [Fri, 8 Feb 2002 20:13:47 +0000 (20:13 +0000)]
Python 10 was a success, commemorate it\!
Guido van Rossum [Fri, 8 Feb 2002 16:20:07 +0000 (16:20 +0000)]
www.google.com is better than google.com.
Thomas Heller [Fri, 8 Feb 2002 14:41:31 +0000 (14:41 +0000)]
Make it 1.5.2 compatible again.
Marc-André Lemburg [Thu, 7 Feb 2002 11:33:49 +0000 (11:33 +0000)]
Fix to the UTF-8 encoder: it failed on 0-length input strings.
Fix for the UTF-8 decoder: it will now accept isolated surrogates
(previously it raised an exception which causes round-trips to
fail).
Added new tests for UTF-8 round-trip safety (we rely on UTF-8 for
marshalling Unicode objects, so we better make sure it works for
all Unicode code points, including isolated surrogates).
Bumped the PYC magic in a non-standard way -- please review. This
was needed because the old PYC format used illegal UTF-8 sequences
for isolated high surrogates which now raise an exception.
Marc-André Lemburg [Wed, 6 Feb 2002 18:22:48 +0000 (18:22 +0000)]
Forgot to add the new emxccompiler.py from Andrew I. MacIntyre's
distutils patch for OS/2.
Here it is...
Marc-André Lemburg [Wed, 6 Feb 2002 18:20:19 +0000 (18:20 +0000)]
Cosmetics.
Marc-André Lemburg [Wed, 6 Feb 2002 18:18:03 +0000 (18:18 +0000)]
Whitespace fixes.
Marc-André Lemburg [Wed, 6 Feb 2002 18:09:02 +0000 (18:09 +0000)]
Fix for the UTF-8 memory allocation bug and the UTF-8 encoding
bug related to lone high surrogates.
Jack Jansen [Tue, 5 Feb 2002 22:35:36 +0000 (22:35 +0000)]
Don't blacklist ModalFilterUPP but always pass it as NULL. This enables the record routines to be generated.
Jack Jansen [Tue, 5 Feb 2002 22:34:35 +0000 (22:34 +0000)]
Added SndRecord and (classic only) SndRecordToFile.
Jack Jansen [Tue, 5 Feb 2002 21:24:47 +0000 (21:24 +0000)]
Added support for unicode strings (utxt).
Steven M. Gava [Tue, 5 Feb 2002 04:52:32 +0000 (04:52 +0000)]
further work on config system and config saving
Fred Drake [Mon, 4 Feb 2002 21:43:08 +0000 (21:43 +0000)]
Update the instructions on reporting bugs to reflect that anonymous reports
are no longer accepted.
Fred Drake [Mon, 4 Feb 2002 21:15:42 +0000 (21:15 +0000)]
When linking to an index page, explicitly name index.html instead of
using "./". The later does not work nicely when browsing docs on a local
disk (as in the installed docs on Windows).
Fred Drake [Mon, 4 Feb 2002 19:49:29 +0000 (19:49 +0000)]
Update version number to match Include/patchlevel.h.
Make sure we clean up all the temp files craeted for the typeset formats.
Fred Drake [Mon, 4 Feb 2002 19:48:25 +0000 (19:48 +0000)]
Update version number to match Include/patchlevel.h.
Just van Rossum [Mon, 4 Feb 2002 12:52:44 +0000 (12:52 +0000)]
Added minimal support for floating windows.
Just van Rossum [Mon, 4 Feb 2002 12:48:06 +0000 (12:48 +0000)]
Don't append quit menu when on OSX, it is special and automatic there.
Just van Rossum [Mon, 4 Feb 2002 11:53:53 +0000 (11:53 +0000)]
Flush screen buffer upon console.flush() and output.flush().
This fixes bug #511992.
Guido van Rossum [Mon, 4 Feb 2002 01:59:23 +0000 (01:59 +0000)]
Quick build: clarify that you have to do "make install" as root; OS
info: add info about Red Hat's python and python2.
Tim Peters [Sat, 2 Feb 2002 00:08:15 +0000 (00:08 +0000)]
Change the version string from "2.2+" to "2.3a0". disutils peels off
the first 3 characters of this string in several places, so for as long
as they remain "2.2" it confuses the heck out of attempts to build 2.3
stuff using distutils.
Jack Jansen [Fri, 1 Feb 2002 22:24:56 +0000 (22:24 +0000)]
Got rid of an extra level of {} and funny formatting that was still
there because of the NeXT history.
Andrew M. Kuchling [Fri, 1 Feb 2002 18:29:34 +0000 (18:29 +0000)]
[Bug #220993; may also fix bug #479469] Fix flakiness when old
installations are present, by always unlinking the destination file
before copying to it. Without the unlink(), the copied file remains
owned by its previous UID, causing the subsequent chmod() to fail.
Bugfix candidate, though it may cause changes on platforms where
file ownership behaves differently.
Guido van Rossum [Fri, 1 Feb 2002 16:27:59 +0000 (16:27 +0000)]
Wesley Chun's SF patch 511380: add CGIHTTPServer error supt for Win32
This uses os.popen3 (if it exists) to ensure that errors from a
non-Python CGI script are logged.
Bugfix candidate.
Jack Jansen [Fri, 1 Feb 2002 16:01:05 +0000 (16:01 +0000)]
A new dynload_next, which actually only works on OSX but isn't renamed yet.
By default every module is imported in its own namespace, but this can
be changed by defining USE_DYLD_GLOBAL_NAMESPACE. In a future version this
define will be replaced by a runtime setting, but that needs a bit more
thought.
This code is largely based on code and feedback from Steven Majewski,
Marcel Prastawa, Manoj Plakal and other on pythonmac-sig.
Jack Jansen [Fri, 1 Feb 2002 15:46:29 +0000 (15:46 +0000)]
Got rid of a few more NeXT ifdefs. The last, I think.
Guido van Rossum [Fri, 1 Feb 2002 15:34:10 +0000 (15:34 +0000)]
Bugfix candidate.
Fix SF bug #511603: Error calling str on subclass of int
Explicitly fill in tp_str with the same pointer as tp_repr.
Tim Peters [Fri, 1 Feb 2002 11:27:43 +0000 (11:27 +0000)]
Implement os.waitpid() for Windows, in a way that's compatible with Linux
where their capabilities intersect. Would be nice if people using non-
MSVC compilers (Borland etc) took a whack at doing something similar for
them (this code relies on the MS _cwait function).
Thomas Heller [Fri, 1 Feb 2002 09:44:09 +0000 (09:44 +0000)]
package_dir must be converted from the distutils path conventions to
local conventions before being used by build_py.
Fixes SF bug #509288, probably a candidate for 2.2.1
Steven M. Gava [Fri, 1 Feb 2002 03:02:37 +0000 (03:02 +0000)]
improve user config dir handling
Steven M. Gava [Fri, 1 Feb 2002 01:33:36 +0000 (01:33 +0000)]
more work on configuration saving
Tim Peters [Fri, 1 Feb 2002 00:52:29 +0000 (00:52 +0000)]
New tempfile and os.open() gimmicks for Windows.
Andrew M. Kuchling [Thu, 31 Jan 2002 22:08:38 +0000 (22:08 +0000)]
Restrict the mode to the lowest four octal positions; higher positions
contain the type of the file (regular file, socket, link, &c.).
This means that install_scripts will now print
"changing mode of <file> to 775" instead of "... to 100775".
2.2 bugfix candidate, I suppose, though this isn't actually fixing a bug.
Marc-André Lemburg [Thu, 31 Jan 2002 18:56:00 +0000 (18:56 +0000)]
OS/2 patches by Andrew I MacIntyre for distutils.
Closes patch #435381.
Skip Montanaro [Thu, 31 Jan 2002 17:32:24 +0000 (17:32 +0000)]
added handle_error method description
Fred Drake [Wed, 30 Jan 2002 16:15:13 +0000 (16:15 +0000)]
string.split() docstring described the interpretation of the maxsplit
argument incorrectly.
This closes SF bug #505997.
Michael W. Hudson [Wed, 30 Jan 2002 15:47:34 +0000 (15:47 +0000)]
Oh look, another one.
2.2.1 candiate (he says, largely talking to himself :)
Michael W. Hudson [Wed, 30 Jan 2002 15:39:28 +0000 (15:39 +0000)]
I think this fixes
[ #510644 ] test_curses segfaults
If we use the *object* *allocator*, we should use the *object* *deallocator*,
not the *raw memory* deallocator (confused yet?).
I think this was what caused segfaults when pymalloc was enabled.
Even if it wasn't the cause, it's still wrong.
2.2.1 candidate.
Jack Jansen [Wed, 30 Jan 2002 10:42:59 +0000 (10:42 +0000)]
Added a note about compiler warnings.
Tim Peters [Wed, 30 Jan 2002 09:11:42 +0000 (09:11 +0000)]
Thanks to Detlef Lannert for pointing out a typo in the code that
uses _DummyMutex on platforms without threads.
Tim Peters [Wed, 30 Jan 2002 07:47:51 +0000 (07:47 +0000)]
New TemporaryFile implementation for Windows: this doesn't need a
TemproraryFileWrapper wrapper anymore, and should be immune from the
problem that a temp file inherited by a spawned process caused an
attempt to close the temp file in the spawning process to blow
up (the unlink in TemporaryFileWrapper.close() blew up with a
"Permission denied" error because, despite that the temp file got
closed in the spawning process, the spawned process still had it open
by virtue of C-level file descriptor inheritance). In context,
that bug took days to figure out <wink/sigh>.
Tim Peters [Wed, 30 Jan 2002 07:32:53 +0000 (07:32 +0000)]
This test left a new set of 3 junk files behind each time it was run.
Tim Peters [Wed, 30 Jan 2002 05:49:46 +0000 (05:49 +0000)]
Add new constants usable with os.popen() on Windows.
NOTE: this seems a mess wrt which symbols are available on which
platforms. I can't fix it, but I didn't add to it <wink>, and
included an XXX comment about names claimed to be available on
Windows that aren't. If anyone can figure out the whole ugly truth,
I'm sure a better organization will suggest itself.
Tim Peters [Wed, 30 Jan 2002 05:46:57 +0000 (05:46 +0000)]
Expose more MS WIndows constants usable w/ low-level os.open().
Fred Drake [Tue, 29 Jan 2002 14:53:30 +0000 (14:53 +0000)]
Revise cheeseshop example so that the order of the keyword output is
completely determined by the example; dict insertion order and the string
hash algorithm no longer affect the output.
This fixes SF bug #509281.
Martin v. Löwis [Tue, 29 Jan 2002 10:23:42 +0000 (10:23 +0000)]
Encode MSVC paths as mbcs. Fixes #509117. 2.2.1 candidate.
Steven M. Gava [Tue, 29 Jan 2002 08:35:29 +0000 (08:35 +0000)]
further work on config saving
Neal Norwitz [Tue, 29 Jan 2002 00:56:37 +0000 (00:56 +0000)]
Fix missing space between words. Bugfix candidate.
Neal Norwitz [Tue, 29 Jan 2002 00:53:41 +0000 (00:53 +0000)]
Fix spelling mistakes. Bugfix candidates.
Tim Peters [Mon, 28 Jan 2002 23:11:23 +0000 (23:11 +0000)]
SF bug #509805 tempfile.gettempdir not threadsafe
This is an ancient race when multiple threads call gettempdir() (or
anything relying on it) for the first time.
Fixed x-platform via the Big Hammer of rearranging the code to serialize
the first calls. Subsequent calls are as fast as before.
Note that the Python test suite can't provoke this bug: it requires
setting up multiple threads making the very first calls into tempfile,
but the test suite uses tempfile several times before getting to
test_threadedtempfile.
Bugfix candidate.
Jack Jansen [Sun, 27 Jan 2002 20:05:20 +0000 (20:05 +0000)]
Use full paths for Rez and DeRez, which may not be on $PATH. Fixes bug
#509074.
Barry Warsaw [Sun, 27 Jan 2002 06:49:26 +0000 (06:49 +0000)]
Test case of a singleton multipart; i.e. a multipart/* with only one
subpart.
Barry Warsaw [Sun, 27 Jan 2002 06:48:47 +0000 (06:48 +0000)]
test_multipart_one_part(): Idempotency test case for a multipart/*
with only one subpart.
Barry Warsaw [Sun, 27 Jan 2002 06:48:02 +0000 (06:48 +0000)]
_parsebody(): When adding subparts to a multipart container, make sure
that the first subpart added makes the payload a list object.
Otherwise, a multipart/* with only one subpart will not have the
proper structure.
Martin v. Löwis [Sat, 26 Jan 2002 20:21:50 +0000 (20:21 +0000)]
Encode Unicode arguments to split/splitlist as UTF-8. Fixes #507962.
2.2.1 bugfix candidate.
Martin v. Löwis [Sat, 26 Jan 2002 20:11:50 +0000 (20:11 +0000)]
Document that get_referrers can return unreachable but uncollected objects.
Fixes #505453.
Martin v. Löwis [Sat, 26 Jan 2002 20:03:48 +0000 (20:03 +0000)]
Test for error status of shl_findsym. Fixes #505417. 2.2.1 candiate.
Tim Peters [Sat, 26 Jan 2002 17:58:02 +0000 (17:58 +0000)]
Removed an XXX question (the answer is "yes" <wink>).
Jack Jansen [Fri, 25 Jan 2002 16:13:38 +0000 (16:13 +0000)]
Added contributors.
Jack Jansen [Fri, 25 Jan 2002 15:28:39 +0000 (15:28 +0000)]
Some modifications and clarifications (by me) to Michael's mods.
Jack Jansen [Fri, 25 Jan 2002 15:06:19 +0000 (15:06 +0000)]
Rewritten, clarified, corrected and cleaned up by Michael J. Barber.
Jack Jansen [Thu, 24 Jan 2002 22:44:07 +0000 (22:44 +0000)]
Get rid of keyword list and use keyword.iskeyword() function (which I wasn't aware of previously).
Fred Drake [Thu, 24 Jan 2002 16:38:53 +0000 (16:38 +0000)]
Add keyword.kwlist to the public API.
Fred Drake [Thu, 24 Jan 2002 16:38:08 +0000 (16:38 +0000)]
libkeyword.tex was missing from the list of dependencies for the
Library Reference.
Jack Jansen [Thu, 24 Jan 2002 12:36:51 +0000 (12:36 +0000)]
"yield" is also a keyword. Spotted by Neal Norwitz.
Steven M. Gava [Thu, 24 Jan 2002 06:02:50 +0000 (06:02 +0000)]
further work on saving configs
Steven M. Gava [Thu, 24 Jan 2002 05:59:05 +0000 (05:59 +0000)]
dialog for getting a new config file section name
Tim Peters [Thu, 24 Jan 2002 00:04:37 +0000 (00:04 +0000)]
Removed #include of obsolete ver.h. VC6 doesn't need it, and David Ascher
reports it doesn't exist anymore under .NET.
Steven M. Gava [Wed, 23 Jan 2002 23:56:41 +0000 (23:56 +0000)]
staying current with python idle fixes
Jack Jansen [Wed, 23 Jan 2002 22:49:48 +0000 (22:49 +0000)]
(Much) better list of Python keywords, supplied by Michael J. Barber.
Jack Jansen [Wed, 23 Jan 2002 22:46:30 +0000 (22:46 +0000)]
Rename the routine to start the target running _start(), with a compatibility
routine start() calling it.
Some suites declare an event start(), which obscures this method, which
causes the class initializer to fail when called with start=1.
Based on bug report and fix suggestion by Jacob Kaplan-Moss.
Tim Peters [Wed, 23 Jan 2002 16:57:55 +0000 (16:57 +0000)]
smart_backspace_event(): remove now-pointless int() call.
Bugfix candidate: the current state of AutoIdent.py should be in 2.2.1.
Michael W. Hudson [Wed, 23 Jan 2002 15:51:12 +0000 (15:51 +0000)]
Fix for
[ #496154 ] Typos in dynload_beos.c
as suggested in the report. A little embarassing; 2.2.1 candidate for sure.
Guido van Rossum [Wed, 23 Jan 2002 15:15:13 +0000 (15:15 +0000)]
Properly fix SF bug #507298 (Gregor Lingl): shellpython2.2 -Qnew smart
indent error
Use // where int division is intended. (This breaks IDLE for use with
previous Python versions -- I don't care.)
Michael W. Hudson [Wed, 23 Jan 2002 15:07:46 +0000 (15:07 +0000)]
Fix for
[ #433775 ] module build dir first in test import
though not in the way the summary would suggest; use imp.load_dynamic()
in setup.py to ensure we're testing the dynamic object we think we are.
Michael W. Hudson [Wed, 23 Jan 2002 15:04:41 +0000 (15:04 +0000)]
Sjoerd Mullender pointed out that setup.py contained some tabs,
so I threw reindent.py at it and look what happened!
Did setup.py escape Tim's regular whitespace normalizations?
Skip Montanaro [Wed, 23 Jan 2002 10:54:41 +0000 (10:54 +0000)]
PyDict_Next: update doc to indicate that pkey and pvalue return values are
borrowed references.
Skip Montanaro [Wed, 23 Jan 2002 08:18:30 +0000 (08:18 +0000)]
add missing return value info for PyDict_DelItem
Steven M. Gava [Wed, 23 Jan 2002 05:15:17 +0000 (05:15 +0000)]
fix for python2.2 -Qnew division error,
thanks Tim!
Tim Peters [Wed, 23 Jan 2002 05:02:20 +0000 (05:02 +0000)]
classifyws(): Fix a "/" to work under -Qnew (as well as without it).
Bugfix candidate!
Jack Jansen [Tue, 22 Jan 2002 23:25:12 +0000 (23:25 +0000)]
Newer names for various error include files.
Jack Jansen [Tue, 22 Jan 2002 23:24:41 +0000 (23:24 +0000)]
Build _tkinter for Carbon too.
Jack Jansen [Tue, 22 Jan 2002 23:24:03 +0000 (23:24 +0000)]
Identify() enum values. This was changed in 1.14, but I don't think it is a good idea.
Jack Jansen [Tue, 22 Jan 2002 23:22:32 +0000 (23:22 +0000)]
Regenerated to take advantage of new _builtinSuites package.
Jack Jansen [Tue, 22 Jan 2002 23:20:12 +0000 (23:20 +0000)]
A "magic" suite that is the base suite for StdSuites. This solves a problem with the required events open/openapp/reopen/print/quit officially being part of Required but being defined (by Apple) in Standard.
Most of the code and ideas contributed by Michael j. Barber.
Steven M. Gava [Tue, 22 Jan 2002 11:35:50 +0000 (11:35 +0000)]
more on config saving