summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Adding Jeremy Hylton's gzip module.Guido van Rossum1997-04-301-0/+264
| | | | | This requires Andrew Kuchling's zlib extension module. It still needs some doc strings.
* Transformed comments to doc strings.Guido van Rossum1997-04-291-34/+45
| | | | Added symlinks option to copytree.
* Reindented at 4 spaces.Guido van Rossum1997-04-291-49/+49
|
* Add feature to copy(), copy2(): dst may be a directory.Guido van Rossum1997-04-291-22/+27
| | | | | Remove unneeded check for '.' / '..' from copytree(). Add some comments.
* Improvements to copyfile(): open the files in binary mode, and closeGuido van Rossum1997-04-291-6/+16
| | | | them in a finally clause.
* Restore two features of the original 1.4 pickle:Guido van Rossum1997-04-251-5/+6
| | | | | | - which_module() search __main__ last; - load_inst() no longer checks that the classname really refers to a class.
* Alas, I have to restore 'marshal', since it is needed by the newGuido van Rossum1997-04-251-2/+1
| | | | | cPickle-compatible pickle, and pickle must be importable in restricted mode. I guess I'll have to make marshal safe.
* Change inspired by Tommy Burnette to add an interface to get stderr, too.Guido van Rossum1997-04-211-4/+19
|
* Fix a couple of glitches identified by Greg Stein.Fred Drake1997-04-181-4/+3
|
* _safe_repr(): Make the context parameter required; ok since it's only forFred Drake1997-04-161-10/+9
| | | | | internal use. Make sure the maxlevels and level parameters get passed to recursive invocations.
* Muchly changed and improved pprint.py:Fred Drake1997-04-161-110/+167
| | | | | | | - handles recursive data structures - formatting based on a PrettyPrinter object - allows a maximum nesting depth to be specified - provides safe repr()-like function which does not pretty-print
* spliturl() should not throw away everything past first newlineGuido van Rossum1997-04-161-2/+4
|
* Reindented with 4 spaces.Guido van Rossum1997-04-161-816/+813
|
* Rewrite parsesequence() to emulate MH without invoking pick.Guido van Rossum1997-04-161-38/+132
| | | | Test it extensively by using pick.
* Checking in a copy of Fred Drake's data structure pretty-printerGuido van Rossum1997-04-161-0/+143
| | | | | | | | | | (with some slight formatting changes). Feature requests: - Make it a class (everything should be a class); - support recursive data structures (like pp.py on the ftp contrib site).
* Use uuencoded test images.Guido van Rossum1997-04-164-9/+1579
|
* Soft failure for Win32 and Mac platforms. Less output unless verbose.Guido van Rossum1997-04-161-3/+12
|
* Soft failure for Win32 platform.Guido van Rossum1997-04-161-0/+4
|
* No need to define assert, it's built in.Guido van Rossum1997-04-161-2/+2
|
* Patch by Craig McPheeters to clean up the back-references to widgetsGuido van Rossum1997-04-142-4/+46
| | | | contained in commands created by those same widgets.
* Remove Digital Creations copyright (Jim sez it's okay).Guido van Rossum1997-04-111-53/+0
|
* Catch and report ValueError raised by strftime.Guido van Rossum1997-04-111-4/+16
|
* (Jack+Guido:) interpret ../ in basejoin() according to RFC1808.Guido van Rossum1997-04-111-0/+7
|
* Open files in binary mode.Guido van Rossum1997-04-111-4/+4
|
* (Jack:) Better MacOS support.Guido van Rossum1997-04-111-0/+10
|
* (Jack:) Recognize PNG files.Guido van Rossum1997-04-111-0/+12
|
* From: Clarence Gardner <clarence@king.silcom.com>Guido van Rossum1997-04-111-2/+2
| | | | | | The function parse_qs currently calls urllib.unquote on the value of the field submitted, but not on the name. It needs to do both.
* base64 support by Sjoerd.Guido van Rossum1997-04-111-11/+25
|
* Use uuencoded test images.Guido van Rossum1997-04-097-166/+3333
|
* Don't just die when an error is not defined; print a warning instead.Guido van Rossum1997-04-091-4/+9
| | | | This for errno-challenged platforms like Windows.
* Try calling getpid() from /usr/lib/libc.so instead of some otherGuido van Rossum1997-04-091-4/+1
| | | | random things.
* Use TESTFN instead of /etc/passwd and /dev/null as test files.Guido van Rossum1997-04-091-5/+12
|
* support module for cPickleGuido van Rossum1997-04-091-0/+17
|
* New version by Digital Creations, supports binary format compatibleGuido van Rossum1997-04-091-427/+785
| | | | with cPickle.
* Ping's latest. Fixes triple quoted strings ending in oddGuido van Rossum1997-04-091-20/+31
| | | | #backslashes, and other stuff I don't know.
* while (1) -> while 1. Sorry.Guido van Rossum1997-04-081-1/+1
|
* Search for a valid begin line instead of requiring the first line.Guido van Rossum1997-04-081-9/+16
|
* Ka-Ping's muich improved version of March 26, 1997:Guido van Rossum1997-04-081-74/+98
| | | | | | # Ignore now accepts \f as whitespace. Operator now includes '**'. # Ignore and Special now accept \n or \r\n at the end of a line. # Imagnumber is new. Expfloat is corrected to reject '0e4'.
* Whole lotta changes.Guido van Rossum1997-04-0252-434/+2276
|
* Changed my mind on replace().Guido van Rossum1997-04-022-24/+4
| | | | | | It's now replace(str, old, new, maxsplit=0). Note new ordering of parameters (string first); this is more consistent with translate().
* Add #! line.Guido van Rossum1997-04-021-0/+2
|
* New doc strings.Guido van Rossum1997-04-021-1/+6
|
* Fix two small bugs with proxies.Guido van Rossum1997-04-021-1/+2
|
* New symbols due to assert statement.Guido van Rossum1997-04-021-32/+33
|
* New test output for test_builtinGuido van Rossum1997-04-021-0/+1
|
* Optimized the hell out of listmessages().Guido van Rossum1997-04-021-10/+8
| | | | | Changed numericprog regexpr to make it faster to check. Removed now unnecessary checks for os.curdir, os.pardir.
* Added test of complex() (that catches a bug in 1.4!).Guido van Rossum1997-03-311-0/+39
| | | | | Added test that ensures that int() and long() truncate float numbers towards zero.
* Change by Andrew Kuchling (edited by Guido):Guido van Rossum1997-03-251-17/+32
| | | | | | Removed unused import tempfile. Added some docstrings.
* Added new functions replace() and replace1().Guido van Rossum1997-03-252-0/+30
|
* Added a 'sync' method to shelve. If the underlying database does not have a ↵Roger E. Masse1997-03-251-0/+4
| | | | | | sync attribute, this method silently ignores this fact. The default (bsddb's dbhash) does.