]> granicus.if.org Git - python/log
python
13 years agomerge from 3.2 - Fix closes issue11047 - Correct the 2.7 whatsnew description for...
Senthil Kumaran [Sat, 6 Aug 2011 04:55:06 +0000 (12:55 +0800)]
merge from 3.2 - Fix closes issue11047 - Correct the 2.7 whatsnew description for issue 7902.

13 years agomerge from 2.7 - Fix closes issue11047 - Correct the 2.7 whatsnew description for...
Senthil Kumaran [Sat, 6 Aug 2011 04:54:23 +0000 (12:54 +0800)]
merge from 2.7 - Fix closes issue11047 - Correct the 2.7 whatsnew description for issue 7902.

13 years agomerge from 3.2 - Fix closes issue12698 - make the no_proxy environment variable handl...
Senthil Kumaran [Sat, 6 Aug 2011 04:28:16 +0000 (12:28 +0800)]
merge from 3.2 - Fix closes issue12698 - make the no_proxy environment variable handling a bit lenient (accomodate spaces in between the items)

13 years agoFix closes issue12698 - make the no_proxy environment variable handling a bit lenient...
Senthil Kumaran [Sat, 6 Aug 2011 04:27:40 +0000 (12:27 +0800)]
Fix closes issue12698 - make the no_proxy environment variable handling a bit lenient (accomodate spaces in between the items)

13 years ago#11572: improvements to copy module tests along with removal of old test suite
Sandro Tosi [Fri, 5 Aug 2011 21:05:35 +0000 (23:05 +0200)]
#11572: improvements to copy module tests along with removal of old test suite

13 years agoFix wrong use of root logger in packaging (also a NameError)
Éric Araujo [Thu, 4 Aug 2011 15:17:07 +0000 (17:17 +0200)]
Fix wrong use of root logger in packaging (also a NameError)

13 years agoIssue #12540: Prevent zombie IDLE processes on Windows due to changes
Ned Deily [Fri, 5 Aug 2011 06:38:19 +0000 (23:38 -0700)]
Issue #12540: Prevent zombie IDLE processes on Windows due to changes
in os.kill().  Original patch by Eli Bendersky.

13 years agoSilence the altered state warning about threadgs when running test_httplib.
Brett Cannon [Fri, 5 Aug 2011 05:43:11 +0000 (22:43 -0700)]
Silence the altered state warning about threadgs when running test_httplib.

13 years agoSilence altered execution state warnings from test_telnetlib involving threads.
Brett Cannon [Fri, 5 Aug 2011 05:37:55 +0000 (22:37 -0700)]
Silence altered execution state warnings from test_telnetlib involving threads.

13 years agoExplicitly close a file to stop raising a ResourceWarning.
Brett Cannon [Fri, 5 Aug 2011 04:34:52 +0000 (21:34 -0700)]
Explicitly close a file to stop raising a ResourceWarning.

13 years agomerge 3.2
Benjamin Peterson [Thu, 4 Aug 2011 16:09:57 +0000 (11:09 -0500)]
merge 3.2

13 years agodosmodule is, thankfully, no more
Benjamin Peterson [Thu, 4 Aug 2011 16:07:42 +0000 (11:07 -0500)]
dosmodule is, thankfully, no more

13 years agomerge from 3.2 - change the extra svn to svn+ssh
Senthil Kumaran [Wed, 3 Aug 2011 14:09:51 +0000 (22:09 +0800)]
merge from 3.2 - change the extra svn to svn+ssh

13 years agochange the redundant svn scheme urljoin test case to svn+ssh scheme.
Senthil Kumaran [Wed, 3 Aug 2011 14:08:46 +0000 (22:08 +0800)]
change the redundant svn scheme urljoin test case to svn+ssh scheme.

13 years agomerge heads
Benjamin Peterson [Wed, 3 Aug 2011 13:54:44 +0000 (08:54 -0500)]
merge heads

13 years agofix arg strings
Benjamin Peterson [Wed, 3 Aug 2011 13:54:26 +0000 (08:54 -0500)]
fix arg strings

13 years agomerged heads
Senthil Kumaran [Wed, 3 Aug 2011 10:46:24 +0000 (18:46 +0800)]
merged heads

13 years agomerge heads
Senthil Kumaran [Wed, 3 Aug 2011 10:45:02 +0000 (18:45 +0800)]
merge heads

13 years agomerge from 3.2 - Fix closes issue12683 - urljoin to work with relative join of svn...
Senthil Kumaran [Wed, 3 Aug 2011 10:44:10 +0000 (18:44 +0800)]
merge from 3.2 - Fix closes issue12683 - urljoin to work with relative join of svn scheme.

13 years agoFix closes issue12683 - urljoin to work with relative join of svn scheme.
Senthil Kumaran [Wed, 3 Aug 2011 10:37:22 +0000 (18:37 +0800)]
Fix closes issue12683 - urljoin to work with relative join of svn scheme.

13 years agoMerge with 3.2.
Georg Brandl [Wed, 3 Aug 2011 06:29:12 +0000 (08:29 +0200)]
Merge with 3.2.

13 years agoFix spacing in string literal.
Georg Brandl [Wed, 3 Aug 2011 06:27:00 +0000 (08:27 +0200)]
Fix spacing in string literal.

13 years agohandle sched_rr_get_interval not working on current
Benjamin Peterson [Wed, 3 Aug 2011 03:19:14 +0000 (22:19 -0500)]
handle sched_rr_get_interval not working on current

13 years agofix punctuation
Benjamin Peterson [Wed, 3 Aug 2011 03:15:40 +0000 (22:15 -0500)]
fix punctuation

13 years agofix indentation
Benjamin Peterson [Wed, 3 Aug 2011 03:10:55 +0000 (22:10 -0500)]
fix indentation

13 years agomerge heads
Benjamin Peterson [Wed, 3 Aug 2011 03:09:56 +0000 (22:09 -0500)]
merge heads

13 years agoOSX doesn't check sched_get_priority_(min/max) argument
Benjamin Peterson [Wed, 3 Aug 2011 03:09:37 +0000 (22:09 -0500)]
OSX doesn't check sched_get_priority_(min/max) argument

13 years agoIssue #11049: fix test_forget on installed Python - add os.curdir to sys.path
Eli Bendersky [Wed, 3 Aug 2011 02:18:33 +0000 (05:18 +0300)]
Issue #11049: fix test_forget on installed Python - add os.curdir to sys.path

13 years agoIssue #12540: Prevent zombie IDLE processes on Windows due to changes
Ned Deily [Wed, 3 Aug 2011 01:47:13 +0000 (18:47 -0700)]
Issue #12540: Prevent zombie IDLE processes on Windows due to changes
in os.kill().  Original patch by Eli Bendersky.

13 years agoneed NULL sentinel
Benjamin Peterson [Wed, 3 Aug 2011 00:56:11 +0000 (19:56 -0500)]
need NULL sentinel

13 years agomerge heads
Benjamin Peterson [Tue, 2 Aug 2011 23:49:38 +0000 (18:49 -0500)]
merge heads

13 years agobsd doesn't like letting normal processes set the scheduler
Benjamin Peterson [Tue, 2 Aug 2011 23:48:59 +0000 (18:48 -0500)]
bsd doesn't like letting normal processes set the scheduler

13 years agomerge heads.
Senthil Kumaran [Tue, 2 Aug 2011 23:44:46 +0000 (07:44 +0800)]
merge heads.

13 years agoFix closes issue12663 - Correcting the ArgumentParser.error description. Patch by...
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.

13 years agoFix closes issue12663 - Correcting the ArgumentParser.error description. Patch by...
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.

13 years agoavoid warning when SchedParamType is not used
Benjamin Peterson [Tue, 2 Aug 2011 23:42:14 +0000 (18:42 -0500)]
avoid warning when SchedParamType is not used

13 years agoonly add sched_param if it is initialized
Benjamin Peterson [Tue, 2 Aug 2011 23:40:46 +0000 (18:40 -0500)]
only add sched_param if it is initialized

13 years agoI have been spoiled by chained comparisons in python
Benjamin Peterson [Tue, 2 Aug 2011 23:34:30 +0000 (18:34 -0500)]
I have been spoiled by chained comparisons in python

13 years agocomparing on number of cpus makes more sense
Benjamin Peterson [Tue, 2 Aug 2011 23:22:30 +0000 (18:22 -0500)]
comparing on number of cpus makes more sense

13 years agofix sched defines
Benjamin Peterson [Tue, 2 Aug 2011 23:11:38 +0000 (18:11 -0500)]
fix sched defines

13 years agocheck individually for some for sched_ functions
Benjamin Peterson [Tue, 2 Aug 2011 23:07:32 +0000 (18:07 -0500)]
check individually for some for sched_ functions

13 years agomove news note to correct section
Benjamin Peterson [Tue, 2 Aug 2011 22:45:00 +0000 (17:45 -0500)]
move news note to correct section

13 years agomake_new_cpu_set takes the number of cpus
Benjamin Peterson [Tue, 2 Aug 2011 22:44:26 +0000 (17:44 -0500)]
make_new_cpu_set takes the number of cpus

13 years agosched.h can exist without sched affinity support
Benjamin Peterson [Tue, 2 Aug 2011 22:41:34 +0000 (17:41 -0500)]
sched.h can exist without sched affinity support

13 years agoexpose sched.h functions (closes #12655)
Benjamin Peterson [Tue, 2 Aug 2011 22:30:04 +0000 (17:30 -0500)]
expose sched.h functions (closes #12655)

13 years agoNEWS note for bbeda42ea6a8
Benjamin Peterson [Tue, 2 Aug 2011 22:29:30 +0000 (17:29 -0500)]
NEWS note for bbeda42ea6a8

13 years agomerge heads
Benjamin Peterson [Tue, 2 Aug 2011 18:06:19 +0000 (13:06 -0500)]
merge heads

13 years agoadd ThreadError to threading.__all__ (closes #12679)
Benjamin Peterson [Tue, 2 Aug 2011 18:05:47 +0000 (13:05 -0500)]
add ThreadError to threading.__all__ (closes #12679)

13 years ago#12665: merge with 3.2
Sandro Tosi [Tue, 2 Aug 2011 16:43:49 +0000 (18:43 +0200)]
#12665: merge with 3.2

13 years ago#12665: Dictionary view example has error in set operation
Sandro Tosi [Tue, 2 Aug 2011 16:42:04 +0000 (18:42 +0200)]
#12665: Dictionary view example has error in set operation

13 years ago#12670: merge with 3.2
Sandro Tosi [Tue, 2 Aug 2011 14:44:31 +0000 (16:44 +0200)]
#12670: merge with 3.2

13 years ago#12183: merge with 3.2.
Ezio Melotti [Tue, 2 Aug 2011 14:42:24 +0000 (17:42 +0300)]
#12183: merge with 3.2.

13 years ago#12670: Fix struct code after forward declaration on ctypes doc
Sandro Tosi [Tue, 2 Aug 2011 14:17:14 +0000 (16:17 +0200)]
#12670: Fix struct code after forward declaration on ctypes doc

13 years agoCorrected attribute docstring per pep-257 (reference #10639)
Jason R. Coombs [Tue, 2 Aug 2011 12:19:31 +0000 (08:19 -0400)]
Corrected attribute docstring per pep-257 (reference #10639)

13 years agoFix closes Issue12183 - Explain the Symlink copy behavior in shutil.copytree. Patch...
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.

13 years agoFix closes Issue12676 - Invalid identifier used in TypeError message in http.client.
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.

13 years agoFix closes Issue12676 - Invalid identifier used in TypeError message in http.client.
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.

13 years agoClean up description of Tools/scripts/run_tests.py.
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.

13 years agoIssue #11049: fix test_forget to work on installed Python, by using a temporary modul...
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

13 years agoMerge 68b5f87566fb
Stefan Krah [Mon, 1 Aug 2011 23:12:16 +0000 (01:12 +0200)]
Merge 68b5f87566fb

13 years agoSkip test_getsetlocale_issue1813() on Fedora due to setlocale() bug.
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

13 years agoIssue #11651: Move options for running tests into a Python script.
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.

13 years agoMerge with 3.2
Georg Brandl [Mon, 1 Aug 2011 20:59:40 +0000 (22:59 +0200)]
Merge with 3.2

13 years agoUse attribute access instead of index access for namedtuple.
Georg Brandl [Mon, 1 Aug 2011 20:58:53 +0000 (22:58 +0200)]
Use attribute access instead of index access for namedtuple.

13 years agoMerge #12295 fix from 3.2
Éric Araujo [Mon, 1 Aug 2011 15:31:12 +0000 (17:31 +0200)]
Merge #12295 fix from 3.2

13 years agoFix resource warning when looking at turtledemo’s help (#12295)
Éric Araujo [Mon, 1 Aug 2011 15:29:36 +0000 (17:29 +0200)]
Fix resource warning when looking at turtledemo’s help (#12295)

13 years agoFix bug I unwittingly added in 1521d9837d16 (found by Ezio Melotti)
Éric Araujo [Mon, 1 Aug 2011 13:29:07 +0000 (15:29 +0200)]
Fix bug I unwittingly added in 1521d9837d16 (found by Ezio Melotti)

13 years agoMerge 3.2
Éric Araujo [Mon, 1 Aug 2011 12:45:01 +0000 (14:45 +0200)]
Merge 3.2

13 years agoBranch merge
Éric Araujo [Mon, 1 Aug 2011 12:44:17 +0000 (14:44 +0200)]
Branch merge

13 years agoBranch merge
Éric Araujo [Mon, 1 Aug 2011 12:43:45 +0000 (14:43 +0200)]
Branch merge

13 years agoCloses #12667: Merged fix from 3.2.
Vinay Sajip [Mon, 1 Aug 2011 10:32:49 +0000 (11:32 +0100)]
Closes #12667: Merged fix from 3.2.

13 years agoCloses #12667: Added documentation for SMTPHandler secure argument.
Vinay Sajip [Mon, 1 Aug 2011 10:31:52 +0000 (11:31 +0100)]
Closes #12667: Added documentation for SMTPHandler secure argument.

13 years agoMerge typo fix.
Ezio Melotti [Sun, 31 Jul 2011 19:50:01 +0000 (22:50 +0300)]
Merge typo fix.

13 years agoFix typo reported by Sandro Tosi.
Ezio Melotti [Sun, 31 Jul 2011 19:49:18 +0000 (22:49 +0300)]
Fix typo reported by Sandro Tosi.

13 years agoStop trying to write into the stdlib during packaging tests (#12331).
É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.

13 years agoSmall cleanup
Éric Araujo [Sun, 31 Jul 2011 16:41:25 +0000 (18:41 +0200)]
Small cleanup

13 years agoMerge fixes for #9860, #11104/#8688 and #12331 from 3.2
Éric Araujo [Sun, 31 Jul 2011 16:33:00 +0000 (18:33 +0200)]
Merge fixes for #9860, #11104/#8688 and #12331 from 3.2

13 years agoStop trying to write into the stdlib during lib2to3 tests (#12331).
É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.

13 years agoFix build error in _curses module when not using libncursesw.
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.

13 years agoOops, "make buildbottest" isn't supposed to use -j0.
Nadeem Vawda [Sun, 31 Jul 2011 11:58:05 +0000 (13:58 +0200)]
Oops, "make buildbottest" isn't supposed to use -j0.

13 years agousing support.transient_internet helper method in the urllib2net test.
Senthil Kumaran [Sun, 31 Jul 2011 03:46:24 +0000 (11:46 +0800)]
using support.transient_internet helper method in the urllib2net test.

13 years agousing 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.

13 years agoFix regression with distutils MANIFEST handing (#11104, #8688).
É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.

13 years agomerge heads.
Senthil Kumaran [Sun, 31 Jul 2011 01:14:53 +0000 (09:14 +0800)]
merge heads.

13 years agoAddressing the review comments by Antoine Pitrou for smtplib.py and test_smtplib...
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

13 years agoIssue #11651: Improve Makefile test targets.
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

13 years agotest_smtpnet: Skip STARTTLS test if the server doesn't support it.
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.

13 years agoLet “make patchcheck” work for out-of-dir builds (#9860)
Éric Araujo [Sat, 30 Jul 2011 19:34:04 +0000 (21:34 +0200)]
Let “make patchcheck” work for out-of-dir builds (#9860)

13 years ago#12531: merge with 3.2.
Ezio Melotti [Sat, 30 Jul 2011 18:26:40 +0000 (21:26 +0300)]
#12531: merge with 3.2.

13 years ago#12531: Fix spaces and markup.
Ezio Melotti [Sat, 30 Jul 2011 18:25:22 +0000 (21:25 +0300)]
#12531: Fix spaces and markup.

13 years agotransition move technically correct to obviously so
Benjamin Peterson [Sat, 30 Jul 2011 17:26:27 +0000 (12:26 -0500)]
transition move technically correct to obviously so

13 years agowe can call singleton types now
Benjamin Peterson [Sat, 30 Jul 2011 15:03:09 +0000 (10:03 -0500)]
we can call singleton types now

13 years agomerge 3.2
Benjamin Peterson [Sat, 30 Jul 2011 15:00:02 +0000 (10:00 -0500)]
merge 3.2

13 years agoadd space
Benjamin Peterson [Sat, 30 Jul 2011 14:59:50 +0000 (09:59 -0500)]
add space

13 years agodocument NotImplemented
Benjamin Peterson [Sat, 30 Jul 2011 14:57:24 +0000 (09:57 -0500)]
document NotImplemented

13 years agomerge from 3.2 - heads
Eli Bendersky [Sat, 30 Jul 2011 08:37:06 +0000 (11:37 +0300)]
merge from 3.2 - heads

13 years agomerging Georg's revision
Eli Bendersky [Sat, 30 Jul 2011 08:36:41 +0000 (11:36 +0300)]
merging Georg's revision

13 years agoMerge 3.2: Issue #11699: fix documentation of OptionParser.get_option_group. Patch...
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

13 years agoIssue #11699: fix documentation of OptionParser.get_option_group. Patch by Petri...
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

13 years agoMerge with 3.2.
Georg Brandl [Sat, 30 Jul 2011 07:01:03 +0000 (09:01 +0200)]
Merge with 3.2.