summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* test_devnull(): Use assertEqual() instead of an assert stmt.Tim Peters2004-06-081-1/+1
|
* Removed test_sitepackages test. Skip discovered that it only passed if PythonBrett Cannon2004-06-081-8/+0
| | | | had already been installed previously.
* Feature request #935915: Add os.path.devnull.Martin v. Löwis2004-06-086-6/+21
|
* SF 952807: Unpickling pickled instances of subclasses of datetime.date,Tim Peters2004-06-071-0/+34
| | | | | | | datetime.datetime and datetime.time could yield insane objects. Thanks to Jiwon Seo for the fix. Bugfix candidate. I'll backport it to 2.3.
* Another nit found by Neal Norwitz using pychecker. This was caused by aSkip Montanaro2004-06-071-2/+1
| | | | | too-mechanical translation when converting html() to text() (simply stripped strong() where it appeared).
* Cleanup: the in operator already returns a bool, no need to bool() it againNeal Norwitz2004-06-071-4/+4
| | | | | Cleanup: use condition to be consistent with code above CookieJar is in cookielib
* There is no reason to have an underscore after selfNeal Norwitz2004-06-071-1/+1
|
* Remove a useless operation, setting name to itselfNeal Norwitz2004-06-071-1/+0
|
* correct name error caught by Neal Norwitz with pycheckerSkip Montanaro2004-06-071-3/+3
|
* Fix typo in comment.Raymond Hettinger2004-06-071-1/+1
|
* Try to improve test coverage for utime()Neal Norwitz2004-06-061-0/+4
|
* Look for the multibyte codec map files in the parent directory tooNeal Norwitz2004-06-061-2/+7
| | | | | This is similar to test_normalization, so that many source trees can reference the same test file(s).
* 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
|