Guido van Rossum
198e7cac5a
Andy Dustman notes that I patched the close() call in the wrong place.
...
Here's the correct patch!
1999-06-01 18:58:34 +00:00
Guido van Rossum
6b708d569c
In class TemporaryFileWrapper, don't cache attributes of tpye int --
...
these happen to be 'closed' and 'softspace', which may change!
Noted by Dave Ascher (with slightly different solution).
1999-06-01 18:55:36 +00:00
Guido van Rossum
74311b2c27
1. Catch NameError on import (could be raised by case mismatch on Windows).
...
2. No longer need to reset pyclbr cache and show watch cursor when calling
ClassBrowser -- the ClassBrowser takes care of pyclbr and the TreeWidget
takes care of the watch cursor.
3. Reset the focus to the current window after error message about class
browser on buffer without filename.
1999-06-01 18:27:14 +00:00
Guido van Rossum
292dd2d1af
Missed a few.
1999-06-01 18:23:19 +00:00
Guido van Rossum
ec9cca776a
Rewritten based on TreeWidget.py
1999-06-01 18:21:31 +00:00
Guido van Rossum
1ff48ec852
Object browser, based on TreeWidget.py.
1999-06-01 18:20:56 +00:00
Guido van Rossum
7419f4b290
Tree widget done right.
1999-06-01 18:19:17 +00:00
Guido van Rossum
d3a518b661
As yet unused code for tool tips.
1999-06-01 18:19:02 +00:00
Guido van Rossum
ee03611a8d
Ensure sys.argv[0] is the script name on Run Script.
1999-06-01 18:18:27 +00:00
Guido van Rossum
96cf271be9
Move zoom height functionality to separate function.
1999-06-01 18:17:02 +00:00
Fred Drake
5fac2ab220
Fix availability clause; mention availability of similar functionality
...
for Windows using win32pipe.
1999-06-01 17:55:52 +00:00
Guido van Rossum
32465f4148
A few icons used by ../TreeWidget.py and its callers.
1999-06-01 15:04:51 +00:00
Guido van Rossum
8234dfcccb
New version by Tim Peters improves block opening test.
1999-06-01 15:03:30 +00:00
Guido van Rossum
116b31bed7
Jack Jansen's patch to support file:///path/file/name URL syntax.
1999-06-01 14:36:56 +00:00
Guido van Rossum
fa8c3eab79
Greg McFarlane writes: Tkinter.Text.tag_add should take multiple
...
arguments. [Slightly changed from submitted patch.]
1999-06-01 13:57:15 +00:00
Barry Warsaw
f63b8cc07c
posix_listdir(): When an error occurs, call
...
posix_error_with_filename() instead of posix_error(), passing in the
name argument, so you get information on which directory was being
listed.
1999-05-27 23:13:21 +00:00
Fred Drake
f1882422d2
Oops, forgot to remove the individual module indexes for lib & mac now
...
that there's a Global Module Index; there can be only one!
1999-05-27 21:56:11 +00:00
Fred Drake
3c27ec2c05
Add <hr> after top navigation bar; now looks more like the rest of the
...
navigation bars in the HTML output.
1999-05-27 21:52:51 +00:00
Fred Drake
d2a727feee
Hack: make sure LaTeX2HTML doesn't change -- to - in mkhowto
...
description.
1999-05-27 21:45:54 +00:00
Fred Drake
3aa70d63b9
Document the "pid" attribute of the Popen3 class.
...
Use memberdesc instead of datadesc to document object attributes.
This gets the index right.
1999-05-27 17:50:59 +00:00
Fred Drake
a7ce52b03a
Typo reported by Gerry Wiener <wiener@rap.ucar.edu>:
...
items -> item
The returned list will then have one more items than the number of
non-overlapping occurrences of the separator in the string.
1999-05-27 17:18:08 +00:00
Fred Drake
abc8cc63ce
Move some \index entries around so we can avoid using empty comments;
...
empty comments trigger a bug in LaTeX2HTML.
Problem reported by Gerry Wiener <gerry@ucar.edu>.
1999-05-26 16:15:17 +00:00
Fred Drake
82f355a36a
Change the example of configuring for large file support under Solaris
...
to use `getconf LFS_CFLAGS`. Steve Clift (the author of the section
and large file support) agrees that this is the right thing to do.
1999-05-26 13:03:34 +00:00
Barry Warsaw
a20fdcdd14
Eugene Dvurechenski <jno@glas.net> says:
...
there is "su" top level domain still maintained in ex-USSR. at
least "*.msk.su" zone (Moscow, USSR) is still in use.
1999-05-26 04:02:18 +00:00
Fred Drake
6b330ba857
"proces" --> "process"; reported by Gerry Wiener <gerry@ucar.edu>.
...
Added some index entries.
1999-05-25 13:42:26 +00:00
Barry Warsaw
fa2def2a61
(py-electric-backspace): I'm not sure this function should be special
...
casing when py-honor-comment-indentation is nil, but this could be a
religious issue with some. Seems to me we should still be dedenting
such comment lines one level.
1999-05-24 21:43:37 +00:00
Barry Warsaw
53db859408
(py-parse-state): When running under Emacs -- which doesn't have
...
buffer-syntactic-context -- just short circuit the TQS test by jumping
to point-min and doing the test from there. For long files, this will
be faster than looping with a re-search-backwards.
1999-05-24 19:57:32 +00:00
Barry Warsaw
a8f99ba2d2
(py-statement-closes-block-p): Add a py-goto-initial-line which fixes
...
indentation when the return value is a multiline sexp:
def bug():
try:
if 2>1:
return (11+
12)
else: #XXX
return 12
except:
return 13
1999-05-24 18:37:57 +00:00
Just van Rossum
c7ba0800dd
Oliver Steele writes:
...
"""Despite the best intentions of Anarchie and Internet Explorer, I often end
up with Python source files (and other text files that I'd like to edit with
PythonIDE) that use '\n' instead of '\r' as a line separator (and therefore
sh
1999-05-21 21:42:27 +00:00
Guido van Rossum
8bfefce75e
On HP-UX, -rpath is another option taking an argument that needs to go
...
to the libs variable. Reported by Albert Chin-A-Young.
1999-05-21 19:18:49 +00:00
Guido van Rossum
18659608dc
Andy Dustman writes:
...
I noticed while watching (with lsof) my forking SocketServer app running
that I would get multiple processes listening to the socket. For the most
part, this doesn't hurt things, but if you terminate the server, this can
prevent it from restarting because it cannot bind to the port due to any
running children which also have the socket open. The following one-liner
fixes this.
1999-05-21 16:12:30 +00:00
Guido van Rossum
b6f8cf123e
Rename History to IdleHistory.
...
Add isatty() to pseudo files.
1999-05-21 04:46:17 +00:00
Guido van Rossum
945507edf6
Make initial stack viewer wider
1999-05-21 04:45:45 +00:00
Guido van Rossum
2092b439be
New wishes
1999-05-21 04:45:20 +00:00
Guido van Rossum
def2c96718
Much improved autoindent and handling of tabs,
...
by Tim Peters.
1999-05-21 04:38:27 +00:00
Fred Drake
c40c54782c
Map .js to application/x-javascript.
1999-05-20 12:52:04 +00:00
Fred Drake
0eb7b2a659
Enhanced docstring and some comments.
...
_begin_macro_rx: Fixed RE that didn't properly allow a space after
the name of the macro. This affects the conversion
of the tutorial.
1999-05-19 17:37:37 +00:00
Fred Drake
c4811d8208
Modify to perform "---" to "—" conversion outside of
...
verbatim-like environments. The list of verbatim-like environments is
a defined by a variable in main().
1999-05-18 17:34:51 +00:00
Fred Drake
c41e1e5f5e
Remove the "---" to "—" conversion; this is wrong in verbatim
...
environments. Move the conversion to esis2sgml.py.
1999-05-18 17:33:01 +00:00
Fred Drake
338da93734
SET_LINE_NO ==> SET_LINENO
...
Reported by Corran Webster <cwebster@math.tamu.edu>.
1999-05-17 20:57:07 +00:00
Fred Drake
0e6444c709
Added "Learning Python" to the books section.
...
Updated comments on the documentation.
1999-05-17 19:35:01 +00:00
Fred Drake
33378da964
Added paragraph explaininng the text/binary flavors of some methods,
...
to make it easier for people to find what they're looking for.
1999-05-17 16:35:15 +00:00
Fred Drake
d1fb77970d
Document \e, \url.
...
Add a few more comments about mkhowto.
Based on comments from Albert <hat@se-46.wpa.wtb.tue.nl>.
1999-05-17 16:33:54 +00:00
Fred Drake
4f52867d95
Don't \input boilerplate.tex, fill in the real stuff. 3rd party
...
documents probably aren't written by Guido. ;-)
1999-05-17 16:02:38 +00:00
Fred Drake
87f768e20b
Attempted to clarify usage of the \declaremodule macro somewhat;
...
Michael Hudson's documentation for bytecodehacks exhibits incorrect
usage.
Added some comments about how to set up the mkhowto script for use
with documents not contained in the documentation source tree.
1999-05-17 15:22:45 +00:00
Fred Drake
3e4c614c16
define_module(): Check the module type for validity before using.
...
This reflects the changes made in
../texinputs/python.sty.
1999-05-17 15:00:32 +00:00
Fred Drake
66823029a4
\declaremodule: Typo.
1999-05-17 14:57:26 +00:00
Fred Drake
5bc8d99bce
\declaremodule: Make this more robust. Only attempt to add an index
...
entry based on the module type if the type is known.
Otherwise, spit out a warning the the module type
parameter was bad and generate a "plain" index entry.
Without this, the bad module type was emitted as
text.
Problem noticed by processing Michael Hudson's docs for
bytecodehacks.
1999-05-17 14:47:10 +00:00
Fred Drake
8ee593cb46
The conversion temporary files should not be ignored here anymore,
...
since they shouldn't be here. Only ignore the output tarballs in this
directory.
1999-05-13 18:57:28 +00:00
Fred Drake
dbc2d08ff5
POP3.uidl(): Update description based on comments from Piers Lauder
...
<piers@cs.su.oz.au>.
1999-05-13 18:48:14 +00:00