summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix $Revision$ processing so it doesn't get eaten by CVS!Ka-Ping Yee2001-02-271-2/+2
|
* Add $Revision: $ tag.Ka-Ping Yee2001-02-271-1/+1
|
* Add display of $Revision $ and credits.Ka-Ping Yee2001-02-271-10/+33
|
* No need to call filterwarnings() to suppress further warnings from thisFred Drake2001-02-271-3/+0
| | | | module; that won't happen.
* Replace all the platform-specific TERMIOS modules with a portable versionFred Drake2001-02-2714-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 Drake2001-02-272-5/+4
|
* Patch #404680: disables the nis module and enables the dl module whenAndrew M. Kuchling2001-02-271-0/+1
| | | | | 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 compileJeremy Hylton2001-02-271-6/+12
|
* Bug #229280: remove '/' characters from the OS name (for BSD/OS :) )Andrew M. Kuchling2001-02-271-1/+6
|
* Patch #403947: On Cygwin, use the Unix compiler class, and notAndrew M. Kuchling2001-02-271-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.)
* Patch #404275: generate a reasonable platform string for AIXAndrew M. Kuchling2001-02-271-0/+2
|
* Remove two meaningless, module-level global statements (one of aJeremy Hylton2001-02-271-7/+9
| | | | | | non-existent variable :-). Reflow long lines.
* Patch #403985: Add support for weak-keyed dictionariesMartin v. Löwis2001-02-273-3/+82
|
* pydoc: text and HTML documentation generator for interactive useKa-Ping Yee2001-02-271-0/+1158
|
* inspect: a module for getting information out of live Python objectsKa-Ping Yee2001-02-273-0/+824
|
* Fixing bug #227562 by calling URLopener.http_error_default whenMoshe Zadka2001-02-271-12/+18
| | | | an invalid 401 request is being handled.
* Preliminary support for future nested scopesJeremy Hylton2001-02-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Make sure ConfigParser uses .optionxform() consistently; this affectsFred Drake2001-02-263-0/+28
| | | | | | .has_option(), .remove_option(), and .set(). This closes SF tracker #232913.
* Add __future__.py to std library, + dull test to verify that assignmentsTim Peters2001-02-263-0/+87
| | | | therein are of the proper form.
* Additional tests for current, PEP described semantics:Barry Warsaw2001-02-261-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.
* Do not hide a failure to create a temporary file; if it fails the workFred Drake2001-02-231-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.
* Describe -s a little more generically.Barry Warsaw2001-02-231-5/+6
|
* Patch #103885: Add dynamic registration and lookup of DOM implementations.Martin v. Löwis2001-02-223-0/+81
|
* Fix previous checkin, hopelessly broken as it was; reported by Detlef Lannert.Jeremy Hylton2001-02-221-7/+7
|
* replace exec with simple assignmentsJeremy Hylton2001-02-211-3/+7
|
* The code to write timestamps couldn't handle negative times (and timeJack Jansen2001-02-211-0/+2
| | | | on the Mac is negativevalues > 0x80000000). Fixed.
* Whitespace normalization.Tim Peters2001-02-214-5/+4
|
* Add test case from bug #124981: zlib decompress of sync-flushed dataAndrew M. Kuchling2001-02-212-0/+27
| | | | fails
* Patch #103854: raises an exception if a non-Attr node is passed toAndrew M. Kuchling2001-02-212-0/+14
| | | | | | NamedNodeMap.setNamedItem(). Martin, should I sync the PyXML tree, too, or do you want to do it? (I don't know if you're wrapping the 0.6.4 release right now.)
* Added test for patch #103473: test an unquoted cookie value containing '='Andrew M. Kuchling2001-02-212-0/+7
|
* Patch #103473 from dougfort: Some sites (amazon.com for one) dropAndrew M. Kuchling2001-02-201-2/+2
| | | | | | cookies that contain '=' as part of the value. This patch modifies Cookie.py to allow '=' as a legal character, and to make the key search nongreedy so it stops at the first '='.
* Improve accuracy. In the .tex file, note the new "% BUG:" comments: anTim Peters2001-02-201-3/+3
| | | | extra backslash is getting displayed in the generated HTML.
* SF patch #103749: implicit tuple + default argJeremy Hylton2001-02-192-3/+40
|
* Fix a few small typos in the docstrings.Fred Drake2001-02-191-5/+5
| | | | | get_close_matches(): Do not use %-interpolation for strings when concatenation is more efficient.
* SF Patch # 103839 byt dougfort: Allow ';' in attributesGuido van Rossum2001-02-191-1/+1
| | | | | | | sgmllib does not recognize HTML attributes containing the semicolon ';' character. This may be in accordance with the HTML spec, but there are sites that use it (excite.com) and the browsers I regularly use (IE5, Netscape, Opera) all handle it. Doug Fort Downright Software LLC
* Add simple section for assert, including assert w/ lambdasJeremy Hylton2001-02-192-0/+7
|
* Add test for syntax error on "x = 1 + 1".Jeremy Hylton2001-02-194-22/+13
| | | | Move check_syntax() function into test_support.
* fix long lineJeremy Hylton2001-02-191-1/+2
|
* DOMException._get_code():Fred Drake2001-02-191-0/+3
| | | | | | New method; this is the "alternate" access to the exception code. (Useful for Python DOM implementations that support the accessor method approach to retrieving attribute values.)
* Enhancements to the bdist_wininst command:Thomas Heller2001-02-191-265/+282
| | | | | | | | | | | | | | | | | --bitmap command line option allows to use a different bitmap file instead of the build-in python powered logo. --title lets you specify the text to display on the background. The editbox in the first screen now longer is selected (highlighted), it had the WS_TABSTOP flag. This is the patch http://sourceforge.net/patch/?func=detailpatch&patch_id=103687&group_id=5470 with two changes: 1. No messagebox displayed when the compilation to .pyc or .pyo files failes, this will only confuse the user (and it will fail under certain cases, where sys.path contains garbage). 2. A debugging print statement was removed from bdist_wininst.py.
* This patch makes the default compiler determination more flexibleMarc-André Lemburg2001-02-191-8/+40
| | | | | | | | | | | | and also takes the sys.platform name into account. This helps on platforms where there are multiple possible compiler backends (the one with which Python itself was compiled is preferred over others in this case). The patch uses this new technique to enable using cygwin compiler per default for cygwin compiled Pythons. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* detect attempts to repeat anchors (fixes bug #130748)Fredrik Lundh2001-02-182-0/+5
|
* sre_{parse, compile} no longer define __all__.Tim Peters2001-02-181-2/+0
|
* - restored 1.5.2 compatibility (sorry, eric)Fredrik Lundh2001-02-185-31/+39
| | | | | - removed __all__ cruft from internal modules (sorry, skip) - don't assume ASCII for string escapes (sorry, per)
* removed __all__ from several modulesSkip Montanaro2001-02-1816-63/+0
|
* removed __all__ - should probably rename makedict to _makedict unless it isSkip Montanaro2001-02-181-6/+0
| | | | to be exported
* add module-level constants to __all__Skip Montanaro2001-02-181-0/+3
|
* Split the rpath argument into multiple paths, turning it into a list.Andrew M. Kuchling2001-02-171-0/+3
| | | | This partially fixes bug #128930.
* Linking just got simpiler on AIX and BeOS (closes SF patch #103679).Neil Schemenauer2001-02-161-25/+2
|
* Whitespace normalization.Tim Peters2001-02-154-7/+6
|