Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | No need to call filterwarnings() to suppress further warnings from this | Fred Drake | 2001-02-27 | 1 | -3/+0 |
| | | | | module; that won't happen. | ||||
* | Replace all the platform-specific TERMIOS modules with a portable version | Fred Drake | 2001-02-27 | 14 | -3873/+17 |
| | | | | | based on the termios module. The only added "feature" is the deprecation warning it spits out. | ||||
* | Get the needed constants from termios, not TERMIOS. | Fred Drake | 2001-02-27 | 2 | -5/+4 |
| | |||||
* | Define the constants needed for working with these functions directly | Fred Drake | 2001-02-27 | 1 | -0/+158 |
| | | | | in this module; no more need for TERMIOS.py. | ||||
* | Backing out nested scopes broke the Windows build. Repairing. | Tim Peters | 2001-02-27 | 1 | -0/+2 |
| | |||||
* | Patch #404680: disables the nis module and enables the dl module when | Andrew M. Kuchling | 2001-02-27 | 3 | -8/+13 |
| | | | | | building under Cygwin. Makes some fixes to the dlmodule in order to compile with Cygwin. | ||||
* | add from __future__ import nested_scopes to strings passed to compile | Jeremy Hylton | 2001-02-27 | 1 | -6/+12 |
| | |||||
* | Teach Windows build about new future.c. | Tim Peters | 2001-02-27 | 1 | -0/+15 |
| | |||||
* | Bug #229280: remove '/' characters from the OS name (for BSD/OS :) ) | Andrew M. Kuchling | 2001-02-27 | 1 | -1/+6 |
| | |||||
* | Patch #403947: On Cygwin, use the Unix compiler class, and not | Andrew M. Kuchling | 2001-02-27 | 1 | -1/+4 |
| | | | | | | | | | | the Cygwin-specific compiler class. (According to Jason Tishler, cygwinccompiler needs some work to handle the differences in Cygwin- and MSVC-Python. Makefile and config files are currently ignored by cygwinccompiler, as it was written to support cygwin for extensions which are intended to be used with the standard MSVC built Python.) | ||||
* | Improved __future__ parser; still more to do | Jeremy Hylton | 2001-02-27 | 6 | -46/+167 |
| | | | | | | | | | | | | | | | Makefile.pre.in: add target future.o Include/compile.h: define PyFutureFeaters and PyNode_Future() add c_future slot to struct compiling Include/symtable.h: add st_future slot to struct symtable Python/future.c: implementation of PyNode_Future() Python/compile.c: use PyNode_Future() for nested_scopes support Python/symtable.c: include compile.h to pick up PyFutureFeatures decl | ||||
* | Gustavo Niemeyer <niemeyer@conectiva.com>: | Fred Drake | 2001-02-27 | 1 | -73/+134 |
| | | | | | | | | | | Fixed recno support (keys are integers rather than strings). Work around DB bug that cause stdin to be closed by rnopen() when the DB file needed to exist but did not (no longer segfaults). This closes SF tracker patch #403445. Also wrapped some long lines and added whitespace around operators -- FLD. | ||||
* | Change EXEEXT back to EXE in the Makefile. Other tools may depend on the name. | Neil Schemenauer | 2001-02-27 | 1 | -8/+8 |
| | | | | | The name in configure is still EXEEXT because that's what autoconf calls it. Also, replace a few occurrences of "python" with "$(PYTHON)". | ||||
* | Patch #404275: generate a reasonable platform string for AIX | Andrew M. Kuchling | 2001-02-27 | 1 | -0/+2 |
| | |||||
* | Remove two meaningless, module-level global statements (one of a | Jeremy Hylton | 2001-02-27 | 1 | -7/+9 |
| | | | | | | non-existent variable :-). Reflow long lines. | ||||
* | Patch #403985: Add support for weak-keyed dictionaries | Martin v. Löwis | 2001-02-27 | 5 | -21/+158 |
| | |||||
* | remove commented-out vestiges of access statement | Jeremy Hylton | 2001-02-27 | 1 | -5/+0 |
| | |||||
* | conditionally include unistd.h to pick up confstr declaration. attempt to | Skip Montanaro | 2001-02-27 | 1 | -0/+5 |
| | | | | | squelch warning from GCC 2.95.2 on Solaris - partially addresses bug #232787. | ||||
* | pydoc: text and HTML documentation generator for interactive use | Ka-Ping Yee | 2001-02-27 | 1 | -0/+1158 |
| | |||||
* | inspect: a module for getting information out of live Python objects | Ka-Ping Yee | 2001-02-27 | 4 | -0/+1085 |
| | |||||
* | SetListCellIndent() argument was guessed incorrectly. Fixed. | Jack Jansen | 2001-02-27 | 2 | -15/+10 |
| | |||||
* | Soundex has gone. | Jack Jansen | 2001-02-27 | 1 | -2/+0 |
| | |||||
* | Soundex has gone. | Jack Jansen | 2001-02-27 | 6 | -2/+0 |
| | |||||
* | Dialog and Window objects are (finally) different beasts. | Jack Jansen | 2001-02-27 | 1 | -2/+1 |
| | |||||
* | Use the filename, not the pathname, in the definitions file | Jack Jansen | 2001-02-27 | 1 | -1/+1 |
| | | | | | comment. This way the generated files are identical when generated on different machines. | ||||
* | Fixing bug #227562 by calling URLopener.http_error_default when | Moshe Zadka | 2001-02-27 | 1 | -12/+18 |
| | | | | an invalid 401 request is being handled. | ||||
* | Add warnings about undefined "global" | Jeremy Hylton | 2001-02-27 | 1 | -0/+29 |
| | | | | | | SF bug #233532 XXX Can't figure out how to write test cases that work with warnings | ||||
* | Add Vladimir Marangozov's object allocator. It is disabled by default. This | Neil Schemenauer | 2001-02-27 | 9 | -343/+1144 |
| | | | | closes SF patch #401229. | ||||
* | Preliminary support for future nested scopes | Jeremy Hylton | 2001-02-27 | 5 | -116/+281 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compile.h: #define NESTED_SCOPES_DEFAULT 0 for Python 2.1 __future__ feature name: "nested_scopes" symtable.h: Add st_nested_scopes slot. Define flags to track exec and import star. Lib/test/test_scope.py: requires nested scopes compile.c: Fiddle with error messages. Reverse the sense of ste_optimized flag on PySymtableEntryObjects. If it is true, there is an optimization conflict. Modify get_ref_type to respect st_nested_scopes flags. Refactor symtable_load_symbols() into several smaller functions, which use struct symbol_info to share variables. In new function symtable_update_flags(), raise an error or warning for import * or bare exec that conflicts with nested scopes. Also, modify handle for free variables to respect st_nested_scopes flag. In symtable_init() assign st_nested_scopes flag to NESTED_SCOPES_DEFAULT (defined in compile.h). Add preliminary and often incorrect implementation of symtable_check_future(). Add symtable_lookup() helper for future use. | ||||
* | Document XML changes. | Martin v. Löwis | 2001-02-27 | 1 | -0/+42 |
| | |||||
* | Updates to describe function attributes. | Barry Warsaw | 2001-02-27 | 1 | -4/+12 |
| | |||||
* | Updates to the semantics of function and method attributes. | Barry Warsaw | 2001-02-27 | 1 | -14/+18 |
| | |||||
* | Mention setup.py in the instructions | Andrew M. Kuchling | 2001-02-27 | 1 | -2/+5 |
| | | | | Add note about linuxaudiodev possibly working on BSD | ||||
* | Update build notes to mention setup.py | Andrew M. Kuchling | 2001-02-27 | 1 | -22/+20 |
| | |||||
* | Fix typo | Andrew M. Kuchling | 2001-02-27 | 1 | -1/+1 |
| | |||||
* | Add missing dependents of graminit.h. | Neil Schemenauer | 2001-02-27 | 1 | -0/+2 |
| | |||||
* | Generate grammar source files in srcdir. Ignore the error if they cannot | Neil Schemenauer | 2001-02-27 | 1 | -3/+3 |
| | | | | be created (perhaps the source directory is read-only). | ||||
* | Don't create the Include directory if building outside of the source | Neil Schemenauer | 2001-02-27 | 2 | -4/+4 |
| | | | | directory. Closes SF #403930. | ||||
* | Make sure ConfigParser uses .optionxform() consistently; this affects | Fred Drake | 2001-02-26 | 3 | -0/+28 |
| | | | | | | .has_option(), .remove_option(), and .set(). This closes SF tracker #232913. | ||||
* | Add __future__.py to std library, + dull test to verify that assignments | Tim Peters | 2001-02-26 | 3 | -0/+87 |
| | | | | therein are of the proper form. | ||||
* | cleanup_helper(): Added missing "void" type for the function, updated | Fred Drake | 2001-02-26 | 1 | -6/+3 |
| | | | | comments to reflect reality. | ||||
* | The return value from PyObject_ClearWeakRefs() is no longer meaningful, | Fred Drake | 2001-02-26 | 4 | -9/+8 |
| | | | | so make it void. | ||||
* | instancemethod_setattro(): Raise TypeError if an attempt is made to | Barry Warsaw | 2001-02-26 | 1 | -15/+2 |
| | | | | | | set a function attribute on a method (either bound or unbound). This reverts to Python 2.0 behavior that no attributes of the method are writable, but provides a more informative error message. | ||||
* | Additional tests for current, PEP described semantics: | Barry Warsaw | 2001-02-26 | 1 | -3/+36 |
| | | | | | | | | | | | | - func.__dict__ is None until the first attribute is assigned - del func.__dict__ is equivalent to func.__dict__ = None - disallowing assignment to function attribute through unbound method (it was always illegal to assign through bound method). - verifying that setting attribute explicitly on underlying function via meth.im_func is okay. | ||||
* | main(): Slightly more informative error message when TokenError | Barry Warsaw | 2001-02-26 | 1 | -1/+5 |
| | | | | occurs. Also, continue processing. | ||||
* | (py-parse-state): Teach python-mode how to scan code which follows | Barry Warsaw | 2001-02-24 | 1 | -3/+11 |
| | | | | multi-line list comprehensions. | ||||
* | Shuffle premature decref; nuke unreachable code block. | Tim Peters | 2001-02-23 | 1 | -9/+3 |
| | | | | | Fixes the "debug-build -O test_builtin.py and no test_b2.pyo" crash just discussed on Python-Dev. | ||||
* | Hide the ProgressBar before raising KeyboardInterrupt. Not doing so resulted ↵ | Jack Jansen | 2001-02-23 | 1 | -2/+8 |
| | | | | in a hang on Carbon. | ||||
* | Turn on the "multifinder aware" bit. This should always have been on, but ↵ | Jack Jansen | 2001-02-23 | 1 | -1/+1 |
| | | | | was was never a problem that it was off until CarbonLib 1.1 (which requires it, for some reason). | ||||
* | Do not hide a failure to create a temporary file; if it fails the work | Fred Drake | 2001-02-23 | 1 | -5/+1 |
| | | | | | | | will not have been done, and applications need to know that. Also, do not print a message about it; the exception is the right thing. This closes SF bug #133717. |