summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix SF item #876278: Unbounded recursion in modulefinder.Thomas Heller2004-05-111-0/+4
| | | | Already backported to release23-maint.
* _parse_headers(): Strip a trailing newline from the envelope header. ClosesBarry Warsaw2004-05-101-0/+4
| | | | SF #951088.
* _split_ascii(): Small optimization by RH.Barry Warsaw2004-05-101-1/+1
|
* Temporarily disable doctest until genexps are in CVSRaymond Hettinger2004-05-101-1/+1
|
* Fix [ 738973 ] urllib2 CacheFTPHandler doesn't work on multiple dirs, asMark Hammond2004-05-101-1/+1
| | | | implemented in patch [ 851736 ].
* SF patch # 884030 by Amit Aronovitch; fixes the _subpart argument to matchBarry Warsaw2004-05-091-5/+7
| | | | documented semantics.
* test_mime_attachments_in_constructor(): New test to check for SF bug # 884030.Barry Warsaw2004-05-091-0/+9
|
* we dont support any Python's before 2.3 now.Barry Warsaw2004-05-092-139/+0
|
* Update to Python 2.3, getting rid of backward compatiblity crud.Barry Warsaw2004-05-095-84/+19
|
* Update to Python 2.3, getting rid of backward compatiblity crud.Barry Warsaw2004-05-091-281/+20
| | | | This Parser is now just a backward compatible front-end to the FeedParser.
* Update to Python 2.3, getting rid of backward compatiblity crud.Barry Warsaw2004-05-091-28/+17
|
* Update to Python 2.3, getting rid of backward compatiblity crud. We don'tBarry Warsaw2004-05-091-10/+52
| | | | need the _compat21 or _compat22 modules either.
* Update to Python 2.3, getting rid of backward compatiblity crud. Get rid of aBarry Warsaw2004-05-091-27/+6
| | | | bunch of module globals that aren't used.
* Update to Python 2.3, getting rid of backward compatiblity crud. Get rid of aBarry Warsaw2004-05-091-57/+29
| | | | | | | | | bunch of module globals that aren't used. __maxheaderlen -> _maxheaderlen _handle_multipart(): This should be more RFC compliant now, and does match the updated/fixed semantics for preamble and epilogue.
* An updated FeedParser that should be RFC complaint, passes all existingBarry Warsaw2004-05-091-289/+359
| | | | | | (standard) tests, and doesn't throw parse errors. I still need throw Anthony's torture test at it, but I wanted to get this checked in and off my disk.
* Add MessageDefect and subclasses.Barry Warsaw2004-05-091-4/+27
|
* Update to Python 2.3, getting rid of backward compatiblity crud.Barry Warsaw2004-05-091-16/+7
|
* Like msg_12.txt but with some extra vertical whitespace around the innerBarry Warsaw2004-05-091-0/+38
| | | | message's end boundary.
* A bunch of new tests, and updated tests for the email 3.0 FeedParser.Barry Warsaw2004-05-091-63/+189
|
* Add more examples.Raymond Hettinger2004-05-091-0/+51
|
* SF #950057: itertools.chain doesn't "process" exceptions as they occurRaymond Hettinger2004-05-081-0/+30
| | | | | | | Both cycle() and chain() were handling exceptions only when switching input sources. The patch makes the handle more immediate. Will backport.
* Fix _sre.CODESIZE on 64-bit machines in UCS-4 mode. Fixes #931848.Martin v. Löwis2004-05-072-3/+14
| | | | Backported to 2.3.
* Revert last change.Raymond Hettinger2004-05-071-12/+12
|
* Use sets instead of lists for membership testingRaymond Hettinger2004-05-061-12/+12
|
* [Bug #945063] Get file extension correct. (2.3 bugfix candidate)Andrew M. Kuchling2004-05-061-1/+1
|
* fix documentation for ContentHandler.ignorableWhitespace()Fred Drake2004-05-061-4/+1
| | | | (closes SF bug #881707)
* Consider output encoding in XMLGenerator. Fixes #938076.Martin v. Löwis2004-05-061-13/+28
| | | | Backported to 2.3.
* Properly delegate startElementNS in saxutils.XMLFilterBase. Fixes #936637.Martin v. Löwis2004-05-061-1/+1
| | | | Backported to 2.3.
* Swap public and system ID in start_doctype_decl. Fixes #780300.Martin v. Löwis2004-05-061-1/+1
|
* Patch #944110: Properly process empty passwords. Fixes #944082.Martin v. Löwis2004-05-061-1/+1
| | | | Backported to 2.3.
* Using reversed() is not compatible with Python 1.5.2.Guido van Rossum2004-05-041-1/+1
|
* Replace str.find()!=1 with the more readable "in" operator.Raymond Hettinger2004-05-047-9/+9
|
* Testing for None should be done with 'is'Raymond Hettinger2004-05-041-1/+1
|
* Stacks based on lists work better and read more clearly when theyRaymond Hettinger2004-05-041-8/+7
| | | | grow and shrink on the right.
* Do not use the default namespace for attributes.Martin v. Löwis2004-05-022-16/+26
| | | | | Fixes http://bugs.debian.org/229885 Will backport to 2.3.
* Add a test script for the colorsys module.Walter Dörwald2004-04-281-0/+76
|
* Fix a bug I introduced which causes all block openers at an indent levelKurt B. Kaiser2004-04-261-1/+1
| | | | to be shown, instead of outdenting each level.
* 1. Add an Options menu entry: Code ContextKurt B. Kaiser2004-04-243-27/+43
| | | | | | | | | | 2. Add a <<toggle-code-context>> envent to the [CodeContext] section of config-extensions.def and also a default-on variable, set to 0. 3. Update the help file to include Code Context. M CodeContext.py M config-extensions.def M help.txt
* 1. Polish variables in EditorWindow extension loading and Tkinter variable code.Kurt B. Kaiser2004-04-243-27/+33
| | | | | | | | | | | 2. Add exception handling to EditorWindow Tkinter variable setvar() and getvar() fcns. 3. EditorWindow: remove some unneeded comments. 4. Add a separator to the Options menu 5. extend.txt: describe how to create a menu entry which has no keybinding. M Bindings.py M EditorWindow.py M extend.txt
* - New Extension: CodeContext. Provides block structuring hints for codeKurt B. Kaiser2004-04-213-3/+144
| | | | | | | | which has scrolled above an edit window. Patch 936169 Noam Raphael. A CodeContext.py M NEWS.txt M config-extensions.def
* SF #926075: Fixed the bug that returns a wrong pattern object forHye-Shik Chang2004-04-201-0/+8
| | | | | a string or unicode object in sre.compile() when a different type pattern with the same value exists.
* SF #926075: Fixed the bug that returns a wrong pattern object forHye-Shik Chang2004-04-201-2/+3
| | | | | a string or unicode object in sre.compile() when a different type pattern with the same value exists.
* * Restore the pure python version of heapq.py.Raymond Hettinger2004-04-191-0/+261
| | | | * Mark the C version as private and only use when available.
* Special case normalization of empty strings. Fixes #924361.Martin v. Löwis2004-04-171-0/+1
| | | | Backported to 2.3.
* Open file in universal newline mode when passing to compile(). SolutionSkip Montanaro2004-04-161-1/+1
| | | | from Felix Wiemann. Closes patch #934971.
* * Add unittests for iterators that report their lengthRaymond Hettinger2004-04-121-0/+245
| | | | | | * Document the differences between them * Fix corner cases covered by the unittests * Use Py_RETURN_NONE where possible for dictionaries
* Fixes for AF_UNIX support on OS/2:Andrew MacIntyre2004-04-111-4/+19
| | | | | | | | | - return the full size of the sockaddr_un structure, without which bind() fails with EINVAL; - set test_socketserver to use a socket name that meets the form required by the underlying implementation; - don't bother exercising the forking AF_UNIX tests on EMX - its fork() can't handle the stress.
* M EditorWindow.pyKurt B. Kaiser2004-04-114-69/+56
| | | | | | | | | M IOBinding.py M NEWS.txt M configDialog.py - If nulls somehow got into the strings in recent-files.lst EditorWindow.update_recent_files_list() was failing. Python Bug 931336.
* atof: correct parameter nameSkip Montanaro2004-04-101-3/+3
|
* Refactor common code out of globaltrace_trackcallers() andSkip Montanaro2004-04-101-28/+56
| | | | | | | | globaltrace_countfuncs() into file_module_function_of(). In that function use Michael Hudson's suggestion of gc.get_referrers() to back up from the code object to a function, then to a class's dict and finally to a class object if one exists.