summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* add -L flag to cause leaks(1) command to run just before exitSkip Montanaro2004-06-061-2/+13
|
* Noam Raphel: Further developemt of CodeContext feature.Kurt B. Kaiser2004-06-066-48/+86
| | | | | | | | | | | | The visibility state of the code context pane is now persistent between sessions and the pane does not appear in the shell window. M CodeContext.py M EditorWindow.py M NEWS.txt M PyShell.py M config-extensions.def M configHandler.py
* Remove a number of tests that differ only in input data size. It seemsNeil Schemenauer2004-06-051-161/+59
| | | | | | no bug motivated their inclusion and the chance of them triggering a problem seems unlikely. Refactor to reduce code duplication. Rename 'hamlet_scene' to 'HAMLET_SCENE'. Test is much faster now. Closes #960995.
* [Bug #758665] cgitb.scanvars() fails because of an unititialized value ↵Andrew M. Kuchling2004-06-051-1/+1
| | | | variable. Patch from Robin Becker.
* Remove lots of magic constants.Neil Schemenauer2004-06-051-23/+38
|
* SF #877165: Give an info about what C++ compiler command should beHye-Shik Chang2004-06-051-0/+2
| | | | used in cygwin and mingw32. (Reported by Michael Droettboom)
* Rewrote to use temporary files instead of StringIO objects in most places.Skip Montanaro2004-06-051-113/+253
| | | | Goal is to work in the direction of universal newline support.
* [Bug #897935] Fix fd leak in pty.spawn(). Reported by James Henstridge; 2.3 ↵Andrew M. Kuchling2004-06-051-0/+2
| | | | bugfix candidate.
* [Bug #921657] Allow '@' in unquoted HTML attributes. Not strictly legal ↵Andrew M. Kuchling2004-06-052-1/+5
| | | | according to the HTML REC, but HTMLParser is already a pretty loose parser. Reported by Bernd Zimmermann.
* SF bug #964230: random.choice([]) should return more intelligible exceptionRaymond Hettinger2004-06-051-1/+1
| | | | Add a comment to make the traceback less mysterious.
* [Bug #954364] inspect.getframeinfo() sometimes produces incorrect traceback ↵Andrew M. Kuchling2004-06-052-3/+5
| | | | line #s; fix is to look at tb.tb_lineno, not tb.frame.f_lineno. Patch from Robin Becker and me.
* Fix a bug that robotparser starves memory when the server responsesHye-Shik Chang2004-06-052-1/+43
| | | | | in HTTP/0.9 due to dissonance of httplib.LineAndFileWrapper and urllib.addbase.
* [Bug #841757] Patch from /F to allow Unicode strings as struct keysAndrew M. Kuchling2004-06-051-3/+6
|
* [Bug #841757] Exercise handling of Unicode stringsAndrew M. Kuchling2004-06-051-0/+2
|
* Refactored site.py into functions. Also moved over to using sets.Brett Cannon2004-06-052-203/+435
| | | | New regression test suite.
* SF patch #961387: Make IDLE's paragraph reformatting width configurableRaymond Hettinger2004-06-043-4/+27
|
* Reuse width/iswide tests from strings_test. (Suggested by Walter Dörwald)Hye-Shik Chang2004-06-041-21/+2
|
* Add comments for unicode-only methods to give hints on AttributeErrorHye-Shik Chang2004-06-041-2/+2
| | | | tracebacks. (Suggested by Walter Dörwald)
* Fix typo.Hye-Shik Chang2004-06-041-1/+1
|
* Add iswide() and width() method for UserString according as theHye-Shik Chang2004-06-043-1/+31
| | | | addition to unicode objects.
* Partial fix for #887242 (link extensions with dynamic_lookup in steadJack Jansen2004-06-031-1/+13
| | | | | | | | | | | | | | | | of hard linking against the framework). If $MACOSX_DEPLOYMENT_TARGET is set, and >= 10.3, during configure we setup extensions to link with dynamic lookup. We also record the value in the Makefile. Distutils checks whether a value for MACOSX_DEPLOYMENT_TARGET was recorded in the Makefile, and if it was insists that the current value matches. This is only a partial fix because it only applies to 2.4, and the "two python problem" exists with Python 2.3 shipped with MacOSX 10.3, which we have no influence over.
* Patch #957240: Add count parameter to asyncore.loop.Martin v. Löwis2004-06-031-2/+3
|
* SF #965425: fix so hyphenated words surrounded by punctuation areGreg Ward2004-06-032-4/+21
| | | | wrapped correctly.
* Rename class attribute containing the class to be tested, so the name is theWalter Dörwald2004-06-025-16/+16
| | | | same as for the string and sequence tests.
* Remove reference to pcre moduleAndrew M. Kuchling2004-06-021-1/+1
|
* Remove pre moduleAndrew M. Kuchling2004-06-022-665/+0
|
* - SF #962502: Add two more methods for unicode type; width() andHye-Shik Chang2004-06-021-0/+20
| | | | | | | iswide() for east asian width manipulation. (Inspired by David Goodger, Reviewed by Martin v. Loewis) - Move _PyUnicode_TypeRecord.flags to the end of the struct so that no padding is added for UCS-4 builds. (Suggested by Martin v. Loewis)
* Copyright year changedVinay Sajip2004-06-021-1/+1
|
* Added IMAP4_stream to __all__Piers Lauder2004-06-021-1/+1
|
* test_hash(): The test here is different enough from the one in the bugTim Peters2004-06-011-3/+7
| | | | | report that the stats for expected # of collisions are a little higher. Updated comments accordingly.
* [Bug #962631] Fix typo reported by Bryan BlackburnAndrew M. Kuchling2004-06-011-1/+1
|
* SF bug #942952: Weakness in tuple hashRaymond Hettinger2004-06-011-0/+19
| | | | | | | (Basic approach and test concept by Tim Peters.) * Improved the hash to reduce collisions. * Added the torture test to the test suite.
* Silence noise in regrtest.Martin v. Löwis2004-06-011-1/+0
|
* SF patch 959726: sdist versus SVNTim Peters2004-05-311-2/+2
| | | | The disutils sdist command now ignores .svn directories.
* Patch #932930: suggest the use of rawstrings for backslashes.Martin v. Löwis2004-05-311-12/+21
|
* Patch #963318: Add support for client-side cookie management.Martin v. Löwis2004-05-316-39/+3827
|
* Port the dictionary tests from test_types.py to unittest. Collect as muchWalter Dörwald2004-05-317-361/+705
| | | | | | mapping tests as possible in mapping_test.py and reuse the tests in test_dict.py, test_userdict.py, test_weakref.py, test_os.py and test_shelve.py. From SF patch #736962.
* Fix typo (from SF bug #962602)Walter Dörwald2004-05-311-1/+1
|
* Add weakref support to sockets and re pattern objects.Raymond Hettinger2004-05-313-1/+24
|
* Add weakref support to array.array and file objects.Raymond Hettinger2004-05-312-0/+25
|
* Make sets and deques weak referencable.Raymond Hettinger2004-05-302-0/+15
|
* The default argument in dict.setdefault() defaults to None.Walter Dörwald2004-05-271-2/+2
| | | | | Add this default to weakref.WeakValueDictionary.setdefault() and weakref.WeakKeyDictionary.setdefault() too.
* The default argument in dict.setdefault() defaults to None.Walter Dörwald2004-05-271-1/+1
| | | | Add this default to UserDict.DictMixin.setdefault() too.
* Make sure sets are printed in sorted orderRaymond Hettinger2004-05-221-0/+2
|
* * teach repr.repr() about collections.deque()Raymond Hettinger2004-05-212-2/+10
| | | | * rename a variable for clarity
* * Updated repr.py to handle set() and frozenset().Raymond Hettinger2004-05-212-42/+58
| | | | | | | * Factored out common code to a single private function. * Use str.join() instead of + concatenation * Loop over elements directly instead of using indexing * Use % operator for formatting
* Add a test to verify an early call to iter() on the outermost forRaymond Hettinger2004-05-201-0/+9
| | | | expression.
* Fixed IMAP4_SSL read bug introduced by patch 956394Piers Lauder2004-05-201-1/+1
|
* Fixed IMAP4_SSL read and readlines code per patch 956394Piers Lauder2004-05-201-7/+10
|
* Applying SF patch #949329 on behalf of Raymond Hettinger.Armin Rigo2004-05-191-7/+8
|