]>
granicus.if.org Git - python/log
Fred Drake [Thu, 14 Aug 2003 15:52:33 +0000 (15:52 +0000)]
When piping output into a pager like "less", quiting the pager before
the output was consumed would cause and exception to be raise in
logmerge; suppress this specific error, because it's not helpful.
Kurt B. Kaiser [Thu, 14 Aug 2003 14:54:28 +0000 (14:54 +0000)]
IDLE didn't start correctly when Python was installed in "Program Files"
on W2K and XP. Python Bugs 780451, 784183
Backported to 2.2-maint
Fred Drake [Thu, 14 Aug 2003 04:51:24 +0000 (04:51 +0000)]
fix markup
Andrew M. Kuchling [Wed, 13 Aug 2003 23:11:04 +0000 (23:11 +0000)]
[Patch #739124] Add use_default_colors() to curses module
Walter Dörwald [Tue, 12 Aug 2003 17:34:49 +0000 (17:34 +0000)]
Add a unicode prefix to the characters in the UnicodeEncodeError and
UnicodeTranslateError message.
Walter Dörwald [Tue, 12 Aug 2003 17:32:43 +0000 (17:32 +0000)]
Enhance message for UnicodeEncodeError and UnicodeTranslateError.
If there is only one bad character it will now be printed in a
form that is a valid Python string.
Raymond Hettinger [Tue, 12 Aug 2003 00:01:17 +0000 (00:01 +0000)]
SF patch#786531 'the the' typo. Contributed by George Yoshida
Raymond Hettinger [Tue, 12 Aug 2003 00:01:16 +0000 (00:01 +0000)]
SF patch#786531 'the the' typo. Contributed by George Yoshida
Brett Cannon [Mon, 11 Aug 2003 19:06:13 +0000 (19:06 +0000)]
Fix bug in test_bad_timezone where test was assuming locale knew of PDT.
Michael W. Hudson [Mon, 11 Aug 2003 17:32:02 +0000 (17:32 +0000)]
Add a couple of decrefs to error paths.
Now test_descr only appears to leak two references & I think this
are in fact illusory (it's to do with things getting resurrected in
__del__ methods & it's easy to be believe confusion occurs when that
happens <wink>). Woohoo!
Andrew M. Kuchling [Mon, 11 Aug 2003 16:20:39 +0000 (16:20 +0000)]
Comment typo fixes
Michael W. Hudson [Mon, 11 Aug 2003 16:18:43 +0000 (16:18 +0000)]
mention pymemcompat.h in Misc/README
Michael W. Hudson [Mon, 11 Aug 2003 16:14:06 +0000 (16:14 +0000)]
Fix silly typo in comment.
Skip Montanaro [Mon, 11 Aug 2003 15:06:07 +0000 (15:06 +0000)]
add a statement identifying StringI and StringO objects.
Skip Montanaro [Mon, 11 Aug 2003 14:51:15 +0000 (14:51 +0000)]
reverting to 2.41 version (distinct tp_names) - will add verbiage to the
docs
Skip Montanaro [Mon, 11 Aug 2003 13:15:11 +0000 (13:15 +0000)]
shit - just change the visible name, not the comments - strictly speaking,
the tp_name is not correct, but what's exposed to users is known visibly as
"StringIO", not "StringI" or "StringO".
Skip Montanaro [Mon, 11 Aug 2003 13:09:12 +0000 (13:09 +0000)]
typos
Michael W. Hudson [Mon, 11 Aug 2003 12:20:24 +0000 (12:20 +0000)]
Fix refcounting and cut & paste error (?) in last checkin.
This should go onto release23-maint, too.
Jason Tishler [Mon, 11 Aug 2003 12:13:14 +0000 (12:13 +0000)]
Unconditionally opening the temp file in text mode causes this test to fail
under Cygwin. The attached patch corrects this problem.
I tested this patch under Red Hat Linux 8.0 too.
Jack Jansen [Mon, 11 Aug 2003 11:08:49 +0000 (11:08 +0000)]
Bug fix for #780461: 'sysu' gestalt selector is meaningless on MacOSX,
but attempting to get it resulted in a crash. Fixed. Backport candidate.
Brett Cannon [Mon, 11 Aug 2003 07:24:05 +0000 (07:24 +0000)]
Fix handling of bad locale setup where time.tzname[0] == time.tzname[1] and
time.daylight is true. Add an explicit test for this situation.
Fixed some wording in docstrings.
Raymond Hettinger [Sat, 9 Aug 2003 18:30:57 +0000 (18:30 +0000)]
SF bug #778964: bad seed in python 2.3 random
The default seed is time.time().
Multiplied by 256 before truncating so that fractional seconds are used.
This way, two successive calls to random.seed() are much more likely
to produce different sequences.
Martin v. Löwis [Sat, 9 Aug 2003 09:53:51 +0000 (09:53 +0000)]
Add HIDDEN. Fixes #777664.
Martin v. Löwis [Sat, 9 Aug 2003 09:47:11 +0000 (09:47 +0000)]
Move initialization of sys.std{in,out}.encoding to Py_Initialize.
Verify that the encoding actually exists. Fixes #775985.
Will backport to 2.3.
Martin v. Löwis [Sat, 9 Aug 2003 09:06:52 +0000 (09:06 +0000)]
Patch #771998: Put braces around variables. Will backport to 2.3.
Raymond Hettinger [Sat, 9 Aug 2003 05:01:41 +0000 (05:01 +0000)]
SF patch #747364: BaseHTTPServer doesn't need StringIO intermediary
(Contributed by Andrew Dalke.)
Raymond Hettinger [Sat, 9 Aug 2003 04:37:14 +0000 (04:37 +0000)]
SF patch #783807: Clarify PySequence_Setitem ref counting
(Contributed by Jay T Miller.)
Kurt B. Kaiser [Sat, 9 Aug 2003 01:51:28 +0000 (01:51 +0000)]
IDLEfork Bug 782759
backported to 23-maint
Raymond Hettinger [Fri, 8 Aug 2003 23:32:46 +0000 (23:32 +0000)]
Explain argument unpacking
Michael W. Hudson [Fri, 8 Aug 2003 13:57:22 +0000 (13:57 +0000)]
/* XXX From here until type is allocated, "return NULL" leaks bases! */
Sure looks like it to me! <wink>
When I run the leak2.py script I posted to python-dev, I only see
three reference leaks in all of test_descr. When I run
test_descr.test_main, I still see 46 leaks. This clearly demands
posting a yelp to python-dev :-)
This certainly should be applied to release23-maint, and in all
likelyhood release22-maint as well.
Raymond Hettinger [Fri, 8 Aug 2003 12:20:03 +0000 (12:20 +0000)]
SF bug #770485: cStringIO does not set closed attr
Raymond Hettinger [Fri, 8 Aug 2003 11:07:59 +0000 (11:07 +0000)]
SF bug #775836: change 0,1 to False,True in dict.has_key doc
Raymond Hettinger [Fri, 8 Aug 2003 05:10:41 +0000 (05:10 +0000)]
Modified itertools.izip() to match the behavior of __builtin__.zip()
which can now take zero arguments.
Raymond Hettinger [Fri, 8 Aug 2003 04:33:19 +0000 (04:33 +0000)]
Re-sync doc tests with the doc updates.
Raymond Hettinger [Fri, 8 Aug 2003 02:40:28 +0000 (02:40 +0000)]
Improve docs:
* Simplify the pure python examples
* Add a quantify() example
Brett Cannon [Fri, 8 Aug 2003 01:53:05 +0000 (01:53 +0000)]
Fix docstring in LocaleTime.
Michael W. Hudson [Thu, 7 Aug 2003 14:58:10 +0000 (14:58 +0000)]
Repair refcounting on error return from type_set_bases.
Include a test case that failed for one of my efforts to repair this.
Fred Drake [Thu, 7 Aug 2003 14:31:08 +0000 (14:31 +0000)]
Fix hyperlinks and one class reference.
Backporting to Python 2.3 branch.
Martin v. Löwis [Thu, 7 Aug 2003 11:55:15 +0000 (11:55 +0000)]
Release host name memory. Fixes #783312. Will backport to 2.3.
Mark Hammond [Wed, 6 Aug 2003 02:46:58 +0000 (02:46 +0000)]
Demonstrate and fix [ 783882 ] os.lstat crashes with Unicode filename.
Will also check in on the 2.3 branch.
Walter Dörwald [Tue, 5 Aug 2003 15:55:38 +0000 (15:55 +0000)]
Remove useless import.
Walter Dörwald [Tue, 5 Aug 2003 15:34:34 +0000 (15:34 +0000)]
Check both __div__ and __truediv__ in division tests.
(From SF patch #543867)
Raymond Hettinger [Tue, 5 Aug 2003 12:32:41 +0000 (12:32 +0000)]
Removed deprecated functions
Raymond Hettinger [Tue, 5 Aug 2003 12:23:19 +0000 (12:23 +0000)]
Removed deprecated functions
Raymond Hettinger [Tue, 5 Aug 2003 11:40:21 +0000 (11:40 +0000)]
SF patch #782810: typo in libfuture.tex
(Contributed by George Yoshida)
Raymond Hettinger [Tue, 5 Aug 2003 11:23:59 +0000 (11:23 +0000)]
SF bug #782369: Massive memory leak in array module
Fixed leak caused by switching from PyList_GetItem to PySequence_GetItem.
Added missing NULL check.
Clarified code by converting an "if" to an "else if".
Will backport to 2.3.
Anthony Baxter [Tue, 5 Aug 2003 06:33:56 +0000 (06:33 +0000)]
forgot to commit this - note about the signal module SIGRT(MIN,MAX)
Brett Cannon [Tue, 5 Aug 2003 06:27:04 +0000 (06:27 +0000)]
Mention caching and better thread-safety for Lib/_strptime.py
Martin v. Löwis [Tue, 5 Aug 2003 06:25:06 +0000 (06:25 +0000)]
Patch #781722: Reject AF_INET6 if IPv6 is disabled. Will backport to 2.3.
Martin v. Löwis [Tue, 5 Aug 2003 06:19:47 +0000 (06:19 +0000)]
Support trailing dots in DNS names. Fixes #782510. Will backport to 2.3.
Martin v. Löwis [Tue, 5 Aug 2003 05:59:13 +0000 (05:59 +0000)]
Correct URL of normalization file. Fixes #781065. Will backport to 2.3.
Martin v. Löwis [Tue, 5 Aug 2003 05:54:15 +0000 (05:54 +0000)]
Patch #781126: Fix markup for add_fallback. Will backport to 2.3.
Martin v. Löwis [Tue, 5 Aug 2003 05:51:20 +0000 (05:51 +0000)]
Make sure eol_convention is an ASCII string. Fixes #774680.
Will backport to 2.3.
Fred Drake [Tue, 5 Aug 2003 05:00:23 +0000 (05:00 +0000)]
init_myformat(): None of the "mark" values can be empty strings, or
LaTeX2HTML feels free to remove a surrounding element that
contains no other content. Since such an element is typically a
named anchor used for hyperlinking, they should not be removed.
Unfortunatley, making sure these marks are non-empty is the most
direct way of avoiding this behavior.
Thanks to Dave Kuhlman for tracking this down; this was some excellent
detective work!
Brett Cannon [Tue, 5 Aug 2003 04:02:49 +0000 (04:02 +0000)]
Re-introduce caching of TimeRE and compiled regexes with added thread-safety.
Also remove now unnecessary property attributes for thread safety
(no longer have lazy attributes) and code simplicity reasons.
Timezone storage has been reworked to be simpler and more flexible. All values
in LocaleTime instances are lower-cased. This is all done to simplify the
module.
The module now assumes nothing beyond the strptime function will be exposed for
general use beyond providing functionality for strptime.
Brett Cannon [Tue, 5 Aug 2003 03:52:04 +0000 (03:52 +0000)]
Touch-up to docstrings.
Brett Cannon [Tue, 5 Aug 2003 03:51:24 +0000 (03:51 +0000)]
Add note about fileno not being usable as a normal file descriptor in Windows.
Fred Drake [Tue, 5 Aug 2003 03:48:29 +0000 (03:48 +0000)]
better support for well-formed XHTML
Fred Drake [Tue, 5 Aug 2003 03:45:37 +0000 (03:45 +0000)]
make the portions of the generated HTML produced by these styles better
conform to XHTML rules.
Raymond Hettinger [Mon, 4 Aug 2003 08:33:50 +0000 (08:33 +0000)]
Clarified that TypeErrors can be raised by any
function (not just builtins).
The issue arose in a thread on comp.lang.python.
Skip Montanaro [Sun, 3 Aug 2003 23:30:40 +0000 (23:30 +0000)]
protect against test problems with Jython
Skip Montanaro [Sun, 3 Aug 2003 23:02:10 +0000 (23:02 +0000)]
added test for bug 782369
Skip Montanaro [Sat, 2 Aug 2003 15:02:33 +0000 (15:02 +0000)]
more extension marshal tests and conversion to unittest - was surprised to
see how much of the file was not covered by the build process
Raymond Hettinger [Sat, 2 Aug 2003 07:42:57 +0000 (07:42 +0000)]
As discussed on python-dev, changed builtin.zip() to handle zero arguments
by returning an empty list instead of raising a TypeError.
Skip Montanaro [Fri, 1 Aug 2003 14:20:02 +0000 (14:20 +0000)]
To be a good citizen, it should really delete its socket when done.
Skip Montanaro [Fri, 1 Aug 2003 05:01:54 +0000 (05:01 +0000)]
add skeletal "what's new" for 2.4a1 and mention a couple python-mode tweaks.
Skip Montanaro [Fri, 1 Aug 2003 04:27:34 +0000 (04:27 +0000)]
delete the f1 key binding. py-help-at-point is still available @ C-c C-h.
Skip Montanaro [Fri, 1 Aug 2003 04:00:32 +0000 (04:00 +0000)]
make pending-delete/delete-selection mode work with py-electric-colon
Anthony Baxter [Thu, 31 Jul 2003 10:35:29 +0000 (10:35 +0000)]
Patch [ 776725 ] add SIGRTMIN, SIGRTMAX to signalmodule.c
Trivial patch, and the alternative is to guess at the right values
based on platform...
Skip Montanaro [Thu, 31 Jul 2003 04:59:48 +0000 (04:59 +0000)]
tweak to py-fill-paragraph - problem noted by John Lee and correction
submitted by Bernard Herzog. Closes patch 779830.
Mark Hammond [Thu, 31 Jul 2003 02:06:22 +0000 (02:06 +0000)]
Complete move of windows builds to 2.4alpha
Skip Montanaro [Thu, 31 Jul 2003 01:17:22 +0000 (01:17 +0000)]
Everyone knows what Fred meant, but I thought I'd make it official... ;-)
Fred Drake [Wed, 30 Jul 2003 23:52:16 +0000 (23:52 +0000)]
Generalize the template for the "What's New" document so it's easier
to extract next time without having to remember where in CVS to dig it
out.
Fred Drake [Wed, 30 Jul 2003 19:14:54 +0000 (19:14 +0000)]
there's a new "What's New" for Python 2.4
Fred Drake [Wed, 30 Jul 2003 19:14:09 +0000 (19:14 +0000)]
boilerplate to start off "What's New in Python 2.4"
Fred Drake [Wed, 30 Jul 2003 18:43:28 +0000 (18:43 +0000)]
Update to the same version info used by the interpreter.
Fred Drake [Wed, 30 Jul 2003 17:39:48 +0000 (17:39 +0000)]
Update version number here as well; patchlevel.h is not the only place.
Walter Dörwald [Wed, 30 Jul 2003 12:14:02 +0000 (12:14 +0000)]
Fix typo.
Andrew M. Kuchling [Wed, 30 Jul 2003 11:55:06 +0000 (11:55 +0000)]
[Bug #779469] Fix error in example code
Barry Warsaw [Wed, 30 Jul 2003 05:37:39 +0000 (05:37 +0000)]
Bump the trunk to 2.4a0
Fred Drake [Wed, 30 Jul 2003 02:55:28 +0000 (02:55 +0000)]
update the documentation contact address
Fred Drake [Wed, 30 Jul 2003 02:55:01 +0000 (02:55 +0000)]
- update the documentation contact address
- remove text about the long-moved Mac OS libref chapter
Barry Warsaw [Tue, 29 Jul 2003 22:11:31 +0000 (22:11 +0000)]
Get rid of empty sections
Tim Peters [Tue, 29 Jul 2003 17:22:57 +0000 (17:22 +0000)]
SF bug 778400: IDLE hangs when selecting "Edit with IDLE".
The fix is confined to the Windows installer.
Not a bugfix candidate: the need for the new -n switch added here was
introduced by moving to the idlefork IDLE (so this change isn't needed
or helpful before 2.3).
Andrew M. Kuchling [Tue, 29 Jul 2003 12:06:32 +0000 (12:06 +0000)]
Bump version number; record 2.3 release date
Fred Drake [Tue, 29 Jul 2003 03:20:32 +0000 (03:20 +0000)]
Update release information.
Fred Drake [Tue, 29 Jul 2003 03:11:34 +0000 (03:11 +0000)]
Bump version information.
Tim Peters [Tue, 29 Jul 2003 00:29:44 +0000 (00:29 +0000)]
Updated Windows installer for 2.3 final.
Tim Peters [Tue, 29 Jul 2003 00:25:20 +0000 (00:25 +0000)]
Repaired botched release serial number.
Tim Peters [Tue, 29 Jul 2003 00:21:36 +0000 (00:21 +0000)]
Repair botched release serial number.
Tim Peters [Tue, 29 Jul 2003 00:18:44 +0000 (00:18 +0000)]
Bump Windows build number for 2.3 final.
Tim Peters [Tue, 29 Jul 2003 00:10:29 +0000 (00:10 +0000)]
Added section for 2.3 final; moved IDLE news into it that I inserted in
a wrong place over the weekend.
Tim Peters [Tue, 29 Jul 2003 00:08:01 +0000 (00:08 +0000)]
Bump Windows resource version macro for 2.3 final.
Tim Peters [Tue, 29 Jul 2003 00:05:34 +0000 (00:05 +0000)]
Bump release level to 2.3 (we won't have time for this tomorrow).
Fred Drake [Mon, 28 Jul 2003 14:39:13 +0000 (14:39 +0000)]
Update URL.
Tim Peters [Sun, 27 Jul 2003 20:23:49 +0000 (20:23 +0000)]
Gave the main NEWS file its own IDLE section, and populated it with a
blurb about ZoneAlarm (etc) nags.
Kurt B. Kaiser [Sun, 27 Jul 2003 03:24:19 +0000 (03:24 +0000)]
Added a banner to the shell startup message discussing possible
warnings from personal firewall software. Added the same text
to README.txt, updated NEWS.txt for release.
M NEWS.txt
M PyShell.py
M README.txt
Kurt B. Kaiser [Sun, 27 Jul 2003 00:56:41 +0000 (00:56 +0000)]
Update for release.
Barry Warsaw [Fri, 25 Jul 2003 03:13:02 +0000 (03:13 +0000)]
Bump the version number
cvs2svn [Fri, 25 Jul 2003 01:12:48 +0000 (01:12 +0000)]
This commit was manufactured by cvs2svn to create tag 'r23c2'.