- 24 Eki, 1998 6 kayıt (commit)
-
-
Guido van Rossum yazdı
unlink() or fdopen() fail, close the file descriptor and re-raise the exception.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
values (4.7.1) should return l, not a. Reported by Axel Boldt.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
filenames generated are easily predictable, it is possible to trick an unsuspecting program into overwriting another file by creating a symbolic link with the predicted name. Fix this by using the low-level os.open() function with the O_EXCL flag and mode 0700. On non-Unix platforms, presumably there are no symbolic links so the problem doesn't exist. The explicit test for Unix (posix, actually) makes it possible to change the non-Unix logic to work without a try-except clause. The mktemp() file is as unsafe as ever.
-
Guido van Rossum yazdı
-
- 22 Eki, 1998 15 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
own version.
-
Guido van Rossum yazdı
""" I've attached a long overdue patch to pickle.py to bring it to format 1.3, which is the same as 1.2 except that the binary float format is supported. This is done using the new platform-indepent format features of struct. This patch also gets rid of the undocumented obsolete Pickler dump_special method. """
-
Barry Warsaw yazdı
Added a To Do list.
-
Barry Warsaw yazdı
show(): added color keyword here so that the selected color can be chosen on each invocation of askcolor(). Also fixed this class, and askcolor() so that the same Chooser instance can be re-used instead of creating a new one on each invocation of askcolor(). Added a module function save() which can be used to explicitly save the option database in ~/.pynche. This does not happen automatically when used as a modal.
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
canceled() takes an optional flag so that the canceled flag can be cleared.
-
Barry Warsaw yazdı
deiconify(): New method
-
Barry Warsaw yazdı
main() so that run-as-modal doesn't automatically save database.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
""" I had originally not realized that PyEval_GetGlobals did not INCREF it's return value. The fix is to add the INCREF, as shown below. """
-
Jack Jansen yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
tkColorChooser.askcolor() interface (i.e. don't return a color name even if there is an exact match).
-
Barry Warsaw yazdı
run either as a standalone application (by running pynche or pynche.pyw), or as a modal dialog inside another application. This can be done by importing pyColorChooser and running askcolor(). The API for this is the same as the tkColorChooser.askcolor() API, namely: When `Okay' is hit, askcolor() returns ((r, g, b), "name"). When `Cancel' is hit, askcolor() returns (None, None). Note the following differences: 1. pyColorChooser.askcolor() takes an optional keyword `master' which if set tells Pynche to run as a modal dialog. `master' is a Tkinter parent window. Without the `master' keyword Pynche runs standalone. 2. in pyColorChooser.askcolor() will return a Tk/X11 color name as "name" if there is an exact match, otherwise it will return a color spec, e.g. "#rrggbb". tkColorChooser can't return a color name. There are also some UI differences when running standalone vs. modal. When modal, there is no "File" menu, but instead there are "Okay" and "Cancel" buttons. The implementation of all this is a bit of a hack, but it seems to work moderately well. I'm not guaranteeing the pyColorChooser.Chooser class has the same semantics as the tkColorChooser.Chooser class.
-
- 21 Eki, 1998 12 kayıt (commit)
-
-
Guido van Rossum yazdı
""" Jochen Hayek has reported a problem with some versions of IMAP4 servers that choose to mix the case in their CAPABILITIES response. The patch below fixes the problem. """
-
Guido van Rossum yazdı
(The GLHACK variable isn't really needed since the change to glmodule.c, but I'm too busy to remove it. It's harmless.)
-
Guido van Rossum yazdı
solves the conflict with curses over the 'clear' entry point much nicer. (Jack had checked in the changes to cstubs eons ago, but I never regenrated glmodule.c :-( )
-
Guido van Rossum yazdı
Noted by Fredrik Lundh. (Note -- this module is pretty silly.)
-
Guido van Rossum yazdı
the compilation flags for the gl, fl and fm modules. This avoids a name conflict with the curses module (both gl and curses have an entry point called 'clear').
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Jack Jansen yazdı
-
Fred Drake yazdı
the latest latex2html beta.
-
Fred Drake yazdı
the latest latex2html beta.
-
Fred Drake yazdı
with the latest latex2html.
-
- 20 Eki, 1998 5 kayıt (commit)
-
-
Barry Warsaw yazdı
-
Fred Drake yazdı
based on email from Ross Moore <ross@mpce.mq.edu.au>. Set $HTML_VERSION to 4.0, since that's what we really generate (well, 4.0 "transitional").
-
Guido van Rossum yazdı
""" the NEWS file of Python 1.5.2a2 inspired me to look at Tools/scripts/untabify.py. I wonder why it accepts a -t argument but ignores it. The following patch tries to make it somewhat useful (i.e., to override the tabsize=8 setting). Is that agreeable? """
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
""" The FieldStorage constructor calls the read_multi method. The read_multi method creates new FieldStorage objects, re-invoking the constructor (on the new objects). The problem is that the 'environ', 'keep_blank_values', and 'strict_parsing' arguments originally passed to the constructor are not propigated to the new object constructors. This causes os.environ to be used, leading to a miss-handling of the parts. I fixed this by passing these arguments to read_multi and then on to the constructor. See the context diff below. """
-
- 19 Eki, 1998 2 kayıt (commit)
-
-
Fred Drake yazdı
-
Fred Drake yazdı
-