summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Patch by Charles G. Waldman to add optional user and passwordGuido van Rossum1997-10-201-1/+10
| | | | arguments to NNTP.__init__(), for nntp servers that need them.
* Remove .pyo files like .pyc files.Guido van Rossum1997-10-201-1/+1
|
* Added separate tests for {}.get().Guido van Rossum1997-10-201-0/+3
|
* Added tests of dict.get()Barry Warsaw1997-10-201-0/+6
|
* splitpasswd(): The parameter is named "user", not "host".Fred Drake1997-10-141-1/+1
|
* Open files in binary mode (Jack)Guido van Rossum1997-10-081-1/+1
|
* Use better timer on the macGuido van Rossum1997-10-081-1/+18
| | | | | Open files in binary mode (Jack)
* Allow open file as parameter (must be seekable) (Jack)Guido van Rossum1997-10-081-4/+10
|
* Change test for re.sub() involving g<...> to use a multi-characterGuido van Rossum1997-10-081-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 Rossum1997-10-081-193/+0
|
* Use `...` around binary strings.Guido van Rossum1997-10-071-1/+1
|
* Remove this pathetic little module!Fred Drake1997-10-071-241/+0
|
* Temporary fix to valid_identifier().Guido van Rossum1997-10-071-8/+7
|
* Return the error code from most commands, rather than swallowing it.Guido van Rossum1997-10-071-16/+25
| | | | | Adapted the example (lying slightly about the string printed by login()).
* Fix join to support multiple arguments.Guido van Rossum1997-10-071-9/+12
| | | | (Why isn't this file identical to ntpath.py?)
* Add XXX note about wanting support for copy_reg.py...Guido van Rossum1997-10-071-0/+2
|
* Add Jeff Epler's interact() function. Note that it is broken.Guido van Rossum1997-10-071-0/+52
| | | | (It should probably be withdrawn :-( )
* Add optional arguments lo and hi to insort() and bisect(), to supportGuido van Rossum1997-10-071-4/+6
| | | | using arrays containing leading or trailing garbage.
* Reduced number of temporary names used at module scope. Use underscores inFred Drake1997-10-061-5/+4
| | | | front of temporary names in the module namespace.
* Reduced number of temporary names used at module scope. Use underscores inFred Drake1997-10-061-5/+3
| | | | front of temporary names in the module namespace.
* Don't do weird things with the "import parser"; just do it. Sheesh...Fred Drake1997-10-061-11/+11
|
* The usual (and some new modules).Guido van Rossum1997-10-0617-285/+1011
|
* UserDict.get(): New method to mirror built-in dictionaries' get()Barry Warsaw1997-10-061-0/+5
| | | | method.
* Move the __getitem__() definition from StandardException to Exception.Fred Drake1997-10-061-1/+3
| | | | | | | | | This allows stuff like this out of the box: try: ... except socket.error, (code, msg): ...
* New "re" regular expression support.Guido van Rossum1997-10-062-1145/+1575
| | | | | | The new re module was written by Andrew Kuchling and uses the pcre code in ../Modules/. The old re module has been renamed to re1, just in case you need it for comparison.
* Turns out whatsound.py and sndhdr.py were identical modules.Guido van Rossum1997-10-042-540/+2
| | | | | | Since there's also an imghdr.py file, I propose to make sndhdr.py the official one. For compatibility, whatsound.py imports * from sndhdr.py.
* Fix path search for test data file so it works under more circumstances.Guido van Rossum1997-10-011-1/+6
|
* There was actually a test that ensured that raising an exception AGuido van Rossum1997-10-011-3/+2
| | | | | | | with an instance of a derived class B would really raise an A, not a B. Since Barry fixed this anomalous behaviour, I though I might as well fix the test! (Hmm, Barry, did you not run the tests or did you miss that test_opcodes failed?)
* Fixed test for socket.error to work when it's a class exception.Guido van Rossum1997-10-011-1/+2
|
* Handy utility to guess MIME type from extension.Guido van Rossum1997-09-301-0/+190
|
* Move Widget.config() c.s. to Misc class, so the Tk class also inherits them.Guido van Rossum1997-09-291-31/+30
|
* Use sys.exc_info() where needed.Guido van Rossum1997-09-291-44/+106
| | | | Use "re" module, making it threadsafe.
* Use sys.exc_info() where needed.Guido van Rossum1997-09-299-32/+38
|
* No longer need to be very careful with saving the exception stateGuido van Rossum1997-09-291-2/+1
| | | | | first. Don't store the traceback as a local variable, to avoid circular references.
* Removing emacs.py, which is obsolete.Guido van Rossum1997-09-291-18/+0
|
* Add optional bufsize argument to various calls so we can make theGuido van Rossum1997-09-291-8/+8
| | | | | | | os.fdopen() calls unbuffered. I presume that it's enough if we can make all three of them (for stdin, stdout, and stderr) unbuffered and don't need to specify different buffer sizes per file -- that would complicate the interface more than I care for.
* Use Marc Lemburg's tb_lineno() to calculate the correct line number.Guido van Rossum1997-09-261-3/+21
| | | | | | Apparently the traceback object doesn't contains the right linenumber when -O is used. Rather than guessing whether -O is on or off, use tb_lineno() unconditionally.
* Word completion for the new readline.set_completer() function.Guido van Rossum1997-09-261-0/+108
| | | | | | | | | | | | | | When completing a simple identifier, it completes keywords, built-ins and globals in __main__; when completing NAME.NAME..., it evaluates (!) the expression up to the last dot and completes its attributes. It's very cool to do "import string" type "string.", hit the completion key (twice), and see the list of names defined by the string module! Tip: to use the tab key as the completion key, call readline.parse_and_bind("tab: complete")
* The command can now either be a string (as before) or a list ofGuido van Rossum1997-09-181-3/+4
| | | | | arguments for execvp (for those who don't want the shell's argument parsing).
* NumberError => ArithmeticErrorBarry Warsaw1997-09-161-5/+5
|
* Two subtle changes:Guido van Rossum1997-09-161-69/+56
| | | | | | | (1) Introduce Exception as the conceptual root class for all exceptions. (2) Do less work in __init__(), and more in __str__ (store args unchanged).
* Entirely rewritten parseaddr() function by Sjoerd Mullender.Guido van Rossum1997-09-151-53/+92
| | | | (Includes a patch he sent me a few days later.)
* Added code to emit trailing ',' for singleton tuples in two places.Guido van Rossum1997-09-141-1/+7
|
* Three independent changes:Guido van Rossum1997-09-121-5/+10
| | | | | | | | | - Don't use "from copy_reg import *". - Use cls.__module__ instead of calling whichobject(cls, cls.__name__); also try __module__ in whichmodule(), just in case. - After calling save_reduce(), add the object to the memo.
* #Added doc string.Guido van Rossum1997-09-091-1/+8
|
* Make functionality more closely the same as what's implemented by default.Guido van Rossum1997-09-091-8/+12
|
* *** empty log message ***Guido van Rossum1997-09-091-0/+115
|
* Renamed platform specific subdirectories to plat-*.Guido van Rossum1997-09-0996-16133/+0
|
* Renamed dos_8x3 to dos-8x3.Guido van Rossum1997-09-0961-8526/+0
|
* These directories renamed: tkinter -> lib-tk, stdwin -> lib-stdwin.Guido van Rossum1997-09-0946-6876/+0
|