summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Accept patch issue2426 by Paul Kippes (kippesp).Gregory P. Smith2008-03-285-2/+76
| | | | Adds sqlite3.Connection.iterdump to allow dumping of databases.
* #2406: add examples to gzip docs.Georg Brandl2008-03-281-8/+41
|
* This patch moves some tests from test_urllib2_net to test_urllib2_localnet.Gregory P. Smith2008-03-282-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 runNeal Norwitz2008-03-281-2/+2
|
* Bug 1503: Get the test to pass on OSX. This should make the test moreNeal Norwitz2008-03-281-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 Norwitz2008-03-285-3/+15
|
* Merged revisions 61825-61989 via svnmerge fromMartin v. Löwis2008-03-283-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öwis2008-03-281-0/+15
|
* Disable test that depends on #2412 being fixed.Martin v. Löwis2008-03-281-0/+2
|
* Revert r61969 which added casts to Py_CHARMASK to avoid compiler warnings.Neal Norwitz2008-03-286-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 Yasskin2008-03-281-3/+7
|
* Allow use of other ports so the test can pass if 9091 is in useNeal Norwitz2008-03-281-6/+8
|
* Kill a race in test_threading in which the exception info in a thread finishingJeffrey Yasskin2008-03-282-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 suiteAmaury Forgeot d'Arc2008-03-281-1/+0
|
* Issue2495: tokenize.untokenize did not insert space between two consecutive ↵Amaury Forgeot d'Arc2008-03-273-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 Brandl2008-03-271-34/+3
| | | | be a bug.
* #2248: return result of QUIT from quit().Georg Brandl2008-03-273-3/+11
|
* Fixed tokenize testsChristian Heimes2008-03-271-1/+7
| | | | The tokenize module doesn't understand __future__.unicode_literals yet
* Build bots are working again - removing the hackChristian Heimes2008-03-271-1/+1
|
* Added test cases for single quoted strings, both forms of triple quotes,Eric Smith2008-03-271-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 Heimes2008-03-271-1/+1
| | | | files on the build bots
* Pluralss only need one s, not 2 (intss -> ints)Neal Norwitz2008-03-272-2/+2
|
* Fix compiler warningsNeal Norwitz2008-03-271-2/+2
|
* Fix test_compiler after adding unicode_literalsNeal Norwitz2008-03-271-1/+2
|
* Fix warnings about using char as an array subscript. This is not portableNeal Norwitz2008-03-274-22/+22
| | | | since char is signed on some platforms and unsigned on others.
* Fix memory leaksNeal Norwitz2008-03-271-2/+6
|
* Fix bytes so it works on 64-bit platforms.Neal Norwitz2008-03-271-14/+5
| | | | (Also remove some #if 0 code that is already handled in _getbytevalue.)
* Revert commit accidentChristian Heimes2008-03-271-3/+2
|
* Hopefully added _fileio module to the Windows build systemChristian Heimes2008-03-273-2/+9
|
* add commas for introductory clausesBenjamin Peterson2008-03-271-2/+2
|
* Use the new unicode literals for the io moduleChristian Heimes2008-03-262-6/+9
| | | | use basestring instead of str in Python 2.x
* C89 compliance: Microsoft compilers want variable declarations at the topAmaury Forgeot d'Arc2008-03-261-4/+2
|
* I forgot to svn add the future testChristian Heimes2008-03-261-0/+24
|
* Initialize PyCompilerFlags cf_flags with 0Christian Heimes2008-03-262-0/+4
|
* Surround p_flags access with #ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORDChristian Heimes2008-03-261-0/+2
|
* Patch #2477: Added from __future__ import unicode_literalsChristian Heimes2008-03-2612-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 Dickinson2008-03-261-1/+1
|
* Fix and simplify error handling, silencing a compiler warning.Georg Brandl2008-03-261-7/+4
|
* Updated Misc/NEWSChristian Heimes2008-03-261-0/+4
|
* Removed merge tracking for "svnmerge" forChristian Heimes2008-03-260-0/+0
| | | | svn+ssh://pythondev@svn.python.org/python/branches/trunk-bytearray
* Removed merge tracking for "svnmerge" forChristian Heimes2008-03-260-0/+0
| | | | svn+ssh://pythondev@svn.python.org/python/branches/libffi3-branch
* Merged revisions ↵Christian Heimes2008-03-2628-8/+8702
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,61809,61812,61819,61917,61920,61930,61933-61934 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/trunk-bytearray ........ r61750 | christian.heimes | 2008-03-22 20:47:44 +0100 (Sat, 22 Mar 2008) | 1 line Copied files from py3k w/o modifications ........ r61752 | christian.heimes | 2008-03-22 20:53:20 +0100 (Sat, 22 Mar 2008) | 7 lines Take One * Added initialization code, warnings, flags etc. to the appropriate places * Added new buffer interface to string type * Modified tests * Modified Makefile.pre.in to compile the new files * Added bytesobject.c to Python.h ........ r61754 | christian.heimes | 2008-03-22 21:22:19 +0100 (Sat, 22 Mar 2008) | 2 lines Disabled bytearray.extend for now since it causes an infinite recursion Fixed serveral unit tests ........ r61756 | christian.heimes | 2008-03-22 21:43:38 +0100 (Sat, 22 Mar 2008) | 5 lines Added PyBytes support to several places: str + bytearray ord(bytearray) bytearray(str, encoding) ........ r61760 | christian.heimes | 2008-03-22 21:56:32 +0100 (Sat, 22 Mar 2008) | 1 line Fixed more unit tests related to type('') is not unicode ........ r61763 | christian.heimes | 2008-03-22 22:20:28 +0100 (Sat, 22 Mar 2008) | 2 lines Fixed more unit tests Fixed bytearray.extend ........ r61768 | christian.heimes | 2008-03-22 22:40:50 +0100 (Sat, 22 Mar 2008) | 1 line Implemented old buffer interface for bytearray ........ r61772 | christian.heimes | 2008-03-22 23:24:52 +0100 (Sat, 22 Mar 2008) | 1 line Added backport of the io module ........ r61775 | christian.heimes | 2008-03-23 03:50:49 +0100 (Sun, 23 Mar 2008) | 1 line Fix str assignement to bytearray. Assignment of a str of size 1 is interpreted as a single byte ........ r61805 | christian.heimes | 2008-03-23 19:33:48 +0100 (Sun, 23 Mar 2008) | 3 lines Fixed more tests Fixed bytearray() comparsion with unicode() Fixed iterator assignment of bytearray ........ r61809 | christian.heimes | 2008-03-23 21:02:21 +0100 (Sun, 23 Mar 2008) | 2 lines str(bytesarray()) now returns the bytes and not the representation of the bytearray object Enabled and fixed more unit tests ........ r61812 | christian.heimes | 2008-03-23 21:53:08 +0100 (Sun, 23 Mar 2008) | 3 lines Clear error PyNumber_AsSsize_t() fails Use CHARMASK for ob_svall access disabled a test with memoryview again ........ r61819 | christian.heimes | 2008-03-23 23:05:57 +0100 (Sun, 23 Mar 2008) | 1 line Untested updates to the PCBuild directory ........ r61917 | christian.heimes | 2008-03-26 00:57:06 +0100 (Wed, 26 Mar 2008) | 1 line The type system of Python 2.6 has subtle differences to 3.0's. I've removed the Py_TPFLAGS_BASETYPE flags from bytearray for now. bytearray can't be subclasses until the issues with bytearray subclasses are fixed. ........ r61920 | christian.heimes | 2008-03-26 01:44:08 +0100 (Wed, 26 Mar 2008) | 2 lines Disabled last failing test I don't understand what the test is testing and how it suppose to work. Ka-Ping, please check it out. ........ r61930 | christian.heimes | 2008-03-26 12:46:18 +0100 (Wed, 26 Mar 2008) | 1 line Re-enabled bytes warning code ........ r61933 | christian.heimes | 2008-03-26 13:20:46 +0100 (Wed, 26 Mar 2008) | 1 line Fixed a bug in the new buffer protocol. The buffer slots weren't copied into a subclass. ........ r61934 | christian.heimes | 2008-03-26 13:25:09 +0100 (Wed, 26 Mar 2008) | 1 line Re-enabled bytearray subclassing - all tests are passing. ........
* Prepare integration of bytearray backport branchChristian Heimes2008-03-260-0/+0
|
* Added help options to PDBBenjamin Peterson2008-03-261-1/+1
|
* Add an example for an RFC 822 continuation.Georg Brandl2008-03-261-6/+8
|
* Add Josiah.Georg Brandl2008-03-261-0/+3
|
* Changed test so it no longer runs as a side effect of importing.Jerry Seutter2008-03-261-166/+179
|
* Changed test so it no longer runs as a side effect of importing.Jerry Seutter2008-03-261-209/+222
|
* Ensure that the mailbox is closed to prevent problems on Windows with removingNeal Norwitz2008-03-261-3/+5
| | | | | | an open file. This doesn't seem to be a problem in 2.6, but that appears to be somewhat accidental (specific to reference counting). When this gets merged to 3.0, it will make the 3.0 code simpler.
* Changed test so it no longer runs as a side effect of importing.Jerry Seutter2008-03-261-7/+20
|