31336 Commits

Author SHA1 Message Date
Martin v. Löwis
6fe8f1928f Back out rev 1.96; see #1009389. 2004-11-14 10:21:04 +00:00
Fred Drake
58954813ce avoid applying :active to anchors that are only link targets
(no href attribute)
2004-11-13 21:58:01 +00:00
Kurt B. Kaiser
f7a8899f33 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
2004-11-13 21:05:58 +00:00
Fred Drake
1681b62251 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
2004-11-13 17:45:39 +00:00
Tim Peters
bbc0d4409c 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).
2004-11-13 16:18:32 +00:00
Martin v. Löwis
fba7369824 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.
2004-11-13 11:13:35 +00:00
Fred Drake
deb39b5fef if we treat \LaTeX specially, we need to do the same for \TeX 2004-11-13 05:46:18 +00:00
Fred Drake
64f164e08f - wrap a long line
- add directory information for the "What's New" document
2004-11-13 04:41:01 +00:00
Fred Drake
9103ec5afd avoid the inane markup generated by LaTeX2HTML for \LaTeX; that simply
doesn't look right in HTML
2004-11-13 01:20:24 +00:00
Walter Dörwald
aee4da6b83 Add options to regrtest.py to make it possible to specify where to put
the coverage files when -T is used.
2004-11-12 18:51:27 +00:00
Tim Peters
0ca0c64409 SF bug 1054821: difflib HtmlDiff() extra space on inserted 1 character lines
Simple correction from the code's author (Dan Gass).
2004-11-12 16:12:15 +00:00
Peter Astrand
195404ff90 Use os.chdir/os.getcwd instead of os.path.realpath, to support Tru64
TEMP dirs with {memb} strings. Fixes #1063571.
2004-11-12 15:51:48 +00:00
Just van Rossum
2dae7646c3 On second thought: "Errors should never pass silently", so barf when a
string contains control chars that are illegal for XML
2004-11-12 09:36:12 +00:00
Just van Rossum
48ecaccf9e testing control chars and non-dict root objects 2004-11-12 08:34:32 +00:00
Just van Rossum
b84330d368 - \f is not a valid XML character
- reformatted regex pattern, use r"" consistently
2004-11-12 08:14:49 +00:00
Just van Rossum
26e811abd5 reordered a couple of things 2004-11-12 08:02:35 +00:00
Facundo Batista
441609466b SF bug 1060644. Better explanation of min() and max() methods. Thanks Raymond Hettinger and Tim Peters. 2004-11-12 02:03:36 +00:00
Greg Ward
961eda7ad9 SF #1063757: fix markup error (had LaTeX markup in the reST source,
oops!).
2004-11-12 01:20:17 +00:00
Vinay Sajip
edde492f13 Minor grammatical errors fixed 2004-11-11 13:54:48 +00:00
Fred Drake
af305b1dab remove some generated cruft now that we avoid the removal of elements
with no content (due to the text_cleanup() override in l2hinit.perl)
2004-11-11 08:05:34 +00:00
Fred Drake
2269d86598 Fix SF bug #1061770: Manual typesets bit-shift operators as guillemet 2004-11-11 06:14:05 +00:00
Fred Drake
c6864832d7 add a comment explaining a particular text transformation 2004-11-11 05:42:13 +00:00
Fred Drake
758f5ea419 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.
2004-11-11 05:04:55 +00:00
Fred Drake
52c937dc09 remove unhelpful property setting that overrides the right setting for
text-align in .realtable cells; fix suggested by Richard Brodie
2004-11-11 04:41:24 +00:00
Fred Drake
8efc80a909 - remove use of a "list" environment (replace with a table)
- fix minor markup nits
2004-11-11 04:39:56 +00:00
Martin v. Löwis
5a6601cfc6 Update compatibility comments to 2.1, corresponding to PEP 291 1.13. 2004-11-10 22:23:15 +00:00
Fred Drake
0a3c818fc5 - hack for MSIE5 to make (real) tables center
- remove last <center> element (long deprecated in HTML)
2004-11-10 19:22:05 +00:00
Fred Drake
9c8149a162 more HTML styling detail changes 2004-11-10 17:56:29 +00:00
Fred Drake
5d93eef263 move table formatting for grammar productions from HTML to CSS 2004-11-10 17:02:43 +00:00
Fred Drake
5b00059110 minor markup nits; fix missing whitespace 2004-11-10 16:51:17 +00:00
Fred Drake
179b39ab9e remove unreachable cruft 2004-11-10 15:54:46 +00:00
Fred Drake
9e927f1564 add a comment about one of the remaining warts in the table
formatting
2004-11-10 15:49:25 +00:00
Fred Drake
b194b5b3cc 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
2004-11-10 15:39:50 +00:00
Fred Drake
39a6a6d3c8 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)
2004-11-10 15:37:54 +00:00
Raymond Hettinger
96b49a51d0 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.
2004-11-10 13:13:05 +00:00
Raymond Hettinger
2c45c9ae57 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.
2004-11-10 13:08:35 +00:00
Thomas Heller
41f7038a3e Avoid a linker warning: MSVC 7 doesn't support /pdb:None, the debug
info will always be in a .pdb file.
2004-11-10 09:01:41 +00:00
Fred Drake
0cf87be326 more more styling to the CSS 2004-11-10 08:08:26 +00:00
Fred Drake
d7a5bca89b more XHTML friendliness: <dl compact> becomes well-formed 2004-11-10 08:07:00 +00:00
Fred Drake
dcb16ac03c override a bit of LaTeX2HTML so empty table cells don't disappear from
the output
2004-11-10 07:48:17 +00:00
Raymond Hettinger
952f8808b2 SF patch #1062279: deque pickling problems
(Contributed by Dima Dorfman.)

* Support pickling of dictionaries in instances of deque subclasses.
* Support pickling of recursive deques.
2004-11-09 07:27:35 +00:00
Raymond Hettinger
15056a5202 SF 1062353: set pickling problems
Support automatic pickling of dictionaries in instance of set subclasses.
2004-11-09 07:25:31 +00:00
Andrew M. Kuchling
f8c075cefc Bump version number
Add doctest section
Wordsmithing
2004-11-09 02:58:02 +00:00
Tim Peters
7960bf9c00 And delete a useless comment. 2004-11-08 22:31:09 +00:00
Tim Peters
d7bbbbc594 _OutputRedirectingPdb.trace_dispatch(): Return the base class's
trace_dispatch() result in a more obvious, and more robust way.
2004-11-08 22:30:28 +00:00
Tim Peters
50c6bdb1d6 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.
2004-11-08 22:07:37 +00:00
Michael W. Hudson
e0b855fac9 test for fixedness of bug #1057835.
(thanks to Raymond for the prod).
2004-11-08 16:46:02 +00:00
Michael W. Hudson
05522ad795 Fix bug
[ 1057835 ] compiler.transformer, "from module import *"
2004-11-08 12:17:34 +00:00
Raymond Hettinger
481b09b352 SF #1062190. Removed an assertion that rendered trace.py unnecessarily
inflexibile.
2004-11-08 06:36:42 +00:00
Tim Peters
fb1ffb0ebb 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.
2004-11-08 04:30:21 +00:00