summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Use larger chunks for the HTML version of the Distutils documentation.Fred Drake2001-03-011-2/+2
|
* Comment out section titles for sections that have not been written yet;Fred Drake2001-03-011-9/+59
| | | | | | | | | | 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.
* Comment out section titles for sections that have not been written yet;Fred Drake2001-03-011-65/+141
| | | | | | | | | | | | 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.
* Document configuration flags to compile for large file support onGuido van Rossum2001-03-011-1/+9
| | | | certain Linux systems.
* Two improvements to large file support:Guido van Rossum2001-03-011-30/+18
| | | | | | | | | | | | | | - 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.)
* More MacOSX fiddling. As noted in a comment, I believe all variationsTim Peters2001-03-011-18/+37
| | | | | of these "search the directory" schemes (including this one) are still prone to making mistakes.
* Better __credits__.Ka-Ping Yee2001-03-011-1/+2
|
* Here we go again, another round of version bumping...Guido van Rossum2001-03-011-4/+4
|
* Add __author__ and __credits__ variables.Ka-Ping Yee2001-03-011-1/+2
|
* Add __author__ variable.Ka-Ping Yee2001-03-011-2/+5
| | | | Robustify: don't rely on modules being present in sys.modules.
* Docstring improvements.Ka-Ping Yee2001-03-011-196/+395
| | | | | | | | | | | | | 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.)
* More fiddling w/ the new-fangled Mac import code.Tim Peters2001-03-011-5/+9
|
* Checking in patch 404826 -- urllib2 enhancements and documentations.Moshe Zadka2001-03-012-48/+616
| | | | | (please not that the library reference does *not* include the urllib2 documnetation -- that will wiat for Fred)
* Whitespace normalization.Tim Peters2001-03-011-1/+0
|
* Suppress a compiler warning under OpenVMS; time_t is unsigned on (at least)Fred Drake2001-03-011-2/+2
| | | | | | | | | | | | 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.
* Fix core dump in example from Samuele Pedroni:Jeremy Hylton2001-03-011-15/+31
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Visit the closure during traversal and XDECREF it on during deallocation.Jeremy Hylton2001-03-011-0/+6
|
* Bump the release number to 2.1b1.Fred Drake2001-03-011-1/+1
|
* final round of __all__ lists (I hope) - skipped urllib2 because Moshe may beSkip Montanaro2001-03-0117-1/+59
| | | | giving it a slight facelift
* move import into function to avoid having to add an __all__ list...Skip Montanaro2001-03-011-2/+2
|
* Add getlineno() routine to account for LINENO optimization.Ka-Ping Yee2001-03-011-3/+19
|
* Revised version of Jason Tishler's patch to make this compile on Cygwin,Fred Drake2001-03-011-0/+10
| | | | | | which does not define all the constants. This closes SF tracker patch #404924.
* Add tests for the .copy() methods of both weak dictionary classes.Fred Drake2001-03-011-1/+15
|
* Change WeakDictionary to WeakValueDictionary in a couple more places.Fred Drake2001-03-011-4/+7
| | | | | WeakValueDictionary.copy(), WeakKeyDictionary.copy(): Actually return the copy!
* Prepare Windows for 2.1 beta 1: installer dialogs and bump "build number".Tim Peters2001-03-013-5/+7
|
* Added blurbs about difflib, doctest and Windows import (PEP 235).Tim Peters2001-03-011-4/+29
|
* Remove extra close curly in code #ifdef'ed out on my box.Tim Peters2001-03-011-1/+0
|
* In Steven's apparent absence, check in *something* with a non-zero chanceTim Peters2001-03-011-35/+40
| | | | | 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.
* Fix markup nit pointed out by FLDAndrew M. Kuchling2001-03-011-1/+1
|
* Don't add global names to st->st_global if we're already iteratingJeremy Hylton2001-03-011-6/+15
| | | | over the elements of st->st_global!
* UseGuido van Rossum2001-03-011-2/+2
| | | | | | | | 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?
* Call main routine in pydoc module (pydoc.cli).Ka-Ping Yee2001-03-011-76/+2
|
* Normalize case of paths in sys.path to avoid duplicates on Windows.Ka-Ping Yee2001-03-011-14/+24
| | | | | | Handle <... at 001B6378> like <... at 0x120f80> (%p is platform-dependent). Fix RCS version tag handling. Move __main__ behaviour into a function, pydoc.cli().
* Add test case for global stmt at module level.Jeremy Hylton2001-02-283-0/+10
| | | | | Fix test_grammar so that it ignores warning about global stmt at module level in exec.
* undo introduction of st_global_starJeremy Hylton2001-02-281-3/+0
|
* Document PyErr_WarnExplicit().Guido van Rossum2001-02-281-0/+9
|
* Warn about global statement at the module level.Jeremy Hylton2001-02-281-2/+17
| | | | Do better accounting for global variables.
* Document warn_explicit().Guido van Rossum2001-02-281-0/+10
|
* Disable GetWindowSpareFlag and GetWindowGoAwayBox on carbon.Jack Jansen2001-02-282-0/+14
|
* update output to reflect exception that is now raisedJeremy Hylton2001-02-281-3/+3
|
* Put PPC distributions back in, rearranged packages and use VISE variable ↵Jack Jansen2001-02-281-1/+1
| | | | magic to determine which ConfigurePythonXXX to run.
* add DEF_BOUNDJeremy Hylton2001-02-281-1/+3
|
* Add entry for the inspect module.Fred Drake2001-02-282-0/+2
|
* Clean up some of the markup for consistency, wrap some long lines.Fred Drake2001-02-281-45/+50
|
* Fix some rules broken by typos, others by the flattening of the makefile.Fred Drake2001-02-281-7/+7
|
* Add warning/error handlin for problematic nested scopes cases asJeremy Hylton2001-02-281-26/+119
| | | | | | | | | | | | | | | | | | | | | | | described in PEP 227. symtable_check_unoptimized() warns about import * and exec with "in" when it is used in a function that contains a nested function with free variables. Warnings are issued unless nested scopes are in effect, in which case these are SyntaxErrors. symtable_check_shadow() warns about assignments in a function scope that shadow free variables defined in a nested scope. This will always generate a warning -- and will behave differently with nested scopes than without. Restore full checking for free vars in children, even when nested scopes are not enabled. This is needed to support warnings for shadowing. Change symtable_warn() to return an int-- the return value of PyErr_WarnExplicit. Sundry cleanup: Remove commented out code. Break long lines.
* Fix filter for SyntaxErrorsJeremy Hylton2001-02-281-4/+4
|
* Fix for bug #405007: prefix subdir to scripts in order to build inAndrew M. Kuchling2001-02-281-0/+4
| | | | a subdirectory.
* Add description of PEP235Andrew M. Kuchling2001-02-281-19/+23
| | | | | Remove references to 2.1alpha Update description of PEP229
* Move a comment around to where it belongs (the code had alrady beenGuido van Rossum2001-02-281-1/+1
| | | | moved).