]> granicus.if.org Git - python/log
python
18 years agoFix SF bug #1546288, crash in dict_equal.
Neal Norwitz [Tue, 5 Sep 2006 02:24:03 +0000 (02:24 +0000)]
Fix SF bug #1546288, crash in dict_equal.

18 years agoAdd missing svn:eol-style property to text files.
Tim Peters [Tue, 5 Sep 2006 02:22:17 +0000 (02:22 +0000)]
Add missing svn:eol-style property to text files.

18 years agoWhitespace normalization.
Tim Peters [Tue, 5 Sep 2006 02:21:19 +0000 (02:21 +0000)]
Whitespace normalization.

18 years ago"Conceptual" merge of rev 51711 from the 2.5 branch.
Tim Peters [Tue, 5 Sep 2006 02:18:09 +0000 (02:18 +0000)]
"Conceptual" merge of rev 51711 from the 2.5 branch.

i_divmod():  As discussed on Python-Dev, changed the overflow
checking to live happily with recent gcc optimizations that
assume signed integer arithmetic never overflows.

This differs from the corresponding change on the 2.5 and 2.4
branches, using a less obscure approach, but one that /may/
tickle platform idiocies in their definitions of LONG_MIN.
The 2.4 + 2.5 change avoided introducing a dependence on
LONG_MIN, at the cost of substantially goofier code.

18 years agoFix endcase for str.rpartition()
Raymond Hettinger [Mon, 4 Sep 2006 15:32:48 +0000 (15:32 +0000)]
Fix endcase for str.rpartition()

18 years agoNEWS entry on trunk for decimal module changes
Nick Coghlan [Sun, 3 Sep 2006 01:20:46 +0000 (01:20 +0000)]
NEWS entry on trunk for decimal module changes

18 years agoTypo fix for decimal docs
Nick Coghlan [Sun, 3 Sep 2006 01:06:07 +0000 (01:06 +0000)]
Typo fix for decimal docs

18 years agoFix final documentation nits before backporting decimal module fixes to 2.5
Nick Coghlan [Sun, 3 Sep 2006 01:02:00 +0000 (01:02 +0000)]
Fix final documentation nits before backporting decimal module fixes to 2.5

18 years agoHmm, this test has failed at least twice recently on the OpenBSD and
Neal Norwitz [Sat, 2 Sep 2006 19:40:19 +0000 (19:40 +0000)]
Hmm, this test has failed at least twice recently on the OpenBSD and
Debian sparc buildbots.  Since this goes through a lot of tests
and hits the disk a lot it could be slow (especially if NFS is involved).
I'm not sure if that's the problem, but printing periodic msgs shouldn't hurt.
The code was stolen from test_compiler.

18 years agoAdd missing word in comment
Neal Norwitz [Sat, 2 Sep 2006 18:51:34 +0000 (18:51 +0000)]
Add missing word in comment

18 years agoFix documentation nits for decimal context managers.
Raymond Hettinger [Sat, 2 Sep 2006 17:07:23 +0000 (17:07 +0000)]
Fix documentation nits for decimal context managers.

18 years agoFurther corrections to the decimal module context management documentation
Nick Coghlan [Sat, 2 Sep 2006 04:04:18 +0000 (04:04 +0000)]
Further corrections to the decimal module context management documentation

18 years agoMake decimal.ContextManager a private implementation detail of decimal.localcontext()
Nick Coghlan [Sat, 2 Sep 2006 03:54:17 +0000 (03:54 +0000)]
Make decimal.ContextManager a private implementation detail of decimal.localcontext()

18 years agoBug #1550714: fix SystemError from itertools.tee on negative value for n.
Neal Norwitz [Sat, 2 Sep 2006 02:58:13 +0000 (02:58 +0000)]
Bug #1550714: fix SystemError from itertools.tee on negative value for n.

Needs backport to 2.5.1 and earlier.

18 years agoBug #1548092: fix curses.tparm seg fault on invalid input. Needs backport to 2.5...
Neal Norwitz [Sat, 2 Sep 2006 02:50:35 +0000 (02:50 +0000)]
Bug #1548092: fix curses.tparm seg fault on invalid input.  Needs backport to 2.5.1 and earlier.

18 years agoSF #1547931, fix typo (missing and). Will backport to 2.5
Neal Norwitz [Sat, 2 Sep 2006 02:43:17 +0000 (02:43 +0000)]
SF #1547931, fix typo (missing and).  Will backport to 2.5

18 years agoevalfile() should be execfile().
Georg Brandl [Fri, 1 Sep 2006 22:30:52 +0000 (22:30 +0000)]
evalfile() should be execfile().

18 years ago- SF patch #1550263: Enhance and correct unittest docs
Fred Drake [Fri, 1 Sep 2006 03:57:19 +0000 (03:57 +0000)]
- SF patch #1550263: Enhance and correct unittest docs
- various minor cleanups for improved consistency

18 years agoHave pre-existing C files use 8 spaces indents (to match old PEP 7 style), but
Brett Cannon [Thu, 31 Aug 2006 22:42:37 +0000 (22:42 +0000)]
Have pre-existing C files use 8 spaces indents (to match old PEP 7 style), but
have all new files use 4 spaces (to match current PEP 7 style).

18 years agoFix comment about indentation level in C files.
Brett Cannon [Thu, 31 Aug 2006 21:47:52 +0000 (21:47 +0000)]
Fix comment about indentation level in C files.

18 years agoMake sure memory is properly cleaned up in file_init.
Brett Cannon [Thu, 31 Aug 2006 18:54:26 +0000 (18:54 +0000)]
Make sure memory is properly cleaned up in file_init.

Backport candidate.

18 years agoRemove the old decimal context management tests from test_contextlib (guess who didn...
Nick Coghlan [Thu, 31 Aug 2006 12:51:25 +0000 (12:51 +0000)]
Remove the old decimal context management tests from test_contextlib (guess who didn't run the test suite before committing...)

18 years agoFix the wrongheaded implementation of context management in the decimal module and...
Nick Coghlan [Thu, 31 Aug 2006 12:00:43 +0000 (12:00 +0000)]
Fix the wrongheaded implementation of context management in the decimal module and add unit tests. (python-dev discussion is ongoing regarding what we do about Python 2.5)

18 years agoDoc fix: hashlib objects don't always return a digest of 16 bytes.
Armin Rigo [Thu, 31 Aug 2006 08:51:06 +0000 (08:51 +0000)]
Doc fix: hashlib objects don't always return a digest of 16 bytes.
Backport candidate for 2.5.

18 years agoFix a buglet in the error reporting (SF bug report #1546372).
Marc-André Lemburg [Tue, 29 Aug 2006 10:34:12 +0000 (10:34 +0000)]
Fix a buglet in the error reporting (SF bug report #1546372).

This should probably go into Python 2.5 or 2.5.1 as well.

18 years agoFix a couple of typos.
Neal Norwitz [Tue, 29 Aug 2006 05:40:58 +0000 (05:40 +0000)]
Fix a couple of typos.

18 years ago- Move functions common to all path modules into genericpath.py and have the
Jack Diederich [Sat, 26 Aug 2006 18:42:06 +0000 (18:42 +0000)]
- Move functions common to all path modules into genericpath.py and have the
  OS speicifc path modules import them.
- Have os2emxpath import common functions fron ntpath instead of using copies

18 years agoA new test here relied on preserving invisible trailing
Tim Peters [Fri, 25 Aug 2006 22:26:21 +0000 (22:26 +0000)]
A new test here relied on preserving invisible trailing
whitespace in expected output.  Stop that.

18 years agoAdd missing svn:eol-style property to text files.
Tim Peters [Fri, 25 Aug 2006 22:06:44 +0000 (22:06 +0000)]
Add missing svn:eol-style property to text files.

18 years agoWhitespace normalization.
Tim Peters [Fri, 25 Aug 2006 22:05:39 +0000 (22:05 +0000)]
Whitespace normalization.

18 years agoThe regular expression engine in '_sre' can segfault when interpreting
Armin Rigo [Fri, 25 Aug 2006 12:44:28 +0000 (12:44 +0000)]
The regular expression engine in '_sre' can segfault when interpreting
bogus bytecode.  It is unclear whether this is a real bug or a "won't
fix" case like bogus_code_obj.py.

18 years agoBuild _ctypes.pyd for win AMD64 into the MSVC project file.
Thomas Heller [Fri, 25 Aug 2006 09:26:33 +0000 (09:26 +0000)]
Build _ctypes.pyd for win AMD64 into the MSVC project file.
Since MSVC doesn't know about .asm files, a helper batch file is needed
to find ml64.exe in predefined locations.  The helper script hardcodes
the path to the MS Platform SDK.

18 years agoAdd missing file for _ctypes.pyd port to win64 on AMD64.
Thomas Heller [Fri, 25 Aug 2006 07:34:51 +0000 (07:34 +0000)]
Add missing file for _ctypes.pyd port to win64 on AMD64.

18 years agoPort _ctypes.pyd to win64 on AMD64.
Thomas Heller [Fri, 25 Aug 2006 07:27:33 +0000 (07:27 +0000)]
Port _ctypes.pyd to win64 on AMD64.

18 years agoimporting types is not necessary if we use isinstance
Neal Norwitz [Fri, 25 Aug 2006 01:52:49 +0000 (01:52 +0000)]
importing types is not necessary if we use isinstance

18 years agoPatch #1545507: Exclude ctypes package in Win64 MSI file.
Martin v. Löwis [Fri, 25 Aug 2006 00:03:34 +0000 (00:03 +0000)]
Patch #1545507: Exclude ctypes package in Win64 MSI file.
Will backport to 2.5.

18 years agoFix SF bug #1545837: array.array borks on deepcopy.
Thomas Wouters [Thu, 24 Aug 2006 18:40:20 +0000 (18:40 +0000)]
Fix SF bug #1545837: array.array borks on deepcopy.
array.__deepcopy__() needs to take an argument, even if it doesn't actually
use it. Will backport to 2.5 and 2.4 (if applicable.)

18 years agoReverting the patch that tried to fix the issue whereby x**2 raises
Alex Martelli [Wed, 23 Aug 2006 22:17:59 +0000 (22:17 +0000)]
Reverting the patch that tried to fix the issue whereby x**2 raises
OverflowError while x*x succeeds and produces infinity; apparently
these inconsistencies cannot be fixed across ``all'' platforms and
there's a widespread feeling that therefore ``every'' platform
should keep suffering forevermore.  Ah well.

18 years agoReplace dead code with an assert.
Jeremy Hylton [Wed, 23 Aug 2006 21:26:46 +0000 (21:26 +0000)]
Replace dead code with an assert.

Now that COMMENT tokens are reliably followed by NL or NEWLINE,
there is never a need to add extra newlines in untokenize.

18 years agoBug fixes large and small for tokenize.
Jeremy Hylton [Wed, 23 Aug 2006 21:14:03 +0000 (21:14 +0000)]
Bug fixes large and small for tokenize.

Small: Always generate a NL or NEWLINE token following
       a COMMENT token.  The old code did not generate an NL token if
       the comment was on a line by itself.

Large: The output of untokenize() will now match the
       input exactly if it is passed the full token sequence.  The
       old, crufty output is still generated if a limited input
       sequence is provided, where limited means that it does not
       include position information for tokens.

Remaining bug: There is no CONTINUATION token (\) so there is no way
for untokenize() to handle such code.

Also, expanded the number of doctests in hopes of eventually removing
the old-style tests that compare against a golden file.

Bug fix candidate for Python 2.5.1. (Sigh.)

18 years agox**2 should about equal x*x (including for a float x such that the result is
Alex Martelli [Wed, 23 Aug 2006 20:42:02 +0000 (20:42 +0000)]
x**2 should about equal x*x (including for a float x such that the result is
inf) but didn't; added a test to test_float to verify that, and ignored the
ERANGE value for errno in the pow operation to make the new test pass (with
help from Marilyn Davis at the Google Python Sprint -- thanks!).

18 years agoBaby steps towards better tests for tokenize
Jeremy Hylton [Wed, 23 Aug 2006 18:37:43 +0000 (18:37 +0000)]
Baby steps towards better tests for tokenize

18 years agoMove functional howto into trunk
Andrew M. Kuchling [Tue, 22 Aug 2006 23:13:43 +0000 (23:13 +0000)]
Move functional howto into trunk

18 years agoExpose column offset information in parse trees.
Jeremy Hylton [Tue, 22 Aug 2006 20:46:00 +0000 (20:46 +0000)]
Expose column offset information in parse trees.

18 years agoAlexander Belopolsky pointed out that pos is a size_t
Neal Norwitz [Tue, 22 Aug 2006 13:56:56 +0000 (13:56 +0000)]
Alexander Belopolsky pointed out that pos is a size_t

18 years agopatch for documentation for recent uuid changes (from ping)
Anthony Baxter [Tue, 22 Aug 2006 07:36:59 +0000 (07:36 +0000)]
patch for documentation for recent uuid changes (from ping)

18 years agoTry to get the windows bots working again with the new peephole.c
Neal Norwitz [Mon, 21 Aug 2006 23:44:48 +0000 (23:44 +0000)]
Try to get the windows bots working again with the new peephole.c

18 years agoPatch #1541585: fix buffer overrun when performing repr() on
Neal Norwitz [Mon, 21 Aug 2006 22:21:19 +0000 (22:21 +0000)]
Patch #1541585: fix buffer overrun when performing repr() on
a unicode string in a build with wide unicode (UCS-4) support.

This code could be improved, so add an XXX comment.

18 years agoHandle a few more error conditions.
Neal Norwitz [Mon, 21 Aug 2006 20:16:24 +0000 (20:16 +0000)]
Handle a few more error conditions.

Klocwork 301 and 302.  Will backport.

18 years agoPatch #1542451: disallow continue anywhere under a finally
Neal Norwitz [Mon, 21 Aug 2006 19:47:08 +0000 (19:47 +0000)]
Patch #1542451: disallow continue anywhere under a finally

I'm undecided if this should be backported to 2.5 or 2.5.1.
Armin suggested to wait (I'm of the same opinion).  Thomas W thinks
it's fine to go in 2.5.

18 years agoFix a couple of ssize-t issues reported by Alexander Belopolsky on python-dev
Neal Norwitz [Mon, 21 Aug 2006 18:20:10 +0000 (18:20 +0000)]
Fix a couple of ssize-t issues reported by Alexander Belopolsky on python-dev

18 years agoAdd assert to make Klocwork happy (#276)
Neal Norwitz [Mon, 21 Aug 2006 18:01:30 +0000 (18:01 +0000)]
Add assert to make Klocwork happy (#276)

18 years agoFix bug #1543303, tarfile adds padding that breaks gunzip.
Neal Norwitz [Mon, 21 Aug 2006 17:59:46 +0000 (17:59 +0000)]
Fix bug #1543303, tarfile adds padding that breaks gunzip.
Patch # 1543897.

Will backport to 2.5

18 years agoMove peephole optimizer to separate file. (Forgot .h in previous checkin.)
Jeremy Hylton [Mon, 21 Aug 2006 16:20:29 +0000 (16:20 +0000)]
Move peephole optimizer to separate file.  (Forgot .h in previous checkin.)

18 years agoMove peephole optimizer to separate file.
Jeremy Hylton [Mon, 21 Aug 2006 16:19:37 +0000 (16:19 +0000)]
Move peephole optimizer to separate file.

18 years agoPatch #1542948: fix urllib2 header casing issue. With new test.
Georg Brandl [Sun, 20 Aug 2006 13:15:39 +0000 (13:15 +0000)]
Patch #1542948: fix urllib2 header casing issue. With new test.

18 years agoHandle PyString_FromInternedString() failing (unlikely, but possible).
Neal Norwitz [Sat, 19 Aug 2006 04:52:03 +0000 (04:52 +0000)]
Handle PyString_FromInternedString() failing (unlikely, but possible).

Klocwork #325

(I'm not backporting this, but if someone wants to, feel free.)

18 years agoMove initialization to after the asserts for non-NULL values.
Neal Norwitz [Sat, 19 Aug 2006 04:28:55 +0000 (04:28 +0000)]
Move initialization to after the asserts for non-NULL values.

Klocwork 286-287.

(I'm not backporting this, but if someone wants to, feel free.)

18 years agoSF #1542693: Remove semi-colon at end of PyImport_ImportModuleEx macro
Neal Norwitz [Sat, 19 Aug 2006 04:25:29 +0000 (04:25 +0000)]
SF #1542693: Remove semi-colon at end of PyImport_ImportModuleEx macro

18 years agoMove assert to after NULL check, otherwise we deref NULL in the assert.
Neal Norwitz [Sat, 19 Aug 2006 04:23:04 +0000 (04:23 +0000)]
Move assert to after NULL check, otherwise we deref NULL in the assert.

Klocwork #307

18 years agoMove initialization of interned strings to before allocating the
Neal Norwitz [Sat, 19 Aug 2006 04:22:33 +0000 (04:22 +0000)]
Move initialization of interned strings to before allocating the
object so we don't leak op.  (Fixes an earlier patch to this code)

Klockwork #350

18 years agoAdd asserts to check for 'impossible' NULL values, with comments.
Thomas Heller [Fri, 18 Aug 2006 14:38:46 +0000 (14:38 +0000)]
Add asserts to check for 'impossible' NULL values, with comments.
In one place where I'n not 1000% sure about the non-NULL, raise
a RuntimeError for safety.

This should fix the klocwork issues that Neal sent me.  If so,
it should be applied to the release25-maint branch also.

18 years agoMinor edits
Andrew M. Kuchling [Fri, 18 Aug 2006 13:57:13 +0000 (13:57 +0000)]
Minor edits

18 years agoTypo in tp_clear docs.
Georg Brandl [Fri, 18 Aug 2006 07:35:47 +0000 (07:35 +0000)]
Typo in tp_clear docs.

18 years agoRPM specfile updates
Anthony Baxter [Fri, 18 Aug 2006 07:30:07 +0000 (07:30 +0000)]
RPM specfile updates

18 years agoUpdating IDLE's version number to match Python's (as per python-dev
Anthony Baxter [Fri, 18 Aug 2006 07:29:02 +0000 (07:29 +0000)]
Updating IDLE's version number to match Python's (as per python-dev
discussion).

18 years agoBug #1541682: Fix example in the "Refcount details" API docs.
Georg Brandl [Fri, 18 Aug 2006 07:27:59 +0000 (07:27 +0000)]
Bug #1541682: Fix example in the "Refcount details" API docs.
Additionally, remove a faulty example showing PySequence_SetItem applied
to a newly created list object and add notes that this isn't a good idea.

18 years agoMore version wibble
Neal Norwitz [Fri, 18 Aug 2006 06:14:52 +0000 (06:14 +0000)]
More version wibble

18 years agoSet version to 2.6a0, seems more consistent.
Neal Norwitz [Fri, 18 Aug 2006 05:41:46 +0000 (05:41 +0000)]
Set version to 2.6a0, seems more consistent.

18 years agoTry to get Unix bots install working again.
Neal Norwitz [Fri, 18 Aug 2006 05:39:20 +0000 (05:39 +0000)]
Try to get Unix bots install working again.

18 years agoTry to get Windows bots working again. Take 2
Neal Norwitz [Fri, 18 Aug 2006 05:10:00 +0000 (05:10 +0000)]
Try to get Windows bots working again. Take 2

18 years agoTry to get Windows bots working again
Neal Norwitz [Fri, 18 Aug 2006 04:58:33 +0000 (04:58 +0000)]
Try to get Windows bots working again

18 years agoMore post-release wibble
Neal Norwitz [Fri, 18 Aug 2006 04:01:38 +0000 (04:01 +0000)]
More post-release wibble

18 years agoAdd template for 2.6 on HEAD
Neal Norwitz [Fri, 18 Aug 2006 03:57:54 +0000 (03:57 +0000)]
Add template for 2.6 on HEAD

18 years agoBug #1541863: uuid.uuid1 failed to generate unique identifiers
Martin v. Löwis [Fri, 18 Aug 2006 03:47:18 +0000 (03:47 +0000)]
Bug #1541863: uuid.uuid1 failed to generate unique identifiers
on systems with low clock resolution.

18 years agoMerge 51340 and 51341 from 2.5 branch:
Martin v. Löwis [Thu, 17 Aug 2006 19:19:32 +0000 (19:19 +0000)]
Merge 51340 and 51341 from 2.5 branch:
Leave tk build directory to restore original path.
Invoke debug mk1mf.pl after running Configure.

18 years agoFix a bug in the ``compiler`` package that caused invalid code to be
Neil Schemenauer [Wed, 16 Aug 2006 23:38:05 +0000 (23:38 +0000)]
Fix a bug in the ``compiler`` package that caused invalid code to be
generated for generator expressions.

18 years agoFile menu hotkeys: there were three 'p' assignments. Reassign the
Kurt B. Kaiser [Wed, 16 Aug 2006 21:45:59 +0000 (21:45 +0000)]
File menu hotkeys: there were three 'p' assignments.  Reassign the
'Save Copy As' and 'Print' hotkeys to 'y' and 't'.  Change the
Shell menu hotkey from 's' to 'l'.

M    Bindings.py
M    PyShell.py
M    NEWS.txt

18 years agoTutorial:
Thomas Heller [Wed, 16 Aug 2006 18:02:11 +0000 (18:02 +0000)]
Tutorial:

    Clarify somewhat how parameters are passed to functions
    (especially explain what integer means).

    Correct the table - Python integers and longs can both be used.
    Further clarification to the table comparing ctypes types, Python
    types, and C types.

Reference:

    Replace integer by C ``int`` where it makes sense.

18 years agoGrammar fix
Andrew M. Kuchling [Wed, 16 Aug 2006 17:11:18 +0000 (17:11 +0000)]
Grammar fix

18 years agoSF#1534630
Fredrik Lundh [Wed, 16 Aug 2006 16:47:07 +0000 (16:47 +0000)]
SF#1534630

ignore data that arrives before the opening start tag

18 years agoAdd NEWS item mentioning the reverted distutils version number patch.
Marc-André Lemburg [Wed, 16 Aug 2006 16:11:01 +0000 (16:11 +0000)]
Add NEWS item mentioning the reverted distutils version number patch.

18 years agoRemove the special casing of Py_None when converting the return value
Thomas Heller [Wed, 16 Aug 2006 15:10:12 +0000 (15:10 +0000)]
Remove the special casing of Py_None when converting the return value
of the Python part of a callback function to C.  If it cannot be
converted, call PyErr_WriteUnraisable with the exception we got.
Before, arbitrary data has been passed to the calling C code in this
case.

(I'm not really sure the NEWS entry is understandable, but I cannot
find better words)

18 years agoWording/typo fixes
Andrew M. Kuchling [Wed, 16 Aug 2006 14:21:14 +0000 (14:21 +0000)]
Wording/typo fixes

18 years agoUpdate bug/patch counts
Andrew M. Kuchling [Wed, 16 Aug 2006 14:18:23 +0000 (14:18 +0000)]
Update bug/patch counts

18 years agoThe __repr__ method of a NULL py_object does no longer raise an
Thomas Heller [Wed, 16 Aug 2006 14:07:44 +0000 (14:07 +0000)]
The __repr__ method of a NULL py_object does no longer raise an
exception.  Remove a stray '?' character from the exception text
when the value is retrieved of such an object.

Includes tests.

18 years agoMake cl build step compile-only (/c). Remove libs from source list.
Martin v. Löwis [Wed, 16 Aug 2006 13:58:51 +0000 (13:58 +0000)]
Make cl build step compile-only (/c). Remove libs from source list.

18 years agoLink to docs; remove an XXX comment
Andrew M. Kuchling [Wed, 16 Aug 2006 13:51:32 +0000 (13:51 +0000)]
Link to docs; remove an XXX comment

18 years agoBump document version to 1.0; remove pystone paragraph
Andrew M. Kuchling [Wed, 16 Aug 2006 13:41:52 +0000 (13:41 +0000)]
Bump document version to 1.0; remove pystone paragraph

18 years agoAdd UnicodeWarning
Andrew M. Kuchling [Wed, 16 Aug 2006 13:22:20 +0000 (13:22 +0000)]
Add UnicodeWarning

18 years agonews entry for 51307
Anthony Baxter [Wed, 16 Aug 2006 13:08:25 +0000 (13:08 +0000)]
news entry for 51307

18 years agoAdd commented assert statements to check that the result of
Thomas Heller [Wed, 16 Aug 2006 13:03:11 +0000 (13:03 +0000)]
Add commented assert statements to check that the result of
PyObject_stgdict() and PyType_stgdict() calls are non-NULL before
dereferencing the result.  Hopefully this fixes what klocwork is
complaining about.

Fix a few other nits as well.

18 years agoBuild _hashlib on Windows. Build OpenSSL with masm assembler code.
Martin v. Löwis [Wed, 16 Aug 2006 12:55:10 +0000 (12:55 +0000)]
Build _hashlib on Windows. Build OpenSSL with masm assembler code.
Fixes #1535502.

18 years agoRevert to having static version numbers again.
Marc-André Lemburg [Wed, 16 Aug 2006 08:13:26 +0000 (08:13 +0000)]
Revert to having static version numbers again.

18 years agoGet quit() and exit() to work cleanly when not using subprocess.
Kurt B. Kaiser [Wed, 16 Aug 2006 07:04:17 +0000 (07:04 +0000)]
Get quit() and exit() to work cleanly when not using subprocess.

18 years agoUpdate code and tests to support the 'bytes_le' attribute (for
Ka-Ping Yee [Wed, 16 Aug 2006 07:02:50 +0000 (07:02 +0000)]
Update code and tests to support the 'bytes_le' attribute (for
little-endian byte order on Windows), and to work around clocks
with low resolution yielding duplicate UUIDs.

Anthony Baxter has approved this change.

18 years agoPatch #1540892: site.py Quitter() class attempts to close sys.stdin
Kurt B. Kaiser [Wed, 16 Aug 2006 05:01:42 +0000 (05:01 +0000)]
Patch #1540892: site.py Quitter() class attempts to close sys.stdin
before raising SystemExit, allowing IDLE to honor quit() and exit().

M    Lib/site.py
M    Lib/idlelib/PyShell.py
M    Lib/idlelib/CREDITS.txt
M    Lib/idlelib/NEWS.txt
M    Misc/NEWS

18 years agopreparing for 2.5c1 - no, really this time
Anthony Baxter [Wed, 16 Aug 2006 03:58:37 +0000 (03:58 +0000)]
preparing for 2.5c1 - no, really this time

18 years agopreparing for 2.5c1
Anthony Baxter [Wed, 16 Aug 2006 03:42:26 +0000 (03:42 +0000)]
preparing for 2.5c1

18 years agoThe 'with' statement is now a Code Context block opener
Kurt B. Kaiser [Wed, 16 Aug 2006 03:15:26 +0000 (03:15 +0000)]
The 'with' statement is now a Code Context block opener