Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | os2 patch by Jeff Rush | Guido van Rossum | 1997-11-22 | 3 | -4/+15 |
| | |||||
* | bind_class should return a value | Guido van Rossum | 1997-11-22 | 1 | -1/+1 |
| | |||||
* | New address parser by Ben Escoto replaces | Guido van Rossum | 1997-11-22 | 1 | -125/+247 |
| | | | | Sjoerd Mullender's parseaddr() | ||||
* | Use fstat if we can; write MAGIC into file last. | Guido van Rossum | 1997-11-22 | 1 | -2/+8 |
| | |||||
* | A new standard module, as discussed on comp.lang.python, to simplify | Guido van Rossum | 1997-11-21 | 1 | -0/+254 |
| | | | | | | | | | | | | | | | | | the writing of filters. Typical use is: import fileinput for line in fileinput.input(): process(line) This iterates over the lines of all files listed in sys.argv[1:], defaulting to sys.stdin if the list is empty or when a filename is '-'. There is also an option to use this to direct the output back to the input files. | ||||
* | (Queue.Empty): When class based exceptions are in force, derive this | Barry Warsaw | 1997-11-20 | 1 | -116/+130 |
| | | | | | | | | class from the standard base exception Exception. Otherwise define Queue.Empty as a string exception. (Queue): 8-space to 4-space indentation conversion. Also, basically recast all method comments into docstrings. | ||||
* | Add Martin von Loewis as the author of this module. | Guido van Rossum | 1997-11-19 | 1 | -0/+1 |
| | |||||
* | User-level locale module. A wrapper around _locale which adds | Guido van Rossum | 1997-11-19 | 1 | -0/+75 |
| | | | | | | | format(), str(), atof(), and atoi(). The last three are locale sensitive versions of the corresponding standard functions (only for numbers though); format() does general %[efg] formatting taking the locale into account, optionally with thousands grouping. | ||||
* | Assert that the proxies object passed in to the URLopener constructor | Guido van Rossum | 1997-11-18 | 1 | -0/+1 |
| | | | | is indeed a dictionary (or a mapping). | ||||
* | Added docstrings (contributed by Martin von Loewis). | Guido van Rossum | 1997-11-18 | 1 | -1/+13 |
| | |||||
* | Fixed case sensitivity of attributes (they are case *sensitive*). | Guido van Rossum | 1997-11-18 | 1 | -12/+8 |
| | |||||
* | Sjoerd Mullender's xml parser (based on sgmllib, somewhat). | Guido van Rossum | 1997-11-18 | 1 | -0/+568 |
| | |||||
* | Some restructuring. | Guido van Rossum | 1997-11-07 | 1 | -111/+166 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | All geometry manager methods that apply to a master widget instead of to a slave widget have been moved to the Misc class, which is inherited by all of Tk(), Toplevel() and Widget(). They have been renamed to have their geometry manager name as a prefix, e.g. pack_propagate(); the short names can still be used where ambiguities are resolved so that pack has priority over place has priority over grid (since this was the old rule). Also, the method definitions in the Pack, Place and Grid classes now all have their respective geometry manager name as a prefix (e.g. pack_configure); the shorter names are aliases defined through assignment. A similar renaming has been done for all config() methods found elsewhere; these have been renamed to configure() with config being the alias (instead of the other way around). (This may not make much of a difference but the official Tk command name is now 'configure' and it may help in debugging tracebacks.) Finally, a new base class BaseWidget has been introduced, which implements the methods common between Widget and Toplevel (the difference between those two classes is that Toplevel has a different __init__() but also that Toplevel doesn't inherit from Pack, Place or Grid. | ||||
* | Separate out a function pystones(loops=LOOPS) which runs the benchmark | Guido van Rossum | 1997-11-06 | 1 | -8/+12 |
| | | | | | and returns a (benchtime, stones) tuple. The main() function now calls this and prints the report. Fred Drake's code. | ||||
* | Add __init__.py to test package. | Guido van Rossum | 1997-11-06 | 1 | -0/+1 |
| | |||||
* | islink() returns false, but there is no constant false! Return 0 instead. | Guido van Rossum | 1997-11-04 | 1 | -1/+1 |
| | |||||
* | Use ``0'' instead of ``None'' to reset the underlying object in close | Guido van Rossum | 1997-11-04 | 1 | -2/+2 |
| | | | | | | | | methods. Using None causes problems if the destructor is called after the __builtin__ module has already been destroyed (unfortunately, this can happen!). I can't just delete the object because it is actually tested for (if self._sock: ...). Setting it to 0 is a bit weird but works. | ||||
* | Add empty __init__.py files to the test packages so the new policy | Guido van Rossum | 1997-10-31 | 1 | -1/+4 |
| | | | | will recognize them. | ||||
* | New version from Sjoerd, small bugfix + optimizations. | Guido van Rossum | 1997-10-30 | 1 | -24/+28 |
| | |||||
* | Tests for tokenize.py (Ka-Ping Yee) | Guido van Rossum | 1997-10-27 | 3 | -0/+775 |
| | |||||
* | New, fixed version with proper r"..." and R"..." support from Ka-Ping. | Guido van Rossum | 1997-10-27 | 1 | -7/+10 |
| | |||||
* | Redone (by Ka-Ping) using the new re module, and adding recognition | Guido van Rossum | 1997-10-27 | 1 | -57/+55 |
| | | | | for r"..." raw strings. (And R"..." string support added by Guido.) | ||||
* | This should hopefully finally clean up the remaining __del__ related | Guido van Rossum | 1997-10-27 | 1 | -9/+11 |
| | | | | | problems with this module, even if an instance of a derived class is kept alive longer than the urllib module itself... | ||||
* | Bugfix in match() -- the number of registers shouldn't be divided by two! | Guido van Rossum | 1997-10-27 | 1 | -1/+1 |
| | |||||
* | Use __dict__.update(state) instead of for loop over state.items() and | Guido van Rossum | 1997-10-26 | 1 | -11/+9 |
| | | | | | | | call to setattr(). This changes semantics, following the change already implemented in pickle. Also reindented a few lines properly. | ||||
* | re -> regex conversions by Sjoerd. | Guido van Rossum | 1997-10-24 | 3 | -95/+100 |
| | |||||
* | New module -- converts regex regular expressions to re style. | Guido van Rossum | 1997-10-23 | 1 | -0/+186 |
| | | | | | | | There are two ways to use this -- as a filter (e.g. using C-U M-| on a regex string literal in an Emacs buffer) or from a Python program which imports this as a module. Read the doc string for more info, and also some caveats (some cases aren't handled right). | ||||
* | Although it's hard to be sure, I *think* this is a working conversion | Guido van Rossum | 1997-10-23 | 1 | -67/+67 |
| | | | | | | from regex to re style regular expressions. This should make sgmllib and htmllib threadsafe, so I can now create a threaded version of webchecker... | ||||
* | Remove redundant import regsub. | Guido van Rossum | 1997-10-23 | 1 | -1/+0 |
| | |||||
* | Convert all remaining *simple* cases of regex usage to re usage. | Guido van Rossum | 1997-10-22 | 23 | -144/+134 |
| | |||||
* | Add pcre to the list of safe modules. | Guido van Rossum | 1997-10-22 | 1 | -1/+1 |
| | |||||
* | Remove outdated comments. | Guido van Rossum | 1997-10-22 | 1 | -7/+1 |
| | |||||
* | Removed some unneeded imports, moved others around. | Guido van Rossum | 1997-10-22 | 1 | -4/+2 |
| | |||||
* | Removed unneeded imports of regex and regsub. | Guido van Rossum | 1997-10-22 | 1 | -2/+0 |
| | |||||
* | Use re instead of regex. Also remove bogus return statement from __init__(). | Guido van Rossum | 1997-10-22 | 1 | -6/+8 |
| | |||||
* | Added pgrep() function, which is like grep/egrep/emgrep but uses Perl | Guido van Rossum | 1997-10-22 | 2 | -0/+36 |
| | | | | syntax, by virtue of the new re module. | ||||
* | Deleted this long-obsolete module | Guido van Rossum | 1997-10-22 | 1 | -32/+0 |
| | |||||
* | Added "new" symbol defns for RE_ANSI_HEX and RE_NO_GNU_EXTENSIONS -- | Guido van Rossum | 1997-10-22 | 1 | -0/+6 |
| | | | | hopefully the last maintenance on this module, ever. | ||||
* | Catch KeyboardInterrupt separately and propagate it, instead of | Guido van Rossum | 1997-10-20 | 1 | -1/+4 |
| | | | | | | reporting a "crash". Use sys.exc_info() instead of sys.exc_type and sys.exc_value. | ||||
* | Add optional 4th argument to count(), matching find() etc. | Guido van Rossum | 1997-10-20 | 2 | -14/+28 |
| | | | | | | Also change all occurrences of "x == None" to "x is None" (not that it matters much, these functions are all reimplemented in strop -- but count() is not). | ||||
* | Patch by Charles G. Waldman to add optional user and password | Guido van Rossum | 1997-10-20 | 1 | -1/+10 |
| | | | | arguments to NNTP.__init__(), for nntp servers that need them. | ||||
* | Remove .pyo files like .pyc files. | Guido van Rossum | 1997-10-20 | 1 | -1/+1 |
| | |||||
* | Added separate tests for {}.get(). | Guido van Rossum | 1997-10-20 | 1 | -0/+3 |
| | |||||
* | Added tests of dict.get() | Barry Warsaw | 1997-10-20 | 1 | -0/+6 |
| | |||||
* | splitpasswd(): The parameter is named "user", not "host". | Fred Drake | 1997-10-14 | 1 | -1/+1 |
| | |||||
* | Open files in binary mode (Jack) | Guido van Rossum | 1997-10-08 | 1 | -1/+1 |
| | |||||
* | Use better timer on the mac | Guido van Rossum | 1997-10-08 | 1 | -1/+18 |
| | | | | | Open files in binary mode (Jack) | ||||
* | Allow open file as parameter (must be seekable) (Jack) | Guido van Rossum | 1997-10-08 | 1 | -4/+10 |
| | |||||
* | Change test for re.sub() involving g<...> to use a multi-character | Guido van Rossum | 1997-10-08 | 1 | -1/+1 |
| | | | | | identifier. The previous re.py had a bug that wouldn't show up with single-char identifier... | ||||
* | Checking in AMK's latest installement. | Guido van Rossum | 1997-10-08 | 1 | -193/+0 |
| |