Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump the release number to 2.1b1. | Fred Drake | 2001-03-01 | 1 | -1/+1 |
| | |||||
* | final round of __all__ lists (I hope) - skipped urllib2 because Moshe may be | Skip Montanaro | 2001-03-01 | 17 | -1/+59 |
| | | | | giving it a slight facelift | ||||
* | move import into function to avoid having to add an __all__ list... | Skip Montanaro | 2001-03-01 | 1 | -2/+2 |
| | |||||
* | Add getlineno() routine to account for LINENO optimization. | Ka-Ping Yee | 2001-03-01 | 1 | -3/+19 |
| | |||||
* | Revised version of Jason Tishler's patch to make this compile on Cygwin, | Fred Drake | 2001-03-01 | 1 | -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 Drake | 2001-03-01 | 1 | -1/+15 |
| | |||||
* | Change WeakDictionary to WeakValueDictionary in a couple more places. | Fred Drake | 2001-03-01 | 1 | -4/+7 |
| | | | | | WeakValueDictionary.copy(), WeakKeyDictionary.copy(): Actually return the copy! | ||||
* | Prepare Windows for 2.1 beta 1: installer dialogs and bump "build number". | Tim Peters | 2001-03-01 | 3 | -5/+7 |
| | |||||
* | Added blurbs about difflib, doctest and Windows import (PEP 235). | Tim Peters | 2001-03-01 | 1 | -4/+29 |
| | |||||
* | Remove extra close curly in code #ifdef'ed out on my box. | Tim Peters | 2001-03-01 | 1 | -1/+0 |
| | |||||
* | In Steven's apparent absence, check in *something* with a non-zero chance | Tim Peters | 2001-03-01 | 1 | -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 FLD | Andrew M. Kuchling | 2001-03-01 | 1 | -1/+1 |
| | |||||
* | Don't add global names to st->st_global if we're already iterating | Jeremy Hylton | 2001-03-01 | 1 | -6/+15 |
| | | | | over the elements of st->st_global! | ||||
* | Use | Guido van Rossum | 2001-03-01 | 1 | -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 Yee | 2001-03-01 | 1 | -76/+2 |
| | |||||
* | Normalize case of paths in sys.path to avoid duplicates on Windows. | Ka-Ping Yee | 2001-03-01 | 1 | -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 Hylton | 2001-02-28 | 3 | -0/+10 |
| | | | | | Fix test_grammar so that it ignores warning about global stmt at module level in exec. | ||||
* | undo introduction of st_global_star | Jeremy Hylton | 2001-02-28 | 1 | -3/+0 |
| | |||||
* | Document PyErr_WarnExplicit(). | Guido van Rossum | 2001-02-28 | 1 | -0/+9 |
| | |||||
* | Warn about global statement at the module level. | Jeremy Hylton | 2001-02-28 | 1 | -2/+17 |
| | | | | Do better accounting for global variables. | ||||
* | Document warn_explicit(). | Guido van Rossum | 2001-02-28 | 1 | -0/+10 |
| | |||||
* | Disable GetWindowSpareFlag and GetWindowGoAwayBox on carbon. | Jack Jansen | 2001-02-28 | 2 | -0/+14 |
| | |||||
* | update output to reflect exception that is now raised | Jeremy Hylton | 2001-02-28 | 1 | -3/+3 |
| | |||||
* | Put PPC distributions back in, rearranged packages and use VISE variable ↵ | Jack Jansen | 2001-02-28 | 1 | -1/+1 |
| | | | | magic to determine which ConfigurePythonXXX to run. | ||||
* | add DEF_BOUND | Jeremy Hylton | 2001-02-28 | 1 | -1/+3 |
| | |||||
* | Add entry for the inspect module. | Fred Drake | 2001-02-28 | 2 | -0/+2 |
| | |||||
* | Clean up some of the markup for consistency, wrap some long lines. | Fred Drake | 2001-02-28 | 1 | -45/+50 |
| | |||||
* | Fix some rules broken by typos, others by the flattening of the makefile. | Fred Drake | 2001-02-28 | 1 | -7/+7 |
| | |||||
* | Add warning/error handlin for problematic nested scopes cases as | Jeremy Hylton | 2001-02-28 | 1 | -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 SyntaxErrors | Jeremy Hylton | 2001-02-28 | 1 | -4/+4 |
| | |||||
* | Fix for bug #405007: prefix subdir to scripts in order to build in | Andrew M. Kuchling | 2001-02-28 | 1 | -0/+4 |
| | | | | a subdirectory. | ||||
* | Add description of PEP235 | Andrew M. Kuchling | 2001-02-28 | 1 | -19/+23 |
| | | | | | Remove references to 2.1alpha Update description of PEP229 | ||||
* | Move a comment around to where it belongs (the code had alrady been | Guido van Rossum | 2001-02-28 | 1 | -1/+1 |
| | | | | moved). | ||||
* | Cover pydoc | Andrew M. Kuchling | 2001-02-28 | 1 | -48/+44 |
| | | | | | | | Update reference Python version to beta1 Rip out PEP 232 section Add placeholders for PEP 236 and 235 Fix erroneous \filename references | ||||
* | Document the object allocator | Andrew M. Kuchling | 2001-02-28 | 1 | -2/+12 |
| | | | | Minor sentence change | ||||
* | Let's have some sanity. Introduce a helper to issue a symbol table | Guido van Rossum | 2001-02-28 | 1 | -16/+17 |
| | | | | warning. | ||||
* | added description of NL token | Skip Montanaro | 2001-02-28 | 1 | -1/+4 |
| | |||||
* | Use the new PyErr_WarnExplicit() API to issue better warnings for | Guido van Rossum | 2001-02-28 | 1 | -12/+21 |
| | | | | | | | | | global after assign / use. Note: I'm not updating the PyErr_Warn() call for import * / exec combined with a function, because I can't trigger it with an example. Jeremy, just follow the example of the call to PyErr_WarnExplicit() that I *did* include. | ||||
* | SyntaxError__init__(): Be a little more robust when picking apart the | Fred Drake | 2001-02-28 | 1 | -16/+22 |
| | | | | | location information for the SyntaxError -- do not do more than we need to, stopping as soon as an exception has been raised. | ||||
* | Move some constant initialization from FTP.__init__() and FTP.connect() | Fred Drake | 2001-02-28 | 1 | -16/+16 |
| | | | | | | | | to the class namespace. Allow FTP.close() to be called more than once without tossing cookies. (This seems to be a fairly common idiom for .close() methods, so let's try to be consistent.) | ||||
* | Add PyErr_WarnExplicit(), which calls warnings.warn_explicit(), with | Guido van Rossum | 2001-02-28 | 1 | -0/+42 |
| | | | | explicit filename, lineno etc. arguments. | ||||
* | Add declaration for PyErr_WarnExplicit(). | Guido van Rossum | 2001-02-28 | 1 | -0/+2 |
| | |||||
* | Add a new API: | Guido van Rossum | 2001-02-28 | 1 | -0/+10 |
| | | | | | | | | | warn_explicit(message, category, filename, lineno, module, registry) The regular warn() call calculates a bunch of values and calls warn_explicit() with these. This will be used to issue better syntax warnings. | ||||
* | Mention pydoc | Andrew M. Kuchling | 2001-02-28 | 1 | -0/+7 |
| | |||||
* | Leave #! lines featuring /usr/bin/env alone | Andrew M. Kuchling | 2001-02-28 | 1 | -2/+4 |
| | |||||
* | Now that Jeremy is asking about this code, it looks really bogus to me, | Fred Drake | 2001-02-28 | 1 | -18/+0 |
| | | | | | so let's rip it out. The constructor for SyntaxError does the right thing, so we do not need to do it again. | ||||
* | Install the pydoc script | Andrew M. Kuchling | 2001-02-28 | 1 | -1/+4 |
| | |||||
* | Add script form of pydoc so that it's present in beta1. Currently | Andrew M. Kuchling | 2001-02-28 | 1 | -0/+78 |
| | | | | | | this just copies the __name__=='__main__' logic from pydoc.py. ?!ng can decide whether he wants to create a main() in pydoc, or rip it out of pydoc.py completely. | ||||
* | Fix for bug #404875: fix typo in setup.py | Andrew M. Kuchling | 2001-02-28 | 1 | -1/+1 |
| | |||||
* | Placate tabnanny | Andrew M. Kuchling | 2001-02-28 | 1 | -1/+1 |
| |