Commit Graph

14543 Commits

Author SHA1 Message Date
Georg Brandl 46121e79ce Better name for "Ctor". 2009-06-04 10:10:41 +00:00
Georg Brandl eb56aa169a #3584: ignore trailing newlines when placing the caret for a SyntaxError location. 2009-06-04 09:15:12 +00:00
Georg Brandl e6632b47bb #5767: remove sgmlop support from xmlrpclib; the sgmlop parser does not do much validation and is no longer much faster than e.g. the cElementTree XMLParser. 2009-06-04 08:58:32 +00:00
Tarek Ziadé e616c53aec improved test coverage for distutils.command.install and cleaned it up 2009-06-04 07:31:52 +00:00
Georg Brandl 19e79f79ce Avoid PendingDeprecationWarnings emitted by deprecated unittest methods. 2009-06-03 23:23:45 +00:00
Josiah Carlson 96b79c851a Fix for line wrap ugly. 2009-06-03 19:51:52 +00:00
Josiah Carlson a810bc736c This fixes bug 5798 on OS X.
This should also fix disconnect behavior cross-platform.
2009-06-03 19:46:21 +00:00
Tarek Ziadé 8df921b46b assertion message was dropped 2009-06-03 11:20:44 +00:00
Tarek Ziadé fe327b97d2 more cleanup and test coverage for distutils.extension 2009-06-03 11:12:08 +00:00
Tarek Ziadé c6709978ac added some tests for distutils.extension + code cleanup 2009-06-03 10:26:26 +00:00
Michael Foord dad7b7b1cb Restore default testRunner argument in unittest.main to None. Issue 6177 2009-06-02 18:08:27 +00:00
Tarek Ziadé abb4ec6dc4 improved distutils.spawn test coverage + cleaned it up 2009-06-02 15:58:43 +00:00
Kristján Valur Jónsson 36c3928fdc http://bugs.python.org/issue6117
Fix O(n**2) performance problem in socket._fileobject
2009-06-02 13:14:08 +00:00
Mark Dickinson d57b5543e4 Typo in socket.py. Thanks Pablo Torres Navarrete. 2009-06-02 07:39:26 +00:00
Gregory P. Smith 61e7fbf2c1 Fixes issue6169: it was possible for two ipaddr network addresses to compare
as both < and > than eachother.
2009-06-02 05:25:34 +00:00
Tarek Ziadé c01cbc42aa improved distutils.dist test coverage, pep-8 compliancy 2009-06-01 22:22:13 +00:00
Amaury Forgeot d'Arc b02ceda3a5 #4547: When debugging a very large function, it was not always
possible to update the lineno attribute of the current frame.
2009-06-01 20:53:18 +00:00
Gregory P. Smith 09daad9825 Sync up __version__ number with the version of the ipaddr-py project this
library came from that it matches.

Remove the former apache license text now that its been contributed to PSF to
avoid confusion.
2009-06-01 17:40:41 +00:00
Guilherme Polo 1c6787f9de Improved PanedWindow.add's docstring. 'subcomand' is a Tcl term, and the possible options and values are the same accepted by paneconfigure (not configure). 2009-05-31 21:31:21 +00:00
R. David Murray 8fcaebbef4 Issue 3848: document the fact that epoll register raises an IOError if
an fd is registered twice, and add some additional epoll tests.  Patch
by Christian Heimes.
2009-05-31 19:15:57 +00:00
Benjamin Peterson eb88cb8cd4 __enter__ and __exit__ must be on the class 2009-05-31 15:00:27 +00:00
Benjamin Peterson 382ccdfd5b remove function import 2009-05-31 14:43:00 +00:00
Antoine Pitrou 4698d9928e Issue #6152: New option '-j'/'--multiprocess' for regrtest allows running
regression tests in parallel, shortening the total runtime.
2009-05-31 14:20:14 +00:00
Antoine Pitrou 4528bcde77 The test for #5330 wasn't correct. 2009-05-30 21:39:25 +00:00
Antoine Pitrou 46dbe27f7e Issue #5330: C functions called with keyword arguments were not reported by
the various profiling modules (profile, cProfile). Patch by Hagen Fürstenau.
2009-05-30 21:27:00 +00:00
Benjamin Peterson 465089271f add with statements 2009-05-29 21:48:19 +00:00
Michael Foord b4a81c838a Add test discovery to unittest. Issue 6001. 2009-05-29 20:33:46 +00:00
R. David Murray 6b98544b32 Refactor test parameterization to resolve update timing problem. 2009-05-29 17:31:05 +00:00
Tarek Ziadé 3e3eace7d7 Fixed #6131: test_modulefinder leaked when run after test_distutils 2009-05-29 08:08:07 +00:00
Raymond Hettinger 578a228ee2 Issue 5982: Classmethod and staticmethod expose wrapped function with __func__. 2009-05-29 04:58:52 +00:00
Raymond Hettinger 822b87f276 Deprecate contextlib.nested(). The with-statement now provides this functionality directly. 2009-05-29 01:46:48 +00:00
Raymond Hettinger b4d2d31874 Issue 5150: Add rstrip() option to IDLE's format menu. 2009-05-29 01:36:26 +00:00
R. David Murray 8de212bd4f Backport smtplib auth tests from r72990. 2009-05-28 18:49:23 +00:00
Tarek Ziadé 460f6c86b4 using 'tar' then 'gzip' in the test, because 'tar -czf' is not supported under some platforms 2009-05-28 13:55:51 +00:00
Tarek Ziadé 9e5d2dc6a6 Fixed #6048: Distutils uses the tarfile module instead of the tar command now 2009-05-28 12:53:54 +00:00
Philip Jenvey 6a111027f2 explicitly close files 2009-05-28 05:58:44 +00:00
Philip Jenvey 80319a3a53 explicitly close the file, merged from py3k 2009-05-28 03:10:59 +00:00
R. David Murray d67ea7d4c6 fix issue #6121 by stripping spaces from the argument in the 'help'
function.
2009-05-27 20:07:21 +00:00
Benjamin Peterson 39d43b4660 correctly handle descrs with __missing__ 2009-05-27 02:43:46 +00:00
Raymond Hettinger a68cad13ae Fix field name conflicts for named tuples. 2009-05-27 02:24:45 +00:00
Ronald Oussoren 55d8828f98 Fixes issue 6110 2009-05-26 18:44:48 +00:00
Georg Brandl 4ee8282229 #6112: list.remove raises ValueError, not RuntimeError. 2009-05-26 07:50:23 +00:00
Collin Winter 57bef68bc0 Issue 5794: fix cPickle's unpickling of recursive tuples. 2009-05-26 04:12:39 +00:00
Georg Brandl 944f684ce6 Allow multiple context managers in one with statement, as proposed
in http://codereview.appspot.com/53094 and accepted by Guido.

The construct is transformed into multiple With AST nodes so that
there should be no problems with the semantics.
2009-05-25 21:02:56 +00:00
Michael Foord 04516611e7 Make assertSequenceEqual error messages less cryptic, particularly for nested sequences. 2009-05-25 20:36:56 +00:00
Benjamin Peterson 1880d8b823 add a SETUP_WITH opcode
It speeds up the with statement and correctly looks up the special
methods involved.
2009-05-25 13:13:44 +00:00
Benjamin Peterson 87e5006d8c handle errors from _PyObject_LookupSpecial when __get__ fails 2009-05-25 02:40:21 +00:00
Benjamin Peterson 176a56c69b make class skipping decorators the same as skipping every test of the class
This removes ClassTestSuite and a good bit of hacks.
2009-05-25 00:48:58 +00:00
Martin v. Löwis 0b09c42ffe Issue #6050: Don't fail extracting a directory from a zipfile if
the directory already exists.
2009-05-24 19:30:52 +00:00
Martin v. Löwis 53b578eba1 Issue #6065: Do not try to build a version-independent
installer if the package has extension modules.

Also add NEWS entry for #5311.
2009-05-24 19:10:52 +00:00