Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
f1d7b41 Disable GetWindowSpareFlag and GetWindowGoAwayBox on carbon. 28 February 2001, 23:32:42 UTC
42efed0 update output to reflect exception that is now raised 28 February 2001, 23:24:22 UTC
0b7c4f2 Put PPC distributions back in, rearranged packages and use VISE variable magic to determine which ConfigurePythonXXX to run. 28 February 2001, 23:23:31 UTC
99858b5 add DEF_BOUND 28 February 2001, 23:03:39 UTC
7840a9c Add entry for the inspect module. 28 February 2001, 23:02:20 UTC
6dbd382 Clean up some of the markup for consistency, wrap some long lines. 28 February 2001, 23:01:38 UTC
bca60c0 Fix some rules broken by typos, others by the flattening of the makefile. 28 February 2001, 22:59:37 UTC
4419ac1 Add warning/error handlin for problematic nested scopes cases as 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. 28 February 2001, 22:54:51 UTC
150a664 Fix filter for SyntaxErrors 28 February 2001, 22:50:15 UTC
3da989c Fix for bug #405007: prefix subdir to scripts in order to build in a subdirectory. 28 February 2001, 22:49:26 UTC
8bad993 Add description of PEP235 Remove references to 2.1alpha Update description of PEP229 28 February 2001, 22:39:15 UTC
3756fa3 Move a comment around to where it belongs (the code had alrady been moved). 28 February 2001, 22:26:36 UTC
74d18ed Cover pydoc Update reference Python version to beta1 Rip out PEP 232 section Add placeholders for PEP 236 and 235 Fix erroneous \filename references 28 February 2001, 22:22:40 UTC
bf14014 Document the object allocator Minor sentence change 28 February 2001, 22:10:07 UTC
ee34ac1 Let's have some sanity. Introduce a helper to issue a symbol table warning. 28 February 2001, 22:08:12 UTC
58177b9 added description of NL token 28 February 2001, 22:05:41 UTC
0bba7f8 Use the new PyErr_WarnExplicit() API to issue better warnings for 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. 28 February 2001, 21:55:38 UTC
9da7f3b SyntaxError__init__(): Be a little more robust when picking apart the location information for the SyntaxError -- do not do more than we need to, stopping as soon as an exception has been raised. 28 February 2001, 21:52:10 UTC
9c98a42 Move some constant initialization from FTP.__init__() and FTP.connect() 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.) 28 February 2001, 21:46:37 UTC
2fd4565 Add PyErr_WarnExplicit(), which calls warnings.warn_explicit(), with explicit filename, lineno etc. arguments. 28 February 2001, 21:46:24 UTC
1bcb7e9 Add declaration for PyErr_WarnExplicit(). 28 February 2001, 21:44:20 UTC
9e26318 Add a new API: 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. 28 February 2001, 21:43:40 UTC
d6a1d79 Mention pydoc 28 February 2001, 21:05:42 UTC
3a95850 Leave #! lines featuring /usr/bin/env alone 28 February 2001, 20:59:33 UTC
b797f1f Now that Jeremy is asking about this code, it looks really bogus to me, so let's rip it out. The constructor for SyntaxError does the right thing, so we do not need to do it again. 28 February 2001, 20:58:04 UTC
aece427 Install the pydoc script 28 February 2001, 20:56:49 UTC
b68ef50 Add script form of pydoc so that it's present in beta1. Currently 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. 28 February 2001, 20:55:10 UTC
b69c758 Fix for bug #404875: fix typo in setup.py 28 February 2001, 19:49:57 UTC
6335773 Placate tabnanny 28 February 2001, 19:40:27 UTC
3e038e5 Define lots of constants for indexes into the structures for the file header and central directory structures, and use them as appropriate. The point being to make it easier to tell what is getting pulled out where; magic numbers are evil! Change the computation of the ZipInfo.file_offset field to use the length of the relevant "extra" field -- there are two different ones, and the wrong one had been used. ;-( This closes SF tracker patch #403276, but more verbosely than the proposed patch. 28 February 2001, 17:56:26 UTC
62e2c7e Add regression test for future statements. This adds eight files, but seven are not tests in their own right; these files are mentioned in regrtest. 28 February 2001, 17:48:06 UTC
ad3d3f2 Improve SyntaxErrors for bad future statements. Set file and location for errors raised in future.c. Move some helper functions from compile.c to errors.c and make them API functions: PyErr_SyntaxLocation() and PyErr_ProgramText(). 28 February 2001, 17:47:12 UTC
5687ffe SF patch 404928: Support for next Cygwin gcc (2.95.2-8) 28 February 2001, 16:44:18 UTC
c6cecf5 Reset the resource file chain before calling PyMac_OpenPrefFile. I'm not sure why this wasn't a problem before... 28 February 2001, 15:54:18 UTC
f7fb3e6 Oops, need to import Res. 28 February 2001, 15:53:18 UTC
72b97ae If we can't find our splash dialog (i.e. we're probably running from source) go into interactive mode: print what we're doing and ask about carbon/classic configure. 28 February 2001, 11:23:04 UTC
85ba673 Whitespace normalization. 28 February 2001, 08:26:44 UTC
8de0c17 Removed now-unreferenced CHECK_IMPORT_CASE from Windows config.h. NOTE: someone who understands Unix config should remove it from acconfig.h too. 28 February 2001, 08:15:16 UTC
9f1b993 Print the offending line of code in the traceback for SyntaxErrors raised by the compiler. XXX For now, text entered into the interactive intepreter is not printed in the traceback. Inspired by a patch from Roman Sulzhyk compile.c: Add helper fetch_program_text() that opens a file and reads until it finds the specified line number. The code is a near duplicate of similar code in traceback.c. Modify com_error() to pass two arguments to SyntaxError constructor, where the second argument contains the offending text when possible. Modify set_error_location(), now used only by the symtable pass, to set the text attribute on existing exceptions. pythonrun.c: Change parse_syntax_error() to continue of the offset attribute of a SyntaxError is None. In this case, it sets offset to -1. Move code from PyErr_PrintEx() into helper function print_error_text(). In the helper, only print the caret for a SyntaxError if offset > 0. 28 February 2001, 07:07:43 UTC
e860f9b Ack -- my eyes are getting bleary. Typos in the comment typo repairs. 28 February 2001, 05:57:51 UTC
f91ed2d Comment typos. 28 February 2001, 05:56:18 UTC
50d8d37 Implement PEP 235: Import on Case-Insensitive Platforms. http://python.sourceforge.net/peps/pep-0235.html Renamed check_case to case_ok. Substantial code rearrangement to get this stuff in one place in the file. Innermost loop of find_module() now much simpler and #ifdef-free, and I want to keep it that way (it's bad enough that the innermost loop is itself still in an #ifdef!). Windows semantics tested and are fine. Jason, Cygwin *should* be fine if and only if what you did before "worked" for case_ok. Jack, the semantics on your flavor of Mac have definitely changed (see the PEP), and need to be tested. The intent is that your flavor of Mac now work the same as everything else in the "lower left" box, including respecting PYTHONCASEOK. Steven, sorry, you did the most work here so far but you got screwed the worst. Happy to work with you on repairing it, but I don't understand anything about all your Mac variants. We need to add another branch (or two, three, ...?) inside case_ok. But we should not need to change anything else. 28 February 2001, 05:34:27 UTC
6e7e485 Added regression test for SF tracker bug #403871: AttributeError in ZipFile.__del__() when there was an IOError opening the underlying file in ZipFile.__init__(). This is an odd test: since the exception is in the __del__() method, it is not propogated. This test will trigger it but regrtest.py does not detect the failure (not sure why); we are dependent on it actually being noticed by a user to get a new bug report if it ever fails. ;-( On the other hand, this makes sure that code gets exercised, so a failure could be noticed! 28 February 2001, 05:34:16 UTC
90eac28 Fix SF tracker bug #403871: AttributeError in ZipFile.__del__() when there was an IOError opening the underlying file in ZipFile.__init__(). 28 February 2001, 05:29:34 UTC
3f571d6 Fix SF buf 404774 submitted by Gregory H. Ball A user program could delete a function's func_closure, which would cause it to crash when called. 28 February 2001, 02:42:56 UTC
280c81a Need to support single_input explicitly so from __future__ imports are legal at the interactive interpreter prompt. They don't do anything yet... 28 February 2001, 02:26:14 UTC
39e2f3f Presumed correct compiler pass for future statements XXX still need to integrate into symtable API compile.h: Remove ff_n_simple_stmt; obsolete. Add ff_found_docstring used internally to skip one and only one string at the beginning of a module. compile.c: Add check for from __future__ imports to far into the file. In symtable_global() check for -1 returned from symtable_lookup(), which signifies name not defined. Add missing DECERF in symtable_add_def. Free c->c_future. future.c: Add special handling for multiple statements joined on a single line using one or more semicolons; this form can include an illegal future statement that would otherwise be hard to detect. Add support for detecting and skipping doc strings. 28 February 2001, 01:58:08 UTC
8e43cd7 verify that warnings are issued for bogus uses of global 28 February 2001, 01:51:01 UTC
ff443a5 added missing element to __all__ 28 February 2001, 01:03:48 UTC
6c0a0e1 added some elements missing from __all__ 28 February 2001, 01:00:58 UTC
457aab2 Macintosh compatibility. 27 February 2001, 23:36:29 UTC
5e2b173 Acknowledgements. 27 February 2001, 23:35:09 UTC
24033e3 Updated for 2.1a3 27 February 2001, 23:24:07 UTC
6223d48 Added Popt resource for "dont show console" Changed SIZE resource to be carbon-compatible. 27 February 2001, 23:22:51 UTC
64700c9 Various tweaks to make it work on MacOSX. 27 February 2001, 23:22:02 UTC
9fa7720 Added future.c 27 February 2001, 23:19:58 UTC
40c4991 Fix $Revision$ processing so it doesn't get eaten by CVS! 27 February 2001, 22:46:01 UTC
09d7d9a Add $Revision: $ tag. 27 February 2001, 22:43:48 UTC
6f3f9a4 Add display of $Revision $ and credits. 27 February 2001, 22:42:36 UTC
969ab27 Update documentation for termios module; do not refer to the TERMIOS module for constant definitions. Add a deprecation to the TERMIOS module. 27 February 2001, 22:01:15 UTC
5dd09bb No need to call filterwarnings() to suppress further warnings from this module; that won't happen. 27 February 2001, 21:51:47 UTC
ddd802c Replace all the platform-specific TERMIOS modules with a portable version based on the termios module. The only added "feature" is the deprecation warning it spits out. 27 February 2001, 21:35:40 UTC
1191d01 Get the needed constants from termios, not TERMIOS. 27 February 2001, 21:23:31 UTC
df48d14 Define the constants needed for working with these functions directly in this module; no more need for TERMIOS.py. 27 February 2001, 21:22:39 UTC
0f4e93d Backing out nested scopes broke the Windows build. Repairing. 27 February 2001, 21:11:46 UTC
6efc6e7 Patch #404680: disables the nis module and enables the dl module when building under Cygwin. Makes some fixes to the dlmodule in order to compile with Cygwin. 27 February 2001, 20:54:23 UTC
5941d19 add from __future__ import nested_scopes to strings passed to compile 27 February 2001, 20:23:58 UTC
bd00cda Teach Windows build about new future.c. 27 February 2001, 19:52:02 UTC
83c158f Bug #229280: remove '/' characters from the OS name (for BSD/OS :) ) 27 February 2001, 19:25:42 UTC
a34dbe0 Patch #403947: On Cygwin, use the Unix compiler class, and not 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.) 27 February 2001, 19:13:15 UTC
4db62b1 Improved __future__ parser; still more to do 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 27 February 2001, 19:07:02 UTC
ed5e823 Gustavo Niemeyer <niemeyer@conectiva.com>: 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. 27 February 2001, 18:56:46 UTC
cf9926c Change EXEEXT back to EXE in the Makefile. Other tools may depend on the name. The name in configure is still EXEEXT because that's what autoconf calls it. Also, replace a few occurrences of "python" with "$(PYTHON)". 27 February 2001, 18:50:56 UTC
9767e76 Patch #404275: generate a reasonable platform string for AIX 27 February 2001, 18:48:00 UTC
8016a4b Remove two meaningless, module-level global statements (one of a non-existent variable :-). Reflow long lines. 27 February 2001, 18:44:14 UTC
5e16333 Patch #403985: Add support for weak-keyed dictionaries 27 February 2001, 18:36:56 UTC
bb40dc4 remove commented-out vestiges of access statement 27 February 2001, 18:36:14 UTC
8216c18 conditionally include unistd.h to pick up confstr declaration. attempt to squelch warning from GCC 2.95.2 on Solaris - partially addresses bug #232787. 27 February 2001, 17:04:34 UTC
dd17534 pydoc: text and HTML documentation generator for interactive use 27 February 2001, 14:43:46 UTC
6397c7c inspect: a module for getting information out of live Python objects 27 February 2001, 14:43:21 UTC
cced0aa SetListCellIndent() argument was guessed incorrectly. Fixed. 27 February 2001, 13:00:36 UTC
f02f4c8 Soundex has gone. 27 February 2001, 12:59:49 UTC
501d89d Soundex has gone. 27 February 2001, 12:48:42 UTC
8a69373 Dialog and Window objects are (finally) different beasts. 27 February 2001, 11:05:00 UTC
d67566b Use the filename, not the pathname, in the definitions file comment. This way the generated files are identical when generated on different machines. 27 February 2001, 11:04:20 UTC
e99bd17 Fixing bug #227562 by calling URLopener.http_error_default when an invalid 401 request is being handled. 27 February 2001, 06:27:04 UTC
be77cf7 Add warnings about undefined "global" SF bug #233532 XXX Can't figure out how to write test cases that work with warnings 27 February 2001, 05:15:57 UTC
a35c688 Add Vladimir Marangozov's object allocator. It is disabled by default. This closes SF patch #401229. 27 February 2001, 04:45:05 UTC
29906ee Preliminary support for future nested scopes 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. 27 February 2001, 04:23:34 UTC
2a5130e Document XML changes. 27 February 2001, 04:21:58 UTC
7a5e80e Updates to describe function attributes. 27 February 2001, 03:36:30 UTC
d4614e8 Updates to the semantics of function and method attributes. 27 February 2001, 03:32:35 UTC
ab354bb Mention setup.py in the instructions Add note about linuxaudiodev possibly working on BSD 27 February 2001, 03:29:52 UTC
ebe3045 Update build notes to mention setup.py 27 February 2001, 03:24:24 UTC
9e9bb01 Fix typo 27 February 2001, 03:15:00 UTC
4041774 Add missing dependents of graminit.h. 27 February 2001, 02:45:36 UTC
7cd124c Generate grammar source files in srcdir. Ignore the error if they cannot be created (perhaps the source directory is read-only). 27 February 2001, 02:19:16 UTC
acbf9ef Don't create the Include directory if building outside of the source directory. Closes SF #403930. 27 February 2001, 02:15:14 UTC
3c823aa Make sure ConfigParser uses .optionxform() consistently; this affects .has_option(), .remove_option(), and .set(). This closes SF tracker #232913. 26 February 2001, 21:55:34 UTC
ffc215a Add __future__.py to std library, + dull test to verify that assignments therein are of the proper form. 26 February 2001, 21:14:49 UTC
back to top