summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Properly generate logical file ids. Fixes #1515998.Martin v. Löwis2006-07-061-4/+6
| | | | Also correct typo in Control.mapping.
* Test using all CJK encodings for the testcases which don't requireHye-Shik Chang2006-07-061-6/+26
| | | | specific encodings.
* Add a testcase for r47086 which fixed a bug in codec_getstreamcodec().Hye-Shik Chang2006-07-061-1/+9
|
* Ignore ImportWarning by defaultNick Coghlan2006-07-061-0/+1
|
* Revert the __module_name__ changes made in rev 47142. We'll revisit this in ↵Nick Coghlan2006-07-062-34/+18
| | | | Python 2.6
* added XMLParser alias for cElementTree compatibilityFredrik Lundh2006-07-061-1/+4
|
* Patch #1517790: It is now possible to use custom objects in the ctypesThomas Heller2006-07-061-0/+35
| | | | | | foreign function argtypes sequence as long as they provide a from_param method, no longer is it required that the object is a ctypes type.
* The test that calls a function with invalid arguments and catches theThomas Heller2006-07-061-9/+5
| | | | resulting Windows access violation will not be run by default.
* A couple of examples about how to attack the fact that _PyType_Lookup()Armin Rigo2006-07-062-0/+67
| | | | returns a borrowed ref. Many of the calls are open to attack.
* Revert the change done in svn revision 47206:Thomas Heller2006-07-061-5/+9
| | | | | | Add a new function uses_seh() to the _ctypes extension module. This will return True if Windows Structured Exception handling (SEH) is used when calling functions, False otherwise.
* Fix bug in passing tuples to string.Template. All other values (with workingThomas Wouters2006-07-052-3/+10
| | | | | | | | | | | | | | str() or repr()) would work, just not multi-value tuples. Probably not a backport candidate, since it changes the behaviour of passing a single-element tuple: >>> string.Template("$foo").substitute(dict(foo=(1,))) '(1,)' versus '1'
* Put method-wrappers into trashcan. Fixes #927248.Martin v. Löwis2006-07-031-0/+8
|
* Patch #825417: Fix timeout processing in expect,Martin v. Löwis2006-07-031-1/+15
| | | | read_until. Will backport to 2.4.
* Bug #1267547: Put proper recursive setup.py call into theMartin v. Löwis2006-07-031-3/+4
| | | | spec file generated by bdist_rpm.
* Bug #1417699: Reject locale-specific decimal point in float()Martin v. Löwis2006-07-032-3/+17
| | | | and atof().
* Bug #1514693: Update turtle's heading when switching betweenMartin v. Löwis2006-07-031-1/+6
| | | | degrees and radians.
* Reimplement turtle.circle using a polyline, to allow correctMartin v. Löwis2006-07-031-48/+14
| | | | filling of arcs. Also fixes #1514693.
* Only setup canvas when it is first created.Martin v. Löwis2006-07-031-1/+1
| | | | Fixes #1514703
* Whitespace normalization.Tim Peters2006-07-031-1/+1
|
* Add a new function uses_seh() to the _ctypes extension module. ThisThomas Heller2006-07-031-9/+5
| | | | | | | | | | | | will return True if Windows Structured Exception handling (SEH) is used when calling functions, False otherwise. Currently, only MSVC supports SEH. Fix the test so that it doesn't crash when run with MingW compiled _ctypes. Note that two tests are still failing when mingw is used, I suspect structure layout differences and function calling conventions between MSVC and MingW.
* Don't run the doctests with Python 2.3 because it doesn't have the ELLIPSIS ↵Thomas Heller2006-07-031-4/+8
| | | | flag.
* Correct arithmetic in access on Win32. Fixes #1513646.Martin v. Löwis2006-07-021-0/+14
|
* The sqlite3 module did cut off data from the SQLite database at the first nullGerhard Häring2006-07-021-2/+20
| | | | character before sending it to a custom converter. This has been fixed now.
* SF bug #1296433 (Expat bug #1515266): Unchecked calls to character dataFred Drake2006-07-012-56/+21
| | | | | | | | handler would cause a segfault. This merges in Expat's lib/xmlparse.c revisions 1.154 and 1.155, which fix this and a closely related problem (the later does not affect Python). Moved the crasher test to the tests for xml.parsers.expat.
* Release all forwarded functions in .close. Fixes #1513223.Martin v. Löwis2006-07-012-14/+31
|
* Added duplicate call to fileConfig() to ensure that it cleans up after ↵Vinay Sajip2006-07-011-0/+2
| | | | itself correctly.
* Whitespace normalization.Tim Peters2006-06-301-4/+4
|
* Fixed bug in fileConfig() which failed to clear logging._handlerListVinay Sajip2006-06-301-0/+1
|
* This should fix the buildbot failure on s/390 which can't connect to gmail.org.Neal Norwitz2006-06-291-6/+9
| | | | | | It makes the error message consistent and always sends to stderr. It would be much better for all the networking tests to hit only python.org.
* Add new utility function, reap_children(), to test_support. This shouldNeal Norwitz2006-06-2913-8/+52
| | | | | | | | | | be called at the end of each test that spawns children (perhaps it should be called from regrtest instead?). This will hopefully prevent some of the unexplained failures in the buildbots (hppa and alpha) during tests that spawn children. The problems were not reproducible. There were many zombies that remained at the end of several tests. In the worst case, this shouldn't cause any more problems, though it may not help either. Time will tell.
* SF bug #1504333: sgmlib should allow angle brackets in quoted valuesFred Drake2006-06-292-9/+25
| | | | | | | (modified patch by Sam Ruby; changed to use separate REs for start and end tags to reduce matching cost for end tags; extended tests; updated to avoid breaking previous changes to support IPv6 addresses in unquoted attribute values)
* Fix end_fill().Georg Brandl2006-06-281-1/+1
|
* A couple of crashers of the "won't fix" kind.Armin Rigo2006-06-282-0/+26
|
* Make full module name available as __module_name__ even when __name__ is set ↵Nick Coghlan2006-06-282-18/+34
| | | | to something else (like '__main__')
* According to the man pages on Gentoo Linux and Tru64, EACCES or EAGAINNeal Norwitz2006-06-281-1/+1
| | | | | can be returned if fcntl (lockf) fails. This fixes the test failure on Tru64 by checking for either error rather than just EAGAIN.
* Whitespace normalization.Tim Peters2006-06-273-4/+4
|
* MacOSX: fix rather dumb buglet that made it impossible to create extensions onRonald Oussoren2006-06-272-2/+2
| | | | OSX 10.3 when using a binary distribution build on 10.4.
* Removed buggy exception handling in doRollover of rotating file handlers. ↵Vinay Sajip2006-06-271-12/+2
| | | | Exceptions now propagate to caller.
* Attempt to fix build failure on OS X and Debian alpha; the symptom isAndrew M. Kuchling2006-06-261-1/+1
| | | | | | | | | | consistent with os.wait() returning immediately because some other subprocess had previously exited; the test suite then immediately tries to lock the mailbox and gets an error saying it's already locked. To fix this, do a waitpid() so the test suite only continues once the intended child process has exited.
* Windows doesn't have os.fork(). I'll just disable this test for nowAndrew M. Kuchling2006-06-261-0/+2
|
* Add a test for a conflicting lock.Andrew M. Kuchling2006-06-261-0/+22
| | | | | On slow machines, maybe the time intervals (2 sec, 0.5 sec) will be too tight. I'll see how the buildbots like it.
* [Bug #1512163] Use one set of locking methods, lockf();Andrew M. Kuchling2006-06-261-12/+2
| | | | | | | | | remove the flock() calls. On FreeBSD, the two methods lockf() and flock() end up using the same mechanism and the second one fails. A Linux man page claims that the two methods are orthogonal (so locks acquired one way don't interact with locks acquired the other way) but that clearly must be false.
* [Bug #1512163] Fix typo.Andrew M. Kuchling2006-06-261-1/+1
| | | | | This change will probably break tests on FreeBSD buildbots, but I'll check in a fix for that next.
* Workaround for bug #1512124Ronald Oussoren2006-06-251-1/+8
| | | | | | Without this patch IDLE will get unresponsive when you open the debugger window on OSX. This is both using the system Tcl/Tk on Tiger as the latest universal download from tk-components.sf.net.
* - SF bug #853506: IP6 address parsing in sgmllibFred Drake2006-06-232-11/+45
| | | | | | | | | | ('[' and ']' were not accepted in unquoted attribute values) - cleaned up tests of character and entity reference decoding so the tests cover the documented relationships among handle_charref, handle_entityref, convert_charref, convert_codepoint, and convert_entityref, without bringing up Unicode issues that sgmllib cannot be involved in
* Applied patch #1506758: Prevent MemoryErrors with large MAXFD.Peter Astrand2006-06-222-2/+2
|
* Make it possible to run test_subprocess.py on Python 2.2, which lacks ↵Peter Astrand2006-06-221-1/+2
| | | | test_support.is_resource_enabled.
* 'warning's was improperly requiring that a command-line Warning category beBrett Cannon2006-06-222-2/+14
| | | | | | | both a subclass of Warning and a subclass of types.ClassType. The latter is no longer true thanks to new-style exceptions. Closes bug #1510580. Thanks to AMK for the test.
* Test for correct compilation of try-except-finally stmt.Georg Brandl2006-06-221-0/+15
| | | | Test for correct lineno on list, tuple, dict literals.
* Set lineno correctly on list, tuple and dict literals.Georg Brandl2006-06-221-5/+5
|