- 01 Mar, 2001 38 commits
-
-
Fred Drake authored
some operators (style guide conformance).
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Fred Drake authored
-
Ka-Ping Yee authored
-
Fred Drake authored
-
Fred Drake authored
there is no need to clutter a reader's life with those useless things. Suppress the "Contents" page for HTML; it is not needed for small documents in the online environment since LaTeX2HTML generates lots of tables of links anyway. Various markup consistency nits.
-
Fred Drake authored
there is no need to clutter a reader's life with those useless things. Make the snippets of Python code conform to the standard style. Suppress the "Contents" page for HTML; it is not needed for small documents in the online environment since LaTeX2HTML generates lots of tables of links anyway. Various markup consistency nits.
-
Guido van Rossum authored
certain Linux systems.
-
Guido van Rossum authored
- In _portable_ftell(), try fgetpos() before ftello() and ftell64(). I ran into a situation on a 64-bit capable Linux where the C library's ftello() and ftell64() returned negative numbers despite fpos_t and off_t both being 64-bit types; fgetpos() did the right thing. - Define a new typedef, Py_off_t, which is either fpos_t or off_t, depending on which one is 64 bits. This removes the need for a lot of #ifdefs later on. (XXX Should this be moved to pyport.h? That file currently seems oblivious to large fille support, so for now I'll leave it here where it's needed.)
-
Tim Peters authored
of these "search the directory" schemes (including this one) are still prone to making mistakes.
-
Ka-Ping Yee authored
-
Guido van Rossum authored
-
Ka-Ping Yee authored
-
Ka-Ping Yee authored
Robustify: don't rely on modules being present in sys.modules.
-
Ka-Ping Yee authored
Add checks for .pyo and .pyd. Collapse docfunction, docmethod, docbuiltin into the one method docroutine. Small formatting fixes. Link the segments of a package path in the title. Link to the source file only if it exists. Allow modules (e.g. repr.py) to take precedence over built-ins (e.g. repr()). Add interruptible synopsis scanner (so we can do searches in the background). Make HTTP server quit. Add small GUI for controlling the server and launching searches (like -k). (Tested on Win2k, Win98, and Linux.)
-
Tim Peters authored
-
Moshe Zadka authored
(please not that the library reference does *not* include the urllib2 documnetation -- that will wiat for Fred)
-
Tim Peters authored
-
Fred Drake authored
the more recent versions of that platform, so we use the value (time_t)(-1) as the error value. This is the type used in the OpenVMS documentation: http://www.openvms.compaq.com/commercial/c/5763p048.htm#inde This closes SF tracker bug #404240. Also clean up an exception message when detecting overflow of time_t values beyond 4 bytes.
-
Jeremy Hylton authored
from __future__ import nested_scopes x=7 def f(): x=1 def g(): global x def i(): def h(): return x return h() return i() return g() print f() print x This kind of code didn't work correctly because x was treated as free in i, leading to an attempt to load x in g to make a closure for i. Solution is to make global decl apply to nested scopes unless their is an assignment. Thus, x in h is global.
-
Jeremy Hylton authored
-
Fred Drake authored
-
Skip Montanaro authored
giving it a slight facelift
-
Skip Montanaro authored
-
Ka-Ping Yee authored
-
Fred Drake authored
which does not define all the constants. This closes SF tracker patch #404924.
-
Fred Drake authored
-
Fred Drake authored
WeakValueDictionary.copy(), WeakKeyDictionary.copy(): Actually return the copy!
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
of making new-fangled Mac imports work again. May not work, and may not even compile on his boxes, but should be at worst very close on both.
-
Andrew M. Kuchling authored
-
Jeremy Hylton authored
over the elements of st->st_global!
-
Guido van Rossum authored
find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f to remove all .py[co] files before testing, rather than just those in the Lib/test directory. "find" is used all over the Makefile so I suppose it's safe; how about xargs?
-
Ka-Ping Yee authored
-
Ka-Ping Yee authored
Handle <... at 001B6378> like <... at 0x120f80> (%p is platform-dependent). Fix RCS version tag handling. Move __main__ behaviour into a function, pydoc.cli().
-
- 28 Feb, 2001 2 commits
-
-
Jeremy Hylton authored
Fix test_grammar so that it ignores warning about global stmt at module level in exec.
-
Jeremy Hylton authored
-