]> granicus.if.org Git - python/log
python
22 years agoRemove the note about the BerkeleyDB license. Barry indicates that
Gregory P. Smith [Wed, 28 May 2003 16:20:03 +0000 (16:20 +0000)]
Remove the note about the BerkeleyDB license.  Barry indicates that
sleepycat has told him that since python is OSS and berkeleydb is
being distributed with python for the bsddb library all is fine.

22 years agoAdd notes on use cases with paired accesses to the same key.
Raymond Hettinger [Wed, 28 May 2003 14:10:46 +0000 (14:10 +0000)]
Add notes on use cases with paired accesses to the same key.

22 years ago* Beefed-up tests
Raymond Hettinger [Wed, 28 May 2003 14:05:34 +0000 (14:05 +0000)]
* Beefed-up tests
* Allow tuple re-use
* Call tp_iternext directly

22 years agoOops. License is still an appendix.
Jeremy Hylton [Wed, 28 May 2003 12:12:55 +0000 (12:12 +0000)]
Oops.  License is still an appendix.

22 years agoUpdate dependencies.
Jeremy Hylton [Wed, 28 May 2003 12:10:14 +0000 (12:10 +0000)]
Update dependencies.

22 years agoAppendix was removed.
Jeremy Hylton [Wed, 28 May 2003 12:04:38 +0000 (12:04 +0000)]
Appendix was removed.

22 years agoRename lib__future__.tex to libfuture.tex and add link in lib.tex.
Jeremy Hylton [Wed, 28 May 2003 11:57:52 +0000 (11:57 +0000)]
Rename lib__future__.tex to libfuture.tex and add link in lib.tex.

22 years ago*** empty log message ***
Jeremy Hylton [Wed, 28 May 2003 11:51:11 +0000 (11:51 +0000)]
*** empty log message ***

22 years agoWrap the cursor functions with dbutils.DeadlockWrap to deal with the
Gregory P. Smith [Wed, 28 May 2003 08:26:43 +0000 (08:26 +0000)]
Wrap the cursor functions with dbutils.DeadlockWrap to deal with the
expected DBLockDeadLockErrors.

22 years agoInclude a link to the pybsddb web documentation for the modern object
Gregory P. Smith [Wed, 28 May 2003 07:56:45 +0000 (07:56 +0000)]
Include a link to the pybsddb web documentation for the modern object
oriented DbEnv & Db object BerkeleyDB interface.

Include a note about Sleepycat's BerkeleyDB license with regards to
distributing it within non-opensource applications and include a link
to their website for license details.

Document that 'r' is the default flag for the legacy bsddb btopen(),
hashopen(), and rnopen() functions.  This is apparently different than the
dbm libraries in other languages according to Bug #732951.  Changing
the default from 'r' to 'c' would break backwards compatibility with
legacy bsddb applications; documenting the default should suffice.

22 years agoAdded a config-main General option to delete sys.exitfunc. The default
Kurt B. Kaiser [Wed, 28 May 2003 01:47:46 +0000 (01:47 +0000)]
Added a config-main General option to delete sys.exitfunc.  The default
is not to do that.  VPython and student environment support.

M PyShell.py
M config-main.def
M run.py

22 years agoAlternate fix for #728744: use OSA and Apple Help Indexing Tool's idleStatus
Jack Jansen [Tue, 27 May 2003 22:47:55 +0000 (22:47 +0000)]
Alternate fix for #728744: use OSA and Apple Help Indexing Tool's idleStatus
indicator to wait for the help indexing to finish.

22 years agoAdded functions CFObj_New and CFObj_Convert, general functions to convert
Jack Jansen [Tue, 27 May 2003 21:39:58 +0000 (21:39 +0000)]
Added functions CFObj_New and CFObj_Convert, general functions to convert
between CF objects and their Python representation. Fixes 734695.

22 years agoAdd more tests from RFC 2202.
Jeremy Hylton [Tue, 27 May 2003 16:16:41 +0000 (16:16 +0000)]
Add more tests from RFC 2202.

22 years agoAdded Help menu. Fixes #731635
Jack Jansen [Tue, 27 May 2003 14:10:37 +0000 (14:10 +0000)]
Added Help menu. Fixes #731635

22 years agoFixup bare try/except.
Raymond Hettinger [Tue, 27 May 2003 06:30:52 +0000 (06:30 +0000)]
Fixup bare try/except.

22 years agoOops, move the GIL release/reacquire from oss_sync() to _do_ioctl_0():
Greg Ward [Tue, 27 May 2003 01:57:21 +0000 (01:57 +0000)]
Oops, move the GIL release/reacquire from oss_sync() to _do_ioctl_0():
that way it applies to *only* the ioctl() call, and also happens for the
other blocking ioctls (POST, RESET).

22 years agomodulefinder.py is not a freeze private module anymore.
Gustavo Niemeyer [Mon, 26 May 2003 23:52:30 +0000 (23:52 +0000)]
modulefinder.py is not a freeze private module anymore.

22 years agoRelease the GIL in two more methods:
Greg Ward [Mon, 26 May 2003 22:47:30 +0000 (22:47 +0000)]
Release the GIL in two more methods:
  * sync(), because it waits for hardware buffers to flush, which
    can take several seconds depending on cirumstances (according
    to the OSS docs)
  * close(), because it does an implicit sync()

22 years agoWhitespace Normalization
Kurt B. Kaiser [Mon, 26 May 2003 22:20:34 +0000 (22:20 +0000)]
Whitespace Normalization
Modified Files: PyShell.py ScriptBinding.py buildapp.py

22 years agoFixed minor typo in Setup.dist.
Gustavo Niemeyer [Mon, 26 May 2003 21:19:47 +0000 (21:19 +0000)]
Fixed minor typo in Setup.dist.

22 years ago1. SF Bug 661676
Kurt B. Kaiser [Mon, 26 May 2003 20:35:53 +0000 (20:35 +0000)]
1. SF Bug 661676
   The default font is not highlighted in the Options dialog when
   IDLEfork is first installed.

2. Reduce default font to 10 pt and increase default window height to give
   a better initial impression on Windows.

M config-main.def
M configDialog.py

22 years agoSF patch #719359, fix test_long failure on OSF/1 with vendor cc
Neal Norwitz [Mon, 26 May 2003 14:11:55 +0000 (14:11 +0000)]
SF patch #719359, fix test_long failure on OSF/1 with vendor cc

This also fixes several other bugs and patches by providing
the proper arguments to cc:  738066 and 741806 need -ieee,
693094 needs -std

22 years agoFix SF bug #735694, Pydoc.py fixes links
Neal Norwitz [Mon, 26 May 2003 13:49:54 +0000 (13:49 +0000)]
Fix SF bug #735694, Pydoc.py fixes links

Modified the patch some.  Fixed invalid link in UNICODE (to STRING).
Also updates some references.

22 years agoBruce Sherwood RFE/Patch
Kurt B. Kaiser [Mon, 26 May 2003 06:23:10 +0000 (06:23 +0000)]
Bruce Sherwood RFE/Patch
SF 661318

Adds autosave capability to IDLE and IDLE configuration dialog.

User can Run/F5 without explicit save dialog.

The default is to require the user to confirm the save.

M ScriptBinding.py
M config-main.def
M configDialog.py

22 years agoPatch #742741: Check for true in different paths, support -pthread.
Martin v. Löwis [Mon, 26 May 2003 05:37:51 +0000 (05:37 +0000)]
Patch #742741: Check for true in different paths, support -pthread.

22 years agoRemove -U from argument list.
Martin v. Löwis [Mon, 26 May 2003 05:15:35 +0000 (05:15 +0000)]
Remove -U from argument list.

22 years agoMore wordsmithing and cleanup.
Greg Ward [Mon, 26 May 2003 01:51:33 +0000 (01:51 +0000)]
More wordsmithing and cleanup.

22 years agoFixed the DESTDIR modifications to also allow MacOSX framework builds
Jack Jansen [Sun, 25 May 2003 22:01:32 +0000 (22:01 +0000)]
Fixed the DESTDIR modifications to also allow MacOSX framework builds
to be installed to a different location. This should make the OSX binary
installer building a lot simpler.

22 years agoAdded a --python option, which sets the python to be used in the #! line
Jack Jansen [Sun, 25 May 2003 22:00:17 +0000 (22:00 +0000)]
Added a --python option, which sets the python to be used in the #! line
in the bootstrap script of the applet.

22 years agofixed some DeprecationWarnings
Just van Rossum [Sun, 25 May 2003 20:44:37 +0000 (20:44 +0000)]
fixed some DeprecationWarnings

22 years agoFix ref counts in initialization code.
Raymond Hettinger [Sun, 25 May 2003 17:59:38 +0000 (17:59 +0000)]
Fix ref counts in initialization code.

22 years agoFleshed out WeakKeyDictionary.__delitem__ NEWS to cover issues raised on
Tim Peters [Sun, 25 May 2003 17:44:31 +0000 (17:44 +0000)]
Fleshed out WeakKeyDictionary.__delitem__ NEWS to cover issues raised on
Python-Dev.  Fixed typos in test comments.  Added some trivial new test
guts to show the parallelism (now) among __delitem__, __setitem__ and
__getitem__ wrt error conditions.

Still a bugfix candidate for 2.2.3 final, but waiting for Fred to get a
chance to chime in.

22 years agoSF 742860: WeakKeyDictionary __delitem__ uses iterkeys
Tim Peters [Sun, 25 May 2003 01:45:11 +0000 (01:45 +0000)]
SF 742860: WeakKeyDictionary __delitem__ uses iterkeys

Someone review this, please!  Final releases are getting close, Fred
(the weakref guy) won't be around until Tuesday, and the pre-patch
code can indeed raise spurious RuntimeErrors in the presence of
threads or mutating comparison functions.

See the bug report for my confusions:  I can't see any reason for why
__delitem__ iterated over the keys.  The new one-liner implementation
is much faster, can't raise RuntimeError, and should be better-behaved
in all respects wrt threads.

New tests test_weak_keyed_bad_delitem and
test_weak_keyed_cascading_deletes fail before this patch.

Bugfix candidate for 2.2.3 too, if someone else agrees with this patch.

22 years agoImproved the RESTART annotation in the shell window when the user
Kurt B. Kaiser [Sat, 24 May 2003 21:12:46 +0000 (21:12 +0000)]
Improved the RESTART annotation in the shell window when the user
restarts the shell while it is generating output.  Also improved
annotation when user repeatedly hammers the Ctrl-F6 restart.

22 years agoFix a bug in Rev 1.10 - Windows can't handle a leading ':' if the
Kurt B. Kaiser [Sat, 24 May 2003 21:01:39 +0000 (21:01 +0000)]
Fix a bug in Rev 1.10 - Windows can't handle a leading ':' if the
user's PYTHONPATH is empty (though Linux can).
Modified Files:
idle idle.py idle.pyw

22 years ago1. Stake Freddy.
Kurt B. Kaiser [Sat, 24 May 2003 20:59:15 +0000 (20:59 +0000)]
1. Stake Freddy.
   e.g. further improve subprocess interrupt, exceptions, and termination.
2. Remove the workarounds in PyShell.py and ScriptBinding.py involving
   interrupting the subprocess prior to killing it, not necessary anymore.
3. Fix a bug introduced at PyShell Rev 1.66: was getting extra shell menu
   every time the shell window was recreated.

M PyShell.py
M ScriptBinding.py
M rpc.py
M run.py

22 years agoSomehow ColorPicker has never been included or tested under darwin, but it works...
Just van Rossum [Sat, 24 May 2003 20:21:50 +0000 (20:21 +0000)]
Somehow ColorPicker has never been included or tested under darwin, but it works just fine.

22 years agoSF bug 705231: Assertion failed, python aborts.
Tim Peters [Sat, 24 May 2003 20:18:24 +0000 (20:18 +0000)]
SF bug 705231:  Assertion failed, python aborts.
float_pow():  Don't let the platform pow() raise -1.0 to an integer power
anymore; at least glibc gets it wrong in some cases.  Note that
math.pow() will continue to deliver wrong (but platform-native) results
in such cases.

22 years agomodernized ColorPicker somewhat
Just van Rossum [Sat, 24 May 2003 20:14:24 +0000 (20:14 +0000)]
modernized ColorPicker somewhat

22 years ago'sum' is no longer a good variable name. Use 'total' instead.
Raymond Hettinger [Sat, 24 May 2003 17:26:02 +0000 (17:26 +0000)]
'sum' is no longer a good variable name.  Use 'total' instead.

22 years agoModified patch #742126: Don't define _XOPEN_SOURCE for OpenBSD 3.3.
Martin v. Löwis [Sat, 24 May 2003 12:35:47 +0000 (12:35 +0000)]
Modified patch #742126: Don't define _XOPEN_SOURCE for OpenBSD 3.3.

22 years agoConvert tcl_version to str before comparing. Fixes #729317.
Martin v. Löwis [Sat, 24 May 2003 11:37:15 +0000 (11:37 +0000)]
Convert tcl_version to str before comparing. Fixes #729317.

22 years agoGet test_ioctl to pass on HPUX 11.
Neal Norwitz [Fri, 23 May 2003 14:35:24 +0000 (14:35 +0000)]
Get test_ioctl to pass on HPUX 11.

TIOCGPGRP and many other definitions come from bsdtty.h, so it needs
to be included at least on HPUX.

22 years agoAfter Raymond's remark, I changed the Stackless bits to
Christian Tismer [Fri, 23 May 2003 12:47:36 +0000 (12:47 +0000)]
After Raymond's remark, I changed the Stackless bits to
two fixed bits, position 15 and 16. It is right, why should these
be elsewhere.

22 years agoAll calls to getarrayitem() (which is static) are done either in loops
Walter Dörwald [Fri, 23 May 2003 10:01:07 +0000 (10:01 +0000)]
All calls to getarrayitem() (which is static) are done either in loops
over the size of the array, or the callers check the index bounds themselves,
so the index check never failed => Replace it with an assert().

22 years agoiteritems() should not have been used for self.timeout which changes during the loop.
Raymond Hettinger [Fri, 23 May 2003 08:51:51 +0000 (08:51 +0000)]
iteritems() should not have been used for self.timeout which changes during the loop.

22 years agoPyType_GenericAlloc is inherited from object.
Raymond Hettinger [Fri, 23 May 2003 03:55:42 +0000 (03:55 +0000)]
PyType_GenericAlloc is inherited from object.

22 years agoGeneralized my type flags structure extension without being specific about
Christian Tismer [Fri, 23 May 2003 03:33:35 +0000 (03:33 +0000)]
Generalized my type flags structure extension without being specific about
the purpose. Increased my claim to two bits, hoping that nobody
will complain about it. I'm taking the highest two bits, whatever
the integer word size may be.

22 years agoLots of wordsmithing and typographical improvement.
Greg Ward [Fri, 23 May 2003 02:44:46 +0000 (02:44 +0000)]
Lots of wordsmithing and typographical improvement.

22 years agoRelease the GIL around read(), write(), and select() calls.
Greg Ward [Fri, 23 May 2003 01:50:37 +0000 (01:50 +0000)]
Release the GIL around read(), write(), and select() calls.
Bug spotted by Joerg Lehmann <joerg@luga.de>.

22 years agoSF bug #644345, Poor error message for augmented assign
Neal Norwitz [Thu, 22 May 2003 22:00:04 +0000 (22:00 +0000)]
SF bug #644345, Poor error message for augmented assign

Update error message.  Hopefully this is clearer to some people.

22 years agoPort test_mimetools.py to PyUnit and add various tests.
Walter Dörwald [Thu, 22 May 2003 17:32:40 +0000 (17:32 +0000)]
Port test_mimetools.py to PyUnit and add various tests.

From SF patch #736962.

22 years agosound_playsound() doesn't have to be visible externally,
Walter Dörwald [Thu, 22 May 2003 17:22:54 +0000 (17:22 +0000)]
sound_playsound() doesn't have to be visible externally,
so make it static.

22 years agoFixed dotted name assertion.
Raymond Hettinger [Thu, 22 May 2003 16:32:58 +0000 (16:32 +0000)]
Fixed dotted name assertion.

22 years agoUse macro to get length of list.
Jeremy Hylton [Thu, 22 May 2003 16:22:33 +0000 (16:22 +0000)]
Use macro to get length of list.
Remove comment about how code used to work.

22 years agoRemove comment with very long lines that explained what the code used
Jeremy Hylton [Thu, 22 May 2003 15:47:02 +0000 (15:47 +0000)]
Remove comment with very long lines that explained what the code used
to do.

XXX Please be careful when checking in patches to avoid checking in
junk that explains what the patched code used to do.

22 years agoRecord 2.2.3c1 Windows build number.
Tim Peters [Thu, 22 May 2003 15:30:36 +0000 (15:30 +0000)]
Record 2.2.3c1 Windows build number.

22 years agoCorrect dependency information -- the Python docs load the "About this
Fred Drake [Thu, 22 May 2003 15:28:55 +0000 (15:28 +0000)]
Correct dependency information -- the Python docs load the "About this
document" text from html/stdabout.dat, not html/about.dat.

22 years agoAdd historical note for Python 2.2.3
Barry Warsaw [Thu, 22 May 2003 15:17:40 +0000 (15:17 +0000)]
Add historical note for Python 2.2.3

22 years agoMinor elaboration in the information about reporting errors.
Fred Drake [Thu, 22 May 2003 15:09:27 +0000 (15:09 +0000)]
Minor elaboration in the information about reporting errors.

22 years agoupdate version history
Fred Drake [Thu, 22 May 2003 14:58:02 +0000 (14:58 +0000)]
update version history

22 years ago[Bug #741171] pdb crashes when enabling a non-existing breakpoint
Andrew M. Kuchling [Thu, 22 May 2003 14:46:12 +0000 (14:46 +0000)]
[Bug #741171] pdb crashes when enabling a non-existing breakpoint

Check the supplied breakpoint number more carefully.
(Incompatibility: before this patch, "enable -1" would enable
the last breakpoint on the list; now -1 is not a legal ID.  Not sure
anyone would ever use negative indices...)

2.2 bugfix candidate, assuming making -1 illegal isn't considered a problem.

22 years agoWalter's last checkin also needs to work on doubles.
Neal Norwitz [Thu, 22 May 2003 13:29:15 +0000 (13:29 +0000)]
Walter's last checkin also needs to work on doubles.
 * Move new test_byteswap into FPTest.
 * Remove extra lines at end of file.

22 years agotest_byteswap() fails on alphas, because treating the byte swapped bit
Walter Dörwald [Thu, 22 May 2003 13:15:31 +0000 (13:15 +0000)]
test_byteswap() fails on alphas, because treating the byte swapped bit
patterns as floats/doubles results in floating point exceptions.

Fix this by implementing a separate test_byteswap() for the floating
point tests. This new test compares the tostring() values of both arrays
instead of the arrays themselves.

Discovered by Neal Norwitz.

22 years agoAdd documentation for __future__
Jeremy Hylton [Wed, 21 May 2003 21:45:01 +0000 (21:45 +0000)]
Add documentation for __future__

22 years agoMove future statement here from appendix a.
Jeremy Hylton [Wed, 21 May 2003 21:43:00 +0000 (21:43 +0000)]
Move future statement here from appendix a.

22 years agoPyType_Ready(): Complain if the type is a base type, and gc'able, and
Tim Peters [Wed, 21 May 2003 21:29:48 +0000 (21:29 +0000)]
PyType_Ready():  Complain if the type is a base type, and gc'able, and
tp_free is NULL or PyObject_Del at the end.  Because it's a base type
it must call tp_free in its dealloc function, and because it's gc'able
it must not call PyObject_Del.

inherit_slots():  Don't inherit tp_free unless the type and its base
agree about whether they're gc'able.  If the type is gc'able and the
base is not, and the base uses the default PyObject_Del for its
tp_free, give the type PyObject_GC_Del for its tp_free (the appropriate
default for a gc'able type).

cPickle.c:  The Pickler and Unpickler types claim to be base classes
and gc'able, but their dealloc functions didn't call tp_free.
Repaired that.  Also call PyType_Ready() on these typeobjects, so
that the correct (PyObject_GC_Del) default memory-freeing function
gets plugged into these types' tp_free slots.

22 years agoFix for SF [ 734869 ] Lambda functions in list comprehensions
Jeremy Hylton [Wed, 21 May 2003 17:34:50 +0000 (17:34 +0000)]
Fix for SF [ 734869 ] Lambda functions in list comprehensions

The compiler was reseting the list comprehension tmpname counter for each function, but the symtable was using the same counter for the entire module.  Repair by move tmpname into the symtable entry.

Bugfix candidate.

22 years agoSF bug #604716: faster [None]*n or []*n
Raymond Hettinger [Wed, 21 May 2003 05:58:46 +0000 (05:58 +0000)]
SF bug #604716: faster [None]*n or []*n

Fulfilled request to special case repetitions of lists of length 0 or 1.

22 years agoDon't mention __slots__ as a technique for error avoidance
Andrew M. Kuchling [Tue, 20 May 2003 18:12:21 +0000 (18:12 +0000)]
Don't mention __slots__ as a technique for error avoidance

22 years agoAdded a test for the fix of SF bug #658233, where continuation lines
Barry Warsaw [Tue, 20 May 2003 17:28:54 +0000 (17:28 +0000)]
Added a test for the fix of SF bug #658233, where continuation lines
in .po metadata caused a crash.

Also, removed some unnecessary code.

Backport candidate.

22 years agoGNUTranslations._parse(): Fix SF bug #658233, where continuation lines
Barry Warsaw [Tue, 20 May 2003 17:26:48 +0000 (17:26 +0000)]
GNUTranslations._parse(): Fix SF bug #658233, where continuation lines
in .po metadata caused a crash.

Backport candidate.

22 years agoFix markup nits.
Fred Drake [Tue, 20 May 2003 16:21:51 +0000 (16:21 +0000)]
Fix markup nits.

22 years agoStraighten out the docs for os.system(); the Unix and Windows behaviors
Tim Peters [Tue, 20 May 2003 16:15:58 +0000 (16:15 +0000)]
Straighten out the docs for os.system(); the Unix and Windows behaviors
really can't be smushed together.

Bugfix candidate.

22 years agoMarkup nits.
Fred Drake [Tue, 20 May 2003 15:28:58 +0000 (15:28 +0000)]
Markup nits.

22 years agoRemove unused line numbers from example code.
Fred Drake [Tue, 20 May 2003 15:21:08 +0000 (15:21 +0000)]
Remove unused line numbers from example code.
Line numbering of examples is not used elsewhere.

22 years agoPreserved one bit in type objects for Stackless.
Christian Tismer [Tue, 20 May 2003 15:14:31 +0000 (15:14 +0000)]
Preserved one bit in type objects for Stackless.
The presence of this bit controls, whether there
are special fields for non-recursive calls.

22 years ago'Progress' doesn't exists, causing 'from EasyDialogs import *' to fail
Just van Rossum [Tue, 20 May 2003 12:07:19 +0000 (12:07 +0000)]
'Progress' doesn't exists, causing 'from EasyDialogs import *' to fail

22 years agoFix missing parethesis.
Raymond Hettinger [Tue, 20 May 2003 05:31:16 +0000 (05:31 +0000)]
Fix missing parethesis.

22 years agoSF 740055: optional argument protocol in shelve.open is ignored
Raymond Hettinger [Tue, 20 May 2003 05:15:55 +0000 (05:15 +0000)]
SF 740055: optional argument protocol in shelve.open is ignored

* added the missing parameter
* put optional parameters in correct positional order

22 years agoSF bug 735293: Command line timeit.py sets sys.path badly
Raymond Hettinger [Tue, 20 May 2003 04:59:56 +0000 (04:59 +0000)]
SF bug 735293: Command line timeit.py sets sys.path badly

Paul Moore's patch to have timeit.py check the current directory for
imports (instead of the directory for Lib/timeit.py).

22 years agoAdd docs for key_file and cert_file arguments for HTTPSConnection. Copied from socke...
Brett Cannon [Tue, 20 May 2003 02:56:35 +0000 (02:56 +0000)]
Add docs for key_file and cert_file arguments for HTTPSConnection.  Copied from socket.ssl docs.

22 years agoFixing the previous patch to have the changes be to the proper docstrings.
Brett Cannon [Tue, 20 May 2003 02:40:12 +0000 (02:40 +0000)]
Fixing the previous patch to have the changes be to the proper docstrings.

22 years agoFix docstrings for __(get|set|del)slice__ to mention that negative indices are not...
Brett Cannon [Tue, 20 May 2003 02:30:04 +0000 (02:30 +0000)]
Fix docstrings for __(get|set|del)slice__ to mention that negative indices are not supported.

22 years agoFix race exposed by 2.4 GHz XP box: Don't tear down PyShell until
Kurt B. Kaiser [Mon, 19 May 2003 23:11:51 +0000 (23:11 +0000)]
Fix race exposed by 2.4 GHz XP box: Don't tear down PyShell until
subprocess polling has terminated.  Tk callit gets unhappy if it can't
find the function 'after' scheduled to run.

M PyShell.py

22 years agoOnly return objects if wantobjects is set in GetVar.
Martin v. Löwis [Mon, 19 May 2003 19:57:42 +0000 (19:57 +0000)]
Only return objects if wantobjects is set in GetVar.

22 years ago* Correct Sniffer doc to correspond to the implementation.
Skip Montanaro [Mon, 19 May 2003 15:33:36 +0000 (15:33 +0000)]
* Correct Sniffer doc to correspond to the implementation.

* Add optional delimiters arg to Sniffer.sniff() which restricts the set of
  candidate field delimiters.

22 years agoLet Python inform the user what went wrong with the import.
Kurt B. Kaiser [Mon, 19 May 2003 02:07:44 +0000 (02:07 +0000)]
Let Python inform the user what went wrong with the import.
 Modified Files:
  idle idle.py idle.pyw

22 years agoOnly encode Unicode objects when printing them raw.
Martin v. Löwis [Sun, 18 May 2003 12:56:25 +0000 (12:56 +0000)]
Only encode Unicode objects when printing them raw.

22 years agoConsider \U-escapes in raw-unicode-escape. Fixes #444514.
Martin v. Löwis [Sun, 18 May 2003 12:31:09 +0000 (12:31 +0000)]
Consider \U-escapes in raw-unicode-escape. Fixes #444514.

22 years agoFix array.array.insert(), so that it treats negative indices as
Walter Dörwald [Sun, 18 May 2003 03:15:10 +0000 (03:15 +0000)]
Fix array.array.insert(), so that it treats negative indices as
being relative to the end of the array, just like list.insert() does.
This closes SF bug #739313.

22 years agoTo be on the safe side, backed out any questionable iteritem changes and set back...
Brett Cannon [Sun, 18 May 2003 02:25:07 +0000 (02:25 +0000)]
To be on the safe side, backed out any questionable iteritem changes and set back to item calls.

22 years agoAdded more words about the abuse of the tp_alloc nitems argument
Tim Peters [Sun, 18 May 2003 02:24:46 +0000 (02:24 +0000)]
Added more words about the abuse of the tp_alloc nitems argument
perpetrated by the time and datetime classes.

22 years agoWhitespace Normalization
Kurt B. Kaiser [Sun, 18 May 2003 02:24:32 +0000 (02:24 +0000)]
Whitespace Normalization

22 years agoWhitespace Normalization
Kurt B. Kaiser [Sun, 18 May 2003 02:21:55 +0000 (02:21 +0000)]
Whitespace Normalization

 Modified Files:
  config-extensions.def config-highlight.def config-keys.def
  config-main.def

22 years agoAdd another error case to the insert test.
Walter Dörwald [Sun, 18 May 2003 01:56:25 +0000 (01:56 +0000)]
Add another error case to the insert test.

22 years agoPort test_array and test_winsound to PyUnit. Enhance tests for array
Walter Dörwald [Sun, 18 May 2003 00:47:47 +0000 (00:47 +0000)]
Port test_array and test_winsound to PyUnit. Enhance tests for array
(code coverage for Modules/arraymodule.c is at 91%)

From SF patch #736962.

22 years agoShow Freddy the mirror
Kurt B. Kaiser [Sat, 17 May 2003 21:04:10 +0000 (21:04 +0000)]
Show Freddy the mirror
i.e. improve subprocess exit paths and exeception reporting

22 years agoUser cStringIO instead of StringIO.
Raymond Hettinger [Sat, 17 May 2003 20:44:12 +0000 (20:44 +0000)]
User cStringIO instead of StringIO.