summaryrefslogtreecommitdiffstats
path: root/Lib
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.
* Implement the round functionality for PEP 3141, and add tests for it.Alex Martelli2007-08-221-0/+13
|
* 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-221-0/+14
|
* Convert raise statements in bsddb.Collin Winter2007-08-229-33/+33
|
* Fix raise statements in hotshot.Collin Winter2007-08-222-5/+5
|
* 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.
* 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-212-28/+38
| | | | | | 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?)
* 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-207-13/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. ........
* 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-191-0/+1
| | | | | | | | | | | 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.
* 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).
* 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.
* Fix stupid typo in Lib/encodings/utf_32.py which led to failing testsWalter Dörwald2007-08-171-1/+1
| | | | | | on big endian machines. Update documentation: UTF-32 codecs will be in 2.6.
* Remove support for BeOSSkip Montanaro2007-08-174-355/+0
|
* 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
|
* 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-1713-113/+56
|
* forgot this when removing RISCOS stuffSkip Montanaro2007-08-173-494/+0
|
* First merge from the trunk straight into the py3k branch. I'm notGuido van Rossum2007-08-1612-25/+117
| | | | | | | | 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.
* Apply SF patch #1775604: This adds three new codecs (utf-32, utf-32-le andWalter Dörwald2007-08-166-2/+373
| | | | | | | | | 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.
* 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.
* Remove RISCOS supportSkip Montanaro2007-08-1623-107/+100
|
* Implement PEP 3131. Add isidentifier to str.Martin v. Löwis2007-08-153-0/+44
|
* Down with str8!Guido van Rossum2007-08-151-2/+2
| | | | Change various socket APIs to use bytes or str instead str8.
* Format bools properly in %d.Martin v. Löwis2007-08-141-0/+6
|
* Bug #1772489: make dir() work on traceback objects again.Collin Winter2007-08-141-0/+7
|
* 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-141-3/+3
|
* Fix test_gdbm.Martin v. Löwis2007-08-141-3/+3
|
* Remove string.{letters,lowercase,uppercase}.Martin v. Löwis2007-08-144-12/+9
|