- 11 Apr, 2001 5 commits
-
-
Jeremy Hylton authored
Fix based on patch #414750 by Michael Hudson. New functions get_func_name() and get_func_desc() return reasonable names and descriptions for all objects. XXX Even objects that aren't actually callable.
-
Moshe Zadka authored
This fixes 413135
-
Moshe Zadka authored
getopt and GNU getopt -- Python is like classical UNIX getopt.
-
Fred Drake authored
Change "EOF" to "end-of-file", on the premise that it is easier for new programmers to understand (at least a little). This does not attempt to explain "file or device attached to standard input."
-
Ka-Ping Yee authored
can close the request connection when it's done handling it.
-
- 10 Apr, 2001 35 commits
-
-
Neil Schemenauer authored
strip them. Closes patch #406287.
-
Fred Drake authored
Added description of optional parameter to the TestSuite constructor. Added descriptions of the TestLoader and TextTestRunner classes. Added method descriptions for the TestCase class.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
modified from setup.py version "1.37" to support BeOS build. Contributed by Donn Cave (SF patch 411830).
-
Guido van Rossum authored
wrongly. Fixed this. This closes SF bug #412682.
-
Fred Drake authored
Added reference to the webbrowser module from the nsremote description.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
Add a description of the ReferenceError exception.
-
Fred Drake authored
-
Guido van Rossum authored
Michael Hudson suggested this fox for the Tru64 problem (SF bug 232597). It looks reasonable, it works on Tru64, and it doesn't beak anything on Linux, so I say go for it.
-
Fred Drake authored
-
Fred Drake authored
instead of using the mapping() function.
-
Thomas Heller authored
rebuild.
-
Fred Drake authored
Update the attribution for the "Curses Programming with Python" How-To. Change the way the reference to the Demo/curses/ directory is marked up.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
the way we handle verbatim, so that it picks up the same indentation and minipage behavior.
-
Guido van Rossum authored
This came out of SF bug #411881.
-
Guido van Rossum authored
This came out of SF bug #411881.
-
Guido van Rossum authored
This came out of SF bug #411881. Note that there's another unqualified except: still.
-
Fred Drake authored
-
Guido van Rossum authored
Try to do it for them, so our mkdir() operation doesn't fail.
-
Guido van Rossum authored
catch IOError as well as OverflowError. I found that on Tru64 Unix this was raised; probably because the OS (or libc) doesn't support large files but the architecture is 64 bits!
-
Guido van Rossum authored
the test to be marked as failing rather than skipped. Add an explicit "import zlib" to prevent this.
-
Ka-Ping Yee authored
-
Ka-Ping Yee authored
Avoid ever using popen on Windows, since it's broken there. Factor out the business of getting the summary line into splitdoc(). Use the modulename() routine in inspect. Show all members of modules and classes rather than filtering on leading '_'. Small typo and formtating fixes. Don't show warnings when running "pydoc -k".
-
Ka-Ping Yee authored
-
Fred Drake authored
size. This constrains them to fit in one page again.
-
Tim Peters authored
pickle.py The code implicitly assumed that all ints fit in 4 bytes, causing all sorts of mischief (from nonsense results to corrupted pickles). Repaired that. marshal.c The int marshaling code assumed that right shifts of signed longs sign-extend. Repaired that.
-
Tim Peters authored
of 2-space and 4-space indents. Whatever, when I saw the checkin diff it was clear that what my editor thinks a tab means didn't match this module's belief. Removed all the tabs from the lines I added and changed, left everything else alone.
-
Tim Peters authored
pickled into the signed(!) 4-byte BININT format, so were getting unpickled again as negative ints. Repaired that. Added some minimal docs at the top about what I've learned about the pickle format codes (little of which was obvious from staring at the code, although that's partly because all the size-related bugs greatly obscured the true intent of the code). Happy side effect: because save_int() needed to grow a *proper* range check in order to fix this bug, it can now use the more-efficient BININT1, BININT2 and BININT formats when the long's value is small enough to fit in a signed 4-byte int (before this, on a sizeof(long)==8 box it always used the general INT format for negative ints). test_cpickle works again on sizeof(long)==8 machines. test_pickle is still busted big-time.
-
Tim Peters authored
bugs on sizeof(long)==8 machines. pickle.py has no idea what it's doing with very large ints, and variously gets things right by accident, computes nonsense, or generates corrupt pickles. cPickle fails on cases 2**31 <= i < 2**32: since it *thinks* those are 4-byte ints (the "high 4 bytes" are all zeroes), it stores them in the (signed!) BININT format, so they get unpickled as negative values.
-