| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
lint happy.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
even if it isn't. Changes:
- set the global flag Py_InteractiveFlag when -i is given
- call Py_FdIsInteractive() instead of isatty()
- make stdin unbuffered, too, when using -u
- make stdin and stdout line buffered, when stdin is interactive and not -u
Note that setting the environment variable PYTHONINSPECT does not have
these extra effects of -i. (Should it?)
Unlike Lee's changes, I don't set change the prompt to go to stderr
when -i is given.
|
|
|
|
|
|
|
| |
Py_FdIsInteractive(). The flag is supposed to be set by the -i
command line option. The function is supposed to be called instead of
isatty(). This is used for Lee Busby's wish #1, to have an option
that pretends stdin is interactive even when it really isn't.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Run the loop up to and including 8k.
|
|
|
|
|
|
|
|
| |
by the frameobject dealloc when it is time for the locals to go. When
there's still a traceback object referencing this stack frame, we
don't want the local variables to disappear yet.
(Hmm... Shouldn't they be copied to the f_locals dictionary?)
|
|
|
|
|
| |
and if there's a pointer to an interned version of the string, use its
hash and store its hash in this object, rather than recomputing it.
|
|
|
|
|
|
| |
from ceval.c).
Wrapped a long line.
|
|
|
|
| |
Removed select_adjust -- Tk no longer supports this.
|
|
|
|
|
|
|
| |
add(): better handling of overflow (substitute maxval instead of
throwing away higher order bits).
ratecv(): some bugfixes, Sjoerd says.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
by all true Tkinter widgets. (Not that I *like* this module -- it
stinks, but until I have something better, I can't nuke it.)
|
|
|
|
|
|
|
|
|
| |
I'll clean that up later. Also corrected a mistake introduced by the
previous reformatting: an 'else' belonging to a 'for' was accidentally
reindented to belong to the 'if' inside the 'for'. Note that the
module uses inconsistent indentation -- most code is indented with 8
spaces, but some of the reformatted code uses 4 spaces. I'll fix this
later in the promised cleanup pass.
|
| |
|
|
|
|
| |
Add reference to DLD 3.3 at http://www-swiss.ai.mit.edu/~jaffer/DLD.html.
|
|
|
|
| |
in a cacheline.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Links are now either in 'todo' or 'done', and ext links
are hadled more like local links except that no further
links are gathered (and sometimes they aren't checked,
e.g. for mailto and news URLs). The -x option reverses
its meaning: it disables checking of ext links (they are
moved to 'done' without checking). A new 'errors' table
collects pages with bad links as we go -- redundant,
but useful for the GUI version which needs to report
this as we go. Some new methods, including reset().
New checkpoint format.
Adapted the GUI to the changes in the Checker class.
Added Quit and "Start over" buttons, and a checkbox
to disable checking external links. The details
window now also shows bad links emanating from the
selected page. Miscellaneous small chages.
|
|
|
|
| |
returned addresses on 16-byte cacheline boundary.
|
|
|
|
| |
If the users selects an item in 'To check', start checking there.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Increase MAXPAGE to 150K.
Add back printing of __doc__ for usage message.
|
|
|
|
| |
(and the &*^$%@ resource files got binhexed again, sigh)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Faster HTML parser derivede from SGMLparser (Fred Gansevles).
- All manipulations of todo, done, ext, bad are done via methods, so a
derived class can override. Also moved the 'done' marking to
dopage(), so run() is much simpler.
- Added a method status() which returns a string containing the
summary counts; added a "total" count.
- Drop the guessing of the file type before opening the document -- we
still need to check those links for validity!
- Added a subroutine to close a connection which first slurps up the
remaining data when it's an ftp URL -- apparently closing an ftp
connection without reading till the end makes it hang.
- Added -n option to skip running (only useful with -R).
- The Checker object now has an instance variable which is set to 1
when it is changed. This is not pickled.
|
|
|
|
| |
py-comment-region instead of comment-region.
|
| |
|
|
|
|
|
|
| |
parse-partial-sexp in some Emacsen.
(py-goto-beyond-final-line): use py-parse-partial-sexp-works-p.
|
|
|
|
|
| |
guarded by 'if self.tempcache', to reduce the likelihood of this
causing an exception when invoked during __del__...
|
| |
|
| |
|
|
|
|
|
| |
When -x is combined with -q, still do the checking, but don't print
the error in this phase -- they are reported by report_errors().
|
|
|
|
|
|
| |
in the 'bad' dictionary (sanitize them so they are picklable; the
sanitation code is now a subroutine); don't check mailto: URLs; omit
colon in Error message.
|
| |
|
|
|
|
| |
Add version number, printed at startup in non-quited mode.
|