summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* SF #1777057, fix memoryview('test') so it works in debug mode too.Neal Norwitz2007-08-191-30/+18
| | | | | | | Also return a boolean for the readonly flag. Other cleanup: make sure to set an exception when returning NULL and reformat the getsets to be shorter by putting them all on one line.
* Fix xmlrpc unittest. While it now passes on Linux, it still failsHye-Shik Chang2007-08-192-25/+7
| | | | on FreeBSD due to the difference of socket blocking mode inheritance.
* Code review of the new buffer protocol. Mostly add questions that shouldNeal Norwitz2007-08-199-20/+29
| | | | | | | | | | | be answered with the comments removed. There are many places that require checks when doing arithmetic for memory sizes when allocating memory. Otherwise, overflow is possible with a subsequent crash. Fix SF #1777057 which was a result of not initializing the new BufferError properly. Had to update the test for exceptions for BufferError too.
* Fix an unfinished though in my own test code.Guido van Rossum2007-08-181-19/+21
| | | | (testNewlinesInput and testNewlinesOutput are mine, not Tony's.)
* New I/O code from Tony Lownds implement newline feature correctly,Guido van Rossum2007-08-183-73/+248
| | | | and implements .newlines attribute in a 2.x-compatible fashion.
* Merged in py3k-buffer branch to main line. All objects now use the buffer ↵Travis E. Oliphant2007-08-1822-686/+1730
| | | | protocol in PEP 3118.
* Make the cleanup between -R passes deal better with ABC registries,Guido van Rossum2007-08-181-9/+12
| | | | | | *restoring* selected registries instead of *resetting* them all. Also change the default for the huntrleaks parameter to None everywhere, as its other value is a list of three elements, so it is not a bool.
* Fix _dump_registry() to use the correct prefix for the privateGuido van Rossum2007-08-181-2/+2
| | | | | | methods. Reset the negative cache *before* resetting the invalidation counter, hoping this may plug a race condition (but then again, this whole module isn't coded to be thread-safe).
* Force PYTHON = python2.5.Guido van Rossum2007-08-181-1/+1
|
* Allow -R4:3 instead of -R4:3: -- I never use the 3rd arg.Guido van Rossum2007-08-171-7/+7
|
* Change the usage() function. Don't print the entire multi-pageGuido van Rossum2007-08-171-10/+11
| | | | docstring when there's a command line syntax error.
* Another merge. Only doc stuff was affected (but this aligns the UTF-32Guido van Rossum2007-08-176-335/+349
| | | | | codec changes in trubk and branch). Hopefully the Py3k glossary wasn't different from the trunk one.
* Print warning when openssl is too old; it's pretty essential at this point.Guido van Rossum2007-08-171-11/+14
|
* Fix stupid typo in Lib/encodings/utf_32.py which led to failing testsWalter Dörwald2007-08-172-3/+8
| | | | | | on big endian machines. Update documentation: UTF-32 codecs will be in 2.6.
* Move some declarations before code, to compile with GCC 2.95.Guido van Rossum2007-08-171-7/+7
|
* Fix refcount leak, courtesy Christian Heines.Guido van Rossum2007-08-171-2/+3
|
* Remove support for BeOSSkip Montanaro2007-08-1724-10155/+8091
|
* No need to define raw_input(), input() does the same.Georg Brandl2007-08-172-21/+3
|
* Merged revisions 57125-57128 via svnmerge fromNeal Norwitz2007-08-171-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r57127 | neal.norwitz | 2007-08-16 21:10:55 -0700 (Thu, 16 Aug 2007) | 1 line Update the tools before building the docs ........
* Simplify expressionNeal Norwitz2007-08-171-1/+1
|
* Fix the IPv6 pton/ntop tests. Why weren't these failing on Linux? No IPv6?Guido van Rossum2007-08-171-5/+5
|
* Merged revisions 57113-57124 via svnmerge fromGuido van Rossum2007-08-170-0/+0
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r57123 | guido.van.rossum | 2007-08-16 20:30:08 -0700 (Thu, 16 Aug 2007) | 2 lines Ignore *.py[co] files. ........ r57124 | guido.van.rossum | 2007-08-16 20:36:03 -0700 (Thu, 16 Aug 2007) | 2 lines Ignore a few more files. ........
* Remove output file for test that was already removedNeal Norwitz2007-08-171-2/+0
|
* some RiscOS stuff I missed before (was only looking for "RISCOS")Skip Montanaro2007-08-1715-117/+57
|
* forgot this when removing RISCOS stuffSkip Montanaro2007-08-173-494/+0
|
* Manually patched a few things that didn't get merged in, but should.Guido van Rossum2007-08-1716-31/+73
|
* First merge from the trunk straight into the py3k branch. I'm notGuido van Rossum2007-08-1616-32/+205
| | | | | | | | using the message generated by svnmerge, because it contains a lot of stuff about the Doc tree, which I'm not merging this time due to the way the Doc tree was initially added. I am however adding roman.py which was added later to Doc/tools. I'll try to diff the two Doc trees separately to see if there's stuff I missed.
* Initialized merge tracking via "svnmerge" with revisions "1-56846" fromGuido van Rossum2007-08-160-0/+0
| | | | svn+ssh://pythondev@svn.python.org/python/trunk
* Delete svnmerge properties (temporarily).Guido van Rossum2007-08-160-0/+0
|
* Apply SF patch #1775604: This adds three new codecs (utf-32, utf-32-le andWalter Dörwald2007-08-1612-2/+1001
| | | | | | | | | ut-32-be). On narrow builds the codecs combine surrogate pairs in the unicode object into one codepoint on encoding and create surrogate pairs for codepoints outside the BMP on decoding. Lone surrogates are passed through unchanged in all cases. Backport to the trunk will follow.
* Get rid of some dead code and unneeded XXX comments by Neal.Guido van Rossum2007-08-162-17/+4
|
* Remove last(?) use of httplib.HTTPS, which caused test_socket_ssl to fail.Jeremy Hylton2007-08-161-74/+27
| | | | | | Refactor the urllib open_http() and open_https() to use the same internal logic. The only difference between the two is the call to constructor an HTTPConnection object.
* Complete truncated sentence.Walter Dörwald2007-08-161-1/+1
|
* Remove RISCOS supportSkip Montanaro2007-08-1662-3823/+106
|
* Remove license of the md5 module which is no longer part of Python.Georg Brandl2007-08-161-50/+0
|
* Remove a bogus comment based on the code above.Neal Norwitz2007-08-161-2/+0
|
* Support the new doc system. Also test_compiler was removed in 3kNeal Norwitz2007-08-161-7/+11
|
* Move the 3k reST doc tree in place.Georg Brandl2007-08-15423-0/+131199
|
* Delete the LaTeX doc tree.Georg Brandl2007-08-15490-150234/+0
|
* Tag last revision with LaTeX docs.Georg Brandl2007-08-150-0/+0
|
* Fix doc compilation problem.George Yoshida2007-08-151-1/+1
|
* Implement PEP 3131. Add isidentifier to str.Martin v. Löwis2007-08-1511-5/+152
|
* Down with str8!Guido van Rossum2007-08-152-20/+21
| | | | Change various socket APIs to use bytes or str instead str8.
* Add XID_Start and XID_Continue properties to unicodectype.Martin v. Löwis2007-08-144-899/+1020
|
* Format bools properly in %d.Martin v. Löwis2007-08-142-2/+11
|
* Bug #1772489: make dir() work on traceback objects again.Collin Winter2007-08-142-1/+20
|
* Get rid of traceback.c:tb_getattr in favor of marking the members as READONLY.Collin Winter2007-08-141-19/+3
|
* Remove Python 1.5 compatibility layer from httplib.Jeremy Hylton2007-08-142-191/+15
| | | | | | | | The two clients in the std library have been updated to use the newer interface. A couple of minor changes to the httplib tests were needed. Also, reformat some long lines in the httplib tests.
* Change xmlrpclib to use the newer httplib interface.Jeremy Hylton2007-08-142-73/+77
| | | | | | | Note that it's hard to test xmlrpclib, because the server it attempts to connect to doesn't seem to support the expected interfaces. Many of the links via xmlrpc.com are dead, so I couldn't find another server to use for tests.
* The dbm module should use bytes for keys. This makes test_shelve pass.Guido van Rossum2007-08-142-8/+8
|