Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Assigning None to pointer type structure fields possible overwrote | Thomas Heller | 2006-07-10 | 1 | -0/+10 |
| | | | | wrong fields. | ||||
* | Fix bug #1518190: accept any integer or long value in the | Thomas Heller | 2006-07-10 | 1 | -0/+17 |
| | | | | ctypes.c_void_p constructor. | ||||
* | preparing for 2.5b2 | Anthony Baxter | 2006-07-10 | 2 | -1/+6 |
| | |||||
* | Change error message to indicate that VS2003 is necessary to build extension ↵ | Martin v. Löwis | 2006-07-10 | 1 | -1/+1 |
| | | | | modules, not the .NET SDK. | ||||
* | Introduce DISTUTILS_USE_SDK as a flag to determine whether the | Martin v. Löwis | 2006-07-10 | 1 | -1/+1 |
| | | | | SDK environment should be used. Fixes #1508010. | ||||
* | Part of SF patch #1484695. This removes dead code. The chksum was | Neal Norwitz | 2006-07-10 | 1 | -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 Norwitz | 2006-07-10 | 1 | -1/+1 |
| | |||||
* | Bug #1512814, Fix incorrect lineno's when code at module scope | Neal Norwitz | 2006-07-10 | 1 | -0/+10 |
| | | | | started after line 256. | ||||
* | On 64 bit systems, int literals that use less than 64 bits are now ints | Neal Norwitz | 2006-07-09 | 1 | -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 Schemenauer | 2006-07-09 | 1 | -0/+4 |
| | |||||
* | Fix AST compiler bug #1501934: incorrect LOAD/STORE_GLOBAL generation. | Neil Schemenauer | 2006-07-09 | 2 | -1/+12 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-07-08 | 1 | -2/+2 |
| | |||||
* | Add an additional test for bug #1519018. | Georg Brandl | 2006-07-08 | 1 | -0/+2 |
| | |||||
* | Fix SF bug #1519018: 'as' is now validated properly in import statements | Neal Norwitz | 2006-07-08 | 1 | -0/+4 |
| | |||||
* | Restore rev 47014: | Neal Norwitz | 2006-07-07 | 4 | -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öwis | 2006-07-06 | 1 | -4/+6 |
| | | | | Also correct typo in Control.mapping. | ||||
* | Test using all CJK encodings for the testcases which don't require | Hye-Shik Chang | 2006-07-06 | 1 | -6/+26 |
| | | | | specific encodings. | ||||
* | Add a testcase for r47086 which fixed a bug in codec_getstreamcodec(). | Hye-Shik Chang | 2006-07-06 | 1 | -1/+9 |
| | |||||
* | Ignore ImportWarning by default | Nick Coghlan | 2006-07-06 | 1 | -0/+1 |
| | |||||
* | Revert the __module_name__ changes made in rev 47142. We'll revisit this in ↵ | Nick Coghlan | 2006-07-06 | 2 | -34/+18 |
| | | | | Python 2.6 | ||||
* | added XMLParser alias for cElementTree compatibility | Fredrik Lundh | 2006-07-06 | 1 | -1/+4 |
| | |||||
* | Patch #1517790: It is now possible to use custom objects in the ctypes | Thomas Heller | 2006-07-06 | 1 | -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 the | Thomas Heller | 2006-07-06 | 1 | -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 Rigo | 2006-07-06 | 2 | -0/+67 |
| | | | | returns a borrowed ref. Many of the calls are open to attack. | ||||
* | Revert the change done in svn revision 47206: | Thomas Heller | 2006-07-06 | 1 | -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 working | Thomas Wouters | 2006-07-05 | 2 | -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öwis | 2006-07-03 | 1 | -0/+8 |
| | |||||
* | Patch #825417: Fix timeout processing in expect, | Martin v. Löwis | 2006-07-03 | 1 | -1/+15 |
| | | | | read_until. Will backport to 2.4. | ||||
* | Bug #1267547: Put proper recursive setup.py call into the | Martin v. Löwis | 2006-07-03 | 1 | -3/+4 |
| | | | | spec file generated by bdist_rpm. | ||||
* | Bug #1417699: Reject locale-specific decimal point in float() | Martin v. Löwis | 2006-07-03 | 2 | -3/+17 |
| | | | | and atof(). | ||||
* | Bug #1514693: Update turtle's heading when switching between | Martin v. Löwis | 2006-07-03 | 1 | -1/+6 |
| | | | | degrees and radians. | ||||
* | Reimplement turtle.circle using a polyline, to allow correct | Martin v. Löwis | 2006-07-03 | 1 | -48/+14 |
| | | | | filling of arcs. Also fixes #1514693. | ||||
* | Only setup canvas when it is first created. | Martin v. Löwis | 2006-07-03 | 1 | -1/+1 |
| | | | | Fixes #1514703 | ||||
* | Whitespace normalization. | Tim Peters | 2006-07-03 | 1 | -1/+1 |
| | |||||
* | Add a new function uses_seh() to the _ctypes extension module. This | Thomas Heller | 2006-07-03 | 1 | -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 Heller | 2006-07-03 | 1 | -4/+8 |
| | | | | flag. | ||||
* | Correct arithmetic in access on Win32. Fixes #1513646. | Martin v. Löwis | 2006-07-02 | 1 | -0/+14 |
| | |||||
* | The sqlite3 module did cut off data from the SQLite database at the first null | Gerhard Häring | 2006-07-02 | 1 | -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 data | Fred Drake | 2006-07-01 | 2 | -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öwis | 2006-07-01 | 2 | -14/+31 |
| | |||||
* | Added duplicate call to fileConfig() to ensure that it cleans up after ↵ | Vinay Sajip | 2006-07-01 | 1 | -0/+2 |
| | | | | itself correctly. | ||||
* | Whitespace normalization. | Tim Peters | 2006-06-30 | 1 | -4/+4 |
| | |||||
* | Fixed bug in fileConfig() which failed to clear logging._handlerList | Vinay Sajip | 2006-06-30 | 1 | -0/+1 |
| | |||||
* | This should fix the buildbot failure on s/390 which can't connect to gmail.org. | Neal Norwitz | 2006-06-29 | 1 | -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 should | Neal Norwitz | 2006-06-29 | 13 | -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 values | Fred Drake | 2006-06-29 | 2 | -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 Brandl | 2006-06-28 | 1 | -1/+1 |
| | |||||
* | A couple of crashers of the "won't fix" kind. | Armin Rigo | 2006-06-28 | 2 | -0/+26 |
| | |||||
* | Make full module name available as __module_name__ even when __name__ is set ↵ | Nick Coghlan | 2006-06-28 | 2 | -18/+34 |
| | | | | to something else (like '__main__') | ||||
* | According to the man pages on Gentoo Linux and Tru64, EACCES or EAGAIN | Neal Norwitz | 2006-06-28 | 1 | -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. |