Commit Graph

42390 Commits

Author SHA1 Message Date
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
Martin v. Löwis ea598b675a Issue #6158: package Sine-1000Hz-300ms.aif. 2009-06-01 04:10:03 +00:00
Andrew M. Kuchling 764fbcb098 The class for regexes isn't called RegexObject any more; correct the text 2009-06-01 00:14:19 +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
Antoine Pitrou d11f7fcc0f Uninitialized file type would lead to __exit__ lookup failure when site.py
tries to read *.pth files on interpreter startup.
2009-05-31 18:05:51 +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
Georg Brandl d198b76d36 Fix markup. 2009-05-31 14:15:25 +00:00
Benjamin Peterson d7ead0c23f fix signature 2009-05-31 00:42:42 +00:00
Antoine Pitrou a3e8f30eab Update ACKS 2009-05-30 21:45:40 +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
Gregory P. Smith 2152ca390b Add more examples to the ipaddr documentation. 2009-05-30 19:58:11 +00:00
Georg Brandl 2fcd17324d Rewrap a few long lines. 2009-05-30 10:45:40 +00:00
Georg Brandl 6da0e6ac5a Fix markup problem. 2009-05-30 10:34:25 +00:00
Georg Brandl 6a4689887c Fix some more small markup problems. 2009-05-30 10:33:23 +00:00
Georg Brandl 7be493a86c Use preferred form of raising exceptions. 2009-05-30 07:31:25 +00:00
Georg Brandl ccbb47be5e #6146: fix markup bug. 2009-05-30 07:26:04 +00:00
Benjamin Peterson ecf3c62440 no fdatasync on macos 2009-05-30 03:10:52 +00:00
Benjamin Peterson 465089271f add with statements 2009-05-29 21:48:19 +00:00
Raymond Hettinger b09f198362 Move the basic examples section back to the beginning. 2009-05-29 21:20:41 +00:00
Michael Foord b4a81c838a Add test discovery to unittest. Issue 6001. 2009-05-29 20:33:46 +00:00
R. David Murray fe6e784a9d Issue 6141: document that the first item of args is still the
command name even when executable is specified.
2009-05-29 19:30:27 +00:00
R. David Murray 6b98544b32 Refactor test parameterization to resolve update timing problem. 2009-05-29 17:31:05 +00:00
Martin v. Löwis 4f16d3b4ac Issue #4873: Fix resource leaks in error cases of pwd and grp. 2009-05-29 15:58:08 +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
Jeffrey Yasskin 7937d939b1 Fix nearly all compilation warnings under Apple gcc-4.0. Tested with OPT="-g
-Wall -Wstrict-prototypes -Werror" in both --with-pydebug mode and --without.
There's still a batch of non-prototype warnings in Xlib.h that I don't know how
to fix.
2009-05-29 03:44:31 +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 dd0388a1c2 further hint to where the open docs really are 2009-05-28 03:12:16 +00:00
Philip Jenvey 80319a3a53 explicitly close the file, merged from py3k 2009-05-28 03:10:59 +00:00
Benjamin Peterson 1075c9b431 switch library reference and language reference 2009-05-28 03:02:13 +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 1afec5d6bf plug ref leak 2009-05-27 03:08:44 +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
Benjamin Peterson aafa18aa05 teach the peepholer about SETUP_WITH 2009-05-26 12:49:59 +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