summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Many misc changes.Guido van Rossum1997-01-311-95/+142
| | | | | | | | | | | | | | | | | | | | | | | - 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-mode-map): Comment Out Region / Uncomment Region should useBarry Warsaw1997-01-301-2/+2
| | | | py-comment-region instead of comment-region.
* #Updated authorship lineBarry Warsaw1997-01-301-1/+1
|
* (py-parse-partial-sexp-works-p): New variable to work around a bug inBarry Warsaw1997-01-301-3/+23
| | | | | | parse-partial-sexp in some Emacsen. (py-goto-beyond-final-line): use py-parse-partial-sexp-works-p.
* Move the 'import os' in URLopener.cleanup() to inside the blockGuido van Rossum1997-01-301-1/+1
| | | | | guarded by 'if self.tempcache', to reduce the likelihood of this causing an exception when invoked during __del__...
* RenamedJack Jansen1997-01-305-621/+617
|
* Added imgpngJack Jansen1997-01-301-0/+2
|
* Set proper User-agent header (Python-webchecker/<version>).Guido van Rossum1997-01-301-14/+21
| | | | | 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().
* Some refinements of the external-link checking code: insert the errorsGuido van Rossum1997-01-301-9/+22
| | | | | | 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.
* Added -x option to check external links. Slooooow!Guido van Rossum1997-01-301-10/+32
|
* Catch I/O errors when parsing robots.txt file.Guido van Rossum1997-01-301-5/+13
| | | | Add version number, printed at startup in non-quited mode.
* Basic README fileGuido van Rossum1997-01-301-0/+14
|
* Added robots.txt support, using Skip Montanaro's parser.Guido van Rossum1997-01-301-3/+38
| | | | | Fixed occasional inclusion of unpicklable objects (Message in errors). Changed indent of a few messages.
* Skip Montanaro's robots.txt parser.Guido van Rossum1997-01-302-0/+194
|
* web tree checkerGuido van Rossum1997-01-301-0/+488
|
* mime types guesserGuido van Rossum1997-01-301-0/+190
|
* Did nobody ever notice that "make test" didn't print the summary lineGuido van Rossum1997-01-291-1/+0
| | | | | any more? This was because the *parent* process in test_socket.py did an os._exit(0)! Getting rid of that now...
* Small lookmapping nits:Guido van Rossum1997-01-292-10/+12
| | | | | | - remove bogus initialization using uninitialized i - derive initial incr from hash - copy mp->ma_table into a local variable
* posix_execve(): Accept any mapping protocol object for the envBarry Warsaw1997-01-291-7/+18
| | | | argument, not hardwired to a dictionary.
* Fix bug reported by Per Lindqvist: "%#06x" % 1 stuck the 0 paddingGuido van Rossum1997-01-291-1/+13
| | | | in front of the 0x, like such: "0000x1".
* Final three poly table entries corrected by Tim Peters.Guido van Rossum1997-01-292-62/+60
| | | | Reindented the whole table.
* Change bsddbmodule.o -> bsddbmodule.c.Guido van Rossum1997-01-281-1/+1
|
* Added LDLAST variable, substituted by configure script, for the finalGuido van Rossum1997-01-281-1/+2
| | | | argument to the linker (required for DEC Alpha threads).
* Changed the lookup algorithm again, based on Reimer Behrends's post.Guido van Rossum1997-01-282-228/+202
| | | | | | | | | The table size is now constrained to be a power of two, and we use a variable increment based on GF(2^n)-{0} (not that I have the faintest idea what that is :-) which helps avoid the expensive '%' operation. Some of the entries in the table of polynomials have been modified according to a post by Tim Peters.
* Two small changes:Guido van Rossum1997-01-271-5/+3
| | | | | | | | | - Use co->... instead of f->f_code->...; save an extra lookup of what we already have in a local variable). - Remove test for nlocals > 0 before setting fastlocals to f->f_localsplus; 0 is a rare case and the assignment is safe even then.
* new.code() has grown another foot, eh, another two arguments.Guido van Rossum1997-01-271-1/+1
|
* Plug a leak with calling something other than a function or method isGuido van Rossum1997-01-271-4/+3
| | | | | | | called with keyword arguments -- the keyword and value were leaked. This affected for instance with a __call__() method. Bug reported and fix supplied by Jim Fulton.
* Patches for (two forms of) optional dynamic execution profiling --Guido van Rossum1997-01-241-0/+68
| | | | | | i.e., counting opcode frequencies, or (with DXPAIRS defined) opcode pair frequencies. Define DYNAMIC_EXECUTION_PROFILE on the command line (for this file and for sysmodule.c) to enable.
* Change the control flow for error handling in the function prelude toGuido van Rossum1997-01-241-23/+17
| | | | | jump to the "Kill locals" section at the end. Add #ifdef macintosh bandaid to make sure we call sigcheck() on the Mac.
* Added optional interface for dynamic execution profile (to be gatheredGuido van Rossum1997-01-241-2/+11
| | | | in ceval.c).
* Get the line number from PyCode_Addr2Line instead of believingGuido van Rossum1997-01-241-1/+4
| | | | tb_lineno. Store it in tb_lineno for the user.
* When a recycled frame has more local+stack slots than needed,Guido van Rossum1997-01-241-2/+4
| | | | | give the extra slots to the stack rather than than forgetting about them (this reduces the number of reallocs done).
* Two more arguments to newcodeobject -- first lineno and lineno table.Guido van Rossum1997-01-241-4/+7
|
* New magin number (because of linenumber table).Guido van Rossum1997-01-241-1/+1
|
* Marshal the line number table of code objects.Guido van Rossum1997-01-241-1/+9
|
* Instead of emitting SET_LINENO instructions, generate a line numberGuido van Rossum1997-01-241-6/+102
| | | | | | table which is incorporated in the code object. This way, the runtime overhead to keep track of line numbers is only incurred when an exception has to be reported.
* Add co_firstlineno and co_lnotab, for the line number table generatedGuido van Rossum1997-01-241-1/+4
| | | | by the compiler (in lieu of SET_LINENO instructions).
* Initialize the ob_type field of PyAST_Type dynamically (inGuido van Rossum1997-01-231-3/+7
| | | | | | | | | initparser()) instead of statically (in the initializer). The static initialization, using the address of an object in a different DLL, is too much for the Microsoft VC++ compiler, and we want to be able to build this module as a separate DLL (it's nice to have but we don't want to increase the core DLL's size by 25K). This same trick has been applied to a number of modules, e.g. NumPy and _tkinter.
* Forget keeping track of whether a dictionary contains all internedGuido van Rossum1997-01-232-178/+110
| | | | | string keys. Just doing a pointer compare before the string compare (in fact before the hash compare!) is just as fast.
* Various notes added:Guido van Rossum1997-01-221-16/+32
| | | | | | | | | | - -mt option for Solaris threads with Solaris compiler - make clean when switching static link status for Linux - DEC alpha --with-dec-threads option - SunOS removed unnecessary warnings, mention -Xa for SunPro - Setup.local file - warn to try make clean after changing readline option - mention --with-threads as alias for --with-thread
* The usualGuido van Rossum1997-01-221-199/+228
|
* A number of new symbols have appeared (courtesy autoconf 2.12?)Guido van Rossum1997-01-221-0/+15
|
* Add --with-dec-threads, for DEL Alpha, which requires -threads as theGuido van Rossum1997-01-221-6/+19
| | | | | | *final* linker argument. This implies --with-thread. Reimplemented --with-threads as an alias for --with-thread.
* Added PyCObject_Import.Guido van Rossum1997-01-223-18/+44
|
* (libparser.tex): Fix typo found by Mark Hammond.Fred Drake1997-01-222-2/+2
|
* Bump version to 1.5a1.Guido van Rossum1997-01-221-1/+1
|
* Bump install version to 1.5.Guido van Rossum1997-01-222-2/+2
|
* Remove GetOwner, add GetBuildInfo...Guido van Rossum1997-01-221-1/+1
|
* Added getbuildinfo.c to the project.Guido van Rossum1997-01-221-0/+12
|
* Fix splitext() to go up to the last dot, not the first.Guido van Rossum1997-01-221-3/+8
|