]> granicus.if.org Git - python/log
python
23 years agoCorrected import behaviour for codecs which live outside the encodings
Marc-André Lemburg [Mon, 11 Feb 2002 17:43:46 +0000 (17:43 +0000)]
Corrected import behaviour for codecs which live outside the encodings
package.

23 years agoRegenerate configure script
Andrew M. Kuchling [Mon, 11 Feb 2002 16:31:10 +0000 (16:31 +0000)]
Regenerate configure script

23 years agoBump version number to 2.3
Andrew M. Kuchling [Mon, 11 Feb 2002 16:30:54 +0000 (16:30 +0000)]
Bump version number to 2.3

23 years agoRemoved a spurious }. (How did it get there in the first place??)
Jack Jansen [Mon, 11 Feb 2002 16:21:00 +0000 (16:21 +0000)]
Removed a spurious }. (How did it get there in the first place??)

23 years agoon MacOSX/Darwin, use ranlib when building static libs.
Just van Rossum [Mon, 11 Feb 2002 15:31:50 +0000 (15:31 +0000)]
on MacOSX/Darwin, use ranlib when building static libs.

23 years agoimprovement to keybinding re-use check
Steven M. Gava [Mon, 11 Feb 2002 03:45:22 +0000 (03:45 +0000)]
improvement to keybinding re-use check

23 years agobase GetHighlight on GetThemeDict for better defaults
Steven M. Gava [Mon, 11 Feb 2002 02:51:18 +0000 (02:51 +0000)]
base GetHighlight on GetThemeDict for better defaults

23 years agofurther work on config saving
Steven M. Gava [Mon, 11 Feb 2002 02:28:19 +0000 (02:28 +0000)]
further work on config saving

23 years agofurther work on config saving
Steven M. Gava [Mon, 11 Feb 2002 02:20:53 +0000 (02:20 +0000)]
further work on config saving

23 years agoRemove stub for unicode.txt. Resort README in dictionary order.
Guido van Rossum [Mon, 11 Feb 2002 01:18:25 +0000 (01:18 +0000)]
Remove stub for unicode.txt.  Resort README in dictionary order.

23 years agoNews about the new alias support.
Marc-André Lemburg [Sun, 10 Feb 2002 21:42:47 +0000 (21:42 +0000)]
News about the new alias support.

23 years agoAdd IANA character set aliases to the encodings alias dictionary
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.

23 years agoAdd news about PYC magic and changes to UTF-8 codec.
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.

23 years agoAdded a module docstring, which doubles as the --help text.
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.

23 years agoUpdates related to Modules/Setup and setup.py. This addresses SF bug
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.

23 years agoAdded regression test for start()/stop() returning bogus NULL.
Fred Drake [Fri, 8 Feb 2002 21:29:22 +0000 (21:29 +0000)]
Added regression test for start()/stop() returning bogus NULL.

23 years agostart() and stop() methods: return None where there is no exception;
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.

23 years agoDeclare real and imag as read-only attributes.
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!

23 years agoWhitespace cleanup.
Guido van Rossum [Fri, 8 Feb 2002 20:41:34 +0000 (20:41 +0000)]
Whitespace cleanup.

23 years agoFix typo
Neal Norwitz [Fri, 8 Feb 2002 20:13:53 +0000 (20:13 +0000)]
Fix typo

23 years agoPython 10 was a success, commemorate it\!
Fred Drake [Fri, 8 Feb 2002 20:13:47 +0000 (20:13 +0000)]
Python 10 was a success, commemorate it\!

23 years agowww.google.com is better than google.com.
Guido van Rossum [Fri, 8 Feb 2002 16:20:07 +0000 (16:20 +0000)]
www.google.com is better than google.com.

23 years agoMake it 1.5.2 compatible again.
Thomas Heller [Fri, 8 Feb 2002 14:41:31 +0000 (14:41 +0000)]
Make it 1.5.2 compatible again.

23 years agoFix to the UTF-8 encoder: it failed on 0-length input strings.
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.

23 years agoForgot to add the new emxccompiler.py from Andrew I. MacIntyre's
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...

23 years agoCosmetics.
Marc-André Lemburg [Wed, 6 Feb 2002 18:20:19 +0000 (18:20 +0000)]
Cosmetics.

23 years agoWhitespace fixes.
Marc-André Lemburg [Wed, 6 Feb 2002 18:18:03 +0000 (18:18 +0000)]
Whitespace fixes.

23 years agoFix for the UTF-8 memory allocation bug and the UTF-8 encoding
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.

23 years agoDon't blacklist ModalFilterUPP but always pass it as NULL. This enables the record...
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.

23 years agoAdded SndRecord and (classic only) SndRecordToFile.
Jack Jansen [Tue, 5 Feb 2002 22:34:35 +0000 (22:34 +0000)]
Added SndRecord and (classic only) SndRecordToFile.

23 years agoAdded support for unicode strings (utxt).
Jack Jansen [Tue, 5 Feb 2002 21:24:47 +0000 (21:24 +0000)]
Added support for unicode strings (utxt).

23 years agofurther work on config system and config saving
Steven M. Gava [Tue, 5 Feb 2002 04:52:32 +0000 (04:52 +0000)]
further work on config system and config saving

23 years agoUpdate the instructions on reporting bugs to reflect that anonymous reports
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.

23 years agoWhen linking to an index page, explicitly name index.html instead of
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).

23 years agoUpdate version number to match Include/patchlevel.h.
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.

23 years agoUpdate version number to match Include/patchlevel.h.
Fred Drake [Mon, 4 Feb 2002 19:48:25 +0000 (19:48 +0000)]
Update version number to match Include/patchlevel.h.

23 years agoAdded minimal support for floating windows.
Just van Rossum [Mon, 4 Feb 2002 12:52:44 +0000 (12:52 +0000)]
Added minimal support for floating windows.

23 years agoDon't append quit menu when on OSX, it is special and automatic there.
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.

23 years agoFlush screen buffer upon console.flush() and output.flush().
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.

23 years agoQuick build: clarify that you have to do "make install" as root; OS
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.

23 years agoChange the version string from "2.2+" to "2.3a0". disutils peels off
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.

23 years agoGot rid of an extra level of {} and funny formatting that was still
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.

23 years ago[Bug #220993; may also fix bug #479469] Fix flakiness when old
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.

23 years agoWesley Chun's SF patch 511380: add CGIHTTPServer error supt for Win32
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.

23 years agoA new dynload_next, which actually only works on OSX but isn't renamed yet.
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.

23 years agoGot rid of a few more NeXT ifdefs. The last, I think.
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.

23 years agoBugfix candidate.
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.

23 years agoImplement os.waitpid() for Windows, in a way that's compatible with Linux
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).

23 years agopackage_dir must be converted from the distutils path conventions to
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

23 years agoimprove user config dir handling
Steven M. Gava [Fri, 1 Feb 2002 03:02:37 +0000 (03:02 +0000)]
improve user config dir handling

23 years agomore work on configuration saving
Steven M. Gava [Fri, 1 Feb 2002 01:33:36 +0000 (01:33 +0000)]
more work on configuration saving

23 years agoNew tempfile and os.open() gimmicks for Windows.
Tim Peters [Fri, 1 Feb 2002 00:52:29 +0000 (00:52 +0000)]
New tempfile and os.open() gimmicks for Windows.

23 years agoRestrict the mode to the lowest four octal positions; higher positions
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.

23 years agoOS/2 patches by Andrew I MacIntyre for distutils.
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.

23 years agoadded handle_error method description
Skip Montanaro [Thu, 31 Jan 2002 17:32:24 +0000 (17:32 +0000)]
added handle_error method description

23 years agostring.split() docstring described the interpretation of the maxsplit
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.

23 years agoOh look, another one.
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 :)

23 years agoI think this fixes
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.

23 years agoAdded a note about compiler warnings.
Jack Jansen [Wed, 30 Jan 2002 10:42:59 +0000 (10:42 +0000)]
Added a note about compiler warnings.

23 years agoThanks to Detlef Lannert for pointing out a typo in the code that
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.

23 years agoNew TemporaryFile implementation for Windows: this doesn't need a
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>.

23 years agoThis test left a new set of 3 junk files behind each time it was run.
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.

23 years agoAdd new constants usable with os.popen() on Windows.
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.

23 years agoExpose more MS WIndows constants usable w/ low-level os.open().
Tim Peters [Wed, 30 Jan 2002 05:46:57 +0000 (05:46 +0000)]
Expose more MS WIndows constants usable w/ low-level os.open().

23 years agoRevise cheeseshop example so that the order of the keyword output is
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.

23 years agoEncode MSVC paths as mbcs. Fixes #509117. 2.2.1 candidate.
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.

23 years agofurther work on config saving
Steven M. Gava [Tue, 29 Jan 2002 08:35:29 +0000 (08:35 +0000)]
further work on config saving

23 years agoFix missing space between words. Bugfix candidate.
Neal Norwitz [Tue, 29 Jan 2002 00:56:37 +0000 (00:56 +0000)]
Fix missing space between words.  Bugfix candidate.

23 years agoFix spelling mistakes. Bugfix candidates.
Neal Norwitz [Tue, 29 Jan 2002 00:53:41 +0000 (00:53 +0000)]
Fix spelling mistakes.  Bugfix candidates.

23 years agoSF bug #509805 tempfile.gettempdir not threadsafe
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.

23 years agoUse full paths for Rez and DeRez, which may not be on $PATH. Fixes bug
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.

23 years agoTest case of a singleton multipart; i.e. a multipart/* with only one
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.

23 years agotest_multipart_one_part(): Idempotency test case for a multipart/*
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.

23 years ago_parsebody(): When adding subparts to a multipart container, make sure
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.

23 years agoEncode Unicode arguments to split/splitlist as UTF-8. Fixes #507962.
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.

23 years agoDocument that get_referrers can return unreachable but uncollected objects.
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.

23 years agoTest for error status of shl_findsym. Fixes #505417. 2.2.1 candiate.
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.

23 years agoRemoved an XXX question (the answer is "yes" <wink>).
Tim Peters [Sat, 26 Jan 2002 17:58:02 +0000 (17:58 +0000)]
Removed an XXX question (the answer is "yes" <wink>).

23 years agoAdded contributors.
Jack Jansen [Fri, 25 Jan 2002 16:13:38 +0000 (16:13 +0000)]
Added contributors.

23 years agoSome modifications and clarifications (by me) to Michael's mods.
Jack Jansen [Fri, 25 Jan 2002 15:28:39 +0000 (15:28 +0000)]
Some modifications and clarifications (by me) to Michael's mods.

23 years agoRewritten, clarified, corrected and cleaned up by Michael J. Barber.
Jack Jansen [Fri, 25 Jan 2002 15:06:19 +0000 (15:06 +0000)]
Rewritten, clarified, corrected and cleaned up by Michael J. Barber.

23 years agoGet rid of keyword list and use keyword.iskeyword() function (which I wasn't aware...
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).

23 years agoAdd keyword.kwlist to the public API.
Fred Drake [Thu, 24 Jan 2002 16:38:53 +0000 (16:38 +0000)]
Add keyword.kwlist to the public API.

23 years agolibkeyword.tex was missing from the list of dependencies for the
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.

23 years ago"yield" is also a keyword. Spotted by Neal Norwitz.
Jack Jansen [Thu, 24 Jan 2002 12:36:51 +0000 (12:36 +0000)]
"yield" is also a keyword. Spotted by Neal Norwitz.

23 years agofurther work on saving configs
Steven M. Gava [Thu, 24 Jan 2002 06:02:50 +0000 (06:02 +0000)]
further work on saving configs

23 years agodialog for getting a new config file section name
Steven M. Gava [Thu, 24 Jan 2002 05:59:05 +0000 (05:59 +0000)]
dialog for getting a new config file section name

23 years agoRemoved #include of obsolete ver.h. VC6 doesn't need it, and David Ascher
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.

23 years agostaying current with python idle fixes
Steven M. Gava [Wed, 23 Jan 2002 23:56:41 +0000 (23:56 +0000)]
staying current with python idle fixes

23 years ago(Much) better list of Python keywords, supplied by Michael J. Barber.
Jack Jansen [Wed, 23 Jan 2002 22:49:48 +0000 (22:49 +0000)]
(Much) better list of Python keywords, supplied by Michael J. Barber.

23 years agoRename the routine to start the target running _start(), with a compatibility
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.

23 years agosmart_backspace_event(): remove now-pointless int() call.
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.

23 years agoFix for
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.

23 years agoProperly fix SF bug #507298 (Gregor Lingl): shellpython2.2 -Qnew smart
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.)

23 years agoFix for
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.

23 years agoSjoerd Mullender pointed out that setup.py contained some tabs,
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?

23 years agoPyDict_Next: update doc to indicate that pkey and pvalue return values are
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.

23 years agoadd missing return value info for PyDict_DelItem
Skip Montanaro [Wed, 23 Jan 2002 08:18:30 +0000 (08:18 +0000)]
add missing return value info for PyDict_DelItem

23 years agofix for python2.2 -Qnew division error,
Steven M. Gava [Wed, 23 Jan 2002 05:15:17 +0000 (05:15 +0000)]
fix for python2.2 -Qnew division error,
thanks Tim!

23 years agoclassifyws(): Fix a "/" to work under -Qnew (as well as without it).
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!