Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added fnmatch, base64 and quopri, received from Andrew Kuchling. | Guido van Rossum | 1997-04-27 | 13 | -1/+250 |
| | |||||
* | Restore two features of the original 1.4 pickle: | Guido van Rossum | 1997-04-25 | 1 | -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 new | Guido van Rossum | 1997-04-25 | 1 | -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 the | Guido van Rossum | 1997-04-25 | 1 | -3/+7 |
| | | | | <letter><string> notation to 'r' and 'R'. | ||||
* | Expand one level of symbolic link in sys.argv[0] before inserting its | Guido van Rossum | 1997-04-25 | 1 | -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 three | Guido van Rossum | 1997-04-23 | 1 | -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 Rossum | 1997-04-21 | 1 | -4/+19 |
| | |||||
* | Fix a couple of glitches identified by Greg Stein. | Fred Drake | 1997-04-18 | 1 | -4/+3 |
| | |||||
* | _safe_repr(): Make the context parameter required; ok since it's only for | Fred Drake | 1997-04-16 | 1 | -10/+9 |
| | | | | | internal use. Make sure the maxlevels and level parameters get passed to recursive invocations. | ||||
* | Muchly changed and improved pprint.py: | Fred Drake | 1997-04-16 | 1 | -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 newline | Guido van Rossum | 1997-04-16 | 1 | -2/+4 |
| | |||||
* | Removed pprint.py. | Fred Drake | 1997-04-16 | 2 | -137/+0 |
| | | | | Removed pprint.py from the README; it's now in the standard lib. | ||||
* | Reindented with 4 spaces. | Guido van Rossum | 1997-04-16 | 1 | -816/+813 |
| | |||||
* | Rewrite parsesequence() to emulate MH without invoking pick. | Guido van Rossum | 1997-04-16 | 1 | -38/+132 |
| | | | | Test it extensively by using pick. | ||||
* | Checking in a copy of Fred Drake's data structure pretty-printer | Guido van Rossum | 1997-04-16 | 1 | -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 Rossum | 1997-04-16 | 2 | -2/+2 |
| | |||||
* | Use uuencoded test images. | Guido van Rossum | 1997-04-16 | 4 | -9/+1579 |
| | |||||
* | Soft failure for Win32 and Mac platforms. Less output unless verbose. | Guido van Rossum | 1997-04-16 | 1 | -3/+12 |
| | |||||
* | Soft failure for Win32 platform. | Guido van Rossum | 1997-04-16 | 1 | -0/+4 |
| | |||||
* | No need to define assert, it's built in. | Guido van Rossum | 1997-04-16 | 1 | -2/+2 |
| | |||||
* | Always use spaces for indentation. | Fred Drake | 1997-04-15 | 1 | -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 widgets | Guido van Rossum | 1997-04-14 | 2 | -4/+46 |
| | | | | contained in commands created by those same widgets. | ||||
* | Remove Digital Creations copyright (Jim sez it's okay). | Guido van Rossum | 1997-04-11 | 1 | -53/+0 |
| | |||||
* | Catch and report ValueError raised by strftime. | Guido van Rossum | 1997-04-11 | 1 | -4/+16 |
| | |||||
* | OK, I lied. On Windows, _IOLBF seems to be the same as full | Guido van Rossum | 1997-04-11 | 1 | -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 Rossum | 1997-04-11 | 1 | -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 Rossum | 1997-04-11 | 5 | -29/+31 |
| | |||||
* | Keep gcc -Wall and Microsoft VC happy. | Guido van Rossum | 1997-04-11 | 6 | -28/+31 |
| | |||||
* | Removed two unused static function: string_addsep() and | Barry Warsaw | 1997-04-11 | 1 | -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 Rossum | 1997-04-11 | 1 | -2/+23 |
| | |||||
* | (Jack:) On the Mac, don't automatically enable dynamic loading. | Guido van Rossum | 1997-04-11 | 1 | -8/+0 |
| | |||||
* | (Jack:) Don't define TRUE and FALSE if already defined. | Guido van Rossum | 1997-04-11 | 1 | -1/+4 |
| | |||||
* | (Jack:) On the Mac, use standard strerror() if using MSL C-library. | Guido van Rossum | 1997-04-11 | 1 | -0/+2 |
| | |||||
* | (Jack:) On the Mac, give syntax error on \r. | Guido van Rossum | 1997-04-11 | 1 | -0/+11 |
| | |||||
* | (Jack:) Align mapping entries to 4-words if USE_CACHE_ALIGNED is defined. | Guido van Rossum | 1997-04-11 | 2 | -0/+6 |
| | |||||
* | (Jack:) fopen arg typo (?) "rw" changed to "rb". | Guido van Rossum | 1997-04-11 | 1 | -1/+1 |
| | |||||
* | (Jack:) Mac only: get GUSI errno.h values too. | Guido van Rossum | 1997-04-11 | 1 | -0/+5 |
| | |||||
* | (Jack+Guido:) interpret ../ in basejoin() according to RFC1808. | Guido van Rossum | 1997-04-11 | 1 | -0/+7 |
| | |||||
* | Open files in binary mode. | Guido van Rossum | 1997-04-11 | 1 | -4/+4 |
| | |||||
* | (Jack:) Better MacOS support. | Guido van Rossum | 1997-04-11 | 1 | -0/+10 |
| | |||||
* | (Jack:) Recognize PNG files. | Guido van Rossum | 1997-04-11 | 1 | -0/+12 |
| | |||||
* | Remove the Emacs shell-script line. It's not a shell script. | Guido van Rossum | 1997-04-11 | 1 | -1/+0 |
| | |||||
* | From: Clarence Gardner <clarence@king.silcom.com> | Guido van Rossum | 1997-04-11 | 1 | -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 Rossum | 1997-04-11 | 1 | -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 Rossum | 1997-04-11 | 1 | -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 Rossum | 1997-04-11 | 1 | -0/+2 |
| | |||||
* | Oops, added <URL:...> around the URL. | Guido van Rossum | 1997-04-11 | 1 | -1/+1 |
| | |||||
* | (Sjoerd:) Incorporate `build number' stuff. | Guido van Rossum | 1997-04-11 | 1 | -2/+8 |
| | |||||
* | (Sjoerd:) Install getbuildinfo.c in config/ so extensions can use it. | Guido van Rossum | 1997-04-11 | 1 | -0/+1 |
| | |||||
* | Bugfix by Sjoerd: | Guido van Rossum | 1997-04-11 | 1 | -1/+5 |
| | | | | | /* x_ocount is in bytes, wheras play.samples is in frames */ /* we want frames */ |