- 25 Nis, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
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 Nis, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
subdirectories can be made in parallel (unfortunately, Modules has to depend on all three).
-
- 21 Nis, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 18 Nis, 1997 1 kayıt (commit)
-
-
Fred Drake yazdı
-
- 16 Nis, 1997 12 kayıt (commit)
-
-
Fred Drake yazdı
internal use. Make sure the maxlevels and level parameters get passed to recursive invocations.
-
Fred Drake yazdı
- 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 yazdı
-
Fred Drake yazdı
Removed pprint.py from the README; it's now in the standard lib.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Test it extensively by using pick.
-
Guido van Rossum yazdı
(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 yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
- 15 Nis, 1997 1 kayıt (commit)
-
-
Fred Drake yazdı
Added pformat() function: formats object to a string representation with no trailing newline; returns the string.
-
- 14 Nis, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
contained in commands created by those same widgets.
-
- 11 Nis, 1997 22 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
buffering, so to get the normal behavior back, I set it to unbuffered.
-
Guido van Rossum yazdı
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 yazdı
-
Guido van Rossum yazdı
-
Barry Warsaw yazdı
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 yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
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.
-
Guido van Rossum yazdı
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.
-