summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* test_timeout(): Disable this new test on all platforms.Tim Peters2006-04-011-4/+8
| | | | | | | | | The s.connect(("gmail.org", 995)) line has been timing out on all buildbot slaves for hours now, causing the test to fail.
* merged the sqlite-integration branch.Anthony Baxter2006-04-0110-0/+1853
| | | | | | | This is based on pysqlite2.1.3, and provides a DB-API interface in the standard library. You'll need sqlite 3.2.2 or later to build this - if you have an earlier version, the C extension module will not be built.
* Another crack at bug #1460340: make random.sample(dict)Tim Peters2006-04-012-5/+32
| | | | work, this time by ugly brute force.
* Make test_socket_ssl finally pass on WInGeorg Brandl2006-03-311-0/+3
|
* Update version number to 2.5Georg Brandl2006-03-311-1/+1
|
* bug #1257988: don't bail out on gethostbyname(gethostname()) failureGeorg Brandl2006-03-311-1/+5
|
* Disable test_socket_ssl timeout test on Windows.Georg Brandl2006-03-311-11/+13
|
* Patch #1460496: round() now accepts keyword arguments.Georg Brandl2006-03-311-0/+3
|
* Bug #1445068: getpass.getpass() can now be given an explicit streamGeorg Brandl2006-03-311-10/+15
| | | | argument to specify where to write the prompt.
* Patch #1462313, bug #1443328: the pickle modules now can handle classesGeorg Brandl2006-03-312-2/+42
| | | | that have __private names in their __slots__.
* Patch #1380952: fix SSL objects timing out on consecutive read()sGeorg Brandl2006-03-311-0/+14
|
* Bug #1250170, Patch #1462230: handle socket.gethostname()Georg Brandl2006-03-312-5/+14
| | | | failures gracefully
* traceback now shows error position for all SyntaxError subclasses,Georg Brandl2006-03-312-1/+11
| | | | e.g. IndentationError. (bug #1447885)
* Fix the reference leak in test_generators, by explicitly breaking the cycleThomas Wouters2006-03-311-9/+19
| | | | | | we are about to leave behind. An example of the cause of this leak can be found in the leakers directory, in case we ever want to tackle the underlying problem.
* Bug #947906: An object oriented interface has been added to the calendarWalter Dörwald2006-03-312-152/+564
| | | | | module. It's possible to generate HTML calendar now and the module can be called as a script (e.g. via ``python -mcalendar``).
* test_main(): Restore the decimal context that was inTim Peters2006-03-311-10/+14
| | | | | | | | effect at the time test_decimal was imported. Else running test_decimal had the bad side effect of permanently changing the decimal context in effect. That caused text_tokenize to fail if it ran after test_decimal.
* Repaired a number of errors in this test:Tim Peters2006-03-311-60/+74
| | | | | | | | | | | | | | | | | | - The doctests in decistmt() weren't run at all when test_tokenize was run via regrtest.py. - Some expected output in decistmt() was Windows-specific (but nobody noticed because the doctests weren't getting run). - test_roundtrip() didn't actually test anything when running the tests with -O. Now it does. - Changed test_roundtrip() to show the name of the input file when it fails. That would have saved a lot of time earlier today. - Added a bunch of comments.
* SF patch #1458476 with modifications based on discussions in python-dev. ThisBarry Warsaw2006-03-301-1/+1
| | | | | | adds the following API calls: PySet_Clear(), _PySet_Next(), and _PySet_Update(). The latter two are considered non-public. Tests and documentation (for the public API) are included.
* Insert a safety space after numbers as well as names in untokenize().Guido van Rossum2006-03-301-1/+1
|
* Try to fix test_loading on openbsd.Thomas Heller2006-03-301-1/+1
|
* Oops - this should not have gone in.Thomas Heller2006-03-301-1/+0
|
* Output more info when the test fails.Thomas Heller2006-03-301-1/+5
|
* Minor bugs in the __index__ code (PEP 357), with tests.Armin Rigo2006-03-301-95/+73
|
* whitespace normalisationAnthony Baxter2006-03-306-24/+23
|
* Checking in the test for PEP 357.Armin Rigo2006-03-301-0/+159
| | | | | | This is from the SF tracker as well; for some reason the content of test_index.py was lost and an empty file was checked in instead.
* Fixed bug #1459029 - unicode reprs were double-escaped.Anthony Baxter2006-03-301-0/+16
|
* Implementation for patch request #1457316: support --identity optionPhillip J. Eby2006-03-301-1/+10
| | | | for setup.py "upload" command.
* SF bug #1460340: random.sample can raise KeyErrorRaymond Hettinger2006-03-292-10/+14
| | | | Fix the hit and miss style of testing for sets and dicts.
* Revert r43399.Georg Brandl2006-03-283-25/+25
|
* Bug #1459963: urllib2 now normalizes HTTP header names correctlyGeorg Brandl2006-03-283-25/+25
| | | | with title().
* Make the tests succeed with -Qnew: Do not rely on the exact wording of a ↵Thomas Heller2006-03-281-6/+4
| | | | ZeroDivisionError.
* Make uu use floor division instead of classic division.Georg Brandl2006-03-281-1/+1
| | | | This was discovered by test_email failing with -Qnew.
* Make test_augassign pass with -Qnew and convert to unittest.Georg Brandl2006-03-282-310/+325
|
* Make xdrlib use floor division instead of classic division.Georg Brandl2006-03-281-2/+2
| | | | Makes test_xdrlib pass.
* Make test_coercion pass with -Qnew. Converted to unittest on the occasion.Georg Brandl2006-03-282-1136/+242
|
* In true regression-test spirit, make sure theThomas Wouters2006-03-281-0/+29
| | | | | | | | itertools.tee->instance->attribute->itertools.tee and itertools.tee->teedataobject->itertools.tee cycles, which can be found now that itertools.tee and its teedataobject participate in GC, remain findable and cleanable. The test won't fail when they aren't, but at least the frequent hunt-refleaks runs would spot the rise in refleaks.
* Add an example of a generator->freevar->cell->generator reference-cycle thatThomas Wouters2006-03-281-0/+11
| | | | doesn't get cleaned up and thus leaks.
* Make test_decimal work with -Qnew.Georg Brandl2006-03-281-10/+16
|
* Part of bug 1459808: fiddle test_input_and_raw_input()Tim Peters2006-03-281-2/+10
| | | | so it passes w/ -Qnew.
* Part of bug 1459808: fiddle so that this passesTim Peters2006-03-281-12/+12
| | | | with or without -Qnew.
* Fix contextlib not copying function attributesPhillip J. Eby2006-03-282-0/+16
|
* dummy_thread needs to support PEP 343 too.Phillip J. Eby2006-03-271-0/+8
|
* Patch #1459476: install PKG-INFO metadata alongside distutils-installed ↵Phillip J. Eby2006-03-272-0/+76
| | | | packages.
* Whitespace.Walter Dörwald2006-03-2724-0/+72
|
* Fix SF bug #1458903 with AST compiler.Neal Norwitz2006-03-272-2/+8
| | | | | | | | | | | | def foo((x)): was getting recognized as requiring tuple unpacking which is not correct. Add tests for this case and the proper way to unpack a tuple of one: def foo((x,)): test_inpsect was incorrect before. I'm not sure why it was passing, but that has been corrected with a test for both functions above. This means the test (and therefore inspect.getargspec()) are broken in 2.4.
* Bug #1457264: parse http://host?query correctly in urllibGeorg Brandl2006-03-261-1/+1
|
* Fix typo.Martin v. Löwis2006-03-261-1/+1
|
* Patch from Aldo Cortesi: expected skips for OpenBSD.Martin v. Löwis2006-03-261-0/+30
|
* Provide more debug output, to diagnose OpenBSD test failures.Martin v. Löwis2006-03-261-1/+1
|
* Allow long objects as a position value of error callbacks returned.Hye-Shik Chang2006-03-262-2/+21
|