summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* bunch more __all__ listsSkip Montanaro2001-02-1528-1/+111
| | | | | | also modified check_all function to suppress all warnings since they aren't relevant to what this test is doing (allows quiet checking of regsub, for instance)
* provide simple recovery/escape from apparent redirect recursion. If theSkip Montanaro2001-02-151-1/+17
| | | | | | number of entries into http_error_302 exceeds the value set for the maxtries attribute (which defaults to 10), the recursion is exited by calling the http_error_500 method (or if that is not defined, http_error_default).
* Provide a default for the blocksize arg of storbinary().Guido van Rossum2001-02-151-1/+1
| | | | SF patch #103517 by mfx.
* Patch #103748 from Toby Dickenson: fix typo in test_zlib that turns oneAndrew M. Kuchling2001-02-141-1/+1
| | | | test case into a no-op because ''.join('hello world') == 'hello world'
* Test section name using some strange characters, including a backslashFred Drake2001-02-141-2/+7
| | | | (SF bug #132288).
* Be much more permissive in what we accept in section names; there has beenFred Drake2001-02-141-1/+1
| | | | | | | | at least one addition to the set of accepted characters for every release since this module was first added; this should take care of the problem in a more substantial way. This closes SF bug #132288.
* Miranda newlines: if anything at all was written to stdout, supply aTim Peters2001-02-141-1/+7
| | | | | | | newline at the end if there isn't one already. Expected output has no way to indicate that a trailing newline was not expected, and in the interpreter shell *Python* supplies the trailing newline before printing the next prompt.
* Change doctest exception example to one whose detail hasn't changed since 1.5.2.Tim Peters2001-02-142-6/+6
|
* Teach doctest about newer "(most recent call last)" traceback spelling.Tim Peters2001-02-132-4/+5
|
* Added a comment explaining why this file must really have #!Guido van Rossum2001-02-131-0/+9
| | | | /usr/local/bin/python and not #! /usr/bin/env python.
* The bulk of the credit for these changes goes to Bastian KleineidamSkip Montanaro2001-02-121-34/+89
| | | | | | | * restores urllib as the file fetcher (closes bug #132000) * allows checking URLs with empty paths (closes patches #103511 and 103721) * properly handle user agents with versions (e.g., SpamMeister/1.5) * added several more tests
* Added options that use square brackets in their names; this ensures thatFred Drake2001-02-122-89/+50
| | | | | | | | GNOME-style internationalized options can be parsed using ConfigParser (SF bug #131635). Converted the tests to use test_support.verify() instead of output comparison to work.
* Allow square brackets in the option names; this makes it possible to useFred Drake2001-02-121-1/+1
| | | | | | | ConfigParser with GNOME-ish config files that use the internationalization conventions found in GNOME. This closes SF bug #131635.
* This change makes imputil more closely emulate the standard importThomas Heller2001-02-121-1/+2
| | | | mechanism to support self-modifying modules.
* test_pty started failing on Windows, but if and only if test___all__ wasTim Peters2001-02-121-2/+16
| | | | | | | | | | | | run first. Indirectly due to Skip adding check_all("pty") to test___all__: that caused the expected ImportError due to pty.py trying to import the non-existent FCNTL to get handled by test___all__, leaving a partial module object for pty in sys.modules, which caused the later import of pty via test_pty to succeed. Then test_tpy died with an AttributeError, due to trying to access attributes of pty that didn't exist. regrtest viewed that as a failure rather than the appropriate "test skipped". Fixed by deleting partial module objects in test___all__ when test___all__ handles an ImportError.
* __all__ for several more modulesSkip Montanaro2001-02-1212-0/+35
|
* Patch by Finn Bock to make test_unicode.py work for Jython.Marc-André Lemburg2001-02-101-5/+10
|
* Moved SequenceMatcher from ndiff into new std library module difflib.py.Tim Peters2001-02-103-0/+1063
| | | | | | | | | Guido told me to do this <wink>. Greatly expanded docstrings, and fleshed out with examples. New std test. Added new get_close_matches() function for ESR. Needs docs, but LaTeXification of the module docstring is all it needs. \CVS: ----------------------------------------------------------------------
* Add std test for doctest.Tim Peters2001-02-102-0/+301
|
* Bump __version__ tuple.Tim Peters2001-02-101-1/+1
|
* String method cleanup.Eric S. Raymond2001-02-105-13/+7
|
* String method cleanup.Eric S. Raymond2001-02-101-3/+1
|
* In O_writelines: Replace use of string.joinfields with "".join.Jeremy Hylton2001-02-092-1/+9
|
* SF bug #131560: pdb imports 'repr', causing name collisionTim Peters2001-02-091-2/+2
|
* update to use new symtable interfaceJeremy Hylton2001-02-091-3/+4
|
* update test cases for recent compiler changes: exec/import * in nestedJeremy Hylton2001-02-094-23/+65
| | | | functinos and cell vars with */** parameters
* Nuke accurate but confusing and unhelpful comments about split vs splitfields.Tim Peters2001-02-092-2/+0
|
* Whitespace normalization.Tim Peters2001-02-094-13/+11
|
* Whitespace normalization.Tim Peters2001-02-098-22/+21
|
* joinfields -> join.Eric S. Raymond2001-02-091-1/+1
|
* String method conversion.Eric S. Raymond2001-02-093-8/+4
|