- 16 Agu, 2000 9 kayıt (commit)
-
-
Trent Mick yazdı
This closes patch: http://sourceforge.net/patch/index.php?func=detailpatch&patch_id=101176&group_id=5470
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
of the init_socket() function. This module is now *always* _socket.
-
Fred Drake yazdı
socket.py is used for all platforms, and it defines the additional classes and alternate socket() function for Windows and BeOS systems. The plat-*/socket.py files are no longer needed, since there is a shared socket.py. make_fqdn() is provided, but I decided to call it getfqdn() to be consistent with the other names in the socket module. Since it is really a "get" operation and does not create a new name, this is the right name to give it. Move the docstring here from the _socket module.
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
- 15 Agu, 2000 31 kayıt (commit)
-
-
Mark Hammond yazdı
This patch makes it possible to use gnu-win32 and lcc-win32 (http://www.cs.virginia.edu/~lcc-win32/) compilers to build extension modules. It adds compiler specific sections to PC/config.h . It also extends the Borland compiler section. This has then two parts, one for Win32 and the other one for the rest. The Win32 part should be almost complete. *** This patch is not intended to make it possible to compile Python with these compilers, it is intended to be able to use these compilers to build extension modules. ****
-
Thomas Wouters yazdı
'helo' and 'ehlo' message, and exports the 'make_fqdn' function. This function should be moved to socket.py, if that module ever gets a Python wrapper.
-
Fred Drake yazdı
Minor updates for BeOS R5. Use of OSError in test.test_fork1 changed to TestSkipped, with corresponding change in BeOS/README (by Fred). This closes SourceForge patch #100978.
-
Fred Drake yazdı
-
Fred Drake yazdı
Update the grammar to reflect the most recent changes to list comprehensions.
-
Fred Drake yazdı
Adjusted some markup for consistency with the rest of the documentation and creation of the proper index entries.
-
Tim Peters yazdı
in binascii.c (only on platforms with signed chars -- although Py_CHARMASK is documented as returning an int, it only does so on platforms with signed chars).
-
Fred Drake yazdı
returning a pointer to the start of the file's "base" name; similar to os.path.basename(). SyntaxError__str__(): Use my_basename() to keep the length of the file name included in the exception message short.
-
Fred Drake yazdı
my last set of changes.
-
Fred Drake yazdı
This closes SourceForge bug #110628 (Jitterbug PR#278).
-
Fred Drake yazdı
filename and lineno attributes, but do not mask the SyntaxError if we fail. This is part of what is needed to close SoruceForge bug #110628 (Jitterbug PR#278). Wrap a long line to fit in under 80 columns.
-
Fred Drake yazdı
filename and lineno attributes, but do not mask the SyntaxError if we fail. This is part of what is needed to close SoruceForge bug #110628 (Jitterbug PR#278).
-
Fred Drake yazdı
than depending on the site that raises the exception. If the filename and lineno attributes are set on the exception object, use them to augment the message displayed. This is part of what is needed to close SoruceForge bug #110628 (Jitterbug PR#278).
-
Greg Ward yazdı
-
Greg Ward yazdı
'--source-only' options.
-
Greg Ward yazdı
hack to find the two created RPM files (source and binary) and move them to the "dist dir" (default "dist").
-
Greg Ward yazdı
represents packages as strings, not tuples. This allowed a simplification in 'get_package_dir()', too -- can now assume that 'package' is a string.
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
unhexlify() respectively).
-
Barry Warsaw yazdı
commonly used functions to convert an arbitrary binary string into a hexadecimal digit representation and back again. These are often (and often differently) implemented in Python. Best to have one common fast implementation. Specifically, binascii_hexlify(): a.k.a. b2a_hex() to return the hex representation of binary data. binascii_unhexlify(): a.k.a. a2b_hex() to do the inverse conversion (hex digits to binary data). The argument must have an even length, and must contain only hex digits, otherwise a TypeError is raised.
-
Barry Warsaw yazdı
after a brief conversation with TP. First, the return values of the PyString_* function calls should be checked for errors. Second, bit-manipulations should be used instead of division for spliting the byte up into its 4 bit digits.
-
Barry Warsaw yazdı
had yet-another Python implementation of a binary-data-to-hex-digit encoder!
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
to this module to mirror sha's hexdigest() method.
-
Fred Drake yazdı
PyErr_Restore().
-
Fred Drake yazdı
-
http://sourceforge.net/bugs/?func=detailbug&bug_id=111866&group_id=5470Tim Peters yazdı
This was a misleading bug -- the true "bug" was that hash(x) gave an error return when x is an infinity. Fixed that. Added new Py_IS_INFINITY macro to pyport.h. Rearranged code to reduce growing duplication in hashing of float and complex numbers, pushing Trent's earlier stab at that to a logical conclusion. Fixed exceedingly rare bug where hashing of floats could return -1 even if there wasn't an error (didn't waste time trying to construct a test case, it was simply obvious from the code that it *could* happen). Improved complex hash so that hash(complex(x, y)) doesn't systematically equal hash(complex(y, x)) anymore.
-
David Scherer yazdı
-
Mark Hammond yazdı
The existing win32_error() function now returns the new(ish) WindowsError, ensuring we get correct error messages.
-
Mark Hammond yazdı
Fix the parent of WindowsError - both the comments in this source file, and the previous exceptions.py have WindowsError as a sub-class of OSError.
-