summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added fnmatch, base64 and quopri, received from Andrew Kuchling.Guido van Rossum1997-04-2713-1/+250
|
* 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.
* Now that the string-sig has settled on r"obin" strings, restrict theGuido van Rossum1997-04-251-3/+7
| | | | <letter><string> notation to 'r' and 'R'.
* Expand one level of symbolic link in sys.argv[0] before inserting itsGuido van Rossum1997-04-251-8/+41
| | | | | | | | | | | | | | dirname in sys.path. This means that you can create a symbolic link foo in /usr/local/bin pointing to /usr/yourname/src/foo/foo.py, and then invoking foo will insert /usr/yourname/src/foo in sys.path, not /usr/local/bin. This makes it easier to have multifile programs (before, the program would have to do an os.readlink(sys.argv[0]) itself and insert the resulting directory in sys.path -- Grail does this). Note that the expansion is only used for sys.path; sys.argv[0] is still the original, unadorned filename (/usr/local/bin/foo in the example).
* Unroll the for loop used for building python, so the first threeGuido van Rossum1997-04-231-9/+19
| | | | | subdirectories can be made in parallel (unfortunately, Modules has to depend on all three).
* 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
|
* Removed pprint.py.Fred Drake1997-04-162-137/+0
| | | | Removed pprint.py from the README; it's now in the standard lib.
* 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).
* OK, ready to make 'assert' a keyword (instead of '__assert__').Guido van Rossum1997-04-162-2/+2
|
* 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
|
* Always use spaces for indentation.Fred Drake1997-04-151-17/+16
| | | | | Added pformat() function: formats object to a string representation with no trailing newline; returns the string.
* 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
|
* OK, I lied. On Windows, _IOLBF seems to be the same as fullGuido van Rossum1997-04-111-4/+8
| | | | | buffering, so to get the normal behavior back, I set it to unbuffered.
* Change in when and how stdin and stdout are set to line-buffering.Guido van Rossum1997-04-111-3/+5
| | | | | | | This used to be done whenever stdin was interactive. Now we only do it when the -i flag is given. Also (and this is the real reason for this fix) we explicitly allocate a buffer -- this seems to be necessary on Windows.
* Keep Microsoft VC happy.Guido van Rossum1997-04-115-29/+31
|
* Keep gcc -Wall and Microsoft VC happy.Guido van Rossum1997-04-116-28/+31
|
* Removed two unused static function: string_addsep() andBarry Warsaw1997-04-111-98/+61
| | | | | | | | | string_append(). These must be artifacts of GvR's rewrite. Fixed some typos in the leading comment (and re-filled the paragraphs). Hope you don't mind, Guido.
* My own patch: support writable 'softspace' attribute.Guido van Rossum1997-04-111-2/+23
|
* (Jack:) On the Mac, don't automatically enable dynamic loading.Guido van Rossum1997-04-111-8/+0
|
* (Jack:) Don't define TRUE and FALSE if already defined.Guido van Rossum1997-04-111-1/+4
|
* (Jack:) On the Mac, use standard strerror() if using MSL C-library.Guido van Rossum1997-04-111-0/+2
|
* (Jack:) On the Mac, give syntax error on \r.Guido van Rossum1997-04-111-0/+11
|
* (Jack:) Align mapping entries to 4-words if USE_CACHE_ALIGNED is defined.Guido van Rossum1997-04-112-0/+6
|
* (Jack:) fopen arg typo (?) "rw" changed to "rb".Guido van Rossum1997-04-111-1/+1
|
* (Jack:) Mac only: get GUSI errno.h values too.Guido van Rossum1997-04-111-0/+5
|
* (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
|
* Remove the Emacs shell-script line. It's not a shell script.Guido van Rossum1997-04-111-1/+0
|
* 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.
* The default path components are now all relative instead of absolute paths.Guido van Rossum1997-04-111-6/+10
| | | | | | This completes the getpath.c checkin. Note that to enable this in an existing build tree, you'll have to edit your Setup and Setup.in file to remove the $(DESTLIB) from all the PATH variable definitions.
* Completely revamped the way the default path is constructed.Guido van Rossum1997-04-111-34/+531
| | | | | | | Idea and first three implementation rounds due to Barry -- after that I spent another day on it, hopefully it's enough for now :-) (Wait for the checkin to Setup.in.)
* Pass VERSION and VPATH into getpath.c.Guido van Rossum1997-04-111-0/+2
|
* Oops, added <URL:...> around the URL.Guido van Rossum1997-04-111-1/+1
|
* (Sjoerd:) Incorporate `build number' stuff.Guido van Rossum1997-04-111-2/+8
|
* (Sjoerd:) Install getbuildinfo.c in config/ so extensions can use it.Guido van Rossum1997-04-111-0/+1
|
* Bugfix by Sjoerd:Guido van Rossum1997-04-111-1/+5
| | | | | /* x_ocount is in bytes, wheras play.samples is in frames */ /* we want frames */