Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Untabified. | Guido van Rossum | 1998-07-20 | 1 | -39/+39 |
| | |||||
* | Update the documentation. Get rid of the section "how it works" | Guido van Rossum | 1998-07-20 | 1 | -60/+18 |
| | | | | (which is not very relevant when you're in the debugger :-). | ||||
* | Added support for specifying a filename for a breakpoint, roughly | Guido van Rossum | 1998-07-20 | 1 | -40/+102 |
| | | | | | | | | | | | | | according to an idea by Harri Pasanen (but with different syntax). This affects the 'break' and 'clear' commands and their help functions. Also added a helper method lookupmodule(). Also: - Try to import readline (important when pdb is used from/as a script). - Get rid of reference to ancient __privileged__ magic variable. - Moved all import out of functions to the top. - When used as a script, check that the script file exists. | ||||
* | Fix another bug in ESR's changes. In order to work properly, | Guido van Rossum | 1998-07-20 | 1 | -4/+2 |
| | | | | | onecmd(line) must return the value returned by emptyline() or default(line). | ||||
* | Add missing initializer for self._backupfilename. Due to Ralph Butler. | Guido van Rossum | 1998-07-20 | 1 | -0/+1 |
| | |||||
* | Modest speed improvement to escape() by Piet van Oostrum. | Guido van Rossum | 1998-07-20 | 1 | -5/+5 |
| | |||||
* | Patch by Piet van Oostrum to avoid calculating with the result of | Guido van Rossum | 1998-07-20 | 1 | -6/+5 |
| | | | | | | | fp.tell() -- that won't work on Windows. (A patch for rfc822 is still needed for one case where it finds a bad header line and wants to back up.) | ||||
* | Measure performance of sub(), split(), findall(). | Guido van Rossum | 1998-07-17 | 1 | -0/+23 |
| | |||||
* | Get a 3- to 4-fold speedup for sub()/subn(), split() and findall() by | Guido van Rossum | 1998-07-17 | 1 | -38/+71 |
| | | | | | | | | not calling self.search(); instead, call self.code.match() directly and interpret the list of registers it returns directly. This saves the overhead of instantiating a MatchObject for each hit, basically inlining search() as well as group(). When a MatchObject is still needed, one is allocated and reused for the duration of the scan. | ||||
* | Added tests for findall(). | Guido van Rossum | 1998-07-17 | 1 | -1/+21 |
| | | | | | Added test for m.groups() with default. Added a few prints announcing various tests in verbose mode. | ||||
* | Add tests for array self-assigns. (This one has no relevance to JPython.) | Guido van Rossum | 1998-07-16 | 1 | -1/+28 |
| | |||||
* | Add tests for list self-assigns. (Sorry, this should have been here | Guido van Rossum | 1998-07-16 | 1 | -0/+13 |
| | | | | before JPython 1.0 came out.) | ||||
* | From: Nicolas CHAUVAT <nico@caesium.fr> | Guido van Rossum | 1998-07-16 | 1 | -1/+1 |
| | | | | | | | | | | In the bbox method of Group (Canvas.py file), you should read return self.canvas._getints(self._do('bbox')) instead of return self._getints(self._do('bbox')) | ||||
* | Tk.__init__(): In computing baseName, add ".pyo" to list of dropped | Fred Drake | 1998-07-15 | 1 | -1/+2 |
| | | | | | extensions, and include the "." in ".pyc". Still need to get _tkinter.c:Tkapp_New() to use baseName.... | ||||
* | Better RFC 821 compliance (MAIL and RCPT, and CRLF in data) | Guido van Rossum | 1998-07-13 | 1 | -15/+37 |
| | | | | by Carey Evans <c.evans@clear.net.nz>, for picky mail servers. | ||||
* | (1) Added a sys.exc_info() emulation. (It returns None for the traceback.) | Guido van Rossum | 1998-07-09 | 1 | -15/+57 |
| | | | | | | | (2) Made the test script a bit fancier -- you can now use it to run arbitrary scripts in restricted mode, and it will do the right thing. (The interactive mode is still pretty lame; should integrate this with code.interact().) | ||||
* | Put back the call to report_unbalanced() that was lost when | Guido van Rossum | 1998-07-07 | 1 | -0/+2 |
| | | | | parse_endtag() was restructured in parse_endtag() and finish_endtag(). | ||||
* | Get rid of some obsolete opcodes. | Guido van Rossum | 1998-07-07 | 1 | -5/+0 |
| | |||||
* | The permissions ('mode' flag) should default to 0666. | Guido van Rossum | 1998-07-03 | 1 | -1/+1 |
| | |||||
* | The _fromlinepattern was a little too restrictive -- some sendmails | Guido van Rossum | 1998-07-02 | 1 | -1/+1 |
| | | | | don't put the seconds in the time! | ||||
* | According to Robin Dunn, at least one FTP server returns 200 instead | Guido van Rossum | 1998-07-02 | 1 | -1/+1 |
| | | | | of 250 on a successful delete. | ||||
* | Gotta have an __init__() method -- pdb.py calls it! | Guido van Rossum | 1998-07-01 | 1 | -0/+2 |
| | |||||
* | Several changes: | Barry Warsaw | 1998-07-01 | 1 | -40/+90 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Convert to using re module 2. Added two new exception classes a. MissingSectionHeaderError which signals an early parsing exception when options appear in the file before any section header. Previously a bogus TypeError was thrown deeper down. b. ParsingError which collates any non-fatal parsing errors. ConfigParser.read() will raise this after the entire file was parsed if any errors occurred during parsing (client could just catch the exception and continue, because the ConfigParser instance would still be initialized with the valid data). (small note: Error.__msg => Error._msg) 3. ConfigParser.__read() now uses re which has the following minor semantic change: underscore is now allowed in section header and option name. Also, because of the old regexps, theoretically. Fixed continuation line bug reported by F. Lundh. 4. It seemed that the old ConfigParser automatically added the option `name' to every section, which contained the name of the section. This seemed bogus to me so I took it out. | ||||
* | Improved test set for int() and long() string conversions. | Guido van Rossum | 1998-06-30 | 1 | -0/+59 |
| | |||||
* | Add pop method. | Guido van Rossum | 1998-06-30 | 1 | -0/+1 |
| | |||||
* | Fix the comments describing the return values of the head(), body(), | Guido van Rossum | 1998-06-30 | 1 | -0/+6 |
| | | | | article() commands. | ||||
* | For completeness, add a dummy load_package() method to RHooks. It | Guido van Rossum | 1998-06-29 | 1 | -0/+1 |
| | | | | | should never be called, so this isn't really needed, but this signifies that rexec now supports packages -- because ihooks does. | ||||
* | Support loading of packages. (I had this coded up for a while but | Guido van Rossum | 1998-06-29 | 1 | -34/+172 |
| | | | | | didn't want to commit until it had been tested. I presume that it works in Grail.) | ||||
* | Added findall() to RegexObject -- return a list of all matches in a | Guido van Rossum | 1998-06-29 | 1 | -16/+61 |
| | | | | | | string. Added groupdict() to MatchObject -- return the named groups as a dict. Added default argument to groups() to specify what to return for unmatching groups; groupdict() also has this. | ||||
* | Improved by Eric Raymond. | Guido van Rossum | 1998-06-29 | 1 | -17/+84 |
| | |||||
* | # Make tabnanny happy. | Guido van Rossum | 1998-06-29 | 1 | -3/+3 |
| | |||||
* | Improved by Eric Raymond. | Guido van Rossum | 1998-06-29 | 1 | -18/+29 |
| | |||||
* | Oops! Of course, Tim is right -- when the item is not a hex number, | Guido van Rossum | 1998-06-29 | 1 | -2/+2 |
| | | | | the '%' should be put back in. | ||||
* | Speed-up unquote(), inspired by post from Daniel Walton. | Guido van Rossum | 1998-06-28 | 1 | -18/+16 |
| | |||||
* | Remove RCS and #! cruft at top. | Guido van Rossum | 1998-06-26 | 1 | -4/+0 |
| | |||||
* | Allow binding a Tcl command (given as a string) as well as a Python | Guido van Rossum | 1998-06-25 | 1 | -3/+3 |
| | | | | function. | ||||
* | Treat "HEAD" same as "GET", so that CGI scripts won't fail. | Guido van Rossum | 1998-06-25 | 1 | -1/+1 |
| | |||||
* | Rewrite the (test) main program so that when used as a script, it can | Guido van Rossum | 1998-06-25 | 1 | -5/+29 |
| | | | | retrieve one or more URLs to stdout. Use -t to run the self-test. | ||||
* | Piers' latest version, labeled 2.11. This time he integrated my | Guido van Rossum | 1998-06-25 | 1 | -18/+14 |
| | | | | | changes, and made only a few minor changes. No changes of my own this time. | ||||
* | Eric Raymond added support for ESMTP protocol and corrected some typos | Guido van Rossum | 1998-06-25 | 1 | -33/+113 |
| | | | | in comments and doc strings. | ||||
* | Subsume the interact() function in a class. This should make it | Guido van Rossum | 1998-06-23 | 1 | -42/+197 |
| | | | | | possible to use this in PythonWin, and to replace Fredrik Lundh's PythonInterpreter class. Fredrik is credited with the class' API. | ||||
* | "if match(x) >= 0:" smells of regex matching; should use "if match(x):" | Guido van Rossum | 1998-06-23 | 1 | -1/+1 |
| | |||||
* | Patch by Eric Raymond: add an optional 'seekable' flag to the | Guido van Rossum | 1998-06-23 | 1 | -11/+23 |
| | | | | | MultiFile constructor, and only do the posstack bookkeeping when it is true. | ||||
* | Bugfix to ESR's code reported by himself: should use hasattr() to test | Guido van Rossum | 1998-06-22 | 1 | -1/+1 |
| | | | | for presence unread, not getattr()! | ||||
* | Turns out that 'winfo id' returns the id as a hex string, with 0x prefix. | Guido van Rossum | 1998-06-19 | 1 | -1/+1 |
| | | | | | The int() function (aliased to getint()) doesn't handle that, so we must use self.tk.getint() again... | ||||
* | Different trick to get the _test() window to pop up. | Guido van Rossum | 1998-06-19 | 1 | -1/+5 |
| | |||||
* | Piers' latest version -- authentication added by Donn Cave. | Guido van Rossum | 1998-06-18 | 1 | -41/+175 |
| | |||||
* | In class _Subfile, make sure read(n) can't read beyond EOF. Also | Guido van Rossum | 1998-06-17 | 1 | -2/+5 |
| | | | | | allow negative numbers to specify read until EOF (like for a regular file's read() method). | ||||
* | Add __getitem__ to AddressList object, to make it a sequence. | Guido van Rossum | 1998-06-16 | 1 | -0/+4 |
| | |||||
* | Some extra comments and docstrings, and a new class (AddressList), all by ESR. | Guido van Rossum | 1998-06-16 | 1 | -1/+48 |
| |