]> granicus.if.org Git - python/log
python
20 years agoPatch #1046831: Use get_python_version where appropriate in sysconfig.py.
Martin v. Löwis [Thu, 3 Mar 2005 11:08:03 +0000 (11:08 +0000)]
Patch #1046831: Use get_python_version where appropriate in sysconfig.py.

20 years agoPatch #1117454: Remove code to special-case cookies without values
Martin v. Löwis [Thu, 3 Mar 2005 10:57:37 +0000 (10:57 +0000)]
Patch #1117454: Remove code to special-case cookies without values
in LWPCookieJar. Backported to 2.4.

20 years agoPatch #1117339: Add cookielib special name tests.
Martin v. Löwis [Thu, 3 Mar 2005 10:48:12 +0000 (10:48 +0000)]
Patch #1117339: Add cookielib special name tests.
Backported to 2.4.

20 years agoDocument quiet parameter to decode. Fixes #803413.
Martin v. Löwis [Thu, 3 Mar 2005 10:06:05 +0000 (10:06 +0000)]
Document quiet parameter to decode. Fixes #803413.

20 years agoPatch #1112812: Make bsddb/__init__.py more friendly for modulefinder.
Martin v. Löwis [Thu, 3 Mar 2005 09:46:07 +0000 (09:46 +0000)]
Patch #1112812: Make bsddb/__init__.py more friendly for modulefinder.
Backported to 2.4.

20 years agoClear internal call error in 'L' format. Fixes #723201.
Martin v. Löwis [Thu, 3 Mar 2005 09:24:38 +0000 (09:24 +0000)]
Clear internal call error in 'L' format. Fixes #723201.
Backported to 2.4.

20 years agoPatch #1110248: SYNC_FLUSH the zlib buffer for GZipFile.flush.
Martin v. Löwis [Thu, 3 Mar 2005 08:35:22 +0000 (08:35 +0000)]
Patch #1110248: SYNC_FLUSH the zlib buffer for GZipFile.flush.
Partially fixes #1110242.

20 years agoPatch #1107973: tarfile.ExFileObject iterators.
Martin v. Löwis [Thu, 3 Mar 2005 08:17:42 +0000 (08:17 +0000)]
Patch #1107973: tarfile.ExFileObject iterators.

20 years agoPatch #1104111: Alter setup.py --help and --help-commands.
Martin v. Löwis [Thu, 3 Mar 2005 08:12:27 +0000 (08:12 +0000)]
Patch #1104111: Alter setup.py --help and --help-commands.

20 years agoSilence a gcc warning about putting in parentheses around && expressions mixed
Brett Cannon [Thu, 3 Mar 2005 07:01:48 +0000 (07:01 +0000)]
Silence a gcc warning about putting in parentheses around && expressions mixed
with || expressions.  Also clarifies intend of 'if' conditional.

20 years agoNoted that the module is new in version 2.5.
Raymond Hettinger [Wed, 2 Mar 2005 15:10:38 +0000 (15:10 +0000)]
Noted that the module is new in version 2.5.

20 years agoFix bug in InternalDate regexp that failed to allow leading 0 in day - courtesy of...
Piers Lauder [Wed, 2 Mar 2005 09:13:45 +0000 (09:13 +0000)]
Fix bug in InternalDate regexp that failed to allow leading 0 in day - courtesy of Rimon Barr <rimon.barr@cornell.edu>

20 years agoImprove (?) description of system dependence of access to the pw_passwd
Skip Montanaro [Wed, 2 Mar 2005 04:29:23 +0000 (04:29 +0000)]
Improve (?) description of system dependence of access to the pw_passwd
field on systems that support shadow passwords.

20 years agoPatch #1121234: Properly cleanup _exit and tkerror commands.
Martin v. Löwis [Tue, 1 Mar 2005 08:09:28 +0000 (08:09 +0000)]
Patch #1121234: Properly cleanup _exit and tkerror commands.
Will backport to 2.4.

20 years agoFix grammatical typo in a comment.
Brett Cannon [Tue, 1 Mar 2005 03:16:34 +0000 (03:16 +0000)]
Fix grammatical typo in a comment.

20 years agoMake test__locale more fine-grained. Now test localeconv and nl_langinfo
Brett Cannon [Tue, 1 Mar 2005 03:15:50 +0000 (03:15 +0000)]
Make test__locale more fine-grained.  Now test localeconv and nl_langinfo
individually as tests.

Also improved output when the test fails.

20 years agoFix small grammatical error in a docstring.
Brett Cannon [Tue, 1 Mar 2005 03:12:26 +0000 (03:12 +0000)]
Fix small grammatical error in a docstring.

20 years agoNote various changes that need to be described
Andrew M. Kuchling [Tue, 1 Mar 2005 00:53:46 +0000 (00:53 +0000)]
Note various changes that need to be described

20 years agoSF patch #941881: PEP 309 Implementation (Partial Function Application).
Raymond Hettinger [Mon, 28 Feb 2005 19:39:44 +0000 (19:39 +0000)]
SF patch #941881:  PEP 309 Implementation (Partial Function Application).

Combined efforts of many including Peter Harris, Hye-Shik Chang,
Martin v. Löwis, Nick Coghlan, Paul Moore, and Raymond Hettinger.

20 years agoComplete the previous effort to factor out constant expressions
Raymond Hettinger [Mon, 28 Feb 2005 19:27:52 +0000 (19:27 +0000)]
Complete the previous effort to factor out constant expressions
and improve the speed of the if/elif/else blocks.

20 years agoPatch #1093585: raise a ValueError for negative history items in
Martin v. Löwis [Sun, 27 Feb 2005 20:33:25 +0000 (20:33 +0000)]
Patch #1093585: raise a ValueError for negative history items in
remove_history and replace_history. Will backport to 2.4.

20 years agoPatch #1049151: adding bool support to xdrlib.py.
Martin v. Löwis [Thu, 24 Feb 2005 20:22:10 +0000 (20:22 +0000)]
Patch #1049151:  adding bool support to xdrlib.py.
Also add xdrlib._test into the test suite.

20 years agoUpdate an example to match current output.
Raymond Hettinger [Wed, 23 Feb 2005 20:40:42 +0000 (20:40 +0000)]
Update an example to match current output.

20 years agoPreserve sign of -0.0 when result is run through marshal.
Raymond Hettinger [Wed, 23 Feb 2005 13:37:55 +0000 (13:37 +0000)]
Preserve sign of -0.0 when result is run through marshal.

20 years agoA few random updates to make things less horrifyingly out of date.
Michael W. Hudson [Tue, 22 Feb 2005 15:33:26 +0000 (15:33 +0000)]
A few random updates to make things less horrifyingly out of date.

Delete some advice that can never, ever have worked.

There are a couple of XXX comments for bits I don't know how to
update.  It would be really good not to release Python 2.5 with these
in place :)

This file is way too big.  There's basically no chance of it staying
up to date.

20 years agoDocument missing opcodes.
Raymond Hettinger [Mon, 21 Feb 2005 20:28:07 +0000 (20:28 +0000)]
Document missing opcodes.

20 years agoDocument how the pattern recognizer keeps all of its references in bounds.
Raymond Hettinger [Mon, 21 Feb 2005 20:03:14 +0000 (20:03 +0000)]
Document how the pattern recognizer keeps all of its references in bounds.
Add a test in case the underlying assumptions ever change (i.e. the
compiler starts generating code blocks that are not punctuated by
RETURN_VALUE).

20 years agoFix some wording and grammar nits.
Raymond Hettinger [Mon, 21 Feb 2005 15:46:52 +0000 (15:46 +0000)]
Fix some wording and grammar nits.

20 years agoMade the module compatible with Python 2.2 again.
Peter Astrand [Mon, 21 Feb 2005 08:13:02 +0000 (08:13 +0000)]
Made the module compatible with Python 2.2 again.

20 years agoTeach the peepholer to fold unary operations on constants.
Raymond Hettinger [Sun, 20 Feb 2005 12:46:54 +0000 (12:46 +0000)]
Teach the peepholer to fold unary operations on constants.

Afterwards, -0.5 loads in a single step and no longer requires a runtime
UNARY_NEGATIVE operation.

20 years agoTeach the peepholer to fold unary operations on constants.
Raymond Hettinger [Sun, 20 Feb 2005 12:41:32 +0000 (12:41 +0000)]
Teach the peepholer to fold unary operations on constants.

Afterwards, -0.5 loads in a single step and no longer requires a runtime
UNARY_NEGATIVE operation.

20 years ago* Beef-up tests for str.count().
Raymond Hettinger [Sun, 20 Feb 2005 09:54:53 +0000 (09:54 +0000)]
* Beef-up tests for str.count().
* Speed-up str.count() by using memchr() to fly between first char matches.

20 years ago* Beef-up testing of str.__contains__() and str.find().
Raymond Hettinger [Sun, 20 Feb 2005 04:07:08 +0000 (04:07 +0000)]
* Beef-up testing of str.__contains__() and str.find().
* Speed-up "x in y" where x has more than one character.

The existing code made excessive calls to the expensive memcmp() function.
The new code uses memchr() to rapidly find a start point for memcmp().
In addition to knowing that the first character is a match, the new code
also checks that the last character is a match.  This significantly reduces
the incidence of false starts (saving memcmp() calls and making quadratic
behavior less likely).

Improves the timings on:
    python -m timeit -r7 -s"x='a'*1000" "'ab' in x"
    python -m timeit -r7 -s"x='a'*1000" "'bc' in x"

Once this code has proven itself, then string_find_internal() should refer
to it rather than running its own version.  Also, something similar may
apply to unicode objects.

20 years agoThe error message "can't start new thread" should not end in a
Guido van Rossum [Sun, 20 Feb 2005 03:02:16 +0000 (03:02 +0000)]
The error message "can't start new thread" should not end in a
newline.

20 years agoUse getdoc(object) instead of object.__doc__ to fix indentation problems.
Ka-Ping Yee [Sat, 19 Feb 2005 22:58:26 +0000 (22:58 +0000)]
Use getdoc(object) instead of object.__doc__ to fix indentation problems.
Thanks to Robert Dick <dickrp@ece.northwestern.edu> for reporting this bug
and submitting a patch.

Adjust doc(object) to display useful documentation for plain values (e.g.
help([]) now shows the methods on the list instead of just printing "[]").

(This change has been tested interactively, by generating docs for the
standard library, and by running the module documentation webserver.)

20 years agoAvoid using *W functions on Win95. Backported to 2.4.
Martin v. Löwis [Fri, 18 Feb 2005 16:18:09 +0000 (16:18 +0000)]
Avoid using *W functions on Win95. Backported to 2.4.

20 years agoAdd support for negative indices in UserString.MutableString.__setitem__
Walter Dörwald [Fri, 18 Feb 2005 13:22:43 +0000 (13:22 +0000)]
Add support for negative indices in UserString.MutableString.__setitem__
and UserString.MutableString.__delitem__.

20 years agoHandle errors in imports of thread, threading
Vinay Sajip [Fri, 18 Feb 2005 11:54:46 +0000 (11:54 +0000)]
Handle errors in imports of thread, threading

20 years agoImproved frame handling for 1.5.2, and now return func from findCaller (not actually...
Vinay Sajip [Fri, 18 Feb 2005 11:53:32 +0000 (11:53 +0000)]
Improved frame handling for 1.5.2, and now return func from findCaller (not actually used yet)

20 years agoFixed documentation for SMTPHandler
Vinay Sajip [Fri, 18 Feb 2005 11:50:11 +0000 (11:50 +0000)]
Fixed documentation for SMTPHandler

20 years agoFix copy & paste error.
Walter Dörwald [Thu, 17 Feb 2005 22:31:28 +0000 (22:31 +0000)]
Fix copy & paste error.

20 years agoAdd tests for the methods added by UserString.MutableString.
Walter Dörwald [Thu, 17 Feb 2005 22:03:31 +0000 (22:03 +0000)]
Add tests for the methods added by UserString.MutableString.

20 years agoAvoid using items() in environ.update(). Fixes #1124513.
Martin v. Löwis [Thu, 17 Feb 2005 21:23:20 +0000 (21:23 +0000)]
Avoid using items() in environ.update(). Fixes #1124513.
Will backport to 2.4.

20 years agoAdd a basic test for UserString.MutableString.
Walter Dörwald [Thu, 17 Feb 2005 18:51:48 +0000 (18:51 +0000)]
Add a basic test for UserString.MutableString.

20 years agoNEWS blurb for fix of:
Michael W. Hudson [Thu, 17 Feb 2005 14:55:21 +0000 (14:55 +0000)]
NEWS blurb for fix of:

1124295 ] Function's __name__ no longer accessible in restricted mode

20 years agoupdate version numbers
Andrew MacIntyre [Thu, 17 Feb 2005 12:50:27 +0000 (12:50 +0000)]
update version numbers

20 years agoadd notes about subprocess module & thread stacks, SSL support
Andrew MacIntyre [Thu, 17 Feb 2005 12:46:34 +0000 (12:46 +0000)]
add notes about subprocess module & thread stacks, SSL support

20 years agoadd build machinery for the SSL socket module
Andrew MacIntyre [Thu, 17 Feb 2005 12:44:51 +0000 (12:44 +0000)]
add build machinery for the SSL socket module

20 years agoFix
Michael W. Hudson [Thu, 17 Feb 2005 10:37:21 +0000 (10:37 +0000)]
Fix

1124295 ] Function's __name__ no longer accessible in restricted mode

which I introduced with a bit of mindless copy-paste when making
__name__ writable.  You can't assign to __name__ in restricted mode,
which I'm going to pretend was intentional :)

20 years agoFix name for PyDateTime_FromDateAndTime.
Brett Cannon [Thu, 17 Feb 2005 05:17:17 +0000 (05:17 +0000)]
Fix name for PyDateTime_FromDateAndTime.

Closes bug #1124278.

20 years agoRemove dependency on order of mode flags
Raymond Hettinger [Wed, 16 Feb 2005 09:27:49 +0000 (09:27 +0000)]
Remove dependency on order of mode flags

20 years agospwdmodule.c should only be built when either HAVE_GETSPNAM or HAVE_GETSPENT is
Brett Cannon [Wed, 16 Feb 2005 00:07:19 +0000 (00:07 +0000)]
spwdmodule.c should only be built when either HAVE_GETSPNAM or HAVE_GETSPENT is
defined.

20 years agoWhitespace normalization.
Tim Peters [Tue, 15 Feb 2005 21:50:12 +0000 (21:50 +0000)]
Whitespace normalization.

20 years agoAn instance of class PicklingError was used here simply as an example of
Tim Peters [Tue, 15 Feb 2005 16:22:34 +0000 (16:22 +0000)]
An instance of class PicklingError was used here simply as an example of
_some_ user-defined class instance.  That it was also an exception isn't
interesting, but does interfere with Michael Hudson's new-style exception
patch.  This just changes the doctest example, to use an instance of a
non-exception class.

20 years agoTest that SystemExits are handled properly by the exit machinery. I
Michael W. Hudson [Tue, 15 Feb 2005 15:26:11 +0000 (15:26 +0000)]
Test that SystemExits are handled properly by the exit machinery.  I
broke the "raise SystemExit(46)" case when doing new-style exceptions,
but I'd much rather have found out here than in test_tempfile (growl).

20 years agoExceedingly minor tweak.
Michael W. Hudson [Tue, 15 Feb 2005 15:22:37 +0000 (15:22 +0000)]
Exceedingly minor tweak.

20 years agoAdded copyright notice:
Peter Astrand [Mon, 14 Feb 2005 08:56:32 +0000 (08:56 +0000)]
Added copyright notice:
Licensed to PSF under a Contributor Agreement.

20 years agoAdd mention of patch #1095802 (fixing "Macintosh" references to represent OS
Brett Cannon [Sun, 13 Feb 2005 22:53:22 +0000 (22:53 +0000)]
Add mention of patch #1095802 (fixing "Macintosh" references to represent OS
X).

20 years agoUpdate references specifying "Macintosh" to mean OS X semantics and not Mac OS
Brett Cannon [Sun, 13 Feb 2005 22:50:04 +0000 (22:50 +0000)]
Update references specifying "Macintosh" to mean OS X semantics and not Mac OS
9.

Applies patch #1095802.  Thanks Jack Jansen.

20 years agofix decoding in _stringify to not depend on the default encoding
Fred Drake [Fri, 11 Feb 2005 17:59:08 +0000 (17:59 +0000)]
fix decoding in _stringify to not depend on the default encoding
(closes SF bug #1115989)

20 years agoModified test for tzset to not rely on tm->tm_zone's existence. Also added
Brett Cannon [Thu, 10 Feb 2005 20:48:03 +0000 (20:48 +0000)]
Modified test for tzset to not rely on tm->tm_zone's existence.  Also added
sanity checks on tzname if HAVE_TZNAME defined.

Closes bug #1096244.  Thanks Gregory Bond.

20 years agoRemove set conversion optimization test (backed out of Python/compile.c in rev.
Brett Cannon [Thu, 10 Feb 2005 20:40:29 +0000 (20:40 +0000)]
Remove set conversion optimization test (backed out of Python/compile.c in rev.
2.344).

20 years agoaccept datetime.datetime instances when marshalling;
Fred Drake [Thu, 10 Feb 2005 18:33:30 +0000 (18:33 +0000)]
accept datetime.datetime instances when marshalling;
dateTime.iso8601 elements still unmarshal into xmlrpclib.DateTime objects

20 years agoFix typo
Andrew M. Kuchling [Thu, 10 Feb 2005 13:24:50 +0000 (13:24 +0000)]
Fix typo

20 years agoPatch from Leandro Lucarella: replaced:
Peter Astrand [Thu, 10 Feb 2005 08:32:50 +0000 (08:32 +0000)]
Patch from Leandro Lucarella: replaced:

var == None and var != None
with
var is None and var is not None

and type(var) == int
with
instanceof(var, int)

...as recomended in PEP 8 [1].

20 years agoRemove the set conversion which didn't work with: [] in (0,)
Raymond Hettinger [Thu, 10 Feb 2005 01:42:32 +0000 (01:42 +0000)]
Remove the set conversion which didn't work with:  [] in (0,)

20 years agoSF bug #1119700: list extend() accepts args besides lists
Raymond Hettinger [Wed, 9 Feb 2005 23:19:25 +0000 (23:19 +0000)]
SF bug #1119700:  list extend() accepts args besides lists

20 years agoHave set conversion replace existing constant if not used elsewhere.
Raymond Hettinger [Wed, 9 Feb 2005 21:24:51 +0000 (21:24 +0000)]
Have set conversion replace existing constant if not used elsewhere.

20 years agoUpdate PSF copyright year to 2005.
Trent Mick [Wed, 9 Feb 2005 21:03:47 +0000 (21:03 +0000)]
Update PSF copyright year to 2005.

20 years agoConvert splitlines to for-loop (handles case where input does not have a trailing...
Raymond Hettinger [Tue, 8 Feb 2005 15:39:11 +0000 (15:39 +0000)]
Convert splitlines to for-loop (handles case where input does not have a trailing newline).

20 years agoFix stupid typo: Don't read from a writer.
Walter Dörwald [Tue, 8 Feb 2005 10:10:01 +0000 (10:10 +0000)]
Fix stupid typo: Don't read from a writer.

20 years agoWholistic code cleanup / modernization:
Raymond Hettinger [Tue, 8 Feb 2005 08:05:13 +0000 (08:05 +0000)]
Wholistic code cleanup / modernization:
* Use +=
* Replace loop logic with str.splitlines equivalent
* Don't use variable names that shadow tuple, list, and str
* Use dict.get instead of equivalent try/except
* Minor loop logic simplications

20 years agoadd 2.3.5, 2.4 to the history and licensing info
Fred Drake [Tue, 8 Feb 2005 06:42:39 +0000 (06:42 +0000)]
add 2.3.5, 2.4 to the history and licensing info

20 years agoClose the discussion in SF bug 1069160.
Guido van Rossum [Tue, 8 Feb 2005 02:07:57 +0000 (02:07 +0000)]
Close the discussion in SF bug 1069160.

20 years agoAdopt Skip's idea to optimize lists of constants in the context
Raymond Hettinger [Mon, 7 Feb 2005 19:32:38 +0000 (19:32 +0000)]
Adopt Skip's idea to optimize lists of constants in the context
of a "in" or "not in" test.

20 years agoRevert previous checkin.
Raymond Hettinger [Mon, 7 Feb 2005 15:28:45 +0000 (15:28 +0000)]
Revert previous checkin.

20 years agoReduce the usage of the types module.
Raymond Hettinger [Mon, 7 Feb 2005 14:16:21 +0000 (14:16 +0000)]
Reduce the usage of the types module.

20 years agoTransform "x in (1,2,3)" to "x in frozenset([1,2,3])".
Raymond Hettinger [Sun, 6 Feb 2005 22:05:42 +0000 (22:05 +0000)]
Transform "x in (1,2,3)" to "x in frozenset([1,2,3])".

Inspired by Skip's idea to recognize the throw-away nature of sequences
in this context and to transform their type to one with better performance.

20 years agoReplace list of constants with tuples of constants.
Raymond Hettinger [Sun, 6 Feb 2005 06:57:08 +0000 (06:57 +0000)]
Replace list of constants with tuples of constants.

20 years agoCode simplification -- eliminate lookup when value is known in advance.
Raymond Hettinger [Sat, 5 Feb 2005 23:42:57 +0000 (23:42 +0000)]
Code simplification -- eliminate lookup when value is known in advance.

20 years agoSF patch #1028908
Raymond Hettinger [Sat, 5 Feb 2005 14:37:06 +0000 (14:37 +0000)]
SF patch #1028908
(John J Lee)

Minor code clarification and simplification.

20 years agoSF patch #1116583: NameError in cookielib domain check
Raymond Hettinger [Sat, 5 Feb 2005 01:31:19 +0000 (01:31 +0000)]
SF patch #1116583:  NameError in cookielib domain check

20 years agoAdd NEWS item about future parser bug.
Jeremy Hylton [Fri, 4 Feb 2005 18:44:06 +0000 (18:44 +0000)]
Add NEWS item about future parser bug.

20 years agoFix bug that allowed future statements virtually anywhere in a module.
Jeremy Hylton [Fri, 4 Feb 2005 18:38:43 +0000 (18:38 +0000)]
Fix bug that allowed future statements virtually anywhere in a module.

If we exit via the break here, we need to set ff_last_lineno or
FUTURE_POSSIBLE() will remain true.  The bug affected statements
containing a variety of expressions, but not all expressions.  It has
been present since Python 2.2.

20 years agoAdd a test for UTF-16 reading where the byte sequence doesn't start with
Walter Dörwald [Fri, 4 Feb 2005 14:15:34 +0000 (14:15 +0000)]
Add a test for UTF-16 reading where the byte sequence doesn't start with
a BOM.

20 years agoRecompiled after source changes.
Thomas Heller [Thu, 3 Feb 2005 20:48:26 +0000 (20:48 +0000)]
Recompiled after source changes.

20 years agoRunning a bdist_wininst installer, built with Python 2.3, installing
Thomas Heller [Thu, 3 Feb 2005 20:35:10 +0000 (20:35 +0000)]
Running a bdist_wininst installer, built with Python 2.3, installing
for Python 2.4 caused a segfault when post_install_script was used.

The reason was that the file handle passed to PyRun_SimpleFile() was
created with MSVCRT.DLL, but Python 2.4 uses MSVCR71.DLL.

So, I replaced PyRun_SimpleFile() with PyRun_SimpleString().  The
segfault is gone, but the output of the postinstall script doesn't
show up, because still freopen() from MSVCRT is used.

Already backported.

20 years agoSet PYTHONHOME before loading Python, so that sys.path will be set correctly.
Thomas Heller [Thu, 3 Feb 2005 20:11:28 +0000 (20:11 +0000)]
Set PYTHONHOME before loading Python, so that sys.path will be set correctly.

Already backported.

20 years agofix XMLFilterBase.resolveEntity() so the caller gets the result
Fred Drake [Thu, 3 Feb 2005 17:31:39 +0000 (17:31 +0000)]
fix XMLFilterBase.resolveEntity() so the caller gets the result
(PyXML bug #1112052)

20 years agoSecurity fix PSF-2005-001 for SimpleXMLRPCServer.py.
Guido van Rossum [Thu, 3 Feb 2005 15:01:24 +0000 (15:01 +0000)]
Security fix PSF-2005-001 for SimpleXMLRPCServer.py.

20 years agoAdd config-main.def option to make the 'history' feature non-cyclic.
Kurt B. Kaiser [Thu, 3 Feb 2005 01:37:14 +0000 (01:37 +0000)]
Add config-main.def option to make the 'history' feature non-cyclic.
Default remains cyclic.  Python Patch 914546 Noam Raphael.

M IdleHistory.py
M NEWS.txt
M config-main.def

20 years agoSimplify string comparison using startswith()
Steve Holden [Wed, 2 Feb 2005 18:47:18 +0000 (18:47 +0000)]
Simplify string comparison using startswith()

20 years agoMore bug #1077106 stuff, sorry -- modem induced impatiece!
Michael W. Hudson [Mon, 31 Jan 2005 17:09:25 +0000 (17:09 +0000)]
More bug #1077106 stuff, sorry -- modem induced impatiece!

This should go on whatever bugfix branches the other fetches up on.

20 years agoFix
Michael W. Hudson [Mon, 31 Jan 2005 17:01:59 +0000 (17:01 +0000)]
Fix

1077106 ] Negative numbers to os.read() cause segfault

Sorry for sitting on this for so long!  Is there a chance it could
make 2.3.5?

20 years agoRemoved ability to configure tabs indent from Options dialog. This 'feature'
Kurt B. Kaiser [Mon, 31 Jan 2005 03:34:26 +0000 (03:34 +0000)]
Removed ability to configure tabs indent from Options dialog.  This 'feature'
has never worked and no one has complained.  It is still possible to set a
default tabs (v. spaces) indent 'manually' via config-main.def (or to turn on
tabs for the current EditorWindow via the Format menu) but IDLE will encourage
indentation via spaces.

Enable setting the indentation width using the Options dialog.
Bug # 783877

Remove some commented out old code from configDialog.py (related to old
methods for invoking the HelpBrowser).

M EditorWindow.py
M NEWS.txt
M configHandler.py

20 years agoBug #1108490: fix broken link.
Johannes Gijsbers [Sat, 29 Jan 2005 19:49:34 +0000 (19:49 +0000)]
Bug #1108490: fix broken link.

20 years agoRevert os.py 1.75, and directly implement update.
Martin v. Löwis [Sat, 29 Jan 2005 13:29:23 +0000 (13:29 +0000)]
Revert os.py 1.75, and directly implement update.
Fixes #1110478 and #1100235.

20 years agoAdd keybindings for del-word-left and del-word-right.
Kurt B. Kaiser [Fri, 28 Jan 2005 00:16:16 +0000 (00:16 +0000)]
Add keybindings for del-word-left and del-word-right.

M EditorWindow.py
M NEWS.txt
M config-keys.def
M configHandler.py

20 years agoFixed typo in verbose output.
Brett Cannon [Thu, 27 Jan 2005 22:48:30 +0000 (22:48 +0000)]
Fixed typo in verbose output.

Closes bug #1110998.  Thanks Matthew Bogosian.

20 years agoPartially revert #1074011; don't try to fflush stdin.
Martin v. Löwis [Thu, 27 Jan 2005 18:56:16 +0000 (18:56 +0000)]
Partially revert #1074011; don't try to fflush stdin.
Backported to 2.3 and 2.4.