summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixes by John Reese and Jacques Frechet that make test_xmlrpc pass.Guido van Rossum2007-08-222-9/+16
| | | | | | | (Note that test_xmlrpc isn't touched by the fixes!) There were two separate issues; (a) BaseHTTPServer was using a TextIOWrapper which was swallowing some of the POST body; (b) the getheaders() API was changed but (due to integration of 2.6 code) the code wasn't modified.
* Change the error reporting when an invalid string is encountered to avoidGuido van Rossum2007-08-221-18/+9
| | | | reporting s'x' as the input (which is a lie).
* Implement the round functionality for PEP 3141, and add tests for it.Alex Martelli2007-08-222-2/+39
|
* Convert raise statements in Mac/.Collin Winter2007-08-2211-58/+58
|
* Convert raise statements in Tools/.Collin Winter2007-08-2216-29/+29
|
* Switch to absolute imports to support direct execution of modules. ManyKurt B. Kaiser2007-08-2235-119/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IDLE modules have main() or test() functions which are essential for testing. M idlelib/AutoCompleteWindow.py M idlelib/UndoDelegator.py M idlelib/Bindings.py M idlelib/AutoComplete.py M idlelib/configHandler.py M idlelib/HyperParser.py M idlelib/ColorDelegator.py M idlelib/ObjectBrowser.py M idlelib/ZoomHeight.py M idlelib/PyShell.py M idlelib/ParenMatch.py M idlelib/Debugger.py M idlelib/configDialog.py M idlelib/StackViewer.py M idlelib/ReplaceDialog.py M idlelib/ScriptBinding.py M idlelib/GrepDialog.py M idlelib/EditorWindow.py M idlelib/FormatParagraph.py M idlelib/OutputWindow.py M idlelib/aboutDialog.py M idlelib/IdleHistory.py M idlelib/PathBrowser.py M idlelib/ClassBrowser.py M idlelib/CallTips.py M idlelib/FileList.py M idlelib/idle.py M idlelib/CodeContext.py M idlelib/SearchDialog.py M idlelib/RemoteObjectBrowser.py M idlelib/RemoteDebugger.py M idlelib/TreeWidget.py M idlelib/run.py M idlelib/Percolator.py M idlelib/macosxSupport.py
* Implement the trunc builtin for PEP 3141Alex Martelli2007-08-222-0/+36
|
* Use python -E instead of undef PYTHONPATH.Guido van Rossum2007-08-221-5/+5
|
* Convert raise statements in bsddb.Collin Winter2007-08-229-33/+33
|
* Fix raise statements in hotshot.Collin Winter2007-08-222-5/+5
|
* Fix typo in commentKurt B. Kaiser2007-08-221-2/+2
|
* Replace file() with open()Kurt B. Kaiser2007-08-221-1/+1
|
* Use buffer of type 'bytes' to accumulate from socket.Kurt B. Kaiser2007-08-221-9/+9
|
* stop leaving log.0000001 __db.00* and xxx.db turds in developerGregory P. Smith2007-08-221-2/+11
| | | | sandboxes when bsddb3 tests are run.
* Patch #1774414: make it possible to use SVK to develop Python.Collin Winter2007-08-221-28/+30
|
* Fix bug introduced at r54854 to mass replace string fcns with methods :-)Kurt B. Kaiser2007-08-221-4/+1
|
* Eat some low hanging fruit... let the test suite run.Gregory P. Smith2007-08-224-7/+12
|
* Fix some debugging print statementsKurt B. Kaiser2007-08-221-4/+6
|
* Make IOBase (and hence all other classes in io.py) use ABCMeta as its metaclass,Guido van Rossum2007-08-221-1/+2
| | | | so you can use their class .register() method to register virtual subclasses.
* Remove some old comments adequately covered in the code.Kurt B. Kaiser2007-08-221-7/+0
|
* 1. Fix File Open: don't encode filename to UTF-8 bytesKurt B. Kaiser2007-08-221-8/+6
| | | | 2. Get test() code working.
* Convert sunaudio.py to bytes. (It has no unit test of its own!)Guido van Rossum2007-08-212-6/+11
| | | | | Fix test_ossaudiodev by closing the dsp properly (it can't be opened multiple times on my box).
* eliminate "from ... import *" in a function.Kurt B. Kaiser2007-08-211-5/+4
|
* Fall back to 'ascii' encoding if sys.getfilesystemencoding() returnsLars Gustäbel2007-08-213-61/+66
| | | | | | None. Remove encoding and errors argument from pax create methods in TarInfo, pax always uses UTF-8. Adapt the documentation and tests to the new string/unicode concept.
* Fix fallout from making __private variables in threading.py _protected.Guido van Rossum2007-08-211-3/+3
| | | | (Maybe we need to pick less obvious names for some of those?)
* Make runtests.py a little more versatile: support -x, and arbitrary flagsGuido van Rossum2007-08-201-24/+44
| | | | | to be passed to regrtest.py. Also add -h for help, and summarize the BAD/GOOD/SKIPPED files at the end.
* Rename __whatever variables defined by ABCMeta to _abc_whatever, so asGuido van Rossum2007-08-202-25/+25
| | | | to simplify legitimate use of these.
* Get rid of all __private variables and methods in the threading module.Guido van Rossum2007-08-201-131/+131
| | | | These have mostly just gotten in the way of legitimate unanticipated use.
* Merged revisions 57152-57220 via svnmerge fromGuido van Rossum2007-08-2011-28/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r57155 | brett.cannon | 2007-08-17 11:51:57 -0700 (Fri, 17 Aug 2007) | 2 lines Clarify the comment about setting the PYTHON variable for the Doc Makefile. ........ r57156 | brett.cannon | 2007-08-17 11:59:58 -0700 (Fri, 17 Aug 2007) | 3 lines Remove news entry for test.test_support.guard_warnings_filter as it has been removed. ........ r57158 | facundo.batista | 2007-08-17 12:16:44 -0700 (Fri, 17 Aug 2007) | 9 lines Added a flag (_send_traceback_header) to the SimpleXMLRPCServer class that allows sending back exception/stack trace information about internal server errors (this flag defaults to False to avoid sending such information unless explicitly enabled). Added tests to verify behavior of this new feature (these tests are skipped on win32 because of problems with WSAEWOULDBLOCK). Renamed HTTPTestCase to SimpleServerTestCase. [GSoC - Alan McIntyre] ........ r57160 | brett.cannon | 2007-08-17 13:16:15 -0700 (Fri, 17 Aug 2007) | 2 lines Make test_warnings re-entrant. ........ r57175 | georg.brandl | 2007-08-17 23:05:56 -0700 (Fri, 17 Aug 2007) | 2 lines Fix PDB command descriptions. ........ r57182 | brett.cannon | 2007-08-18 11:30:36 -0700 (Sat, 18 Aug 2007) | 3 lines Remove Mikael as the maintainer of BeOS at his request. With no maintainer should the port be deprecated in 2.6? ........ r57199 | georg.brandl | 2007-08-19 11:43:50 -0700 (Sun, 19 Aug 2007) | 2 lines Fix stray backticks. ........ r57211 | hyeshik.chang | 2007-08-19 23:49:18 -0700 (Sun, 19 Aug 2007) | 2 lines Add cheot-ga-keut composed make-up sequence support in EUC-KR codec. ........ r57216 | guido.van.rossum | 2007-08-20 08:18:04 -0700 (Mon, 20 Aug 2007) | 4 lines Add a hack (originally devised in a slightly different form by Thomas Wouters) to prevent spurious tracebacks when a daemon thread's cleanup happens to wake up when the world around it has already been destroyed. ........
* Remove note about compatibility layer, as the compatibility layer was removed.Jeremy Hylton2007-08-201-6/+0
|
* Fix memory leak in arraymodule.c and respond to a few comments by nnorwitz.Travis E. Oliphant2007-08-203-23/+19
|
* Remove _PyObject_DelNeal Norwitz2007-08-198-17/+7
|
* 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
|