- 25 Apr, 1997 3 commits
-
-
Guido van Rossum authored
cPickle-compatible pickle, and pickle must be importable in restricted mode. I guess I'll have to make marshal safe.
-
Guido van Rossum authored
<letter><string> notation to 'r' and 'R'.
-
Guido van Rossum authored
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).
-
- 23 Apr, 1997 1 commit
-
-
Guido van Rossum authored
subdirectories can be made in parallel (unfortunately, Modules has to depend on all three).
-
- 21 Apr, 1997 1 commit
-
-
Guido van Rossum authored
-
- 18 Apr, 1997 1 commit
-
-
Fred Drake authored
-
- 16 Apr, 1997 12 commits
-
-
Fred Drake authored
internal use. Make sure the maxlevels and level parameters get passed to recursive invocations.
-
Fred Drake authored
- 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
-
Guido van Rossum authored
-
Fred Drake authored
Removed pprint.py from the README; it's now in the standard lib.
-
Guido van Rossum authored
-
Guido van Rossum authored
Test it extensively by using pick.
-
Guido van Rossum authored
(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).
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
- 15 Apr, 1997 1 commit
-
-
Fred Drake authored
Added pformat() function: formats object to a string representation with no trailing newline; returns the string.
-
- 14 Apr, 1997 1 commit
-
-
Guido van Rossum authored
contained in commands created by those same widgets.
-
- 11 Apr, 1997 20 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
buffering, so to get the normal behavior back, I set it to unbuffered.
-
Guido van Rossum authored
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.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Barry Warsaw authored
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.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-