- 15 Aug, 2000 21 commits
-
-
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
-
http://sourceforge.net/bugs/?func=detailbug&bug_id=111866&group_id=5470Tim Peters authored
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 authored
-
Mark Hammond authored
The existing win32_error() function now returns the new(ish) WindowsError, ensuring we get correct error messages.
-
Mark Hammond authored
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.
-
- 14 Aug, 2000 14 commits
-
-
Mark Hammond authored
-
Fred Drake authored
string literals has not been tested on an MS_WIN16 platform; the trailing ";" was inside the #ifndef MS_WIN16, which should cause an error (missing semi-colon) when compiled with that symbol #defined.
-
Fred Drake authored
old Jitterbug interface.
-
Fred Drake authored
-
Fred Drake authored
big-endian machines and "little" for little-endian machines.
-
Fred Drake authored
<den@analyt.chem.msu.ru>.
-
Marc-André Lemburg authored
resized after creation. 0-length strings are usually shared and _PyString_Resize() fails on these shared strings. Fixes [ Bug #111667 ] unicode core dump.
-
Mark Hammond authored
Test for fix to bug #110673: os.abspatth() now always returns os.getcwd() on Windows, if an empty path is specified. It previously did not if an empty path was delegated to win32api.GetFullPathName())
-
Mark Hammond authored
Fix for Bug #110673: os.abspatth() now always returns os.getcwd() on Windows, if an empty path is specified. It previously did not if an empty path was delegated to win32api.GetFullPathName())
-
Mark Hammond authored
-
Mark Hammond authored
Support for building the new w9xpopen.exe, which is used for reliable popen operation on Windows 9x.
-
Mark Hammond authored
Ensure the "proxied" command's return code bubbles back up.
-
Mark Hammond authored
This is an enhancement to a prior patch (100941) ... [T]his patch removes the risk of deadlock waiting for the child previously present in certain cases. It adds tracking of all file handles returned from an os.popen* call and only waits for the child process, returning the exit code, on the closure of the final file handle to that child.
-
Fred Drake authored
by Edward K. Ream <edream@users.sourceforge.net> about FILE* values and incompatible C libraries in dynamically linked extensions. It is not clear (to me) how realistic the issue is, but it is better documented than not. This closes SourceForge bug #111520.
-
- 13 Aug, 2000 5 commits
-
-
Trent Mick authored
http://www.python.org/pipermail/python-checkins/2000-August/007072.html and make PCbuild/*.dsp PCbuild/*.dsw binary again.
-
-
Thomas Wouters authored
node, without checking if the node actually had more than one child. It can have only one node, though: '[' test ']'. This fixes it.
-
Vladimir Marangozov authored
-
Greg Ward authored
and is much better documented to boot.
-