Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | NIL => NULL | Benjamin Peterson | 2008-03-28 | 1 | -1/+1 |
| | |||||
* | One #ifdef too much, and I broke all windows buildbots: | Amaury Forgeot d'Arc | 2008-03-28 | 1 | -2/+0 |
| | | | | | | in pyconfig.h, NTDDI_WIN2KSP4 is not *yet* defined, but will be at some point on some modules. Let this line even for older SDKs, they don't use it anyway. | ||||
* | Repair compilation for Visual Studio 2005. | Amaury Forgeot d'Arc | 2008-03-28 | 13 | -40/+69 |
| | | | | | | | I applied the same changes manually to VS7.1 and VC6 files; completely untested. (Christian, don't try too hard merging this change into py3k. It will be easier to do the same work again on the branch) | ||||
* | #2498 modernized try, except, finally statements in bdb | Benjamin Peterson | 2008-03-28 | 1 | -12/+9 |
| | |||||
* | Fix a reference leak found by Georg, when compiling a class nested in ↵ | Amaury Forgeot d'Arc | 2008-03-28 | 2 | -0/+4 |
| | | | | | | | | another class. Now "regrtest.py -R:: test_compile" is satisfied. Will backport. | ||||
* | Silence compiler warning at the source. | Georg Brandl | 2008-03-28 | 1 | -1/+1 |
| | |||||
* | Silence a compilation warning | Amaury Forgeot d'Arc | 2008-03-28 | 1 | -1/+1 |
| | |||||
* | These svn adds were forgotten in r62000 | Gregory P. Smith | 2008-03-28 | 2 | -0/+115 |
| | |||||
* | Update sqlite3 module to match current version of pysqlite. | Gerhard Häring | 2008-03-28 | 10 | -17/+37 |
| | |||||
* | #2502: add example how to do enum types with named tuples. | Georg Brandl | 2008-03-28 | 1 | -0/+10 |
| | |||||
* | Don't use the confusing term "set membership". | Georg Brandl | 2008-03-28 | 1 | -8/+8 |
| | |||||
* | Phase out has_key usage in the tutorial; correct docs for PyMapping_HasKey*. | Georg Brandl | 2008-03-28 | 3 | -10/+7 |
| | |||||
* | Patch #1810 by Thomas Lee, reviewed by myself: | Georg Brandl | 2008-03-28 | 11 | -62/+3256 |
| | | | | | allow compiling Python AST objects into code objects in compile(). | ||||
* | Accept patch issue2426 by Paul Kippes (kippesp). | Gregory P. Smith | 2008-03-28 | 5 | -2/+76 |
| | | | | Adds sqlite3.Connection.iterdump to allow dumping of databases. | ||||
* | #2406: add examples to gzip docs. | Georg Brandl | 2008-03-28 | 1 | -8/+41 |
| | |||||
* | This patch moves some tests from test_urllib2_net to test_urllib2_localnet. | Gregory P. Smith | 2008-03-28 | 2 | -97/+203 |
| | | | | | | | | The moved tests use a local server rather than going out to external servers. Accepts patch from issue2429. Contributed by Jerry Seutter & Michael Foord (fuzzyman) at PyCon 2008. | ||||
* | Name the main method correctly so the test is run | Neal Norwitz | 2008-03-28 | 1 | -2/+2 |
| | |||||
* | Bug 1503: Get the test to pass on OSX. This should make the test more | Neal Norwitz | 2008-03-28 | 1 | -2/+10 |
| | | | | | | | | | | | | reliable, but I'm not convinced it is the right solution. We need to determine if this causes the test to hang on any platforms or do other bad things. Even if it gets the test to pass reliably, it might be that we want to fix this in socket. The socket returned from accept() is different on different platforms (inheriting attributes or not) and we might want to ensure that the attributes (at least blocking) is the same across all platforms. | ||||
* | Fix compiler warning about finite() missing on Solaris. | Neal Norwitz | 2008-03-28 | 5 | -3/+15 |
| | |||||
* | Merged revisions 61825-61989 via svnmerge from | Martin v. Löwis | 2008-03-28 | 3 | -6/+75 |
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r61899 | collin.winter | 2008-03-25 17:53:41 +0100 (Di, 25 Mär 2008) | 1 line Add a missing explicit fixer to test_all_fixers. ........ r61983 | collin.winter | 2008-03-28 03:19:46 +0100 (Fr, 28 Mär 2008) | 2 lines Fix http://bugs.python.org/issue2453: support empty excepts in fix_except. ........ | ||||
* | Run 2to3 tests. | Martin v. Löwis | 2008-03-28 | 1 | -0/+15 |
| | |||||
* | Disable test that depends on #2412 being fixed. | Martin v. Löwis | 2008-03-28 | 1 | -0/+2 |
| | |||||
* | Revert r61969 which added casts to Py_CHARMASK to avoid compiler warnings. | Neal Norwitz | 2008-03-28 | 6 | -31/+23 |
| | | | | | | Rather than sprinkle casts throughout the code, change Py_CHARMASK to always cast it's result to an unsigned char. This should ensure we do the right thing when accessing an array with the result. | ||||
* | Print more information the next time test_socket throws the wrong exception. | Jeffrey Yasskin | 2008-03-28 | 1 | -3/+7 |
| | |||||
* | Allow use of other ports so the test can pass if 9091 is in use | Neal Norwitz | 2008-03-28 | 1 | -6/+8 |
| | |||||
* | Kill a race in test_threading in which the exception info in a thread finishing | Jeffrey Yasskin | 2008-03-28 | 2 | -2/+15 |
| | | | | | | | up after it was joined had a traceback pointing to that thread's (deleted) target attribute, while the test was trying to check that the target was destroyed. Big thanks to Antoine Pitrou for diagnosing the race and pointing out sys.exc_clear() to kill the exception early. This fixes issue 2496. | ||||
* | test_future3.py is a regular test file, and should be part of the test suite | Amaury Forgeot d'Arc | 2008-03-28 | 1 | -1/+0 |
| | |||||
* | Issue2495: tokenize.untokenize did not insert space between two consecutive ↵ | Amaury Forgeot d'Arc | 2008-03-27 | 3 | -4/+22 |
| | | | | | | | | string literals: "" "" => """", which is invalid code. Will backport | ||||
* | The bug for which there was a test in outstanding_bugs.py was agreed not to ↵ | Georg Brandl | 2008-03-27 | 1 | -34/+3 |
| | | | | be a bug. | ||||
* | #2248: return result of QUIT from quit(). | Georg Brandl | 2008-03-27 | 3 | -3/+11 |
| | |||||
* | Fixed tokenize tests | Christian Heimes | 2008-03-27 | 1 | -1/+7 |
| | | | | The tokenize module doesn't understand __future__.unicode_literals yet | ||||
* | Build bots are working again - removing the hack | Christian Heimes | 2008-03-27 | 1 | -1/+1 |
| | |||||
* | Added test cases for single quoted strings, both forms of triple quotes, | Eric Smith | 2008-03-27 | 1 | -1/+24 |
| | | | | | and some string concatenations. Removed unneeded __future__ print_function import. | ||||
* | Quick 'n dirty hack: Increase the magic by 2 to force a rebuild of pyc/pyo ↵ | Christian Heimes | 2008-03-27 | 1 | -1/+1 |
| | | | | files on the build bots | ||||
* | Pluralss only need one s, not 2 (intss -> ints) | Neal Norwitz | 2008-03-27 | 2 | -2/+2 |
| | |||||
* | Fix compiler warnings | Neal Norwitz | 2008-03-27 | 1 | -2/+2 |
| | |||||
* | Fix test_compiler after adding unicode_literals | Neal Norwitz | 2008-03-27 | 1 | -1/+2 |
| | |||||
* | Fix warnings about using char as an array subscript. This is not portable | Neal Norwitz | 2008-03-27 | 4 | -22/+22 |
| | | | | since char is signed on some platforms and unsigned on others. | ||||
* | Fix memory leaks | Neal Norwitz | 2008-03-27 | 1 | -2/+6 |
| | |||||
* | Fix bytes so it works on 64-bit platforms. | Neal Norwitz | 2008-03-27 | 1 | -14/+5 |
| | | | | (Also remove some #if 0 code that is already handled in _getbytevalue.) | ||||
* | Revert commit accident | Christian Heimes | 2008-03-27 | 1 | -3/+2 |
| | |||||
* | Hopefully added _fileio module to the Windows build system | Christian Heimes | 2008-03-27 | 3 | -2/+9 |
| | |||||
* | add commas for introductory clauses | Benjamin Peterson | 2008-03-27 | 1 | -2/+2 |
| | |||||
* | Use the new unicode literals for the io module | Christian Heimes | 2008-03-26 | 2 | -6/+9 |
| | | | | use basestring instead of str in Python 2.x | ||||
* | C89 compliance: Microsoft compilers want variable declarations at the top | Amaury Forgeot d'Arc | 2008-03-26 | 1 | -4/+2 |
| | |||||
* | I forgot to svn add the future test | Christian Heimes | 2008-03-26 | 1 | -0/+24 |
| | |||||
* | Initialize PyCompilerFlags cf_flags with 0 | Christian Heimes | 2008-03-26 | 2 | -0/+4 |
| | |||||
* | Surround p_flags access with #ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD | Christian Heimes | 2008-03-26 | 1 | -0/+2 |
| | |||||
* | Patch #2477: Added from __future__ import unicode_literals | Christian Heimes | 2008-03-26 | 12 | -33/+107 |
| | | | | The new PyParser_*Ex() functions are based on Neal's suggestion and initial patch. The new __future__ feature makes all '' and r'' unicode strings. b'' and br'' stay (byte) strings. | ||||
* | Typo: "objects reference count" -> "object's reference count" | Mark Dickinson | 2008-03-26 | 1 | -1/+1 |
| |