summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove renaming instructions for ANY -- this is not renamed inGuido van Rossum1997-04-291-1/+0
| | | | | mymalloc.h. (Since it's a macro, I don't care much. It is used internally only; others can use void *.)
* Quickly renamed.Guido van Rossum1997-04-291-799/+798
|
* Track updates in rename2.h.Guido van Rossum1997-04-291-14/+2
|
* Added new name for inittab!Guido van Rossum1997-04-291-0/+1
|
* Remove macros that are only used for cgensupport.[ch].Guido van Rossum1997-04-291-14/+2
| | | | Fixed typo in PyArg_VaParse (not PyArgs_*).
* Moved cgensupport.h to Modules (awaiting oblivion).Guido van Rossum1997-04-291-94/+0
|
* Added -I$(srcdir) to line for glmodule so we can move cgensupport.h here.Guido van Rossum1997-04-291-1/+1
|
* Moved to ../Modules.Guido van Rossum1997-04-291-384/+0
|
* Change the exception objects to have the string value "os.error"Guido van Rossum1997-04-291-2/+2
| | | | instead "posix.error" or "nt.error".
* Adapt Mac specific code to new universal headers (I think -- this isGuido van Rossum1997-04-291-3/+3
| | | | Jack's code).
* Hm. What was previously checked in was the edited *output* of the oldGuido van Rossum1997-04-291-704/+693
| | | | | | | cgen.py. Now that cgen.py and cstubs have been quickly renamed, check in the actual output. This has some "old-style" names left in (getilongarg etc.) but these are now take care of by macros in cgensupport.h (which is now specific to glmodule.c).
* Moved here from ../Python and quickly renamed.Guido van Rossum1997-04-291-128/+128
|
* Removed cgensupport.[co] (to ../Modules).Guido van Rossum1997-04-291-2/+1
|
* Added cgensupport.o.Guido van Rossum1997-04-291-0/+3
|
* Added cgensupport.c to Setup line for gl module.Guido van Rossum1997-04-291-1/+8
| | | | Addeed Andrew Kuchling's zlib module.
* Added Jeremy's resource module.Guido van Rossum1997-04-291-0/+240
|
* Quickly renamed.Guido van Rossum1997-04-292-250/+247
|
* Added Andrew Kuchling's zlib module.Guido van Rossum1997-04-291-0/+670
|
* Moved rename2's macros relevant to this module here and added commentGuido van Rossum1997-04-292-0/+30
| | | | about the file's obsolescence.
* Quickly renamed.Guido van Rossum1997-04-291-100/+101
|
* 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.
* Note that passing a filename to uu.{en,de}code() is deprecated.Guido van Rossum1997-04-272-18/+16
|
* 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.