summaryrefslogtreecommitdiff
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* PEP 3101: Removed _formatter_xxx routines from sysmodule, and made them ↵Eric Smith2007-08-271-6/+4
| | | | unicode methods instead (per GvR suggestion).
* os.getcwd() now returns a normal string (ie, unicode)Neal Norwitz2007-08-261-5/+2
|
* Cosmetics in error messages.Guido van Rossum2007-08-261-3/+3
|
* PEP 3101: Completed string.Formatter class. Reimplemented field_name to ↵Eric Smith2007-08-263-9/+65
| | | | object transformation.
* Use the correct variable nameNeal Norwitz2007-08-261-1/+1
|
* When elapsed and expected time differ, at least show their two values.Guido van Rossum2007-08-261-1/+2
|
* Use unicode (and bytes as appropriate)Neal Norwitz2007-08-261-1/+1
|
* Use unicode and remove support for some uses of str8.Neal Norwitz2007-08-261-2/+2
|
* Fix another map(...) --> list(map...)Kurt B. Kaiser2007-08-261-1/+1
|
* Use unicode and stop supporting str8Neal Norwitz2007-08-261-2/+2
|
* Use the new buffer api for input data.Gregory P. Smith2007-08-261-1/+1
|
* Get the urllib tests to pass without the email packageNeal Norwitz2007-08-252-4/+24
|
* Get test working when there are multiple dbs supported.Neal Norwitz2007-08-251-0/+1
|
* Disable test until email comes backNeal Norwitz2007-08-251-0/+1
|
* Get test_pyclbr to pass after removing the email packageNeal Norwitz2007-08-251-1/+1
|
* Remove the email package for now.Guido van Rossum2007-08-2579-13315/+0
| | | | | | Once Barry and the email-sig have a working new version we'll add it back. If it doesn't make the 3.0a deadline (release August 31), too bad.
* Implementation of PEP 3101, Advanced String Formatting.Eric Smith2007-08-257-1/+363
| | | | | | | | | | | | | | | Known issues: The string.Formatter class, as discussed in the PEP, is incomplete. Error handling needs to conform to the PEP. Need to fix this warning that I introduced in Python/formatter_unicode.c: Objects/stringlib/unicodedefs.h:26: warning: `STRINGLIB_CMP' defined but not used Need to make sure sign formatting is correct, more tests needed. Need to remove '()' sign formatting, left over from an earlier version of the PEP.
* Use unicode and add a "test" for syslogNeal Norwitz2007-08-251-0/+37
|
* Add a few mixed-mode (set vs. dict view) comparisons.Guido van Rossum2007-08-241-0/+4
|
* Keir Mierle's improved tests for dict view containment tests.Guido van Rossum2007-08-241-35/+37
|
* Add some mixed operations between sets and dict views.Guido van Rossum2007-08-241-0/+8
|
* Add unit tests for set ops on dict.items().Guido van Rossum2007-08-241-2/+15
|
* Keir Mierle's set operations for dict views (keys/items only of course).Guido van Rossum2007-08-241-0/+17
|
* Use the str builtinNeal Norwitz2007-08-241-2/+1
|
* Patch with Keir Mierle: add rich comparisons between dict views and sets,Guido van Rossum2007-08-241-0/+60
| | | | at least for .keys() and .items() (not .values() of course).
* follow up to bug 1007 commit.Gregory P. Smith2007-08-242-3/+3
| | | | Use self.assertTrue in test cases rather than the assert statement.
* applies the better dbm and shelve related unittests. bug 1007 from ↵Gregory P. Smith2007-08-244-47/+83
| | | | larryhastings
* Convert test_pkg to use unittest.Collin Winter2007-08-242-280/+248
|
* r698@Silves: collinwinter | 2007-08-24 10:57:15 -0700Collin Winter2007-08-244-14/+14
| | | | Normalize raise statements in Lib/xml/.
* Clean up after a merge left behind old except clause syntax.Guido van Rossum2007-08-241-6/+6
|
* Merged revisions 57221-57391 via svnmerge fromGuido van Rossum2007-08-2412-68/+306
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r57227 | facundo.batista | 2007-08-20 17:16:21 -0700 (Mon, 20 Aug 2007) | 5 lines Catch ProtocolError exceptions and include the header information in test output (to make it easier to debug test failures caused by problems in the server). [GSoC - Alan McIntyre] ........ r57229 | mark.hammond | 2007-08-20 18:04:47 -0700 (Mon, 20 Aug 2007) | 5 lines [ 1761786 ] distutils.util.get_platform() return value on 64bit Windows As discussed on distutils-sig: Allows the generated installer name on 64bit Windows platforms to be different than the name generated for 32bit Windows platforms. ........ r57230 | mark.hammond | 2007-08-20 18:05:16 -0700 (Mon, 20 Aug 2007) | 5 lines [ 1761786 ] distutils.util.get_platform() return value on 64bit Windows As discussed on distutils-sig: Allows the generated installer name on 64bit Windows platforms to be different than the name generated for 32bit Windows platforms. ........ r57253 | georg.brandl | 2007-08-20 23:01:18 -0700 (Mon, 20 Aug 2007) | 2 lines Demand version 2.5.1 since 2.5 has a bug with codecs.open context managers. ........ r57254 | georg.brandl | 2007-08-20 23:03:43 -0700 (Mon, 20 Aug 2007) | 2 lines Revert accidental checkins from last commit. ........ r57255 | georg.brandl | 2007-08-20 23:07:08 -0700 (Mon, 20 Aug 2007) | 2 lines Bug #1777160: mention explicitly that e.g. -1**2 is -1. ........ r57256 | georg.brandl | 2007-08-20 23:12:19 -0700 (Mon, 20 Aug 2007) | 3 lines Bug #1777168: replace operator names "opa"... with "op1"... and mark everything up as literal, to enhance readability. ........ r57259 | facundo.batista | 2007-08-21 09:57:18 -0700 (Tue, 21 Aug 2007) | 8 lines Added test for behavior of operations on an unconnected SMTP object, and tests for NOOP, RSET, and VRFY. Corrected typo in a comment for testNonnumericPort. Added a check for constructing SMTP objects when non-numeric ports are included in the host name. Derived a server from SMTPServer to test various ESMTP/SMTP capabilities. Check that a second HELO to DebuggingServer returns an error. [GSoC - Alan McIntyre] ........ r57279 | skip.montanaro | 2007-08-22 12:02:16 -0700 (Wed, 22 Aug 2007) | 2 lines Note that BeOS is unsupported as of Python 2.6. ........ r57280 | skip.montanaro | 2007-08-22 12:05:21 -0700 (Wed, 22 Aug 2007) | 1 line whoops - need to check in configure as well ........ r57284 | alex.martelli | 2007-08-22 14:14:17 -0700 (Wed, 22 Aug 2007) | 5 lines Fix compile.c so that it records 0.0 and -0.0 as separate constants in a code object's co_consts tuple; add a test to show that the previous behavior (where these two constants were "collapsed" into one) causes serious malfunctioning. ........ r57286 | gregory.p.smith | 2007-08-22 14:32:34 -0700 (Wed, 22 Aug 2007) | 3 lines stop leaving log.0000001 __db.00* and xxx.db turds in developer sandboxes when bsddb3 tests are run. ........ r57301 | jeffrey.yasskin | 2007-08-22 16:14:27 -0700 (Wed, 22 Aug 2007) | 3 lines When setup.py fails to find the necessary bits to build some modules, have it print a slightly more informative message. ........ r57320 | brett.cannon | 2007-08-23 07:53:17 -0700 (Thu, 23 Aug 2007) | 2 lines Make test_runpy re-entrant. ........ r57324 | georg.brandl | 2007-08-23 10:54:11 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1768121: fix wrong/missing opcode docs. ........ r57326 | georg.brandl | 2007-08-23 10:57:05 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1766421: "return code" vs. "status code". ........ r57328 | georg.brandl | 2007-08-23 11:08:06 -0700 (Thu, 23 Aug 2007) | 2 lines Second half of #1752175: #ifdef out references to PyImport_DynLoadFiletab if HAVE_DYNAMIC_LOADING is not defined. ........ r57331 | georg.brandl | 2007-08-23 11:11:33 -0700 (Thu, 23 Aug 2007) | 2 lines Use try-except-finally in contextlib. ........ r57343 | georg.brandl | 2007-08-23 13:35:00 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1697820: document that the old slice protocol is still used by builtin types. ........ r57345 | georg.brandl | 2007-08-23 13:40:01 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1573854: fix docs for sqlite3 cursor rowcount attr. ........ r57347 | georg.brandl | 2007-08-23 13:50:23 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1694833: fix imp.find_module() docs wrt. packages. ........ r57348 | georg.brandl | 2007-08-23 13:53:28 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1594966: fix misleading usage example ........ r57349 | georg.brandl | 2007-08-23 13:55:44 -0700 (Thu, 23 Aug 2007) | 2 lines Clarify wording a bit. ........ r57351 | georg.brandl | 2007-08-23 14:18:44 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1752332: httplib no longer uses socket.getaddrinfo(). ........ r57352 | georg.brandl | 2007-08-23 14:21:36 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1734111: document struct.Struct.size. ........ r57353 | georg.brandl | 2007-08-23 14:27:57 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1688564: document os.path.join's absolute path behavior in the docstring. ........ r57354 | georg.brandl | 2007-08-23 14:36:05 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1625381: clarify match vs search introduction. ........ r57355 | georg.brandl | 2007-08-23 14:42:54 -0700 (Thu, 23 Aug 2007) | 2 lines Bug #1758696: more info about descriptors. ........ r57357 | georg.brandl | 2007-08-23 14:55:57 -0700 (Thu, 23 Aug 2007) | 2 lines Patch #1779550: remove redundant code in logging. ........ r57378 | gregory.p.smith | 2007-08-23 22:11:38 -0700 (Thu, 23 Aug 2007) | 2 lines Fix bug 1725856. ........ r57382 | georg.brandl | 2007-08-23 23:10:01 -0700 (Thu, 23 Aug 2007) | 2 lines uuid creation is now threadsafe, backport from py3k rev. 57375. ........ r57389 | georg.brandl | 2007-08-24 04:47:37 -0700 (Fri, 24 Aug 2007) | 2 lines Bug #1765375: fix stripping of unwanted LDFLAGS. ........ r57391 | guido.van.rossum | 2007-08-24 07:53:14 -0700 (Fri, 24 Aug 2007) | 2 lines Fix silly typo in test name. ........
* reapply of r57378 to fix bug 1725856Gregory P. Smith2007-08-242-0/+20
|
* Make uuid.py thread-safe. Fix by Yuri Ginsburg.Guido van Rossum2007-08-241-1/+4
|
* math.floor(<int>) now returns the argument,Guido van Rossum2007-08-241-1/+3
| | | | so the overflow test no longer matters.
* Patch by Keir Mierle so that sets can be compared to other objects that knowGuido van Rossum2007-08-231-0/+36
| | | | | how to compare themselves to sets. (Prep work for making dict views more set-like.)
* Fix math.ceil() and math.floor() to fall back to __ceil__ and __floor__Guido van Rossum2007-08-231-0/+26
| | | | methods (respectively). With Keir Mierle.
* Finish the work on __round__ and __trunc__.Guido van Rossum2007-08-231-0/+42
| | | | With Alex Martelli and Keir Mierle.
* Fix test_shelve when it uses dumbdbm. Found and fixed by Larry Hastings.Neal Norwitz2007-08-231-0/+1
|
* Require strict bytes objects for all bsddb.db input values.Gregory P. Smith2007-08-234-74/+74
|
* docstring cut n paste correctionGregory P. Smith2007-08-231-1/+1
|
* os.getcwd() is returning str8; sys.path items are str.Kurt B. Kaiser2007-08-231-1/+4
|
* Conform to py3k dict.{keys, items, values} with some advice from 2b3Kurt B. Kaiser2007-08-2314-51/+50
| | | | | | | | | | | | | | | | | M idlelib/configHandler.py M idlelib/ColorDelegator.py M idlelib/Delegator.py M idlelib/ObjectBrowser.py M idlelib/PyShell.py M idlelib/Debugger.py M idlelib/configDialog.py M idlelib/StackViewer.py M idlelib/keybindingDialog.py M idlelib/tabpage.py M idlelib/EditorWindow.py M idlelib/WindowList.py M idlelib/RemoteDebugger.py M idlelib/dynOptionMenuWidget.py
* Fix raise with 2to3Kurt B. Kaiser2007-08-237-19/+19
| | | | | | | | | | M idlelib/configHandler.py M idlelib/tabpage.py M idlelib/EditorWindow.py M idlelib/rpc.py M idlelib/IOBinding.py M idlelib/RemoteDebugger.py M idlelib/TreeWidget.py
* Convert raise statements in Lib/plat-{mac,os2emx}.Collin Winter2007-08-2351-506/+506
|
* 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
|