]> granicus.if.org Git - python/log
python
20 years agoBump buildno for 2.4 release
Martin v. Löwis [Mon, 29 Nov 2004 09:57:14 +0000 (09:57 +0000)]
Bump buildno for 2.4 release

20 years agoFix a nit.
Raymond Hettinger [Mon, 29 Nov 2004 08:53:14 +0000 (08:53 +0000)]
Fix a nit.

20 years agoFix argument order in pure python version of nsmallest() and nlargest().
Raymond Hettinger [Mon, 29 Nov 2004 05:54:48 +0000 (05:54 +0000)]
Fix argument order in pure python version of nsmallest() and nlargest().

20 years agoRFC 2822 describes the characters allowed in a header field name. Conform to
Barry Warsaw [Mon, 29 Nov 2004 03:46:54 +0000 (03:46 +0000)]
RFC 2822 describes the characters allowed in a header field name.  Conform to
this, and add test cases.

20 years agopreparing for 2.4 final (wooooooo!)
Anthony Baxter [Mon, 29 Nov 2004 01:40:31 +0000 (01:40 +0000)]
preparing for 2.4 final (wooooooo!)

20 years agoThere's likely nothing more to do to the email package before Python 2.4 is
Barry Warsaw [Mon, 29 Nov 2004 01:10:14 +0000 (01:10 +0000)]
There's likely nothing more to do to the email package before Python 2.4 is
final, so I'm marking email's version number as "3.0" (e.g. final).

20 years agoWhitespace normalization.
Tim Peters [Sun, 28 Nov 2004 01:10:01 +0000 (01:10 +0000)]
Whitespace normalization.

20 years agoFix for SF bug #1072623. When the last line of the input string does not end
Barry Warsaw [Sun, 28 Nov 2004 00:21:42 +0000 (00:21 +0000)]
Fix for SF bug #1072623.  When the last line of the input string does not end
in a newline, and it's an end boundary, the FeedParser wasn't recognizing it
as such.  Tweak the regexp to make the ending linesep optional.

For grins, clear self._partial when closing the BufferedSubFile.

Added a test case.

20 years agoFix typo in comment.
Walter Dörwald [Thu, 25 Nov 2004 12:23:23 +0000 (12:23 +0000)]
Fix typo in comment.

20 years agoFix typo.
Raymond Hettinger [Thu, 25 Nov 2004 05:35:32 +0000 (05:35 +0000)]
Fix typo.

20 years agoClarify the ordering of dictionary keys.
Raymond Hettinger [Thu, 25 Nov 2004 05:16:19 +0000 (05:16 +0000)]
Clarify the ordering of dictionary keys.

20 years agoMake sure the money formatting recipe can doesn't run out of digits
Raymond Hettinger [Thu, 25 Nov 2004 04:47:09 +0000 (04:47 +0000)]
Make sure the money formatting recipe can doesn't run out of digits
to the right of the decimal point.

20 years agoRename a static variable "history_length" to "_history_length".
Hye-Shik Chang [Thu, 25 Nov 2004 04:04:20 +0000 (04:04 +0000)]
Rename a static variable "history_length" to "_history_length".
GNU readline exports a global variable that has such a name already
and the collision makes gcc4 doesn't compile the source.

20 years agoFollowing a LtU thread, change introductory paragraph of decimal section
Andrew M. Kuchling [Thu, 25 Nov 2004 01:15:25 +0000 (01:15 +0000)]
Following a LtU thread, change introductory paragraph of decimal section

20 years agoSF patch #1071739 (by Christos Georgiou)
Fredrik Lundh [Wed, 24 Nov 2004 22:31:11 +0000 (22:31 +0000)]
SF patch #1071739 (by Christos Georgiou)

This patch offers a better explanation in case the MS VC++ (free)
toolkit is installed but the .NET Framework SDK is not.

20 years agoadd missing dependency
Fred Drake [Wed, 24 Nov 2004 14:57:04 +0000 (14:57 +0000)]
add missing dependency

20 years agoSF bug #1071588 coercing decimal to int doesn't work between -1 and 1
Raymond Hettinger [Wed, 24 Nov 2004 07:28:48 +0000 (07:28 +0000)]
SF bug #1071588 coercing decimal to int doesn't work between -1 and 1

20 years agoSF bug #1071566: moneyfmt recipe in decimal documentation has error
Raymond Hettinger [Wed, 24 Nov 2004 05:53:26 +0000 (05:53 +0000)]
SF bug #1071566:  moneyfmt recipe in decimal documentation has error

20 years agoHave testLoadTkFailure() skip on cygwin since Tcl/Tk on cygwin renders to the
Brett Cannon [Wed, 24 Nov 2004 03:01:36 +0000 (03:01 +0000)]
Have testLoadTkFailure() skip on cygwin since Tcl/Tk on cygwin renders to the
Windows GDI directly and thus does not need a DISPLAY environment variable.

Thanks Jason Tishler.

20 years agoHye-Shik Chang's fix for Bug 875692.
Kurt B. Kaiser [Tue, 23 Nov 2004 18:06:08 +0000 (18:06 +0000)]
Hye-Shik Chang's fix for Bug 875692.

Improve signal handling, especially when using threads, by forcing an early
re-execution of PyEval_EvalFrame() "periodic" code when things_to_do is not
cleared by Py_MakePendingCalls().

M Misc/NEWS
M Python/ceval.c

20 years agoBug #1071513: don't test on Cygwin, as chmod doesn't work reliably there
Johannes Gijsbers [Tue, 23 Nov 2004 09:27:27 +0000 (09:27 +0000)]
Bug #1071513: don't test on Cygwin, as chmod doesn't work reliably there
(http://www.cygwin.com/faq/faq_3.html#SEC41).

Also check whether onerror has actually been called so this test will
fail on assertion instead of on trying to chmod a non-existent file.

20 years agoos.walk(): Changed the "sum of bytes consumed by files" example to use
Tim Peters [Mon, 22 Nov 2004 16:53:46 +0000 (16:53 +0000)]
os.walk():  Changed the "sum of bytes consumed by files" example to use
a generator expression instead of a listcomp.

Not a backport candidate (genexps are new in 2.4).

20 years agoSF bug 1071087: os.walk example for deleting a full tree is sometime wrong.
Tim Peters [Mon, 22 Nov 2004 16:49:02 +0000 (16:49 +0000)]
SF bug 1071087: os.walk example for deleting a full tree is sometime wrong.

Clarify that the example assumes no links are present; the point of the
example is to illustrate a need for topdown=False, not to wrestle with
platform-dependent link convolutions.

Also spell os.path.join() out in full, instead of using a shortcut import.
The bug reporter was confused by that too, and it's clearer this way.

Bugfix candidate; but I don't intend to backport it.

20 years agoCorrect the handling of 0-termination of PyUnicode_AsWideChar()
Marc-André Lemburg [Mon, 22 Nov 2004 13:02:31 +0000 (13:02 +0000)]
Correct the handling of 0-termination of PyUnicode_AsWideChar()
and its usage in PyLocale_strcoll().

Clarify the documentation on this.

Thanks to Andreas Degert for pointing this out.

20 years agoInclude site-packages directory.
Martin v. Löwis [Sun, 21 Nov 2004 10:16:26 +0000 (10:16 +0000)]
Include site-packages directory.

20 years agoAdd 'linux2' as one of the platforms that does not use the echo service as one
Brett Cannon [Sat, 20 Nov 2004 21:10:07 +0000 (21:10 +0000)]
Add 'linux2' as one of the platforms that does not use the echo service as one
of the test possiblities for testGetServBy().

20 years agoFixed quantize syntax.
Facundo Batista [Sat, 20 Nov 2004 00:33:51 +0000 (00:33 +0000)]
Fixed quantize syntax.

20 years agoOn OpenBSD, terminating IDLE with ctrl-c from the command line caused a
Kurt B. Kaiser [Fri, 19 Nov 2004 15:46:49 +0000 (15:46 +0000)]
On OpenBSD, terminating IDLE with ctrl-c from the command line caused a
stuck subprocess MainThread because only the SocketThread was exiting.

M NEWS.txt
M idlever.py
M run.py

20 years agoFill in the benchmark figures, bogus or not; add a disclaimer
Andrew M. Kuchling [Fri, 19 Nov 2004 14:55:28 +0000 (14:55 +0000)]
Fill in the benchmark figures, bogus or not; add a disclaimer

20 years agoLast pass to fill in contributor names; remove stray 'contributed by' from the incomp...
Andrew M. Kuchling [Fri, 19 Nov 2004 14:43:36 +0000 (14:43 +0000)]
Last pass to fill in contributor names; remove stray 'contributed by' from the incompatible changes section; remove some XXX comments

20 years agoIt's GTK+, apparently; remove XXX comment
Andrew M. Kuchling [Fri, 19 Nov 2004 14:27:54 +0000 (14:27 +0000)]
It's GTK+, apparently; remove XXX comment

20 years agoBump version number; update patch/bug counts; bet that the final release will be...
Andrew M. Kuchling [Fri, 19 Nov 2004 14:26:23 +0000 (14:26 +0000)]
Bump version number; update patch/bug counts; bet that the final release will be in December

20 years agoThis commit was manufactured by cvs2svn to create tag 'r24c1'. v2.4c1
cvs2svn [Thu, 18 Nov 2004 12:32:27 +0000 (12:32 +0000)]
This commit was manufactured by cvs2svn to create tag 'r24c1'.

20 years ago2.4rc1
Anthony Baxter [Thu, 18 Nov 2004 12:32:27 +0000 (12:32 +0000)]
2.4rc1

20 years agoMark PyRange_New() as deprecated.
Raymond Hettinger [Thu, 18 Nov 2004 09:41:45 +0000 (09:41 +0000)]
Mark PyRange_New() as deprecated.

20 years agoSF patch #1068456: small update for pdb docs
Raymond Hettinger [Thu, 18 Nov 2004 08:39:33 +0000 (08:39 +0000)]
SF patch #1068456:  small update for pdb docs

20 years agoAdd missing have_tcl conditions
Martin v. Löwis [Thu, 18 Nov 2004 08:00:33 +0000 (08:00 +0000)]
Add missing have_tcl conditions

20 years agoSF bug #1066036: Typo about PyErr_WriteUnraisable()
Raymond Hettinger [Thu, 18 Nov 2004 06:50:19 +0000 (06:50 +0000)]
SF bug #1066036:  Typo about PyErr_WriteUnraisable()

20 years agoSF bug #1067018: Obsolete info in Tutorial 9.1
Raymond Hettinger [Thu, 18 Nov 2004 06:20:30 +0000 (06:20 +0000)]
SF bug #1067018: Obsolete info in Tutorial 9.1

Removed a section that is out of date after type/class unification.
While there was still some validity, the paragraph offered more
confusion that insight.

20 years agoSF bug #1067023: A small typo
Raymond Hettinger [Thu, 18 Nov 2004 06:14:27 +0000 (06:14 +0000)]
SF bug #1067023:  A small typo

Make a minor clarification between "written" and "displayed".

20 years agoComment for performance measurement.
Raymond Hettinger [Thu, 18 Nov 2004 05:51:53 +0000 (05:51 +0000)]
Comment for performance measurement.

20 years agoRemove tempfile after use in test_call_string.
Peter Astrand [Wed, 17 Nov 2004 20:06:35 +0000 (20:06 +0000)]
Remove tempfile after use in test_call_string.
In test_args_string, remove the tempfile before assertEqual.

20 years agosplit functionality into pystack and pystackv commands. The former will
Skip Montanaro [Wed, 17 Nov 2004 16:04:15 +0000 (16:04 +0000)]
split functionality into pystack and pystackv commands.  The former will
work with core dumps because it avoids calling any Python API routines.  The
latter prints all the local variable values as well as the stack frames but
won't work with core dumps because it relies on _PyObject_Dump to print
variables.

20 years agoSaving a Keyset w/o making changes (by using the "Save as New Custom Key Set"
Kurt B. Kaiser [Tue, 16 Nov 2004 21:31:08 +0000 (21:31 +0000)]
Saving a Keyset w/o making changes (by using the "Save as New Custom Key Set"
button) caused IDLE to fail on restart (no new keyset was created in
config-keys.cfg).  Also true for Theme/highlights.  Python Bug 1064535.

20 years agoSaving a Keyset w/o making changes (by using the "Save as New Custom Key Set"
Kurt B. Kaiser [Tue, 16 Nov 2004 21:28:36 +0000 (21:28 +0000)]
Saving a Keyset w/o making changes (by using the "Save as New Custom Key Set"
button) caused IDLE to fail on restart (no new keyset was created in
config-keys.cfg).  Also true for Theme/highlights.  Python Bug 1064535.

M configDialog.py

20 years agopreparing for rc1
Anthony Baxter [Mon, 15 Nov 2004 15:03:25 +0000 (15:03 +0000)]
preparing for rc1

20 years agoFix pprint to be able to handle objects that don't have a __repr__
Walter Dörwald [Mon, 15 Nov 2004 13:51:41 +0000 (13:51 +0000)]
Fix pprint to be able to handle objects that don't have a __repr__
attribute. Fixes SF bug #1065456.

20 years agoSF bug 1066438: datetime.replace method description error
Tim Peters [Mon, 15 Nov 2004 03:50:16 +0000 (03:50 +0000)]
SF bug 1066438:  datetime.replace method description error

Repair typo in example.

20 years agoBack out rev 1.96; see #1009389.
Martin v. Löwis [Sun, 14 Nov 2004 10:21:04 +0000 (10:21 +0000)]
Back out rev 1.96; see #1009389.

20 years agoavoid applying :active to anchors that are only link targets
Fred Drake [Sat, 13 Nov 2004 21:58:01 +0000 (21:58 +0000)]
avoid applying :active to anchors that are only link targets
(no href attribute)

20 years agoThe change in the linecache.checkcache() signature at rev 1.13 caused IDLE to exit
Kurt B. Kaiser [Sat, 13 Nov 2004 21:05:58 +0000 (21:05 +0000)]
The change in the linecache.checkcache() signature at rev 1.13 caused IDLE to exit
when an exception was raised while running w/o the subprocess.  Python Bug 1063840

M NEWS.txt
M PyShell.py

20 years agoadd another way to specify an alternate name for the documentation set,
Fred Drake [Sat, 13 Nov 2004 17:45:39 +0000 (17:45 +0000)]
add another way to specify an alternate name for the documentation set,
so that this is harder to forget to do for development of new styles

20 years agoSF bug 1065388: calendar day/month name lookup too slow
Tim Peters [Sat, 13 Nov 2004 16:18:32 +0000 (16:18 +0000)]
SF bug 1065388:  calendar day/month name lookup too slow

__getitem__() methods:  compute only the new spellings needed to satisfy
the given indexing object.  This is purely an optimization (it should
have no effect on visible semantics).

20 years agoPatch #1050475: Fix various x86_64 build issues
Martin v. Löwis [Sat, 13 Nov 2004 11:13:35 +0000 (11:13 +0000)]
Patch #1050475: Fix various x86_64 build issues
regrtest.py: skip rgbimg and imageop as they are not built on 64-bit systems.
_tkinter.c: replace %.8x with %p for printing pointers.
setup.py: add lib64 into the library directories.

20 years agoif we treat \LaTeX specially, we need to do the same for \TeX
Fred Drake [Sat, 13 Nov 2004 05:46:18 +0000 (05:46 +0000)]
if we treat \LaTeX specially, we need to do the same for \TeX

20 years ago- wrap a long line
Fred Drake [Sat, 13 Nov 2004 04:41:01 +0000 (04:41 +0000)]
- wrap a long line
- add directory information for the "What's New" document

20 years agoavoid the inane markup generated by LaTeX2HTML for \LaTeX; that simply
Fred Drake [Sat, 13 Nov 2004 01:20:24 +0000 (01:20 +0000)]
avoid the inane markup generated by LaTeX2HTML for \LaTeX; that simply
doesn't look right in HTML

20 years agoAdd options to regrtest.py to make it possible to specify where to put
Walter Dörwald [Fri, 12 Nov 2004 18:51:27 +0000 (18:51 +0000)]
Add options to regrtest.py to make it possible to specify where to put
the coverage files when -T is used.

20 years agoSF bug 1054821: difflib HtmlDiff() extra space on inserted 1 character lines
Tim Peters [Fri, 12 Nov 2004 16:12:15 +0000 (16:12 +0000)]
SF bug 1054821:  difflib HtmlDiff() extra space on inserted 1 character lines

Simple correction from the code's author (Dan Gass).

20 years agoUse os.chdir/os.getcwd instead of os.path.realpath, to support Tru64
Peter Astrand [Fri, 12 Nov 2004 15:51:48 +0000 (15:51 +0000)]
Use os.chdir/os.getcwd instead of os.path.realpath, to support Tru64
TEMP dirs with {memb} strings. Fixes #1063571.

20 years agoOn second thought: "Errors should never pass silently", so barf when a
Just van Rossum [Fri, 12 Nov 2004 09:36:12 +0000 (09:36 +0000)]
On second thought: "Errors should never pass silently", so barf when a
string contains control chars that are illegal for XML

20 years agotesting control chars and non-dict root objects
Just van Rossum [Fri, 12 Nov 2004 08:34:32 +0000 (08:34 +0000)]
testing control chars and non-dict root objects

20 years ago- \f is not a valid XML character
Just van Rossum [Fri, 12 Nov 2004 08:14:49 +0000 (08:14 +0000)]
- \f is not a valid XML character
- reformatted regex pattern, use r"" consistently

20 years agoreordered a couple of things
Just van Rossum [Fri, 12 Nov 2004 08:02:35 +0000 (08:02 +0000)]
reordered a couple of things

20 years agoSF bug 1060644. Better explanation of min() and max() methods. Thanks Raymond Hetting...
Facundo Batista [Fri, 12 Nov 2004 02:03:36 +0000 (02:03 +0000)]
SF bug 1060644. Better explanation of min() and max() methods. Thanks Raymond Hettinger and Tim Peters.

20 years agoSF #1063757: fix markup error (had LaTeX markup in the reST source,
Greg Ward [Fri, 12 Nov 2004 01:20:17 +0000 (01:20 +0000)]
SF #1063757: fix markup error (had LaTeX markup in the reST source,
oops!).

20 years agoMinor grammatical errors fixed
Vinay Sajip [Thu, 11 Nov 2004 13:54:48 +0000 (13:54 +0000)]
Minor grammatical errors fixed

20 years agoremove some generated cruft now that we avoid the removal of elements
Fred Drake [Thu, 11 Nov 2004 08:05:34 +0000 (08:05 +0000)]
remove some generated cruft now that we avoid the removal of elements
with no content (due to the text_cleanup() override in l2hinit.perl)

20 years agoFix SF bug #1061770: Manual typesets bit-shift operators as guillemet
Fred Drake [Thu, 11 Nov 2004 06:14:05 +0000 (06:14 +0000)]
Fix SF bug #1061770: Manual typesets bit-shift operators as guillemet

20 years agoadd a comment explaining a particular text transformation
Fred Drake [Thu, 11 Nov 2004 05:42:13 +0000 (05:42 +0000)]
add a comment explaining a particular text transformation

20 years agoReplace last two uses of the "list" environment with "description"
Fred Drake [Thu, 11 Nov 2004 05:04:55 +0000 (05:04 +0000)]
Replace last two uses of the "list" environment with "description"
environments.

Closes SF bug #692442: Konqueror can't render docs because of
malformed HTML.  While the generated HTML is still terrible, the cited
cases of <DL COMPACT> have been removed.  The general problem of XHTML
conformance has not been solved, but is endemic to LaTeX2HTML output.

20 years agoremove unhelpful property setting that overrides the right setting for
Fred Drake [Thu, 11 Nov 2004 04:41:24 +0000 (04:41 +0000)]
remove unhelpful property setting that overrides the right setting for
text-align in .realtable cells; fix suggested by Richard Brodie

20 years ago- remove use of a "list" environment (replace with a table)
Fred Drake [Thu, 11 Nov 2004 04:39:56 +0000 (04:39 +0000)]
- remove use of a "list" environment (replace with a table)
- fix minor markup nits

20 years agoUpdate compatibility comments to 2.1, corresponding to PEP 291 1.13.
Martin v. Löwis [Wed, 10 Nov 2004 22:23:15 +0000 (22:23 +0000)]
Update compatibility comments to 2.1, corresponding to PEP 291 1.13.

20 years ago- hack for MSIE5 to make (real) tables center
Fred Drake [Wed, 10 Nov 2004 19:22:05 +0000 (19:22 +0000)]
- hack for MSIE5 to make (real) tables center
- remove last <center> element (long deprecated in HTML)

20 years agomore HTML styling detail changes
Fred Drake [Wed, 10 Nov 2004 17:56:29 +0000 (17:56 +0000)]
more HTML styling detail changes

20 years agomove table formatting for grammar productions from HTML to CSS
Fred Drake [Wed, 10 Nov 2004 17:02:43 +0000 (17:02 +0000)]
move table formatting for grammar productions from HTML to CSS

20 years agominor markup nits; fix missing whitespace
Fred Drake [Wed, 10 Nov 2004 16:51:17 +0000 (16:51 +0000)]
minor markup nits; fix missing whitespace

20 years agoremove unreachable cruft
Fred Drake [Wed, 10 Nov 2004 15:54:46 +0000 (15:54 +0000)]
remove unreachable cruft

20 years agoadd a comment about one of the remaining warts in the table
Fred Drake [Wed, 10 Nov 2004 15:49:25 +0000 (15:49 +0000)]
add a comment about one of  the remaining warts in the table
formatting

20 years agoremove comment that seems to be wrong after all; browsers do implement
Fred Drake [Wed, 10 Nov 2004 15:39:50 +0000 (15:39 +0000)]
remove comment that seems to be wrong after all; browsers do implement
this, but I was misled by a LaTeX2HTML wart that I worked around
yesterday

20 years agomove much of the table styling out of the HTML and into the CSS;
Fred Drake [Wed, 10 Nov 2004 15:37:54 +0000 (15:37 +0000)]
move much of the table styling out of the HTML and into the CSS;
this also makes some constructs more XHTML friendly (including adding in
some missing </tr> tags)

20 years agoSF patch 1062495: Modules/zipimport.c does not compile on solaris (Contributed by...
Raymond Hettinger [Wed, 10 Nov 2004 13:13:05 +0000 (13:13 +0000)]
SF patch 1062495: Modules/zipimport.c does not compile on solaris (Contributed by Niki W. Waibel.)

Simple renaming to avoid a conflict that prevented compilation on Solaris.

20 years agoSF patch 1062495: Modules/zipimport.c does not compile on solaris
Raymond Hettinger [Wed, 10 Nov 2004 13:08:35 +0000 (13:08 +0000)]
SF patch 1062495: Modules/zipimport.c does not compile on solaris
(Contributed by Niki W. Waibel.)

Simple renaming to avoid a conflict that prevented compilation on Solaris.

20 years agoAvoid a linker warning: MSVC 7 doesn't support /pdb:None, the debug
Thomas Heller [Wed, 10 Nov 2004 09:01:41 +0000 (09:01 +0000)]
Avoid a linker warning: MSVC 7 doesn't support /pdb:None, the debug
info will always be in a .pdb file.

20 years agomore more styling to the CSS
Fred Drake [Wed, 10 Nov 2004 08:08:26 +0000 (08:08 +0000)]
more more styling to the CSS

20 years agomore XHTML friendliness: <dl compact> becomes well-formed
Fred Drake [Wed, 10 Nov 2004 08:07:00 +0000 (08:07 +0000)]
more XHTML friendliness: <dl compact> becomes well-formed

20 years agooverride a bit of LaTeX2HTML so empty table cells don't disappear from
Fred Drake [Wed, 10 Nov 2004 07:48:17 +0000 (07:48 +0000)]
override a bit of LaTeX2HTML so empty table cells don't disappear from
the output

20 years agoSF patch #1062279: deque pickling problems
Raymond Hettinger [Tue, 9 Nov 2004 07:27:35 +0000 (07:27 +0000)]
SF patch #1062279:  deque pickling problems
(Contributed by Dima Dorfman.)

* Support pickling of dictionaries in instances of deque subclasses.
* Support pickling of recursive deques.

20 years agoSF 1062353: set pickling problems
Raymond Hettinger [Tue, 9 Nov 2004 07:25:31 +0000 (07:25 +0000)]
SF 1062353:  set pickling problems

Support automatic pickling of dictionaries in instance of set subclasses.

20 years agoBump version number
Andrew M. Kuchling [Tue, 9 Nov 2004 02:58:02 +0000 (02:58 +0000)]
Bump version number
Add doctest section
Wordsmithing

20 years agoAnd delete a useless comment.
Tim Peters [Mon, 8 Nov 2004 22:31:09 +0000 (22:31 +0000)]
And delete a useless comment.

20 years ago_OutputRedirectingPdb.trace_dispatch(): Return the base class's
Tim Peters [Mon, 8 Nov 2004 22:30:28 +0000 (22:30 +0000)]
_OutputRedirectingPdb.trace_dispatch():  Return the base class's
trace_dispatch() result in a more obvious, and more robust way.

20 years agotest_doctest.py test_pdb_set_trace_nested(): A new test from Jim Fulton
Tim Peters [Mon, 8 Nov 2004 22:07:37 +0000 (22:07 +0000)]
test_doctest.py test_pdb_set_trace_nested():  A new test from Jim Fulton
showing that doctest's pdb.set_trace() support was dramatically broken.

doctest.py _OutputRedirectingPdb.trace_dispatch():  Return a local trace
function instead of (implicitly) None.  Else interaction with pdb was
bizarre, noticing only 'call' events.  Amazingly, the existing set_trace()
tests didn't care.

20 years agotest for fixedness of bug #1057835.
Michael W. Hudson [Mon, 8 Nov 2004 16:46:02 +0000 (16:46 +0000)]
test for fixedness of bug #1057835.
(thanks to Raymond for the prod).

20 years agoFix bug
Michael W. Hudson [Mon, 8 Nov 2004 12:17:34 +0000 (12:17 +0000)]
Fix bug

1057835 ] compiler.transformer, "from module import *"

20 years agoSF #1062190. Removed an assertion that rendered trace.py unnecessarily
Raymond Hettinger [Mon, 8 Nov 2004 06:36:42 +0000 (06:36 +0000)]
SF #1062190.  Removed an assertion that rendered trace.py unnecessarily
inflexibile.

20 years agoSF bug 1061968: threads: segfault or Py_FatalError at exit
Tim Peters [Mon, 8 Nov 2004 04:30:21 +0000 (04:30 +0000)]
SF bug 1061968: threads: segfault or Py_FatalError at exit

PyGILState_Ensure():  The fix in 2.4a3 for bug 1010677 reintroduced thread
shutdown race bug 225673.  Repaired by (once again) ensuring the GIL is
held whenever deleting a thread state.

Alas, there's no useful test case for this shy bug.  Four years ago, only
Guido could provoke it, on his box, and today only Armin can provoke it
on his box.  I've never been able to provoke it (but not for lack of
trying!).

This is a critical fix for 2.3.5 too, since the fix for 1010677 got
backported there already and so also reintroduced 225673.  I don't intend to
backport this fix.  For whoever (if anyone) does, there are other thread
fixes in 2.4 that need backporting too, and I bet they need to happen first
for this patch to apply cleanly.

20 years agoStop printing listdir bytestring output, as the precise list of strings
Martin v. Löwis [Sun, 7 Nov 2004 20:01:56 +0000 (20:01 +0000)]
Stop printing listdir bytestring output, as the precise list of strings
returned depends on the filesystem encoding.

20 years agoTry a different filename if the Latin-1 file name cannot
Martin v. Löwis [Sun, 7 Nov 2004 19:57:35 +0000 (19:57 +0000)]
Try a different filename if the Latin-1 file name cannot
be represented in the file system. Fixes #989338.