- 16 Aug, 2000 13 commits
-
-
Trent Mick authored
(64-bit AIX) This is because the RECURSION_LIMIT is too low. This patch lowers to recusion limit to 7500 such that the recusion check fires before a segfault. Fredrik suggested/approved the fix in private email, modulo sre's recusion limit checking no being necessary when PyOS_CheckStack is implemented for Windows.
-
Fred Drake authored
Further examples of list comprehensions.
-
Peter Schneider-Kamp authored
-
Barry Warsaw authored
First, the allocated buffer was never freed after using it to create the PyString object. Second, it was possible that have_filename would be false (meaning that filename was not a PyString object), but that the code would still try to PyString_GET_SIZE() it.
-
Trent Mick authored
This closes patch: http://sourceforge.net/patch/index.php?func=detailpatch&patch_id=101176&group_id=5470
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
of the init_socket() function. This module is now *always* _socket.
-
Fred Drake authored
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 authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
- 15 Aug, 2000 27 commits
-
-
Mark Hammond authored
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 authored
'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 authored
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 authored
-
Fred Drake authored
Update the grammar to reflect the most recent changes to list comprehensions.
-
Fred Drake authored
Adjusted some markup for consistency with the rest of the documentation and creation of the proper index entries.
-
Tim Peters authored
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 authored
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 authored
my last set of changes.
-
Fred Drake authored
This closes SourceForge bug #110628 (Jitterbug PR#278).
-
Fred Drake authored
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 authored
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 authored
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 authored
-
Greg Ward authored
'--source-only' options.
-
Greg Ward authored
hack to find the two created RPM files (source and binary) and move them to the "dist dir" (default "dist").
-
Greg Ward authored
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 authored
-
Barry Warsaw authored
-
Barry Warsaw authored
unhexlify() respectively).
-
Barry Warsaw authored
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 authored
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 authored
had yet-another Python implementation of a binary-data-to-hex-digit encoder!
-
Barry Warsaw authored
-
Barry Warsaw authored
to this module to mirror sha's hexdigest() method.
-
Fred Drake authored
PyErr_Restore().
-
Fred Drake authored
-