]>
granicus.if.org Git - python/log
Senthil Kumaran [Tue, 2 Aug 2011 23:43:01 +0000 (07:43 +0800)]
Fix closes issue12663 - Correcting the ArgumentParser.error description. Patch by Sandro Tosi.
Senthil Kumaran [Tue, 2 Aug 2011 23:42:18 +0000 (07:42 +0800)]
Fix closes issue12663 - Correcting the ArgumentParser.error description. Patch by Sandro Tosi.
Benjamin Peterson [Tue, 2 Aug 2011 23:34:30 +0000 (18:34 -0500)]
I have been spoiled by chained comparisons in python
Benjamin Peterson [Tue, 2 Aug 2011 23:22:30 +0000 (18:22 -0500)]
comparing on number of cpus makes more sense
Benjamin Peterson [Tue, 2 Aug 2011 23:11:38 +0000 (18:11 -0500)]
fix sched defines
Benjamin Peterson [Tue, 2 Aug 2011 23:07:32 +0000 (18:07 -0500)]
check individually for some for sched_ functions
Benjamin Peterson [Tue, 2 Aug 2011 22:45:00 +0000 (17:45 -0500)]
move news note to correct section
Benjamin Peterson [Tue, 2 Aug 2011 22:44:26 +0000 (17:44 -0500)]
make_new_cpu_set takes the number of cpus
Benjamin Peterson [Tue, 2 Aug 2011 22:41:34 +0000 (17:41 -0500)]
sched.h can exist without sched affinity support
Benjamin Peterson [Tue, 2 Aug 2011 22:30:04 +0000 (17:30 -0500)]
expose sched.h functions (closes #12655)
Benjamin Peterson [Tue, 2 Aug 2011 22:29:30 +0000 (17:29 -0500)]
NEWS note for
bbeda42ea6a8
Benjamin Peterson [Tue, 2 Aug 2011 18:06:19 +0000 (13:06 -0500)]
merge heads
Benjamin Peterson [Tue, 2 Aug 2011 18:05:47 +0000 (13:05 -0500)]
add ThreadError to threading.__all__ (closes #12679)
Sandro Tosi [Tue, 2 Aug 2011 16:43:49 +0000 (18:43 +0200)]
#12665: merge with 3.2
Sandro Tosi [Tue, 2 Aug 2011 16:42:04 +0000 (18:42 +0200)]
#12665: Dictionary view example has error in set operation
Sandro Tosi [Tue, 2 Aug 2011 14:44:31 +0000 (16:44 +0200)]
#12670: merge with 3.2
Ezio Melotti [Tue, 2 Aug 2011 14:42:24 +0000 (17:42 +0300)]
#12183: merge with 3.2.
Sandro Tosi [Tue, 2 Aug 2011 14:17:14 +0000 (16:17 +0200)]
#12670: Fix struct code after forward declaration on ctypes doc
Jason R. Coombs [Tue, 2 Aug 2011 12:19:31 +0000 (08:19 -0400)]
Corrected attribute docstring per pep-257 (reference #10639)
Senthil Kumaran [Tue, 2 Aug 2011 10:52:28 +0000 (18:52 +0800)]
Fix closes Issue12183 - Explain the Symlink copy behavior in shutil.copytree. Patch by Petri Lehtinen.
Senthil Kumaran [Tue, 2 Aug 2011 10:34:53 +0000 (18:34 +0800)]
Fix closes Issue12676 - Invalid identifier used in TypeError message in http.client.
Reported by Popa Claudiu and Patch by Santoso Wijaya.
Senthil Kumaran [Tue, 2 Aug 2011 10:33:41 +0000 (18:33 +0800)]
Fix closes Issue12676 - Invalid identifier used in TypeError message in http.client.
Reported by Popa Claudiu and Patch by Santoso Wijaya.
Nadeem Vawda [Tue, 2 Aug 2011 08:16:45 +0000 (10:16 +0200)]
Clean up description of Tools/scripts/run_tests.py.
Also, add an entry for the script in Tools/scripts/README.
Eli Bendersky [Tue, 2 Aug 2011 03:24:31 +0000 (06:24 +0300)]
Issue #11049: fix test_forget to work on installed Python, by using a temporary module for import/forget
Stefan Krah [Mon, 1 Aug 2011 23:12:16 +0000 (01:12 +0200)]
Stefan Krah [Mon, 1 Aug 2011 23:06:16 +0000 (01:06 +0200)]
Skip test_getsetlocale_issue1813() on Fedora due to setlocale() bug.
See: https://bugzilla.redhat.com/show_bug.cgi?id=726536
Nadeem Vawda [Mon, 1 Aug 2011 21:48:26 +0000 (23:48 +0200)]
Issue #11651: Move options for running tests into a Python script.
This will be particularly useful to Windows users.
run_tests.py originally written by Brett Cannon.
Georg Brandl [Mon, 1 Aug 2011 20:59:40 +0000 (22:59 +0200)]
Merge with 3.2
Georg Brandl [Mon, 1 Aug 2011 20:58:53 +0000 (22:58 +0200)]
Use attribute access instead of index access for namedtuple.
Éric Araujo [Mon, 1 Aug 2011 15:31:12 +0000 (17:31 +0200)]
Merge #12295 fix from 3.2
Éric Araujo [Mon, 1 Aug 2011 15:29:36 +0000 (17:29 +0200)]
Fix resource warning when looking at turtledemo’s help (#12295)
Éric Araujo [Mon, 1 Aug 2011 13:29:07 +0000 (15:29 +0200)]
Fix bug I unwittingly added in
1521d9837d16 (found by Ezio Melotti)
Éric Araujo [Mon, 1 Aug 2011 12:45:01 +0000 (14:45 +0200)]
Merge 3.2
Éric Araujo [Mon, 1 Aug 2011 12:44:17 +0000 (14:44 +0200)]
Branch merge
Éric Araujo [Mon, 1 Aug 2011 12:43:45 +0000 (14:43 +0200)]
Branch merge
Vinay Sajip [Mon, 1 Aug 2011 10:32:49 +0000 (11:32 +0100)]
Closes #12667: Merged fix from 3.2.
Vinay Sajip [Mon, 1 Aug 2011 10:31:52 +0000 (11:31 +0100)]
Closes #12667: Added documentation for SMTPHandler secure argument.
Ezio Melotti [Sun, 31 Jul 2011 19:50:01 +0000 (22:50 +0300)]
Merge typo fix.
Ezio Melotti [Sun, 31 Jul 2011 19:49:18 +0000 (22:49 +0300)]
Fix typo reported by Sandro Tosi.
Éric Araujo [Sun, 31 Jul 2011 18:47:47 +0000 (20:47 +0200)]
Stop trying to write into the stdlib during packaging tests (#12331).
This prevents tests from failing when run from a Python installed in a
read-only directory. The code is a bit uglier; shutil.copytree calls
copystat on directories behind our back, so I had to add an os.walk
with os.chmod (*and* os.path.join!) calls. shutil, I am disappoint.
This changeset is dedicated to the hundreds of neurons that were lost
while I was debugging this on an otherwise fine afternoon.
Éric Araujo [Sun, 31 Jul 2011 16:41:25 +0000 (18:41 +0200)]
Small cleanup
Éric Araujo [Sun, 31 Jul 2011 16:33:00 +0000 (18:33 +0200)]
Merge fixes for #9860, #11104/#8688 and #12331 from 3.2
Éric Araujo [Sun, 31 Jul 2011 15:58:46 +0000 (17:58 +0200)]
Stop trying to write into the stdlib during lib2to3 tests (#12331).
This prevents tests from failing when run from a Python installed in a
read-only directory.
Nadeem Vawda [Sun, 31 Jul 2011 13:01:11 +0000 (15:01 +0200)]
Fix build error in _curses module when not using libncursesw.
Code extracted from Victor Stinner's patch for issue #12567.
Nadeem Vawda [Sun, 31 Jul 2011 11:58:05 +0000 (13:58 +0200)]
Oops, "make buildbottest" isn't supposed to use -j0.
Senthil Kumaran [Sun, 31 Jul 2011 03:46:24 +0000 (11:46 +0800)]
using support.transient_internet helper method in the urllib2net test.
Senthil Kumaran [Sun, 31 Jul 2011 03:45:14 +0000 (11:45 +0800)]
using support.transient_internet helper method in the urllib2net test.
Éric Araujo [Sun, 31 Jul 2011 02:06:12 +0000 (04:06 +0200)]
Fix regression with distutils MANIFEST handing (#11104, #8688).
The changed behavior of sdist in 3.1 broke packaging for projects that
wanted to use a manually-maintained MANIFEST file (instead of having a
MANIFEST.in template and letting distutils generate the MANIFEST).
The fixes that were committed for #8688 (
76643c286b9f by Tarek and
d54da9248ed9 by me) did not fix all issues exposed in the bug report,
and also added one problem: the MANIFEST file format gained comments,
but the read_manifest method was not updated to handle (i.e. ignore)
them. This changeset should fix everything; the tests have been
expanded and I successfully tested the 2.7 version with Mercurial, which
suffered from this regression.
I have grouped the versionchanged directives for these bugs in one place
and added micro version numbers to help users know the quirks of the
exact version they’re using.
Initial report, thorough diagnosis and patch by John Dennis, further
work on the patch by Stephen Thorne, and a few edits and additions by
me.
Senthil Kumaran [Sun, 31 Jul 2011 01:14:53 +0000 (09:14 +0800)]
merge heads.
Senthil Kumaran [Sun, 31 Jul 2011 01:14:17 +0000 (09:14 +0800)]
Addressing the review comments by Antoine Pitrou for smtplib.py and test_smtplib.py. Review comments by Ezio Melotti for smtplib.rst
Nadeem Vawda [Sat, 30 Jul 2011 23:09:04 +0000 (01:09 +0200)]
Issue #11651: Improve Makefile test targets.
- Use -j0 option by default
- Remove duplicate test run in "make test" and "make testuniversal"
- Remove "make memtest" altogether
Nadeem Vawda [Sat, 30 Jul 2011 21:46:54 +0000 (23:46 +0200)]
test_smtpnet: Skip STARTTLS test if the server doesn't support it.
This issue can arise with ISPs that redirect all connections on port 25 to
their own (crappy) mail servers.
Éric Araujo [Sat, 30 Jul 2011 19:34:04 +0000 (21:34 +0200)]
Let “make patchcheck” work for out-of-dir builds (#9860)
Ezio Melotti [Sat, 30 Jul 2011 18:26:40 +0000 (21:26 +0300)]
#12531: merge with 3.2.
Ezio Melotti [Sat, 30 Jul 2011 18:25:22 +0000 (21:25 +0300)]
#12531: Fix spaces and markup.
Benjamin Peterson [Sat, 30 Jul 2011 17:26:27 +0000 (12:26 -0500)]
transition move technically correct to obviously so
Benjamin Peterson [Sat, 30 Jul 2011 15:03:09 +0000 (10:03 -0500)]
we can call singleton types now
Benjamin Peterson [Sat, 30 Jul 2011 15:00:02 +0000 (10:00 -0500)]
merge 3.2
Benjamin Peterson [Sat, 30 Jul 2011 14:59:50 +0000 (09:59 -0500)]
add space
Benjamin Peterson [Sat, 30 Jul 2011 14:57:24 +0000 (09:57 -0500)]
document NotImplemented
Eli Bendersky [Sat, 30 Jul 2011 08:37:06 +0000 (11:37 +0300)]
merge from 3.2 - heads
Eli Bendersky [Sat, 30 Jul 2011 08:36:41 +0000 (11:36 +0300)]
merging Georg's revision
Eli Bendersky [Sat, 30 Jul 2011 08:24:38 +0000 (11:24 +0300)]
Merge 3.2: Issue #11699: fix documentation of OptionParser.get_option_group. Patch by Petri Lehtinen
Eli Bendersky [Sat, 30 Jul 2011 08:14:32 +0000 (11:14 +0300)]
Issue #11699: fix documentation of OptionParser.get_option_group. Patch by Petri Lehtinen
Georg Brandl [Sat, 30 Jul 2011 07:01:03 +0000 (09:01 +0200)]
Merge with 3.2.
Georg Brandl [Sat, 30 Jul 2011 07:00:48 +0000 (09:00 +0200)]
Change test.support docs to be more specific about the nature of this module.
Eli Bendersky [Sat, 30 Jul 2011 04:07:29 +0000 (07:07 +0300)]
Merge from 3.2: Issue #12531: add index entries to documentation of * and ** in function calls
Eli Bendersky [Sat, 30 Jul 2011 04:05:16 +0000 (07:05 +0300)]
Issue #12531: add index entries to documentation of * and ** in function calls
Benjamin Peterson [Sat, 30 Jul 2011 03:44:51 +0000 (22:44 -0500)]
merge 3.2
Benjamin Peterson [Sat, 30 Jul 2011 03:44:42 +0000 (22:44 -0500)]
remove duplicated type ready
Benjamin Peterson [Sat, 30 Jul 2011 03:44:14 +0000 (22:44 -0500)]
merge heads
Benjamin Peterson [Sat, 30 Jul 2011 03:43:45 +0000 (22:43 -0500)]
plug refleak
Senthil Kumaran [Sat, 30 Jul 2011 02:58:30 +0000 (10:58 +0800)]
fixing the smtplib.rst whitespaces.
Senthil Kumaran [Sat, 30 Jul 2011 02:57:28 +0000 (10:57 +0800)]
merge heads.
Senthil Kumaran [Sat, 30 Jul 2011 02:56:50 +0000 (10:56 +0800)]
Fix closes Issue11281 - smtplib.STMP gets source_address parameter, which adds the ability to bind to specific source address on a machine with multiple interfaces. Patch by Paulo Scardine.
Benjamin Peterson [Fri, 29 Jul 2011 23:27:44 +0000 (18:27 -0500)]
also make NotImplementedType callable
Benjamin Peterson [Fri, 29 Jul 2011 23:20:35 +0000 (18:20 -0500)]
merge heads
Benjamin Peterson [Fri, 29 Jul 2011 23:19:43 +0000 (18:19 -0500)]
make the types of None and Ellipsis callable
Antoine Pitrou [Fri, 29 Jul 2011 21:57:10 +0000 (23:57 +0200)]
Issue #12626: In regrtest, allow to filter tests using a glob filter
with the `-m` (or `--match`) option. This works with all test cases
using the unittest module. This is useful with long test suites
such as test_io or test_subprocess.
Antoine Pitrou [Fri, 29 Jul 2011 21:53:38 +0000 (23:53 +0200)]
Issue #12626: In regrtest, allow to filter tests using a glob filter
with the `-m` (or `--match`) option. This works with all test cases
using the unittest module. This is useful with long test suites
such as test_io or test_subprocess.
Benjamin Peterson [Fri, 29 Jul 2011 19:24:29 +0000 (14:24 -0500)]
bytes -> bytearray
Benjamin Peterson [Fri, 29 Jul 2011 19:23:47 +0000 (14:23 -0500)]
bytes should be verboten in sum() (fixes #12654)
Charles-François Natali [Fri, 29 Jul 2011 17:00:38 +0000 (19:00 +0200)]
Issue #12464: tempfile.TemporaryDirectory.cleanup() should not follow symlinks:
fix it. Patch by Petri Lehtinen.
Charles-François Natali [Fri, 29 Jul 2011 16:59:24 +0000 (18:59 +0200)]
Issue #12464: tempfile.TemporaryDirectory.cleanup() should not follow symlinks:
fix it. Patch by Petri Lehtinen.
Éric Araujo [Fri, 29 Jul 2011 16:10:12 +0000 (18:10 +0200)]
Merge from 3.2 (#9254, #8982, #9788)
Éric Araujo [Fri, 29 Jul 2011 16:04:24 +0000 (18:04 +0200)]
Document that atexit execution order is undefined (#9788)
Éric Araujo [Fri, 29 Jul 2011 15:59:17 +0000 (17:59 +0200)]
Add a link target for argparse.Namespace (#8982)
Éric Araujo [Fri, 29 Jul 2011 15:50:58 +0000 (17:50 +0200)]
Let the doc of __import__ link to importlib (#9254).
importlib.import_module eschews a number of issues that __import__ has.
Reviewed by Brett Cannon. (The docstring of __import__ was already
updated in
3d490c3a019e , for #7397.)
Éric Araujo [Fri, 29 Jul 2011 15:38:23 +0000 (17:38 +0200)]
Merge fix for #8887 from 3.2
Éric Araujo [Fri, 29 Jul 2011 15:03:55 +0000 (17:03 +0200)]
Make “pydoc somebuiltin.somemethod” work (#8887)
Jason R. Coombs [Fri, 29 Jul 2011 13:32:25 +0000 (09:32 -0400)]
Merge fix for reindent.py
Jason R. Coombs [Fri, 29 Jul 2011 13:31:56 +0000 (09:31 -0400)]
Issue #10639: spec_newline wasn't defined globally unless main() was called; now spec_newline is set at module import/execution
Éric Araujo [Fri, 29 Jul 2011 13:08:42 +0000 (15:08 +0200)]
Expand shlex.quote example (#9723)
Éric Araujo [Fri, 29 Jul 2011 12:34:51 +0000 (14:34 +0200)]
Merge 3.2
Éric Araujo [Fri, 29 Jul 2011 12:30:03 +0000 (14:30 +0200)]
Branch merge
Éric Araujo [Fri, 29 Jul 2011 12:24:08 +0000 (14:24 +0200)]
Branch merge
Raymond Hettinger [Fri, 29 Jul 2011 07:08:19 +0000 (00:08 -0700)]
Issue 12514: Use try/finally to assure that timeit restores GC when done.
Raymond Hettinger [Fri, 29 Jul 2011 07:02:04 +0000 (00:02 -0700)]
Issue 12514: Use try/finally to assure that timeit restores GC when done.
Eli Bendersky [Fri, 29 Jul 2011 06:33:50 +0000 (09:33 +0300)]
Merge from 3.2: Issue #12644: document the '%a' conversion in the old string formatting operations. Patch prepared together with Ezio Melotti
Eli Bendersky [Fri, 29 Jul 2011 06:30:42 +0000 (09:30 +0300)]
Issue #12644: document the '%a' conversion in the old string formatting operations. Patch prepared together with Ezio Melotti