summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Assigning None to pointer type structure fields possible overwroteThomas Heller2006-07-101-0/+10
| | | | wrong fields.
* Fix bug #1518190: accept any integer or long value in theThomas Heller2006-07-101-0/+17
| | | | ctypes.c_void_p constructor.
* preparing for 2.5b2Anthony Baxter2006-07-102-1/+6
|
* Change error message to indicate that VS2003 is necessary to build extension ↵Martin v. Löwis2006-07-101-1/+1
| | | | modules, not the .NET SDK.
* Introduce DISTUTILS_USE_SDK as a flag to determine whether theMartin v. Löwis2006-07-101-1/+1
| | | | SDK environment should be used. Fixes #1508010.
* Part of SF patch #1484695. This removes dead code. The chksum wasNeal Norwitz2006-07-101-7/+0
| | | | | | already verified in .frombuf() on the lines above. If there was a problem an exception is raised, so there was no way this condition could have been true.
* Fix doco. Backport candidate.Neal Norwitz2006-07-101-1/+1
|
* Bug #1512814, Fix incorrect lineno's when code at module scopeNeal Norwitz2006-07-101-0/+10
| | | | started after line 256.
* On 64 bit systems, int literals that use less than 64 bits are now intsNeal Norwitz2006-07-091-0/+15
| | | | rather than longs. This also fixes the test for eval(-sys.maxint - 1).
* Fix SF bug 1441486: bad unary minus folding in compiler.Neil Schemenauer2006-07-091-0/+4
|
* Fix AST compiler bug #1501934: incorrect LOAD/STORE_GLOBAL generation.Neil Schemenauer2006-07-092-1/+12
|
* Whitespace normalization.Tim Peters2006-07-081-2/+2
|
* Add an additional test for bug #1519018.Georg Brandl2006-07-081-0/+2
|
* Fix SF bug #1519018: 'as' is now validated properly in import statementsNeal Norwitz2006-07-081-0/+4
|
* Restore rev 47014:Neal Norwitz2006-07-074-5/+32
| | | | | | | | | | | | | | | | The hppa ubuntu box sometimes hangs forever in these tests. My guess is that the wait is failing for some reason. Use WNOHANG, so we won't wait until the buildbot kills the test suite. I haven't been able to reproduce the failure, so I'm not sure if this will help or not. Hopefully, this change will cause the test to fail, rather than hang. That will be better since we will get the rest of the test results. It may also help us debug the real problem. *** The reason this originally failed was because there were many zombie children outstanding before rev 47158 cleaned them up. There are still hangs in test_subprocess that need to be addressed, but that will take more work. This should close some holes.
* 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.