- 11 May, 2000 3 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Calling Sleep(0) for a spinlock can cause a priority inversion, adding comments to explain what's going on.
-
- 10 May, 2000 8 kayıt (commit)
-
-
Fred Drake yazdı
extern "C" for C++.
-
Fred Drake yazdı
Explain that the name of the initialization function must be init<module>(). Omission noted by Daniel Kozan <crum@dev-group.com>.
-
Guido van Rossum yazdı
the notice yet).
-
Fred Drake yazdı
like the short, ambiguous name.
-
Fred Drake yazdı
Instead of using Netscape through os.system(), use the new browser.open() function to load the documentation on the default browser. On Windows, this will use the installed documentation if it exists, instead of hitting python.org.
-
Fred Drake yazdı
Web browsers.
-
Jack Jansen yazdı
GUSI 2.0.5 has a non-functional getsockname() if you use Open Transport. For now the workaround is to only enable MacTCP sockets.
-
Guido van Rossum yazdı
Use "win32" for sys.platform on Win64 instead of "win32" because: 1. While it may be confusing to the Python scriptor on Win64 that he has to check for win*32*, that is something that he will learn the first time. It is better than the alternative of the scriptor happily using "win64" and then that code not running on Win32 for no good reason. 2. The main question is: is Win64 so much more like Win32 than different from it that the common-case general Python programmer should not ever have to make the differentiation in his Python code. Or, at least, enough so that such differentiation by the Python scriptor is rare enough that some other provided mechanism is sufficient (even preferable). Currently the answer is yes. Hopefully MS will not change this answer.
-
- 09 May, 2000 29 kayıt (commit)
-
-
Fred Drake yazdı
Limit the 'b' formatter of PyArg_ParseTuple to valid values of an unsigned char, i.e. [0,UCHAR_MAX]. It is expected that this is the common usage of 'b'. An OverflowError is raised if the parsed value is outside this range.
-
Fred Drake yazdı
Added a useful link to Markus Kuhn's Unicode and UTF-8 FAQ.
-
Fred Drake yazdı
Added another test for string formatting (the one that produced the core dump now fixed in unicodeobject.c).
-
Fred Drake yazdı
Added APIs to allow setting and querying the system's current string encoding: sys.set_string_encoding() and sys.get_string_encoding().
-
Fred Drake yazdı
Moved some docs to the include file. Added a NULL check to _PyCodec_Lookup() to make it core dump safe.
-
Fred Drake yazdı
Fixed docs according to the new behaviour (the Unicode encoding is no longer fixed to UTF-8).
-
Fred Drake yazdı
M.-A. Lemburg <mal@lemburg.com>: Fixed a core dump in PyUnicode_Format().
-
Fred Drake yazdı
Added support for user settable default encodings. The current implementation uses a per-process global which defines the value of the encoding parameter in case it is set to NULL (meaning: use the default encoding).
-
Fred Drake yazdı
Fixed a bug due to a /* inside /*...*/. GCC doesn't like this and bombs.
-
Fred Drake yazdı
Added PyUnicode_GetDefaultEncoding() and PyUnicode_GetDefaultEncoding() APIs.
-
Fred Drake yazdı
Added documentation and the missing PyCodec_StreamWriter API.
-
Guido van Rossum yazdı
into. Jim writes: The core dump was due to a C decrement operation in a macro invocation in load_pop. (BAD) I fixed this by moving the decrement outside the macro call. I added a comment to load_pop and load_mark to document the fact that cPickle separates the unpickling stack into two separate stacks, one for objects and one for marks. I also moved some increments out of some macro calls (PyTuple_SET_ITEM and PyList_SET_ITEM). This wasn't necessary, but made me feel better. :) I tested these changes in *my* cPickle, which doesn't have the new Unicode stuff.
-
Fred Drake yazdı
filename parameter. Noted by Randall Hopper <aa8vb@yahoo.com>.
-
Fred Drake yazdı
The intent is that this diff adds a link to the rfc822 module doc and an index reference to this module under the rfc822 heading. Fred, based on a suggestion from Grant Griffin <grant.griffin@honeywell.com>: Added link to the MIME FAQ, so people can more easily get more information about the subject of the module.
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
reasonably. readfp() method: added documentation.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
the server after it died doesn't require a wait period.
-
Guido van Rossum yazdı
server_bind() method calls setsockopt(SOL_SOCKET, SO_REUSEADDR, 1).
-
Fred Drake yazdı
Instead of wrapping 'filenames' value in a list if it's a string, wrap it if it's a string or unicode string.
-
Fred Drake yazdı
option name for clarity.
-
Guido van Rossum yazdı
is required" (we can't say more because we don't know in which context it is called).
-
Guido van Rossum yazdı
Fix the string methods that implement slice-like semantics with optional args (count, find, endswith, etc.) to properly handle indeces outside [INT_MIN, INT_MAX]. Previously the "i" formatter for PyArg_ParseTuple was used to get the indices. These could overflow. This patch changes the string methods to use the "O&" formatter with the slice_index() function from ceval.c which is used to do the same job for Python code slices (e.g. 'abcabcabc'[0:1000000000L]).
-
Guido van Rossum yazdı
with a dot. [GvR change: only unstuff when line starts with two dots.]
-
Jack Jansen yazdı
-
Jack Jansen yazdı
Fixed the help strings. Swapped the macfsn and help button numbers.
-
Jack Jansen yazdı
Internet Config to set creator/type based on the extension. Donated by Oliver Steele.
-
Greg Ward yazdı
-